IFaxServer::Disconnect method (faxcom.h)
The IFaxServer::Disconnect method terminates a fax client application's connection to a fax server.
Syntax
HRESULT Disconnect();
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
A call to the IFaxServer::Disconnect method attempts to terminate a server connection made by a previous call to the IFaxServer::Connect method.
In addition to calling the IFaxServer::Disconnect method, an application must also call the IUnknown::Release method to allow each object to deallocate itself.
For more information, see Connecting to a Fax Server and Disconnecting from a Fax Server.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | faxcom.h |
DLL | Faxcom.dll |
See also
Disconnecting from a Fax Server
Fax Service Client API Interfaces