PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns the status of a fax that was sent by FaxSend. FaxStatus fills the FaxCompleteStatus structure that contains the fax characteristics.
Note: This function can be used in Windows 2000, XP or later.
Reminder: In Windows Vista (and later), the management of faxes is available with Windows Professional et Windows Integral Edition.
Example
ConnectID is int
ConnectID = FaxConnect()
...
FaxName is string = "MyFax"
FaxID = FaxSend(ConnectID, FaxName, "Message.txt", "0102030405")
...
IF FaxStatus(ConnectID, FaxName) = FaxStatusSent THEN
Info("The fax was sent")
ELSE
Info("Status of the fax: " + FaxCompleteStatus.StatusCaption)
END
...
FaxDisconnect(ConnectID)
Syntax
<Result> = FaxStatus(<Connection Identifier> , <Fax Name or Fax Identifier>)
<Result>: Integer constant
Status of specified fax:
FaxStatusCanceledThe fax transmission is canceled.
FaxStatusCallThe fax is dialing out.
FaxStatusLockedThe recipient number is locked.
FaxStatusDisconnectedDisconnection during the transmission.
FaxStatusSendThe fax is currently sent.
FaxStatusSentThe fax was sent.
FaxStatusErrorUnable to get the fax status.
FaxStatusFatalErrorFatal error.
FaxStatusBadNumberWrong fax number.
FaxStatusServerPendingThe device is available.
FaxStatusOfflineThe device is offline and unavailable.
FaxStatusInactiveThe fax sending is disabled (pause between two calls for example).
FaxStatusUnavailableThe fax is busy (used by another application).
FaxStatusInitThe transmission is currently initialized.
FaxStatusBusyThe recipient is busy.
FaxStatusNotFaxCallA call other than a fax call (phone call for example) was received by the device.
FaxStatusNoDialToneNo dial tone.
FaxStatusHandledThe fax is handled and transmitted by the fax manager.
FaxStatusReceivingThe device is currently receiving a fax.
FaxStatusAnsweredThe recipient answered.
FaxStatusDelayedThe call is delayed.
FaxStatusRoutingThe device is currently routing an incoming fax.
FaxStatusNoAnswerThe recipient does not answer.
FaxStatusRingThe recipient fax is ringing.
<Connection Identifier>: 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 (with quotes)
Corresponds to:
  • the name used to identify the outgoing fax. This name was defined by FaxSend.
  • the fax identifier (returned by FaxOutbox ou FaxInbox)
Components
WINDEVWEBDEV - Server codeReports and Queries wd230com.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment