Platform SDK: Fax Services |
The IFaxServer::put_DiscountRateStartMinute method changes the DiscountRateStartMinute property for a FaxServer object. The DiscountRateStartMinute property is a number that represents the minute the discount period begins. The discount period applies only to outgoing fax transmissions.
HRESULT put_DiscountRateStartMinute( SHORT newVal // new value for minute discount rate begins );
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.
To save on transmission costs, a user can queue a fax job and request that the fax server send the transmission during the discount rate period. For more information, see IFaxDoc::put_DiscountSend.
The DiscountRateStartHour, DiscountRateStartMinute, DiscountRateEndHour, and DiscountRateEndHour properties represent local time.
If the time the discount rate period ends is less than the time the discount rate period begins, the discount rate period extends into the next day. For example, if the discount rate period begins at 9:00 P.M. and ends at 7:00 A.M., the discount rate period begins in the evening and continues until the morning of the following day.
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, IFaxServer, IFaxServer::get_DiscountRateStartMinute, IFaxServer::get_DiscountRateStartHour, IFaxServer::put_DiscountRateStartHour, IFaxServer::get_DiscountRateEndHour, IFaxServer::put_DiscountRateEndHour, IFaxServer::get_DiscountRateEndMinute, IFaxServer::put_DiscountRateEndMinute, IFaxDoc::get_DiscountSend, IFaxDoc::put_DiscountSend