Windows API 之 CreateThread、GetExitCodeThread(未完)

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.

原文地址:https://www.cnblogs.com/predator-wang/p/4916359.html