Platform SDK: Fax Services |
It is the responsibility of the calling fax client application to disconnect from the fax server.
A fax client application must call the FaxClose function as the last function before it terminates. The function disconnects the calling application from the fax server by deallocating the following handles:
If you are writing a C/C++ application, call the IFaxServer::Disconnect method to terminate the connection to a fax server. Then call the IUnknown::Release method to allow the FaxServer object to deallocate itself. You may also need to call IUnknown::Release again to destroy additional interface pointers.
If you are writing a Visual Basic application, you must call the Disconnect method of the FaxServer object to disconnect from the fax server before your application terminates.
For more information, see Connecting to a Fax Server.