Microsoft DirectX 8.0 (C++) |
Closes the open connection with a session. This method must be called on any object successfully initialized with IDirectPlay8Peer::Initialize.
HRESULT Close( const DWORD dwFlags );
Returns S_OK if successful, or the following error value.
DPNERR_UNINITIALIZED |
This method will cancel any operations still outstanding. It will block until all callback indications on other threads have returned.
Windows NT/2000: Available as a redistributable for Windows 2000 and later.
Windows 95/98: Available as a redistributable for Windows 95 and later.
Header: Declared in Dplay8.h.