Share via


RASCNTL_SERVERCONNECTION (Windows Embedded CE 6.0)

1/6/2010

This structure contains information about the connection status of an enabled line.

Syntax

typedef struct tagRasCntlServerConnection {
  RASDEVINFO rasDevInfo;
  HRASCONN hrasconn;
  DWORD dwServerIpAddress;
  DWORD dwClientIpAddress;
  RASCONNSTATE RasConnState;
  TCHAR tszUserName[DNLEN + 1 + UNLEN + 1];
} RASCNTL_SERVERCONNECTION, *PRASCNTL_SERVERCONNECTION;

Members

  • rasDevInfo
    Filled in by the szDeviceType and szDeviceName members of a RASDEVINFO structure of the enabled line.
  • hrasconn
    Handle that can be passed in to the RasGetLinkStatistics function. Set to NULL if the line is not enabled.
  • dwServerIpAddress
    Specifies the IP address for the IP interface of the server line.
  • dwClientIpAddress
    Specifies the IP Address that is assigned to the client that connects to this line.
  • RasConnState
    Specifies a RASCONNSTATE enumerator value that indicates the current state of the RasDial connection process.
  • tszUserName
    Name of the user who is logged in to the port.

Requirements

Header ras.h
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

RAS Server/PPTP Server (Incoming) Structures

Other Resources

RasGetLinkStatistics
RASDEVINFO
RASCONNSTATE