<div class="content"><p>The _PERF_COUNTERSET_REG_INFO structure contains information
about the <a href="da82a046-4e10-46ab-8da9-3d24bb48a2b2#gt_5ad9937c-a24e-4274-92c8-50ff5f97bf19" data-linktype="relative-path">counterset</a> and
is used when enumerating <a href="da82a046-4e10-46ab-8da9-3d24bb48a2b2#gt_35645a67-9e0b-4c05-b2d9-3b2b25f2beac" data-linktype="relative-path">performance
counter</a> information about the server.</p><dl>
<dd>
<div><pre> typedef struct _PERF_COUNTERSET_REG_INFO {
   GUID CounterSetGuid;
   unsigned long CounterSetType;
   unsigned long DetailLevel;
   unsigned long NumCounters;
   unsigned long InstanceType;
 } PERF_COUNTERSET_REG_INFO,
  *PPERF_COUNTERSET_REG_INFO;
</pre></div>
</dd></dl><p><b>CounterSetGuid:</b>  A <a href="da82a046-4e10-46ab-8da9-3d24bb48a2b2#gt_f49694cc-c350-462d-ab8e-816f0103c6c1" data-linktype="relative-path">GUID</a> uniquely identifying
the counterset.</p><p><b>CounterSetType:</b>  Unused. MUST be set
to 0, and MUST be ignored on receipt.</p><p><b>DetailLevel:</b>  The detail level of
the counterset that is used to indicate the intended target audience. The value
MUST be one of the following.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Meaning</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>
  <p>0x00000064</p>
  </td>
  <td>
  <p>Novice level. Designed to be accessed by casual users
  who do not have detailed system knowledge. </p>
  </td>
 </tr><tr>
  <td>
  <p>0x000000C8</p>
  </td>
  <td>
  <p>Advanced level. Designed to be accessed by information
  technology (IT) administrators who are monitoring multiple machines.</p>
  </td>
 </tr></tbody></table>
</dd></dl><p><b>NumCounters:</b>  The number of counters
that are defined in the counterset. </p><p><b>InstanceType:</b>  There can be a single
or multiple active instances of the counterset, and the client must handle
these instances differently. A single active instance of a counterset
corresponds to a single active instance of a performance counter within that
counterset. This field indicates whether the counterset is single, aggregate,
or multiple-instance. The value MUST be one of the following.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Meaning</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>
  <p>0x00000000</p>
  </td>
  <td>
  <p>Single instance. Only one instance of the counterset
  is active on the system at any time while the system is running. </p>
  </td>
 </tr><tr>
  <td>
  <p>0x00000002</p>
  </td>
  <td>
  <p>Multiple instances. There can be several instances of
  the counterset active on the system at any time while the system is running.</p>
  </td>
 </tr><tr>
  <td>
  <p>0x00000004</p>
  </td>
  <td>
  <p>Global aggregate. Performs an aggregation operation
  that is specified in the performance counter definition. The aggregation
  operation is performed on the client side for each counter in the counterset
  across all available and active instances of the counterset in the system. </p>
  </td>
 </tr><tr>
  <td>
  <p>0x00000006</p>
  </td>
  <td>
  <p>Multiple-instance aggregate. Performs an aggregation
  operation that is specified in the performance counter definition. The
  aggregation operation is performed on the client side for each performance
  counter in the counterset across a client-specified set of instances of that
  counterset. For example, a client can average the value of counter
  &#34;A&#34; from counterset instances &#34;1&#34;, &#34;2&#34;, and
  &#34;5&#34;. </p>
  </td>
 </tr><tr>
  <td>
  <p>0x0000000C</p>
  </td>
  <td>
  <p>Global aggregate history. Performs an aggregation
  operation that is specified in the counter definition. The aggregation
  operation is performed on the client side for each performance counter in the
  counterset across all available instances of the counterset. The result of
  the aggregation operation can then be cached by the consumer and referenced
  for later use. For example, if a counter is deleted by the server between client
  queries, the client can use the value of the counter that was obtained in the
  last query for the aggregation operation.</p>
  </td>
 </tr><tr>
  <td>
  <p>0x00000016</p>
  </td>
  <td>
  <p>Instance aggregate. Not implemented.</p>
  </td>
 </tr></tbody></table>
</dd></dl><p> </p></div>