Releasing the reserved lights

Context

The ReleaseLight() call releases the light target if it was previously reserved for the client. Multiple lights can be specified by using bitwise-or. If the client has not reserved any of the specified lights, this method does nothing. Any reserved light targets that are released and have no other suspended clients are reset to default state, which is either lights ON or lights OFF, depending on the system inactivity time. The following code snippet demonstrates how to release the reserved light targets:

iLight->ReleaseLight( CHWRMLight::EPrimaryDisplay | CHWRMLight::EPrimaryKeyboard );