// sensorsutils.h
NTSTATUS PropKeyFindKeyGetNthUshort(
[in] const SENSOR_COLLECTION_LIST *pList,
[in] const PROPERTYKEY *pKey,
[in] const UINT32 Occurrence,
[out] USHORT *pRetValue
);
View the official Windows Driver Kit DDI referenceNo description available.
This routine gets the nth USHORT value from a PROPVARIANT within a collection list based on the PROPERTYKEY.
pList [in]Pointer to the list of PROPVARIANT collection.
pKey [in]Pointer to a PROPERTYKEY for the target PROPVARIANT
Occurrence [in]Zero-based number of occurrence the PROPERTYKEY must be found before returning the value.
pRetValue [out]Pointer to the output buffer.
This function returns one of the following NTSTATUS codes: