network-checking under windows2000
Posted on 2001-07-25
Hello. I want to display a list of shared resources (directories, and perhaps devices) in a Delphi program I'm writing for Windows2000.
I first tried the 'WNETConnectionDialog(x)' command, but it's not supported under win32's.
Then I tried 'netsharegetinfo' but it's also not supported in win32, and it's a LanManager function, and not an API one.
How can I do what I want to do under Windows2000? Any examples would be appreciated. I've basically read through the (WNET) WINDOWS NETWORKING section of win32.hlp but couldn't find something that might be of help.
Thanks in advance