Reference

TerminateThread(3w)

NAME

TerminateThread (KERNEL32.@)

SYNOPSIS

BOOL TerminateThread
(
HANDLE handle,
DWORD exit_code
)

PARAMS

handle [In] Handle to thread.

exit_code [In] Exit code for thread.

DESCRIPTION

TerminateThread [KERNEL32.@] Terminates a thread.

RETURNS

Success: TRUE

Failure: FALSE

IMPLEMENTATION

Declared in "winbase.h".

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

Debug channel "thread".

History