Microsoft DirectX 8.1 (Visual Basic) |
When you are ready to close the session, disconnect the application by calling DirectPlay8LobbyClient.ReleaseApplication. Microsoft® DirectPlay® will call notification by calling its message handler's DirectPlay8LobbyEvent.Disconnect method.
After releasing the application, perform any cleanup that is necessary, and close the session by calling DirectPlay8LobbyClient.Close.