Platform SDK: DirectX

DirectPlaySessionData.GetUser(n)

The DirectPlaySessionData.GetUser1, DirectPlaySessionData.GetUser2, DirectPlaySessionData.GetUser3, and DirectPlaySessionData.GetUser4 methods retrieve application-defined data for the session.

object.GetUser1() As Long

Parameters

object
Object expression that resolves to a DirectPlaySessionData object.

Return Values

The methods return application-defined data.

Error Codes

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