Microsoft DirectX 8.1 (Visual Basic) |
Deletes a client from the session.
DestroyClient(idClient As Long, _ lFlags As Long, _ UserData As Any, _ UserDataSize As Long)
If the method fails, Err.Number can be set to one of the following values.
DPNERR_NOTHOST |
DPNERR_INVALIDPLAYER |
DPNERR_INVALIDPARAM |
This method calls the DirectPlay8Event.DestroyPlayer method in the destroyed player's message handler.