Export (0) Print
Expand All

2.2.4.6 _PERF_COUNTER_IDENTIFIER

The _PERF_COUNTER_IDENTIFIER structure is used to identify performance counters when adding or removing counters from a query or when enumerating performance counter metadata on the server.

typedef struct _PERF_COUNTER_IDENTIFIER {
  GUID CounterSetGuid;
  unsigned long Status;
  unsigned long Size;
  unsigned long CounterId;
  unsigned long InstanceId;
  unsigned long Index;
  unsigned long Reserved;
} PERF_COUNTER_IDENTIFIER, 
 *PPERF_COUNTER_IDENTIFIER;

CounterSetGuid: The GUID of the counterset.

Status: A Win32 error code that indicates whether the operation was successful. Win32 error codes are specified in [MS-ERREF].

Size: The total size, in bytes, of the structure and the instance name. The structure is followed by the instance name, represented as a Unicode string.

CounterId: The numeric identifier of the counter.

InstanceId: The instance identifier of the counterset.

Index: The position in which the corresponding counter data is returned from a PerflibV2QueryCounterData (section 3.1.4.1.6) method call. For more information, see PerflibV2QueryCounterInfo (section 3.1.4.1.5).

Reserved: Clients MUST set this field to 0 and MUST ignore this field on receipt.

 
Show:
© 2014 Microsoft