PsGetThreadProcessId - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddk.h

HANDLE PsGetThreadProcessId(
  PETHREAD Thread
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntddk-psgetthreadprocessid)

PsGetThreadProcessId function

Description

The PsGetThreadProcessId routine returns the process identifier (process ID) that is associated with a specified thread's process.

Parameters

Thread

A pointer to an executive thread object structure.

Return value

The supplied thread's process's process ID.

Remarks

See also

PsGetProcessId