How To View the wszComputerName Field in RAS_PORT_0 Structure (192795)



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0, when used with:
    • the operating system: Microsoft Windows NT

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.

Modification Type:MinorLast Reviewed:7/11/2005
Keywords:kbAPI kbhowto kbnetwork KB192795