DirectX SDK

DirectPlayEnumConnections.GetAddress

The DirectPlayEnumConnections.GetAddress method retrieves an address object from the enumeration.

object.GetAddress(index As Long) As DirectPlayAddress

Parameters

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

Return Values

The method returns a DirectPlayAddress object.

Error Codes

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