CAmvConn::ResetConnection()

This method cleans up the connection when communication is lost or when the CAmvConn is deleted.

Call this method to handle DO_IPCHASDIED messages.

Syntax

CAmvConn* amvConn;

amvConn->ResetConnection()

Data Type

void

Example

Handle DO_IPCHASDIED message by resetting connection.

afx_msg LRESULT IpcHasDied(WPARAM wParam, LPARAM lParam)

{

   amvConn->ResetConnection();

}

More information

CAmvConn class member overview.