Microsoft DirectX 8.1 (Visual Basic) |
Stops the Microsoft® DirectPlay® Voice session.
StopSession(lFlags As Long)
If the method fails, Err.Number can be set to one of the following values.
DVERR_INVALIDPARAM |
DVERR_ALREADYPENDING |
DVERR_SESSIONLOST |
DVERR_NOTINITIALIZED |
DVERR_NOTHOSTING |
DVERR_INVALIDFLAGS |
DVERR_INVALIDOBJECT |
This method returns the DVERR_ALREADYPENDING error value if it is called while another thread is processing a StopSession request.