Platform SDK: Fax Services |
A fax client application calls the FaxSetConfiguration function to change the global configuration settings for the fax server to which the client has connected. The configuration data can include, among other items, retransmission, branding, archive and cover page settings; discount rate periods; and the status of the fax server queue.
BOOL WINAPI FaxSetConfiguration( HANDLE FaxHandle, // handle to the fax server CONST FAX_CONFIGURATION *FaxConfig // new configuration data );
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError. GetLastError can return one of the following errors.
Error code | Description |
---|---|
ERROR_ACCESS_DENIED | Access is denied. FAX_CONFIG_SET access is required. |
ERROR_INVALID_PARAMETER | The FaxConfig parameter is NULL, or the SizeOfStruct member of the specified FAX_CONFIGURATION structure is not equal to sizeof(FAX_CONFIGURATION). |
A fax administration application typically calls the FaxSetConfiguration function to administer the global configuration settings for a fax server. To query the settings, an application can call the FaxGetConfiguration function. For more information, see Fax Server Configuration Management.
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.
Library: Included as a resource in Winfax.dll.
Unicode: Implemented as Unicode and ANSI versions on all platforms.
Fax Service Client Application Programming Interface Overview, Fax Service Client API Functions, FaxConnectFaxServer, FaxGetConfiguration, FAX_CONFIGURATION