#ifndef _PHNT_NTDEF_H
#ifndef _NTDEF_
// Specific
typedef struct _CLIENT_ID
{
HANDLE UniqueProcess;
HANDLE UniqueThread;
} CLIENT_ID, *PCLIENT_ID;
View code on GitHub
This structure defines a pair of process and thread IDs.
UniqueProcess
- the process ID value.UniqueThread
- the thread ID value.NtOpenProcess
NtOpenThread
NtQueryInformationProcess
with ProcessBasicInformation
(0)NtQueryInformationThread
with ThreadBasicInformation
(0)