Expand Minimize

IoGetActivityIdIrp routine

The IoGetActivityIdIrp routine retrieves the current activity ID associated with an IRP.

Syntax


NTSTATUS IoGetActivityIdIrp(
  _In_   PIRP Irp,
  _Out_  LPGUID Guid
);

Parameters

Irp [in]

The IRP from which to retrieve the activity ID.

Guid [out]

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 codeDescription
STATUS_NOT_FOUND

No activity ID is associated with the request.

 

Requirements

Version

Available starting with Windows 8.

Header

Ntddk.h (include Ntddk.h)

Library

Ntoskrnl.lib

IRQL

Any level

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft