Undocumented functions of NTDLL

2OOO, 16 November


NtOpenThread
NtOpenThread

NTSYSAPI 
NTSTATUS
NTAPI

NtOpenThread(
OUT PHANDLE ThreadHandle, IN ACCESS_MASK AccessMask, IN POBJECT_ATTRIBUTES ObjectAttributes, IN PCLIENT_ID ClientId );


ThreadHandle
Pointer to received handle to thread object.
AccessMask
Access mask. See WinNT.h for details.
ObjectAttributes
Attributes of thread to open. For standard threads there are empty.
ClientId
Pointer to CLIENT_ID structure. Only UniqueThread member is required (difference to NtOpenProcess).


Documented by:
Tomasz Nowak



Requirements:
Library: ntdll.lib


See also:
NtCreateThread
NtOpenProcess
NtTerminateThread