RAS_SERVER_0
[New
- Windows NT]
The RAS_SERVER_0
structure is used by the RasAdminServerGetInfo88N.SP function to return information about the
ports configured on a RAS Server.
typedef struct _RAS_SERVER_0 {
WORD TotalPorts;
// total ports available for connection
WORD PortsInUse;
// ports currently in use by remote clients
DWORD
RasVersion; // version of RAS server
} RAS_SERVER_0, *PRAS_SERVER_0;
Members
TotalPorts
Specifies the
total number of ports configured on the RAS server that are available for
remote clients to connect to. For example, if the total number of ports
configured for dialing in to a server is four, but one of the ports is
currently in use for dialing out, TotalPorts will be three.
PortsInUse
Specifies the
number of ports currently in use by remote clients.
RasVersion
Specifies the
version of the RAS server. You can use this information to take
version-specific action. This member can be one of the following values.
Value |
Description |
RASDOWNLEVEL |
Indicates a
LAN Manager version 1.0 RAS server. |
RASADMIN_35 |
Indicates a
Windows NT version 3.5 or 3.51 RAS server or client. |
RASADMIN_CURRENT |
Indicates a
Windows NT version 4.0 RAS server or client. |
See Also