Export (0) Print
Expand All
Expand Minimize

FltSetActivityIdCallbackData routine

The FltSetActivityIdCallbackData routine sets the a activity ID for an IRP in a minifilter's callback data.

Syntax


NTSTATUS FltSetActivityIdCallbackData(
  _Inout_   PFLT_CALLBACK_DATA CallbackData,
  _In_opt_  LPGUID Guid
);

Parameters

CallbackData [in, out]

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

Guid [in, optional]

A optional pointer to the GUID structure receiving the activity ID. if Guid is NULL, the system will attempt to assign an ETW activity ID for the request.

Return value

FltSetActivityIdCallbackData returns one of the following NTSTATUS values.

Return codeDescription
STATUS_NOT_SUPPORTED

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

-or-

The GUID pointed to by Guid is was not provided and no ETW activity ID is available or the operation.

STATUS_NOT_FOUND

No activity ID is associated with the request in CallbackData.

STATUS_SUCCESS

An activity ID pointed to by Guid was set for the IRP in CallbackData.

 

Requirements

Version

Available starting with Windows 8.

Header

Fltkernel.h (include Fltkernel.h)

Library

FltMgr.lib

IRQL

<= DISPATCH_LEVEL

See also

FltGetActivityIdCallbackData
FltPropagateActivityIdToThread

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft