INtime SDK Help
GetExitCodeThread (iwin32)
INtime SDK v6 > About INtime > Alternate APIs > iwin32 API > iwin32 API > GetExitCodeThread (iwin32)

Retrieves the termination status of the specified thread.

BOOLEAN GetExitCodeThread(
    HANDLE hThread,
    LPDWORD lpExitCode
);

Parameters

hThread
Handle to the thread.
lpExitCode
Pointer to a 32-bit variable to receive the thread termination status.

Return Values

TRUE
Success.
FALSE
Failure. For extended error information, see GetLastError.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/winbase.h windows.h iwin32.lib

Note

This function operates in the real-time portion of your application.

See Also

ExitThread, TerminateThread, iwin32 API, iwin32 Overview