IoThreadToProcess
TOC
Collapse the table of content
Expand the table of content

IoThreadToProcess routine

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

Syntax


PEPROCESS IoThreadToProcess(
  _In_ PETHREAD 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.

Remarks

Requirements

Target platform

Universal

Header

Ntifs.h (include Ntifs.h)

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

IRQL

<= DISPATCH_LEVEL

See also

IoGetCurrentProcess
PsGetCurrentProcess
PsGetCurrentThread

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft