I am looking for any API functions to give me information related to Network Neighborhood...
Printable View
I am looking for any API functions to give me information related to Network Neighborhood...
CoInitialize
SHBrowseForFolder
SHGetPathFromIDList
SHGetSpecialFolderLocation
CoUnInitialize
What you need to do is invoke the browse for folder dialog of the shell. The BROWSEINFO structure returns node names, path, and file information.
MSDN and your MSDN disk have samples of doing this. Look for browsing or browse for folder dialog
This isn't what I am looking for...Quote:
SHBrowseForFolder
One thing I would like to know is if a specific drive is being shared or not... local... not a remote share...
Another thing how do I retrieve the names of computers on a domain.
I dont want to browse for them...
NetServerEnum (api) works for the NT family not Win9X.
MSDN has sample code.
What about the whole Winsock API calls?
Winsock os for making connections and moving data. I think he wants enumeration functions.