Expand Minimize

FltGetRequestorProcessId routine

The FltGetRequestorProcessId routine returns the unique 32-bit process ID for the process associated with the thread that requested a given I/O operation.

Syntax


ULONG FltGetRequestorProcessId(
  _In_  PFLT_CALLBACK_DATA CallbackData
);

Parameters

CallbackData [in]

Pointer to the callback data structure (FLT_CALLBACK_DATA) for the I/O operation.

Return value

FltGetRequestorProcessId returns the process ID for the process associated with the thread that originally requested the I/O operation. If the operation is not associated with any thread, FltGetRequestorProcessId returns zero.

Remarks

FltGetRequestorProcessId returns the process ID 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.

Requirements

Header

Fltkernel.h (include Fltkernel.h)

Library

FltMgr.lib

IRQL

<= DISPATCH_LEVEL

See also

FLT_CALLBACK_DATA
FltGetRequestorProcess

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft