TRACE_GUID_REGISTRATION structure (evntrace.h)

Used with RegisterTraceGuids to register event trace classes.

Syntax

typedef struct _TRACE_GUID_REGISTRATION {
  LPCGUID Guid;
  HANDLE  RegHandle;
} TRACE_GUID_REGISTRATION, *PTRACE_GUID_REGISTRATION;

Members

Guid

Class GUID of an event trace class that you are registering.

RegHandle

Handle to the registered event trace class. The RegisterTraceGuids function generates this value.

Use this handle when you call the CreateTraceInstanceId function and to set the RegHandle member of EVENT_INSTANCE_HEADER when calling the TraceEventInstance function.

Remarks

Be sure to initialize the memory for this structure to zero before setting any members.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Header evntrace.h

See also

CreateTraceInstanceId

RegisterTraceGuids