IDirectPlay4::Close
IDirectPlay4 InterfaceCloses a previously opened session. Any locally created groups will migrate to be owned by the host of the session.
Syntax
HRESULT Close( );Return Value
Returns DP_OK if successful, or one of the following error values otherwise:
DPERR_INVALIDOBJECT DPERR_INVALIDPARAMS DPERR_NOSESSIONS 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
IDirectPlay4::DestroyPlayer, DPMSG_DESTROYPLAYERORGROUP, IDirectPlay4::Open
Top of Page
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.