I'm about to write a program listing files in shared folders in network resources.
I've listed all the nodes in the domain using the WNetOpenEnum and WNetEnumResource API's, but I can't figure out how to list the shared folders

Please help me out, someone