Microsoft DirectX 8.1 (Visual Basic)

DirectPlay8Peer.GetPeerInfo

Retrieves player information set for the specified peer.

GetPeerInfo(idPeer As Long) As DPN_PLAYER_INFO

Parts

idPeer
Long value that specifies the identifier of the peer whose information will be retrieved.

Return Values

Returns a DPN_PLAYER_INFO type describing player information.

Error Codes

If the method fails, Err.Number can be set to one of the following values.

DPNERR_INVALIDPLAYER
DPNERR_INVALIDPARAM

Remarks

Call this method after DirectPlay calls the DirectPlay8Event.InfoNotify method, indicating that the group data has been modified.