SENSOR_PROPERTY_LIST structure (sensorsdef.h)

This structure contains a list of all SENSOR_VALUE_PAIR structures for each sensor. This structure is returned by calling ReadFile.

Syntax

typedef struct SENSOR_PROPERTY_LIST {
  ULONG       AllocatedSizeInBytes;
  ULONG       Count;
  PROPERTYKEY List[1];
} SENSOR_PROPERTY_LIST, *PSENSOR_PROPERTY_LIST;

Members

AllocatedSizeInBytes

Represents the number of elements allocated in List.

Count

Represents the number of used entries in List.

List[1]

A list of PROPERTYKEY values.

Remarks

Note that the List[1] parameter is a variable-sized buffer. The first element is a place-holder and may not accurately the buffer size.

The SENSOR_COLLECTION_LIST structure works with the following helper functions:

Requirements

Requirement Value
Minimum supported client Windows 8.1
Minimum supported server Windows Server 2012 R2
Header sensorsdef.h