// sensorscx.h
PFN_SENSORSCXSTATECHANGE PfnSensorscxstatechange;
VOID * PfnSensorscxstatechange(
PSENSORSCX_DRIVER_GLOBALS DriverGlobals,
SENSOROBJECT Sensor,
SENSOR_STATE State
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Used to initialize a sensor state change.
DriverGlobalsGlobal definitions for the driver.
SensorA reference to a sensor object.
StateThe state of the sensor.
//Declaration
*PFN_SENSORSCXSTATECHANGE *PfnSensorscxstatechange;
// Definition
VOID *PfnSensorscxstatechange
(
PSENSORSCX_DRIVER_GLOBALS DriverGlobals
SENSOROBJECT Sensor
SENSOR_STATE State
)
{...}
This function returns an NTSTATUS with different values. Some values that may be returned are: