SensorCollectionGetAt function (sensorsutils.h)
This routine returns the PROPERTYKEY and PROPVARIANT associated with the nth element in the provided sensor collection list.
Syntax
NTSTATUS SensorCollectionGetAt(
[in] UINT32 Index,
[in] PSENSOR_COLLECTION_LIST pSensorsList,
[out] PROPERTYKEY *pKey,
[out] PROPVARIANT *pValue
);
Parameters
[in] Index
Zero-based index of the element in the pSensorsList.
[in] pSensorsList
Pointer to a sensor collection list.
[out] pKey
Size of data.
[out] pValue
Location of the data.
Return value
This function returns STATUS_NOT_FOUND if not found, STATUS_SUCCESS otherwise.
Requirements
Requirement | Value |
---|---|
Header | sensorsutils.h |