// fltkernel.h
NTSTATUS FLTAPI FltGetActivityIdCallbackData(
[in] PFLT_CALLBACK_DATA CallbackData,
[out] LPGUID Guid
);
View the official Windows Driver Kit DDI referenceNo description available.
The FltGetActivityIdCallbackData routine retrieves the current activity ID associated with a request in a minifilter's callback data.
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.
FltGetActivityIdCallbackData returns one of the following NTSTATUS values.
| Return code | Description |
|---|---|
| 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. |
FltPropagateActivityIdToThread