IFaxOutboundRoutingRules::ItemByCountryAndArea method (faxcomex.h)
The IFaxOutboundRoutingRules::get_ItemByCountryAndArea method returns an outbound routing rule (FaxOutboundRoutingRule object) from the collection using the routing rule's country/region code and area code.
Syntax
HRESULT ItemByCountryAndArea(
long lCountryCode,
long lAreaCode,
IFaxOutboundRoutingRule **pFaxOutboundRoutingRule
);
Parameters
lCountryCode
Type: long
A long value that specifies the country/region code of the outbound routing rule to retrieve. Specifying frrcANY_CODE will return a rule for any country/region code.
lAreaCode
Type: long
A long value that specifies the area code of the outbound routing rule to retrieve. Specifying frrcANY_CODE will return a rule for any area code within the specified country/region code.
pFaxOutboundRoutingRule
Type: FaxOutboundRoutingRule**
A FaxOutboundRoutingRule 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 |