1 | 'crt.sbp
|
---|
2 |
|
---|
3 | #ifndef _INC_CRT
|
---|
4 | #define _INC_CRT
|
---|
5 |
|
---|
6 | Declare Function _beginthread cdecl Lib "msvcrt" (start_address As VoidPtr, stack_size As DWord, arglist As VoidPtr) As HANDLE
|
---|
7 | Declare Function _beginthreadex cdecl Lib "msvcrt" (
|
---|
8 | security As *SECURITY_ATTRIBUTES,
|
---|
9 | stack_size As DWord,
|
---|
10 | start_address As VoidPtr,
|
---|
11 | arglist As VoidPtr,
|
---|
12 | initflag As DWord,
|
---|
13 | ByRef thrdaddr As DWord) As HANDLE
|
---|
14 | Declare Sub _endthread cdecl Lib "msvcrt" ()
|
---|
15 | Declare Sub _endthreadex cdecl Lib "msvcrt" (retval As DWord)
|
---|
16 |
|
---|
17 | Declare Function strstr cdecl Lib "msvcrt" (s1 As LPSTR, s2 As LPSTR) As LPSTR
|
---|
18 | Declare Function memmove cdecl Lib "msvcrt" (dest As VoidPtr, src As VoidPtr, count As SIZE_T) As VoidPtr
|
---|
19 | Declare Function _mbsstr cdecl Lib "msvcrt" (s1 As LPSTR, s2 As LPSTR) As LPSTR
|
---|
20 |
|
---|
21 | Declare Function memcmp CDecl Lib "msvcrt" (buf1 As VoidPtr, buf2 As VoidPtr, c As SIZE_T) As Long
|
---|
22 | Declare Function memicmp CDecl Lib "msvcrt" Alias "_memicmp" (buf1 As VoidPtr, buf2 As VoidPtr, c As SIZE_T) As Long
|
---|
23 |
|
---|
24 | TypeDef va_list = VoidPtr
|
---|
25 |
|
---|
26 | Declare Function sprintf CDecl Lib "msvcrt" (buffer As PSTR, format As PCSTR, ...) As Long
|
---|
27 | Declare Function _snprintf CDecl Lib "msvcrt" (buffer As PSTR, count As SIZE_T, format As PCSTR, ...) As Long
|
---|
28 | Declare Function _scprintf CDecl Lib "msvcrt" (format As PCSTR, ...) As Long
|
---|
29 | Declare Function vsprintf CDecl Lib "msvcrt" (buffer As PSTR, format As PCSTR, argptr As va_list) As Long
|
---|
30 | Declare Function _vsnprintf CDecl Lib "msvcrt" (buffer As PSTR, count As SIZE_T, format As PCSTR, argptr As va_list) As Long
|
---|
31 | Declare Function _vscprintf CDecl Lib "msvcrt" (format As PCSTR, argptr As va_list) As Long
|
---|
32 |
|
---|
33 | #endif '_INC_CRT
|
---|