| Platform SDK: Fax Services |
The FAX_ROUTING_METHOD structure contains information about one fax routing method, as it pertains to one fax device. The data includes, among other items, whether the fax routing method is enabled for the device, and the name of the DLL that exports the routing method. It also includes the GUID and function name that uniquely identify the routing method, and the method's user-friendly name.
typedef struct _FAX_ROUTING_METHOD {
DWORD SizeOfStruct; //structure size, in bytes
DWORD DeviceId; //line identifier of the device
BOOL Enabled; //fax routing method enable/disable flag
LPCTSTR DeviceName; //pointer to device name
LPCTSTR Guid; //GUID that uniquely identifies
// the fax routing method
LPCTSTR FriendlyName; //pointer to method's user-friendly name
LPCTSTR FunctionName; //pointer to method's function name
LPCTSTR ExtensionImageName;
//pointer to DLL that implements method
LPCTSTR ExtensionFriendlyName;
//pointer to DLL's user-friendly name
} FAX_ROUTING_METHOD, *PFAX_ROUTING_METHOD;
For more information about fax routing methods, see About the Fax Routing Extension API.
A fax client application can call the FaxEnumRoutingMethods function to enumerate all the fax routing methods associated with a specific fax device. The function returns an array of FAX_ROUTING_METHOD structures. Each structure describes one fax routing method in detail.
Call the FaxEnableRoutingMethod function to enable or disable a fax routing method for a specific fax device.
For more information, see Managing Fax Routing Data. For more information about GUIDs, see Registering a Fax Routing Method.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable with BackOffice Small Business Server.
Header: Declared in Winfax.h.
Unicode: Declared as Unicode and ANSI structures.
Fax Service Client Application Programming Interface Overview, Fax Service Client API Structures, FaxEnumRoutingMethods, FaxRouteMethod, FaxEnableRoutingMethod