IFaxJob::get_DeviceStatus method (faxcom.h)

The IFaxJob::get_DeviceStatus property is a null-terminated string that describes the status of the port associated with the fax job.

This property is read-only.

Syntax

HRESULT get_DeviceStatus(
  BSTR *pVal
);

Parameters

pVal

Return value

None

Remarks

If the job is in the job queue waiting transmission, the fax server has not associated a device with the job. In this instance, IFaxJob::get_DeviceStatus is "Unknown".

IFaxJob::get_DeviceStatus 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.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header faxcom.h
DLL Faxcom.dll

See also

Fax Service Client API Interfaces

Fax Service Client API for Windows 2000

IFaxJob

IFaxJobs