Export (0) Print
Expand All

TRACE_PROVIDER_INSTANCE_INFO structure

Defines an instance of the provider GUID.

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.

ValueMeaning
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 provider uses the same GUID, the TRACE_GUID_INFO block contains more than one TRACE_PROVIDER_INSTANCE_INFO structure.

Requirements

Header

Evntrace.h

See also

TRACE_ENABLE_INFO
TRACE_GUID_INFO

 

 

Community Additions

ADD
Show:
© 2014 Microsoft