Platform SDK: Fax Services

IFaxServer::put_ServerCoverpage

The IFaxServer::put_ServerCoverpage method changes the ServerCoverpage property for a FaxServer object. The ServerCoverpage property is a Boolean value that indicates whether the fax server permits the use of common cover pages only.

Visual Basic Reference

HRESULT put_ServerCoverpage(
  BOOL newVal  // new value for cover page flag
);

Parameters

newVal
[in] Specifies the new value to assign to the ServerCoverpage property. If this value is TRUE, the client must use a common cover page located on the fax server. If this value is FALSE, the client can use any cover page file.

Return Values

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.

Remarks

If you set the ServerCoverpage property equal to TRUE, users will be able to transmit only approved cover pages that are located on the fax server. For more information, see Cover Pages and Sending a Cover Page.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in faxcom.h.
  Import Library: Included as a resource in faxcom.dll.

See Also

Fax Service Client Application Programming Interface Overview, Fax Service Client API Interfaces, IFaxServer, IFaxServer::get_ServerCoverpage