Skip to content

Latest commit

 

History

History
65 lines (52 loc) · 1.9 KB

nc-sensorscx-evt_sensor_driver_start_sensor.md

File metadata and controls

65 lines (52 loc) · 1.9 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NC:sensorscx.EVT_SENSOR_DRIVER_START_SENSOR
EVT_SENSOR_DRIVER_START_SENSOR (sensorscx.h)
This callback function starts the sensor based on the default properties specified by the driver, or properties set by the class extension.
sensors\evtsensorstart.htm
sensors
05/03/2018
EVT_SENSOR_DRIVER_START_SENSOR callback function
EVT_SENSOR_DRIVER_START_SENSOR, EVT_SENSOR_DRIVER_START_SENSOR callback, EvtSensorStart, EvtSensorStart callback function [Sensor Devices], sensors.evtsensorstart, sensorscx/EvtSensorStart
sensorscx.h
Windows
_requires_same_
Windows
EVT_SENSOR_DRIVER_START_SENSOR
sensorscx/EVT_SENSOR_DRIVER_START_SENSOR
APIRef
kbSyntax
UserDefined
SensorsCx.h
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

-param Sensor

A reference to a sensor object.

-returns

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.