Microsoft DirectX 8.1 (C++)

Leaving a Peer-to-Peer Session

To leave a session, terminate the connection by calling IDirectPlay8Peer::Close. The session members will be notified with a DPN_MSGID_DESTROY_PLAYER message.

If you are the session host, leaving also terminates the session unless you configured the session to allow host migration. See Host Migration for details.