Knowledge Base

How To View the wszComputerName Field in RAS_PORT_0 Structure

Article ID: 192795

Article Last Modified on 7/11/2005


APPLIES TO


This article was previously published under Q192795

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.

Keywords: kbhowto kbapi kbnetwork KB192795