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