DAC2_SetSingle


Shows or hides the single indicator on the DAC-2.

BOOL WINAPI DAC2_SetSingle(
    int nDeckID,

    BOOL bShow
);

Parameters

nDeckID

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

bShow

Show or hide the single indicator.

 

 

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 single indicator on or off at anytime.

Example
Show single indicator.

//Turn single indicator on for DeckA

DAC2_SetSingle(0, TRUE);

//Turn single indicator on for DeckB

DAC2_SetSingle(1, TRUE);

See also
 DAC2_Init