// sensorsclassextension.h
typedef enum __MIDL___MIDL_itf_windowssensorclassextension_0000_0000_0001 {
SENSOR_STATE_MIN,
SENSOR_STATE_READY,
SENSOR_STATE_NOT_AVAILABLE,
SENSOR_STATE_NO_DATA,
SENSOR_STATE_INITIALIZING,
SENSOR_STATE_ACCESS_DENIED,
SENSOR_STATE_ERROR,
SENSOR_STATE_MAX
} SensorState;
View the official Windows Driver Kit DDI referenceNo description available.
The SensorState enumeration type specifies the current operational state of a sensor.
SENSOR_STATE_MINReserved.
SENSOR_STATE_READYIndicates that the sensor is ready.
SENSOR_STATE_NOT_AVAILABLEIndicates that the sensor is not currently available for use.
SENSOR_STATE_NO_DATAIndicates that no data available.
SENSOR_STATE_INITIALIZINGIndicates that the sensor is not yet ready for use. Try again.
SENSOR_STATE_ACCESS_DENIEDReserved. Do not use in driver code.
SENSOR_STATE_ERRORIndicates that an unspecified error occurred.
SENSOR_STATE_MAXReserved.
This enumeration also defines values used for the SENSOR_PROPERTY_STATE property.
ISensorClassExtension::PostStateChange
ISensorDriver::OnGetProperties