EVT_SENSOR_DRIVER_GET_DATA_THRESHOLDS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// sensorscx.h

EVT_SENSOR_DRIVER_GET_DATA_THRESHOLDS EvtSensorDriverGetDataThresholds;

NTSTATUS EvtSensorDriverGetDataThresholds(
  [in]  SENSOROBJECT Sensor,
  [out] PSENSOR_COLLECTION_LIST pThresholds,
        PULONG pSize
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-sensorscx-evt_sensor_driver_get_data_thresholds)

EVT_SENSOR_DRIVER_GET_DATA_THRESHOLDS callback function

Description

This callback function returns the thresholds that are associated with a sensor.

Parameters

Sensor [in]

A reference to a sensor object.

pThresholds [out]

A list of threshold properties and their values associated with the Sensor. For more information, see SENSOR_COLLECTION_LIST.

pSize

The size of pThresholds.

Return value

This function returns STATUS_SUCCESS when completed successfully.

Note The class extension (CX) only uses the NT_SUCCESS macro to determine if the call to the driver’s Evt function was successful, but does not take any action if the function failed or does not return STATUS_SUCCESS.

Remarks

This function must be implemented by the driver and is called by the class extension.

See also

SENSOR_COLLECTION_LIST