// sensorsutils.h
NTSTATUS CollectionsListSortSubscribedActivitiesByConfidence(
[in] PSENSOR_COLLECTION_LIST thresholds,
[in] PSENSOR_COLLECTION_LIST pCollection
);
View the official Windows Driver Kit DDI referenceNo description available.
This routine rearranges activity data collection for following:
If there are multiple states with the same confidence, use state precedence order. The routine returns and error if one of the following conditions apply:
[!Caution] This routine assumes that there is no embedded pointer in the collection list.
thresholds [in]A pointer to a sensor collection list that contains the activity detection thresholds.
pCollection [in]A pointer to a sensor collection list.
Returns STATUS_INVALID_PARAMETER if one of the following conditions apply:
Returns STATUS_SUCCESS when the collection list was properly sorted.