IoGetActivityIdThread function (ntddk.h)

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

Syntax

LPCGUID IoGetActivityIdThread();

Parameters

This function has no parameters.

Return value

The activity ID associated with the current thread.

Requirements

   
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