HRESULT Close();
Closes a previously opened session.
·Returns DP_OK if successful, or one of the following error values otherwise:
All locally created players will be destroyed, with corresponding DPSYS_DESTROYPLAYERORGROUP system messages sent to other session participants. However, no groups will be destroyed (use IDirectPlay2::DestroyGroup to destroy the group). For a list of system messages, see Using System Messages.