Microsoft DirectX 8.1 (Visual Basic)

DirectPlay8Client.GetConnectionInfo

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

GetConnectionInfo([lFlags As Long]) As DPN_CONNECTION_INFO

Parts

lFlags
Reserved. Must be 0.

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.