intptr_t CDECL _cwait(int *status, intptr_t pid, int action)
#define ERROR_INVALID_HANDLE
BOOL WINAPI GetExitCodeProcess(IN HANDLE hProcess, IN LPDWORD lpExitCode)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
_CRTIMP unsigned long *__cdecl __doserrno(void)
void _dosmaperr(unsigned long oserrcode)
_CRTIMP int *__cdecl _errno(void)
DWORD WINAPI WaitForSingleObject(IN HANDLE hHandle, IN DWORD dwMilliseconds)
DWORD WINAPI GetLastError(void)
_In_ ULONG_PTR _In_ ULONG _Out_ ULONG_PTR * pid