WNetEnumResource Function not working in windows 2003 and Xp

I am using WNetEnumResource Function for accessing domain  and workgroup name.
Its working fine on win2k but not returning anything in windows2003 and xp.
Is there any other equivalent function in windows 2003 and xp

leork2004Asked:
Who is Participating?
 
Erick37Commented:
I just tested the sample "Enumerating Local Network Resources via WNetEnumResource" at
http://vbnet.mvps.org/index.html?code/network/wnetenumresource.htm
on Win XP Pro, and it seems to be working fine.
0
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.