SensorState - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-sensorsclassextension-__midl___midl_itf_windowssensorclassextension_0000_0000_0001)

__MIDL___MIDL_itf_windowssensorclassextension_0000_0000_0001 enumeration

Description

The SensorState enumeration type specifies the current operational state of a sensor.

Constants

SENSOR_STATE_MIN

Reserved.

SENSOR_STATE_READY

Indicates that the sensor is ready.

SENSOR_STATE_NOT_AVAILABLE

Indicates that the sensor is not currently available for use.

SENSOR_STATE_NO_DATA

Indicates that no data available.

SENSOR_STATE_INITIALIZING

Indicates that the sensor is not yet ready for use. Try again.

SENSOR_STATE_ACCESS_DENIED

Reserved. Do not use in driver code.

SENSOR_STATE_ERROR

Indicates that an unspecified error occurred.

SENSOR_STATE_MAX

Reserved.

Remarks

This enumeration also defines values used for the SENSOR_PROPERTY_STATE property.

See also

ISensorClassExtension::PostStateChange

ISensorDriver::OnGetProperties