Share via


FaxDevice.UseRoutingMethod method

The UseRoutingMethod method adds an inbound fax routing method to or removes a fax routing method (FaxInboundRoutingMethod) from the list of routing methods associated with the fax device.

Syntax

FaxDevice.UseRoutingMethod( _
  ByVal bstrMethodGUID As String, _
  ByVal bUse As Boolean _
) As Long

Parameters

bstrMethodGUID [in]

Type: String

Specifies a null-terminated string that uniquely identifies the fax routing method to add or remove.

bUse [in]

Type: Boolean

Specifies a Boolean value. If this parameter is equal to True, the method adds the fax routing method to the list of inbound methods associated with the fax device. If you set this parameter to False, the method removes the routing method from the list.

Remarks

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

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
FaxComex.h
DLL
Fxscomex.dll

See also

Visual Basic Example

FaxDevice

IFaxDevice