ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / Managing faxes
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Returns the status of a fax sent by FaxSend. FaxStatus fills the FaxCompleteStatus structure that contains the fax characteristics.
Note: This function can only be used under Windows 2000, XP or higher.
Reminder: Under Windows Vista (and higher), fax management is only available with Windows Professional and Windows Ultimate Edition.
Example
IDConnect is int
IDConnect = FaxConnect()
...
NomFax is string = "MonFax"
IDFax = FaxSend(IDConnect, NomFax, "Message.txt", "0102030405")
...
IF FaxStatus(IDConnect, NomFax) = FaxStatusSent THEN
	Info("Le fax a été envoyé")
ELSE
	Info("Etat du fax: " + FaxCompleteStatus.StatusCaption)
END
...
FaxDisconnect(IDConnect)
Syntax
<Result> = FaxStatus(<Connection ID> , <Fax name or Fax identifier>)
<Result>: Integer constant
Status of specified fax:
FaxStatusAnsweredThe recipient answered.
FaxStatusBadNumberWrong fax number.
FaxStatusBusyThe recipient is busy.
FaxStatusCallThe fax is dialing out.
FaxStatusCanceledThe fax transmission is canceled.
FaxStatusDelayedThe call is delayed.
FaxStatusDisconnectedDisconnection during the transmission.
FaxStatusErrorUnable to get the fax status.
FaxStatusFatalErrorFatal error.
FaxStatusHandledThe fax is handled and transmitted by the fax manager.
FaxStatusInactiveThe send operation is disabled (pause between two calls for instance).
FaxStatusInitThe transmission is currently initialized.
FaxStatusLockedThe recipient number is locked.
FaxStatusNoAnswerThe recipient does not answer.
FaxStatusNoDialToneNo dial tone.
FaxStatusNotFaxCallA call other than a fax call was received by the device (phone call for instance).
FaxStatusOfflineThe device is offline and unavailable.
FaxStatusReceivingThe device is currently receiving a fax.
FaxStatusRingThe recipient fax is ringing.
FaxStatusRoutingThe device is currently routing an incoming fax.
FaxStatusSendThe fax is currently sent.
FaxStatusSentThe fax was sent.
FaxStatusServerPendingThe device is available.
FaxStatusUnavailableThe fax is busy (used by another application).
<Connection ID>: Integer
Connection identifier, returned by FaxConnect. This identifier must correspond with the one from the connection used to send the fax.
<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 (obtained using FaxOutbox or FaxInbox)
Component: wd300com.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help