Windows API 之 CreateThread、GetExitCodeThread(未完)

时间:2022-08-19 20:54:04

GetExitCode

Retrieves the termination status of the specified thread.

BOOL WINAPI GetExitCodeThread(
_In_ HANDLE hThread,
_Out_ LPDWORD lpExitCode
);

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.