Platform SDK: Fax Services |
The FaxStatus dual interface is used by a fax client application to retrieve status information for a specific port on a connected fax server. The IFaxStatus interface includes the following interface methods:
The FaxStatus object should only be created by a FaxPort object.
You can use the FaxStatus object to provide real-time status information about a parent FaxPort object. Some data is available at all times for an active fax port; other data is relative to sending or receiving a fax and is only available at those times.
You should not implement this interface. The Microsoft® standard implementation provides complete functionality.
Use the IFaxStatus interface to update the status information for a specific fax port, and to retrieve the properties of a FaxStatus object.
A client application should not call the CoCreateInstance function to retrieve an IFaxStatus interface pointer. Instead, the application must perform the following steps to create an instance of a FaxStatus object:
The property methods of the IFaxStatus interface retrieve the properties described following. For each property that supports read access, the IFaxStatus interface includes a get_PropertyName method.
Following are the properties associated with a FaxStatus object. You can find a complete list of IFaxStatus interface methods in Vtable order following the list of properties.
Property | Type | Access | Description |
---|---|---|---|
Address | BSTR | R | Destination address for an outbound fax job on the specified port. |
CallerID | BSTR | R | Information that identifies the calling device that sent the incoming fax transmission on the specified port. |
Csid | BSTR | R | Called station identifier (CSID) associated with the fax transmission on the specified port. |
CurrentPage | LONG | R | Active page number of the current outbound fax transmission on the specified port. |
Description | BSTR | R | String that describes the current status of the specified port. |
DeviceId | LONG | R | Permanent line identifier of the specified fax port. |
DeviceName | BSTR | R | User-friendly display name for the specified fax port. |
DocumentName | BSTR | R | User-friendly document name associated with an active outbound fax transmission on the specified port. |
DocumentSize | LONG | R | Size, in bytes, of the fax document associated with an active outbound job on the specified port. |
ElapsedTime | DATE | R | Elapsed time, in seconds, for an active fax job on the specified port. |
PageCount | LONG | R | Total number of pages in an outbound fax transmission on the specified port. |
Receive | BOOL | R | Value that indicates whether the specified fax port is currently receiving a fax transmission. |
RecipientName | BSTR | R | Name of the recipient of the inbound fax transmission on the specified port. |
RoutingString | BSTR | R | String that contains routing data for inbound transmissions on the fax port; routing data is specific to a fax service provider. |
Send | BOOL | R | Value that indicates whether the specified fax port is currently sending a fax transmission. |
SenderName | BSTR | R | Name of the sender who queued the outbound fax job on the specified port. |
StartTime | DATE | R | Time, expressed in UTC, when the active fax job began transmitting a document on the specified port. |
SubmittedTime | DATE | R | Time, expressed in UTC, when the user submitted the outbound fax job on the specified port. |
Tsid | BSTR | R | Transmitting station identifier (TSID) associated with the fax transmission on the specified port. |
IUnknown Methods
IDispatch Methods
IFaxStatus Methods
Method | Description |
---|---|
get_CallerId | Retrieves a string that identifies the calling device that sent the inbound fax transmission. |
get_Csid | Retrieves the called station identifier (CSID) associated with the fax transmission. |
get_CurrentPage | Retrieves the active page number of the current outbound fax transmission. |
get_DeviceId | Retrieves the permanent line identifier for the specified fax port. |
get_DeviceName | Retrieves the user-friendly name for the specified fax port. |
get_DocumentName | Retrieves the user-friendly document name associated with the active outbound fax transmission. |
get_Send | Retrieves a value that indicates whether the fax port is currently sending a fax transmission. |
get_Receive | Retrieves a value that indicates whether the fax port is currently receiving a fax transmission. |
get_Address | Retrieves the destination address for an outbound fax job on the specified port. |
get_RoutingString | Retrieves a string that contains routing data for inbound transmissions on the specified port; routing data is specific to a fax service provider. |
get_SenderName | Retrieves the name of the sender who queued the outbound fax job on the specified port. |
get_RecipientName | Retrieves the name of the recipient of the inbound fax transmission on the specified port. |
get_DocumentSize | Retrieves the size, in bytes, of the fax document associated with the active outbound job on the specified port. |
get_Description | Retrieves a string that describes the current status of the specified port. |
get_PageCount | Retrieves the total number of pages in the outbound fax transmission on the specified fax port. |
get_Tsid | Retrieves the transmitting station identifier (TSID) associated with the fax transmission. |
get_StartTime | Retrieves the time, expressed in UTC, when the active fax job began transmitting a document on the specified port. |
get_SubmittedTime | Retrieves the time, expressed in UTC, when the user submitted the outbound fax job on the specified port. |
get_ElapsedTime | Retrieves the elapsed time, in seconds, for the active fax job on a specified port. |
Refresh | Updates the FaxStatus object information for the associated parent FaxPort object. |
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Header: Declared in faxcom.h.
Import Library: Included as a resource in faxcom.dll.
Fax Service Client Application Programming Interface Overview, Fax Service Client API Interfaces