TraceLoggingProviderId function (traceloggingprovider.h)

Gets the provider ID of a TraceLogging provider.

Syntax

GUID TraceLoggingProviderId(
  TraceLoggingHProvider hProvider
);

Parameters

hProvider

The handle of the TraceLogging provider for which the provider ID is needed.

Return value

The provider ID (GUID) that was specified in the TRACELOGGING_DEFINE_PROVIDER that defined the specified handle.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Header traceloggingprovider.h

See also

TRACELOGGING_DEFINE_PROVIDER