TraceLoggingActivity::Id method

Returns a pointer to the activity’s unique identifier (GUID).

This method should only be called after the activity has been started.

Syntax

const GUID* Id();

Parameters

This method has no parameters.

Return value

A pointer to the activity’s unique identifier (GUID).

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2012 R2

Header

Traceloggingactivity.h

See also

TraceLoggingActivity