Applies to: desktop apps only
Defines possible operational states for sensors.
typedef enum { SENSOR_STATE_MIN, SENSOR_STATE_READY = SENSOR_STATE_MIN, SENSOR_STATE_NOT_AVAILABLE, SENSOR_STATE_NO_DATA, SENSOR_STATE_INITIALIZING, SENSOR_STATE_ACCESS_DENIED, SENSOR_STATE_ERROR, SENSOR_STATE_MAX = SENSOR_STATE_ERROR } SensorState;
Minimum enumerated sensor state. Use SENSOR_STATE_READY instead.
Ready to send sensor data.
The sensor is not available for use.
The sensor is available but does not have data.
The sensor is available, but performing initialization. Try again later.
The sensor is available, but the user account does not have permission to access the sensor data. For more information about permissions, see Managing User Permissions.
The sensor has raised an error.
Maximum enumerated sensor state. Not a valid value.
Minimum supported client
Minimum supported server
Header
Send comments about this topic to Microsoft
Build date: 3/6/2012