RAS_CONNECTION_0

[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;
 

Members

hConnection
Handle to the connection.
hInterface
Handle to the interface.
dwConnectDuration
Duration of the current connection, in seconds.
dwInterfaceType
Interface type of the current conection.
dwConnectionFlags
Connection flags.
wszInterfaceName
Interface Name.
wszUserName
User name logged on to the current connection.
wszLogonDomain
Domain to which the current user is logged onto.
wszRemoteComputer
Name of the remote computer.

QuickInfo

  Windows NT: Use version 5.0 and later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in mprapi.h.

See Also

RAS_CONNECTION_1