DAC2_SetMatchLight


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

BOOL WINAPI DAC2_SetMatchLight(
    int nDeckID,

    BOOL bOn
);

Parameters

nDeckID

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

bOn

Turn match 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 match light on or off at anytime.

Example
Turn on the match light.

//Set match light on for DeckA

DAC2_SetMatchLight(0, TRUE);

//Set match light on for DeckB

DAC2_SetMatchLight(1, TRUE);

See also
 DAC2_Init