|
|
|
|
|
FaxStatus (Function) In french: FaxEtat 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. 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: | | FaxStatusAnswered | The recipient answered. | FaxStatusBadNumber | Wrong fax number. | FaxStatusBusy | The recipient is busy. | FaxStatusCall | The fax is dialing out. | FaxStatusCanceled | The fax transmission is canceled. | FaxStatusDelayed | The call is delayed. | FaxStatusDisconnected | Disconnection during the transmission. | FaxStatusError | Unable to get the fax status. | FaxStatusFatalError | Fatal error. | FaxStatusHandled | The fax is handled and transmitted by the fax manager. | FaxStatusInactive | The send operation is disabled (pause between two calls for instance). | FaxStatusInit | The transmission is currently initialized. | FaxStatusLocked | The recipient number is locked. | FaxStatusNoAnswer | The recipient does not answer. | FaxStatusNoDialTone | No dial tone. | FaxStatusNotFaxCall | A call other than a fax call was received by the device (phone call for instance). | FaxStatusOffline | The device is offline and unavailable. | FaxStatusReceiving | The device is currently receiving a fax. | FaxStatusRing | The recipient fax is ringing. | FaxStatusRouting | The device is currently routing an incoming fax. | FaxStatusSend | The fax is currently sent. | FaxStatusSent | The fax was sent. | FaxStatusServerPending | The device is available. | FaxStatusUnavailable | The 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)
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|