IFaxOutboundRoutingGroups::Add method (faxcomex.h)

The IFaxOutboundRoutingGroups::Add method adds an outbound routing group to the collection represented by the IFaxOutboundRoutingGroups interface.

Syntax

HRESULT Add(
  [in]          BSTR                     bstrName,
  [out, retval] IFaxOutboundRoutingGroup **pFaxOutboundRoutingGroup
);

Parameters

[in] bstrName

Type: BSTR

Null-terminated string that indicates the name of the group to add. Note that you cannot add the special All Devices routing group.

[out, retval] pFaxOutboundRoutingGroup

Type: IFaxOutboundRoutingGroup**

Address of a pointer that receives a IFaxOutboundRoutingGroup interface.

Return value

Type: HRESULT

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

Remarks

To use this method, a user must have the farMANAGE_CONFIG access right.

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

IFaxOutboundRoutingGroups

Visual Basic Example