IFaxRecipients::Add method (faxcomex.h)

The IFaxRecipients::Add method adds a new FaxRecipient object to the FaxRecipients collection.

Syntax

HRESULT Add(
                BSTR          bstrFaxNumber,
  [optional]    BSTR          bstrRecipientName,
  [out, retval] IFaxRecipient **ppFaxRecipient
);

Parameters

bstrFaxNumber

Type: BSTR

Specifies the fax number of the fax recipient.

[optional] bstrRecipientName

Type: BSTR

Specifies the name of the fax recipient.

[out, retval] ppFaxRecipient

Type: IFaxRecipient**

A FaxRecipient object.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header faxcomex.h
DLL Fxscomex.dll

See also

Broadcasting a Fax

FaxRecipients

IFaxRecipients