Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/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 szDeviceTypeand szDeviceNamemembers of a RASDEVINFOstructure of the enabled line.

hrasconn

Handle that can be passed in to the RasGetLinkStatisticsfunction. 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 RASCONNSTATEenumerator 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
Windows Mobile Windows Mobile Version 5.0 and later

See Also