// sensorsutils.h
NTSTATUS PropKeyFindKeyGetPropVariant(
[in] const SENSOR_COLLECTION_LIST *pList,
[in] const PROPERTYKEY *pKey,
[in] BOOLEAN TypeCheck,
[in/out] PROPVARIANT *pValue
);
View the official Windows Driver Kit DDI referenceNo description available.
This routine finds the PROPVARIANT from 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.
TypeCheck [in]If TRUE, the function validates whether a pValue type matches one of the value types found in pList.
pValue [in/out]Pointer to the target PROPVARIANT.
This function returns one of the following NTSTATUS codes: