Platform SDK: Fax Services |
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.
HRESULT put_Enable( BOOL newVal // new value for enable/disable flag for routing method );
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.
The IFaxRoutingMethod::get_Enable method returns a value of TRUE if a specified fax routing method is enabled on the fax port.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Header: Declared in faxcom.h.
Import Library: Included as a resource in faxcom.dll.
Fax Service Client Application Programming Interface Overview, Fax Service Client API Interfaces, IFaxRoutingMethod, IFaxRoutingMethods, IFaxRoutingMethod::get_Enable, IFaxPort::CanModify