DAC2_Free


Frees all resources used by DAC-2 and closes the com port.

BOOL WINAPI DAC2_Free();

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

DAC2_Init has not been successfully called.

Remarks
This function should be called before your program exits.

See also
DAC2_Init