TRACE_PROVIDER_INSTANCE_INFO structure (evntrace.h)

Defines an instance of the provider GUID. This data is returned from EnumerateTraceGuidsEx when called with the TraceGuidQueryInfo information class.

Syntax

typedef struct _TRACE_PROVIDER_INSTANCE_INFO {
  ULONG NextOffset;
  ULONG EnableCount;
  ULONG Pid;
  ULONG Flags;
} TRACE_PROVIDER_INSTANCE_INFO, *PTRACE_PROVIDER_INSTANCE_INFO;

Members

NextOffset

Offset, in bytes, from the beginning of this structure to the next TRACE_PROVIDER_INSTANCE_INFO structure. The value is zero if there is not another instance info block.

EnableCount

Number of TRACE_ENABLE_INFO structures in this block. Each structure represents a session that enabled the provider.

Pid

Process identifier of the process that registered the provider.

Flags

Can be one of the following flags.

  • TRACE_PROVIDER_FLAG_LEGACY: The provider used RegisterTraceGuids instead of EventRegister to register itself.

  • TRACE_PROVIDER_FLAG_PRE_ENABLE: The provider is not registered; however, one or more sessions have enabled the provider.

Remarks

If more than one event provider has registered using the same provider GUID, the TRACE_GUID_INFO block contains more than one TRACE_PROVIDER_INSTANCE_INFO structure.

Requirements

Requirement Value
Header evntrace.h

See also

TRACE_ENABLE_INFO

TRACE_GUID_INFO