Platform SDK: Fax Services

IFaxRoutingMethod::put_Enable

The IFaxRoutingMethod::put_Enable method changes the Enable property for a FaxRoutingMethod object. The Enable property is a Boolean value that indicates whether a fax routing method is enabled on a particular fax port.

Visual Basic Reference

HRESULT put_Enable(
  BOOL newVal  // new value for enable/disable flag for routing method
);

Parameters

newVal
[in] Specifies the new value to assign to the flag. To enable a fax routing method for inbound faxes on a fax port, a fax client application must pass a value of TRUE to the IFaxRoutingMethod::put_Enable method.

Return Values

Returns an HRESULT value indicating success or failure. If the method succeeds, it returns S_OK. Otherwise, it returns a COM-defined error code.

You should not check directly for success or failure. Use the COM SUCCEEDED and FAILED macros instead.

Remarks

The IFaxRoutingMethod::get_Enable method returns a value of TRUE if a specified fax routing method is enabled on the fax port.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in faxcom.h.
  Import Library: Included as a resource in faxcom.dll.

See Also

Fax Service Client Application Programming Interface Overview, Fax Service Client API Interfaces, IFaxRoutingMethod, IFaxRoutingMethods, IFaxRoutingMethod::get_Enable, IFaxPort::CanModify