DirectX SDK

DirectPlayEnumSessions.GetItem

the DirectPlayEnumSessions.GetItem method gets a DirectPlaySessionData object representing data for an enumerated session.

object.GetItem(index As Long) As DirectPlaySessionData

Parameters

object
Object expression that resolves to a DirectPlayEnumSessions object.
index
Element of the enumeration object for which to retrieve data.

Return Values

If it succeeds, the method returns a DirectPlaySessionData object.

Error Codes

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