IFaxDevice::UseRoutingMethod method (faxcomex.h)
The IFaxDevice::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
HRESULT UseRoutingMethod(
[in] BSTR bstrMethodGUID,
[in] VARIANT_BOOL bUse
);
Parameters
[in] bstrMethodGUID
Type: BSTR
Specifies a null-terminated string that uniquely identifies the fax routing method to add or remove.
[in] bUse
Type: VARIANT_BOOL
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.
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 |