Reference

GetExitCodeThread(3w)

NAME

GetExitCodeThread (KERNEL32.@)

SYNOPSIS

BOOL GetExitCodeThread
(
HANDLE hthread,
LPDWORD exitcode
)

PARAMS

hthread [In] Handle to thread.

exitcode [Out] Address to receive termination status.

DESCRIPTION

Gets termination status of thread.

RETURNS

Success: TRUE

Failure: FALSE

IMPLEMENTATION

Declared in "winbase.h".

Implemented in "dlls/kernel32/thread.c".

Debug channel "thread".

History