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