// sensorsutils.h
NTSTATUS SensorCollectionGetAt(
[in] UINT32 Index,
[in] PSENSOR_COLLECTION_LIST pSensorsList,
[out] PROPERTYKEY *pKey,
[out] PROPVARIANT *pValue
);
View the official Windows Driver Kit DDI referenceNo description available.
This routine returns the PROPERTYKEY and PROPVARIANT associated with the nth element in the provided sensor collection list.
Index [in]Zero-based index of the element in the pSensorsList.
pSensorsList [in]Pointer to a sensor collection list.
pKey [out]Size of data.
pValue [out]Location of the data.
This function returns STATUS_NOT_FOUND if not found, STATUS_SUCCESS otherwise.