How to retrieve shared resources ??

How can I retrieve all shared resources (disks & printers) on
my local computer. As far as I know I have to use WNetOpenEnum and WNetEnumResource, but I didn't get any further than this.
Please give me an example on how to use them.

Who is Participating?
intheConnect With a Mentor Commented:
hi Tulip,
there a great example here:

Regards Barry
TulipAuthor Commented:
Great! That's what I wanted.
Thanks Barry
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.