// fltkernel.h
HANDLE FLTAPI FltGetRequestorProcessIdEx(
[in] PFLT_CALLBACK_DATA CallbackData
);
View the official Windows Driver Kit DDI referenceNo description available.
The FltGetRequestorProcessIdEx routine returns the kernel-mode handle for the process that is associated with the thread that requested a given I/O operation.
CallbackData [in]A pointer to an FLT_CALLBACK_DATA structure that identifies the thread and the I/O operation.
The FltGetRequestorProcessIdEx routine returns the kernel-mode handle for the process that is associated with the thread that originally requested the I/O operation. If the operation is not associated with any thread, FltGetRequestorProcessIdEx returns NULL.
The FltGetRequestorProcessIdEx routine returns the kernel-mode handle for the process that the requesting thread is currently attached to. This process may or may not be the same process that created the thread.