How To Enumerate Network Connections (119216)
The information in this article applies to:
- Microsoft Win32 Software Development Kit (SDK) 3.1
- Microsoft Win32 Software Development Kit (SDK) 3.5
- Microsoft Win32 Software Development Kit (SDK) 3.51
- Microsoft Win32 Software Development Kit (SDK) 4.0
This article was previously published under Q119216 SUMMARY
From the MS-DOS prompt, you can enumerate the network connections (drives)
by using the following command:
Programmatically, you would call WNetOpenEnum() to start the enumeration of
connected resources and WNetEnumResources() to continue the enumeration.
Modification Type: | Minor | Last Reviewed: | 7/1/2004 |
---|
Keywords: | kbAPI kbnetwork kbWNet KB119216 |
---|
|