Platform SDK: Fax Services |
The IFaxJob::get_QueueStatus method retrieves the QueueStatus property for a FaxJob object. The QueueStatus property is a null-terminated string that describes the job queue status of the fax job.
HRESULT get_QueueStatus( BSTR *pVal // receives queue status );
Value | Meaning |
---|---|
"Pending" | The fax job is in the queue and pending service. |
"In Progress" | The fax job is in progress. |
"Deleting" | The fax server is deleting the fax job. |
"Failed" | The fax job failed. |
"Paused" | The fax server paused the fax job. |
"No Line" | There is no line available to send the fax. The fax server will send the transmission when a line is available. |
"Retrying" | The fax job failed. The fax server will attempt to retransmit the fax after a specified interval. |
"Retries Exceeded" | The fax server exceeded the maximum number of retransmission attempts allowed. The fax will not be sent. |
Returns an HRESULT value indicating success or failure. If the method succeeds, it returns S_OK. Otherwise, it returns a COM-defined error code.
You should not check directly for success or failure. Use the COM SUCCEEDED and FAILED macros instead.
The IFaxJob::get_QueueStatus method allocates the memory required for the buffer pointed to by the pVal parameter. The client application must call the SysFreeString function to deallocate the resources associated with this parameter. For more information, see Freeing Fax Resources.
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, IFaxJob, IFaxJobs, SysFreeString