Closes a previously opened session. Any locally created groups will migrate to be owned by the host of the session.
HRESULT Close( );
Return Values
Returns DP_OK if successful, or one of the following error values otherwise:
Remarks
All locally created players will be destroyed and appropriate DPMSG_DELETEPLAYERFROMGROUP and DPMSG_DESTROYPLAYERORGROUP system messages will be sent to other session participants.
See Also
IDirectPlay3::DestroyPlayer, DPMSG_DESTROYPLAYERORGROUP, IDirectPlay3::Open