// sensorsutils.h
BOOLEAN EvaluateActivityThresholds(
[in] PSENSOR_COLLECTION_LIST newSample,
[in] PSENSOR_COLLECTION_LIST oldSample,
[in] PSENSOR_COLLECTION_LIST thresholds
);
View the official Windows Driver Kit DDI referenceNo description available.
This routine determines whether the new incoming activity data meets the threshold.
Note that the samples must be sorted and filtered data. Use CollectionsListSortSubscribedActivitiesByConfidence function to sort and filter data.
newSample [in]Incoming activity data, as a sensor collection list.
oldSample [in]Last reported activity data, as a sensor collection list.
thresholds [in]Activity detection thresholds, as a sensor collection list.
This function returns TRUE if succeeded, FALSE otherwise.