PERF_DATA_BLOCK (Windows CE 5.0)
This structure describes the performance data provided by the RegQueryValueEx function.
The data starts with a PERF_DATA_BLOCK structure and is followed by a PERF_OBJECT_TYPE structure and other object-specific data for each type of object monitored.
typedef struct _PERF_DATA_BLOCK{WCHARSignature[4];DWORDLittleEndian;DWORDVersion;DWORDRevision;DWORDTotalByteLength;DWORDHeaderLength;DWORDNumObjectTypes;DWORDDefaultObject;SYSTEMTIMESystemTime;LARGE_INTEGERPerfTime;LARGE_INTEGERPerfFreq;LARGE_INTEGERPerfTime100nSec;DWORDSystemNameLength;DWORDSystemNameOffset;}PERF_DATA_BLOCK;
Members
Signature
Contains the Unicode string PERF.LittleEndian
Contains 0 if the processor is big endian and 1 if it is little endian.Version
Contains the version of the performance structures. This member is greater than or equal to 1.Revision
Contains the revision of the performance structures. This member is greater than or equal to 0.TotalByteLength
Contains the total length, in bytes, of the performance data.HeaderLength
Contains the length, in bytes, of this structure.NumObjectTypes
Contains the number of object types being monitored.DefaultObject
Contains the object title index of the default object whose performance data is to be displayed.This member can be –1 to indicate that no data is to be displayed.
SystemTime
Contains the time when the system is monitored.This member is in Universal Time Coordinate (UTC) format.
PerfTime
Contains the performance counter value, in counts, for the system being monitored.PerfFreq
Contains the performance counter frequency, in counts per second, for the system being monitored.PerfTime100nSec
Contains the performance counter value, in 100 nanosecond units, for the system being monitored.SystemNameLength
Contains the length, in bytes, of the system name.SystemNameOffset
Contains the offset from the beginning of this structure to the name of the system being monitored.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Windows.h.
See Also
Performance Monitoring Structures
Send Feedback on this topic to the authors