DAC2_SetLoopLight


Turn loop light on or off on the DAC-2.

BOOL WINAPI DAC2_SetloopLight(
    int nDeckID,

    BOOL bOn
);

Parameters

nDeckID

The ID that specifies either DeckA – 0 or DeckB - 1.

bOn

Turn loop light on or off.

 

 

Return value
If successful, then TRUE is returned, else FALSE is returned. Use DAC2_ErrorGetCode to get the error code.

Error codes

DAC2_ERROR_INIT

 The DAC-2 has not been initialized.

Remarks
You can turn the loop light on or off at anytime.

Example
Turn on the loop light.

//Set loop light on for DeckA

DAC2_SetLoopLight(0, TRUE);

//Set loop light on for DeckB

DAC2_SetLoopLight(1, TRUE);

See also
 DAC2_Init