Export (0) Print
Expand All

PERF_COUNTER_IDENTITY structure

Defines the counter that is sent to a provider's callback when the consumer adds or removes a counter from the query.

Syntax


typedef struct _PERF_COUNTER_IDENTITY {
  GUID  CounterSetGuid;
  ULONG BufferSize;
  ULONG CounterId;
  ULONG InstanceId;
  ULONG MachineOffset;
  ULONG NameOffset;
  ULONG Reserved;
} PERF_COUNTER_IDENTITY, *PPERF_COUNTER_IDENTITY;

Members

CounterSetGuid

GUID that uniquely identifies the counter set that this counter belongs to.

BufferSize

Size, in bytes, of this structure and the computer name and instance name that are appended to this structure in memory.

CounterId

Unique identifier of the counter in the counter set.

This member is set to PERF_WILDCARD_COUNTER if the consumer wants to add or remove all counters in the counter set.

InstanceId

Identifier of the counter set instance to which the counter belongs.

Ignore this value if the instance name at NameOffset is PERF_WILDCARD_INSTANCE.

MachineOffset

Offset to the null-terminated Unicode computer name that follows this structure in memory.

NameOffset

Offset to the null-terminated Unicode instance name that follows this structure in memory.

Reserved

Reserved.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Perflib.h

See also

ControlCallback

 

 

Community Additions

ADD
Show:
© 2014 Microsoft