Platform SDK: Fax Services |
The IFaxJob::get_DiscountSend method retrieves the DiscountSend property for a FaxJob object. The DiscountSend property is a Boolean value that indicates whether the fax server will transmit the fax job during the discount rate period. The discount period applies only to outgoing fax transmissions.
HRESULT get_DiscountSend( BOOL *pVal // receives send at discount rate flag );
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.
For more information, see Managing Fax Jobs.
To determine the period during which the discount rate applies, you can call the following IFaxServer methods: IFaxServer::get_DiscountRateStartMinute, IFaxServer::get_DiscountRateEndMinute, IFaxServer::get_DiscountRateStartHour, and IFaxServer::get_DiscountRateEndHour.
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, IFaxJob, IFaxJobs, IFaxServer::get_DiscountRateStartHour, IFaxServer::get_DiscountRateStartMinute, IFaxServer::get_DiscountRateEndHour, IFaxServer::get_DiscountRateEndMinute