Closes a connection to a fax server (established beforehand by
FaxConnect).
Remark: This function can be used in Windows 2000, XP or later. In Windows Vista (and later), the management of faxes is available with Windows Professional et Windows Integral Edition.
ConnectID is int
ConnectID = FaxConnect()
...
IF FaxDisconnect(ConnectID) = False THEN
Error("The disconnection failed", ErrorInfo(errSystemMessage))
END
Syntax
<Result> = FaxDisconnect(<Connection identifier>)
<Result>: Boolean
- True if the disconnection was performed,
- False if an error occurred. The corresponding error message is returned by ErrorInfo.
<Connection identifier>: Integer
Connection identifier, returned by FaxConnect.