Restarts a fax in the spooler. This function only applies to the pending faxes.
Remark: This function can be used in Windows 2000, XP or later. In Windows Vista, the management of faxes is available in Windows Vista Professional Edition and Windows Vista Ultimate Edition.
ConnectID is int
ConnectID = FaxConnect()
IF ConnectID = 0 THEN
Error("The connection to the fax server failed." + ...
"Check whether it has been started", ...
ErrorInfo(errSystemMessage))
ELSE
ListAdd(LIST_FaxSend, FaxOutbox(ConnectID))
END
...
// Click code of the list box
IF FaxStatus(LIST_FaxSend..DisplayedValue) = FaxStatusHandled THEN
FaxRestart(LIST_FaxSend..DisplayedValue)
END
...
FaxDisconnect(ConnectID)
Syntax
<Result> = FaxRestart(<Connection identifier> , <Fax name or Fax identifier>)
<Result>: Boolean
- True if the fax is restarted in the spooler,
- False otherwise (if the name of the fax does not exist for example).
<Connection identifier>: Integer
Connection identifier, returned by FaxConnect.
<Fax name or Fax identifier>: Character string
Corresponds to:- the name used to identify the outgoing fax. This name was defined with FaxSend.
- the fax identifier (returned by FaxOutbox ou FaxInbox)