Microsoft DirectX 9.0

Closing Down a Lobby Client

When you are ready to close the session, disconnect the application by calling IDirectPlay8LobbyClient::ReleaseApplication. The application receives a DPL_MSGID_DISCONNECT message.

After releasing the application, perform any cleanup that is necessary, and close the session by calling IDirectPlay8LobbyClient::Close. You should then free the lobby client object by calling IDirectPlay8LobbyClient::Release.

© 2002 Microsoft Corporation. All rights reserved.