Microsoft DirectX 8.0 (C++) |
Stops the Microsoft® DirectPlay® Voice session.
HRESULT StopSession( DWORD dwFlags );
Returns DV_OK if successful, or one of the following error values.
DVERR_ALREADYPENDING |
DVERR_INVALIDFLAGS |
DVERR_INVALIDOBJECT |
DVERR_INVALIDPARAM |
DVERR_NOTHOSTING |
DVERR_NOTINITIALIZED |
DVERR_SESSIONLOST |
This method returns DVERR_ALREADYPENDING if it is called while another thread is processing a StopSession request.
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 Dvoice.h.