Platform SDK: Fax Services |
The IFaxDoc::put_SendCoverpage method changes the SendCoverpage property for a FaxDoc object. The SendCoverpage property is a Boolean value that indicates whether the fax service transmits a cover page with the fax document.
HRESULT put_SendCoverpage( BOOL newVal // new value for include cover page 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 send a cover page with a fax document, the following are required:
In addition, the ServerCoverpage property must be equal to TRUE if the cover page file is a common cover page file. For more information, see IFaxDoc::put_CoverpageName.
You can call the IFaxServer::get_ServerCoverpage method to determine if the fax server is configured to permit personal cover pages.
For more information, see Cover Pages and Sending a Cover Page.
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::get_CoverpageName, IFaxDoc::get_FileName, IFaxDoc::get_SendCoverpage, IFaxServer::get_ServerCoverpage