DAC2_ErrorGetCode


Retrieves the error code for the most recent DAC-2 function call.

DWORD WINAPI DAC2_ErrorGetCode();

Return value
If no error occured during the last DAC-2 function call then DAC2_OK is returned, else one of the DAC2_ERROR values is returned. See the function description for an explanation of what the error code means.

Error codes list

0

DAC2_OK

1

DAC2_ERROR_INIT

2

DAC2_ERROR_PORT

3

DAC2_ERROR_THREAD

4

DAC2_ERROR_DEVICE

5

DAC2_ERROR_RANGE