Index   Commented   Search   About

Overview
Group
Quick Info

Windows NT
Yes
Win95
Yes
Win32s
No
Import Library
-
Header File
ras.h
Unicode
WinNT
Platform Notes
None

RASCONN

The RASCONN structure provides information about a remote access connection. The RasEnumConnections function returns an array of RASCONN structures.

typedef struct _RASCONN {

DWORD dwSize;

HRASCONN hrasconn;

TCHAR szEntryName[RAS_MaxEntryName + 1];

#if (WINVER >= 0x400)

CHAR szDeviceType[ RAS_MaxDeviceType + 1 ];

CHAR szDeviceName[ RAS_MaxDeviceName + 1 ];

#endif

} RASCONN ;

Members

dwSize

Specifies the size, in bytes, of the RASCONN structure.

hrasconn

Specifies the remote access connection. This handle is used in other remote access API calls.

szEntryName

A string that specifies the phone-book entry used to establish the remote access connection. If the connection was established using an empty entry name, this string consists of a "." followed by the connection phone number.

szDeviceType

A null-terminated string that contains the device type through which the connection is made.

szDeviceName

A null-terminated string that contains the device name through which the connection is made.

See Also

RasEnumConnections
, RasGetConnectStatus

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

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