[This is preliminary documentation and subject to change.]
The RAS_CONNECTION_0 structure contains general information regarding a specific connection, such as username or domain. For more detailed information about a specific connection, such as bytes sent or received, see RAS_CONNECTION_1.
typedef struct _RAS_CONNECTION_0 { 
    HANDLE                   hConnection;
    HANDLE                   hInterface;
    DWORD                    dwConnectDuration;      // In seconds
    ROUTER_INTERFACE_TYPE    dwInterfaceType;
    DWORD                    dwConnectionFlags;
    WCHAR                    wszInterfaceName[ MAX_INTERFACE_NAME_LEN + 1 ];
    WCHAR                    wszUserName[ UNLEN + 1 ];
    WCHAR                    wszLogonDomain[ DNLEN + 1 ];
    WCHAR                    wszRemoteComputer[ NETBIOS_NAME_LEN + 1 ];
 
} RAS_CONNECTION_0, *PRAS_CONNECTION_0;
 
  Windows NT:  Use version 5.0 and later.
  Windows:  Unsupported.
  Windows CE:  Unsupported.
  Header: Declared in mprapi.h.