Reference

GetThreadId(3w)

NAME

GetThreadId (KERNEL32.@)

SYNOPSIS

DWORD GetThreadId
(
HANDLE Thread
)

DESCRIPTION

Retrieve the identifier of a thread.

PARAMS

Thread [In] The thread to retrieve the identifier of.

RETURNS

Success: Identifier of the target thread.

Failure: 0

IMPLEMENTATION

Declared in "winbase.h".

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

Debug channel "thread".

History