DAC2_ClearProgress


Clears the progress display on the DAC-2.

BOOL WINAPI DAC2_ClearProgress(
    int nDeckID
);

Parameters

nDeckID

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

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
This can be used to clear the progress.

Example
Clear the progress meter.

//Clear progress for DeckA

DAC2_ClearProgress(0);

//Clear Progress for DeckB

DAC2_ClearProgress(1);

See also
 DAC2_Init