SENSOR_CATEGORY_LIGHT

The SENSOR_CATEGORY_LIGHT category contains sensors that provide information about characteristics of light.

Platform-Defined Sensor Types

This category includes the following platform-defined sensor types.

Sensor typeDescription
SENSOR_TYPE_AMBIENT_LIGHT
{97F115C8-599A-4153-8894-D2D12899918A}

Ambient light sensors.

Platform-Defined Data Fields

Platform-defined property keys for this category are based on SENSOR_DATA_TYPE_LIGHT_GUID:

{E4C77CE2-DCB7-46E9-8439-4FEC548833A6}

This category includes the following platform-defined data fields.

Data field name and PIDDescription
SENSOR_DATA_TYPE_LIGHT_CHROMACITY
(PID = 4)

VT_VECTOR|VT_UI1

Chromaticity as a counted array of float values.

Data for vector types is always serialized as VT_UI1 (an array of unsigned, 1-byte characters). This data field actually contains each value as an IEEE 4-byte real value (VT_R4).

For information about working with arrays, see Retrieving Vector Types.

SENSOR_DATA_TYPE_LIGHT_LEVEL_LUX
(PID = 2)

VT_R4

Illuminance level, in lux.

SENSOR_DATA_TYPE_LIGHT_TEMPERATURE_KELVIN
(PID = 3)

VT_R4

Color temperature, in degrees Kelvin.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

None supported

Header

Sensors.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft