Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines possible operational states for sensors.
typedef enum __MIDL___MIDL_itf_sensorsapi_0000_0000_0001 {
SENSOR_STATE_MIN = 0,
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;
SENSOR_STATE_MIN Value: 0 Minimum enumerated sensor state. Use SENSOR_STATE_READY instead. |
SENSOR_STATE_READY Ready to send sensor data. |
SENSOR_STATE_NOT_AVAILABLE The sensor is not available for use. |
SENSOR_STATE_NO_DATA The sensor is available but does not have data. |
SENSOR_STATE_INITIALIZING The sensor is available, but performing initialization. Try again later. |
SENSOR_STATE_ACCESS_DENIED 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. |
SENSOR_STATE_ERROR The sensor has raised an error. |
SENSOR_STATE_MAX Maximum enumerated sensor state. Not a valid value. |
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | None supported |
Header | sensorsapi.h |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today