Go to the source code of this file.
|
| #define | CLOSE_HANDLE(x) CloseHandle(x) |
| |
| #define | CREATE_THREAD(_S, _F, _P) ((Handle)CreateThread(0,_S,(DWORD (WINAPI *)(void *))_F,(void *)_P,0,0)) |
| |
| #define | CREATE_THREAD2(_S, _F, _P, _ID) ((Handle)CreateThread(0,_S,(DWORD (WINAPI *)(void *))_F,(void *)_P,0,_ID)) |
| |
| #define | CREATE_THREAD_ERROR GetLastError() |
| |
| #define | CREATE_THREAD_FAILED (0L) |
| |
| #define | EXIT_THREAD ExitThread(0) |
| |
| #define | InvalidHandle 0 |
| |
| #define | THREAD_CALL WINAPI |
| |
| #define | THREAD_HANDLE HANDLE |
| |
| #define | THREAD_RET_T DWORD |
| |
| #define | THREAD_RETURN(x) return(x) |
| |
◆ CLOSE_HANDLE
| #define CLOSE_HANDLE |
( |
|
x | ) |
CloseHandle(x) |
◆ CREATE_THREAD
| #define CREATE_THREAD |
( |
|
_S, |
|
|
|
_F, |
|
|
|
_P |
|
) |
| ((Handle)CreateThread(0,_S,(DWORD (WINAPI *)(void *))_F,(void *)_P,0,0)) |
◆ CREATE_THREAD2
| #define CREATE_THREAD2 |
( |
|
_S, |
|
|
|
_F, |
|
|
|
_P, |
|
|
|
_ID |
|
) |
| ((Handle)CreateThread(0,_S,(DWORD (WINAPI *)(void *))_F,(void *)_P,0,_ID)) |
◆ CREATE_THREAD_ERROR
| #define CREATE_THREAD_ERROR GetLastError() |
◆ CREATE_THREAD_FAILED
| #define CREATE_THREAD_FAILED (0L) |
◆ EXIT_THREAD
| #define EXIT_THREAD ExitThread(0) |
◆ InvalidHandle
◆ THREAD_CALL
| #define THREAD_CALL WINAPI |
◆ THREAD_HANDLE
| #define THREAD_HANDLE HANDLE |
◆ THREAD_RET_T
| #define THREAD_RET_T DWORD |
◆ THREAD_RETURN
◆ uSleep()
| void uSleep |
( |
unsigned int |
ms | ) |
|
|
inline |