IFaxDoc::put_FaxNumber method (faxcom.h)

Sets or retrieves the FaxNumber property of a FaxDoc object. The FaxNumber property is a null-terminated string that contains the fax number to which the fax server will send the fax transmission.

This property is read/write.

Syntax

HRESULT put_FaxNumber(
  BSTR newVal
);

Parameters

newVal

Return value

None

Remarks

The recipient's fax number can appear on the cover page.

The FaxNumber property is required to send a fax transmission using a call to the IFaxDoc::Send method. For more information, see Transmitting Faxes.

The FaxNumber property is required to send a fax transmission using a call to the Send method. For more information, see Transmitting Faxes.

The get_FaxNumber 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.

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

IFaxDoc

IFaxDoc::Send

SysFreeString