Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The PsGetThreadProcessId routine returns the process identifier (process ID) that is associated with a specified thread's process.
Syntax
HANDLE PsGetThreadProcessId(
PETHREAD Thread
);
Parameters
Thread
A pointer to an executive thread object structure.
Return value
The supplied thread's process's process ID.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Vista and later versions of Windows. |
Target Platform | Universal |
Header | ntddk.h (include Ntddk.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | Any level |