IoGetActivityIdIrp function (ntddk.h)
The IoGetActivityIdIrp routine retrieves the current activity ID associated with an IRP.
Syntax
NTSTATUS IoGetActivityIdIrp(
[in] PIRP Irp,
[out] LPGUID Guid
);
Parameters
[in] Irp
The IRP from which to retrieve the activity ID.
[out] Guid
A pointer to a location to store the retrieved GUID.
Return value
IoGetActivityIdIrp returns STATUS_SUCCESS if the call is successful. Possible error return values include the following.
Return code | Description |
---|---|
STATUS_NOT_FOUND | No activity ID is associated with the request. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 8. |
Target Platform | Universal |
Header | ntddk.h (include Ntddk.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | Any level |