EVT_SENSOR_DRIVER_START_SENSOR - NtDoc

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

EVT_SENSOR_DRIVER_START_SENSOR EvtSensorDriverStartSensor;

NTSTATUS EvtSensorDriverStartSensor(
  SENSOROBJECT Sensor
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

EVT_SENSOR_DRIVER_START_SENSOR callback function

Description

This callback function starts the sensor based on the default properties specified by the driver, or properties set by the class extension.

Parameters

Sensor

A reference to a sensor object.

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 only once by the class extension.