HOWTO: View the wszComputerName Field in RAS_PORT_0 Structure

ID: Q192795

The information in this article applies to:

SUMMARY

The RAS_PORT_0 structure is used by the RasAdminPortEnum (MprAdminPortEnum) and the RasAdminPortGetInfo (MprAdminPortGetInfo) APIs. This structure returns valuable information to the Windows NT RAS server. The wszComputerName field in this structure contains the name of the RAS client computer that is dialing into the NT RAS server.

The wszComputerName field is filled only if the NT RAS server receives an LCP Identification message that can only be sent by a Windows NT 4.0 RAS client.

If the RAS client is a Windows 95 machine and you want to fill the wszComputerName field, you have to use the NetBEUI Frame Protocol as the network protocol for the RAS connection. This is by design.

Additional query words:

Keywords          : kbnetwork kbAPI kbRAS kbSDKPlatform kbGrpNet 
Issue type        : kbhowto

Last Reviewed: September 18, 1998