NAME
DtLightGetOn - Get the state for the given light.
SYNOPSIS
#include <Dt.h>
int DtLightGetOn( int lightID, int *state )
DESCRIPTION
DtLightGetOn() returns the state of the light, via the
pointer to the state parameter, given the index of the light
into the light list, via the lightID parameter. The state
parameter will be set to 1 if the light is "on" or 0 if the
light is "off".
OPENMODEL IMPLEMENTATION
OpenModel lights are always on; state will always be set to
1 in the OpenModel implementation.
DIAGNOSTICS
DtLightGetOn() returns one on success and zero on failure.
FILES
Link with -lDtOMio