Retrieving the status of the lights

Retrieve the status of various lights by calling LightStatus() method. This method can be used to find the status of only one target at a time. The function is called by passing a target as a parameter.

The following code snippet demonstrates how a client retrieves the status of the primary display on the device:

CHWRMExtendedLight::TLightStatus lightstatus = iLight->LightStatus( CHWRMExtendedlight::EPrimaryDisplay );