Microsoft DirectX 8.1 (Visual Basic) |
Retrieves the address for the specified remote player in the session.
GetPeerAddress(idPlayer As Long) As DirectPlay8Address
Returns a DirectPlay8Address object that specifies the address of the player.
If the method fails, Err.Number can be set to one of the following values.
DPNERR_INVALIDOBJECT |
DPNERR_UNINITIALIZED |
This method cannot be used to retrieve the address of the local player. If the player calls this method on his or her own ID, it returns a DPNERR_INVALIDPLAYER error message.