Microsoft DirectX 8.1 (Visual Basic) |
Retrieves statistical information about the connection between the local endpoint and the host.
GetConnectionInfo(idPlayer As Long, [lFlags As Long]) As DPN_CONNECTION_INFO
Returns a DPN_CONNECTION_INFO type to retrieve information about the specified connection.
If the method fails, Err.Number can be set to one of the following values.
DPNERR_INVALIDOBJECT |
DPNERR_INVALIDPOINTER |
DPNERR_INVALIDPARAM |
DPNERR_UNINITIALIZED |
This method can be called only after a successful Connect call has completed.