IoThreadToProcess - NtDoc

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

PEPROCESS IoThreadToProcess(
  [in] PETHREAD Thread
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntifs-iothreadtoprocess)

IoThreadToProcess function

Description

The IoThreadToProcess routine returns a pointer to the process for the specified thread.

Parameters

Thread [in]

Thread whose process is to be returned.

Return value

IoThreadToProcess returns a pointer to the thread's process.

For more information about using system threads and managing synchronization within a nonarbitrary thread context, see Driver Threads, Dispatcher Objects, and Resources.

See also

IoGetCurrentProcess

PsGetCurrentProcess

PsGetCurrentThread