IoTransferActivityId function (ntddk.h)

The IoTransferActivityId routine logs an ETW transfer event using the I/O tracing provider on behalf of the caller. This allows a driver to associate two related activity IDs without requiring a specific provider to be enabled.

Syntax

void IoTransferActivityId(
  [in] LPCGUID ActivityId,
  [in] LPCGUID RelatedActivityId
);

Parameters

[in] ActivityId

The source activity ID.

[in] RelatedActivityId

The new activity ID to be transferred from the source activity ID.

Return value

None

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