Index   Commented   Search   About

Overview
Group
Quick Info

Windows NT
Yes
Win95
No
Win32s
No
Import Library

Header File
rassapi.h
Unicode
No
Platform Notes
None

RAS_SERVER_0

[New - Windows NT]

The RAS_SERVER_0 structure is used by the RasAdminServerGetInfo 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

RasAdminServerGetInfo

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun