PDH_FMT_COUNTERVALUE_ITEM structure

The PDH_FMT_COUNTERVALUE_ITEM structure contains the instance name and formatted value of a counter.

Syntax


typedef struct _PDH_FMT_COUNTERVALUE_ITEM {
  LPTSTR                               szName;
  PDH_FMT_COUNTERVALUE FmtValue;
} PDH_FMT_COUNTERVALUE_ITEM, *PPDH_FMT_COUNTERVALUE_ITEM;

Members

szName

Pointer to a null-terminated string that specifies the instance name of the counter. The string is appended to the end of this structure.

FmtValue

A PDH_FMT_COUNTERVALUE structure that contains the counter value of the instance.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Pdh.h

Unicode and ANSI names

PDH_FMT_COUNTERVALUE_ITEM_W (Unicode) and PDH_FMT_COUNTERVALUE_ITEM_A (ANSI)

See also

PdhGetFormattedCounterArray
PDH_FMT_COUNTERVALUE

 

 

Show: