2OOO, 16 November
NTSYSAPI NTSTATUS NTAPI
NtOpenThread(
OUT PHANDLE ThreadHandle, IN ACCESS_MASK AccessMask, IN POBJECT_ATTRIBUTES ObjectAttributes, IN PCLIENT_ID ClientId );
Pointer to received handle to thread object.
Access mask. See WinNT.h for details.
Attributes of thread to open. For standard threads there are empty.
Pointer to CLIENT_ID structure. Only UniqueThread member is required (difference to NtOpenProcess).