Platform SDK: DirectX

DirectPlaySessionData.SetUser(n)

The DirectPlaySessionData.SetUser1, DirectPlaySessionData.SetUser2, DirectPlaySessionData.SetUser3, and DirectPlaySessionData.SetUser4 methods set application-defined data for the session.

object.SetUser1(val As Long)

Parameters

object
Object expression that resolves to a DirectPlaySessionData object.
val
Application-defined data.

Error Codes

If the method fails, an error is raised and Err.Number will be set.