Microsoft DirectX 8.0 (Visual Basic)

DirectPlay8Peer.GetConnectionInfo

Retrieves statistical information about the connection between the local endpoint and the host.

GetConnectionInfo() As DPN_CONNECTION_INFO

Return Values

Returns a DPN_CONNECTION_INFO type to retrieve information about the specified connection.

Error Codes

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

DPNERR_INVALIDOBJECT
DPNERR_INVALIDPOINTER
DPNERR_INVALIDPARAM
DPNERR_UNINITIALIZED

Remarks

This method can be called only after a successful Connect call has completed.