Microsoft DirectX 8.1 (Visual Basic) |
Terminates the current Microsoft® DirectPlay® session.
TerminateSession(lFlags As Long, _ UserData As Any, _ UserDataSize As Long)
This method may be called only by the host player.
When this method is called, the DirectPlay8Event.TerminateSession method is called in the message handler of all players connected to the session.