FltGetActivityIdCallbackData routine

The FltGetActivityIdCallbackData routine retrieves the current activity ID associated with a request in a minifilter's callback data.

Syntax


NTSTATUS FltGetActivityIdCallbackData(
  _In_  PFLT_CALLBACK_DATA CallbackData,
  _Out_ LPGUID             Guid
);

Parameters

CallbackData [in]

A pointer to the callback data containing the request with an associated activity ID.

Guid [out]

A pointer to the GUID structure receiving the activity ID.

Return value

FltGetActivityIdCallbackData returns one of the following NTSTATUS values.

Return codeDescription
STATUS_NOT_SUPPORTED

The callback data does not contain a request for an IRP operation.

STATUS_NOT_FOUND

No activity ID is associated with the request in CallbackData.

STATUS_SUCCESS

An activity ID was returned in the GUID value pointed to by Guid.

 

Requirements

Target platform

Universal

Version

Available starting with Windows 8.

Header

Fltkernel.h (include Fltkernel.h)

Library

FltMgr.lib

DLL

Fltmgr.sys

IRQL

<= DISPATCH_LEVEL

See also

FltSetActivityIdCallbackData
FltPropagateActivityIdToThread

 

 

Send comments about this topic to Microsoft

Show: