IFaxJob::get_FaxNumber method (faxcom.h)

The IFaxJob::get_FaxNumber property is a null-terminated string that contains the fax number to which the fax server will transmit the fax job. The IFaxJob::get_FaxNumber property applies only to outgoing fax transmissions.

This property is read-only.

Syntax

HRESULT get_FaxNumber(
  BSTR *pVal
);

Parameters

pVal

Return value

None

Remarks

A fax number is only available for faxes that have a IFaxJob::get_Type property equal to JT_SEND. If the fax number is not available, the IFaxJob::get_FaxNumber property contains an empty string.

IFaxJob::get_FaxNumber 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

IFaxJob::get_Type

IFaxJobs