IoGetActivityIdThread function (ntddk.h)

The IoGetActivityIdThread routine returns the activity ID associated with the current thread.

Syntax

LPCGUID IoGetActivityIdThread();

Return value

The activity ID associated with the current thread.

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