Platform SDK: Fax Services |
The IFaxDoc::get_DiscountSend method retrieves the DiscountSend property for a FaxDoc object. The DiscountSend property is a Boolean value that indicates whether the fax server transmits faxes during the discount period.
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.
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, IFaxDoc, IFaxDoc::put_DiscountSend, IFaxServer::get_DiscountRateStartHour, IFaxServer::get_DiscountRateStartMinute, IFaxServer::get_DiscountRateEndHour, IFaxServer::get_DiscountRateEndMinute