Microsoft KB Archive/192795

{|
 * width="100%"|

HOWTO: View the wszComputerName Field in RAS_PORT_0 Structure

 * }

Q192795

-

The information in this article applies to:


 * Microsoft Win32 Software Development Kit (SDK), on platform(s):
 * the operating system: Microsoft Windows NT

-

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 kbGrpDSNet

Issue type : kbhowto

Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch