Microsoft DirectX 8.1 (Visual Basic)

Closing Down a Lobbied Application

To close a session, call DirectPlay8LobbiedApplication.Close. Microsoft® DirectPlay® calls the lobby client message handler's DirectPlay8LobbyEvent.Disconnect method to notify it of the disconnection. If you want to keep the application running and connect to another session, indicate that your application is available by calling DirectPlay8LobbiedApplication.SetAppAvailable.