Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Driver Kit
Reference
 IoThreadToProcess
Windows Driver Kit: Installable File System Drivers
IoThreadToProcess

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

PEPROCESS
  IoThreadToProcess(
    IN PETHREAD  Thread
    ); 

Parameters

Thread
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.

Comments

Requirements

IRQL: <= DISPATCH_LEVEL

Headers: Declared in ntifs.h. Include ntifs.h.

See Also

IoGetCurrentProcess, PsGetCurrentProcess, PsGetCurrentThread


Send feedback on this topic
Built on October 01, 2009
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker