Platform SDK: DirectX |
The DirectPlaySessionData.SetUser1, DirectPlaySessionData.SetUser2, DirectPlaySessionData.SetUser3, and DirectPlaySessionData.SetUser4 methods set application-defined data for the session.
object.SetUser1(val As Long)
If the method fails, an error is raised and Err.Number will be set.