HERC_Free


Frees all resources used by Hercules and closes the com port.

BOOL WINAPI HERC_Free();

Return value
If successful, then TRUE is returned, else FALSE is returned. Use HERC_ErrorGetCode to get the error code.

Error codes

HERC_ERROR_INIT

HERC_Init has not been successfully called.

Remarks
This function should be called before your program exits.

See also
HERC_Init