• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 197
  • Last Modified:

Enum Domainnames under W95?

I would like to get a list of all the domainnames in a windows network (NT servers) from Windows 95 workstations.

Is NetWkstaGetInfo or WNetEnumResource the correct methode? If yes, how to obtain the domainlist? Or do I need to take a different approach? If you have an example it would be great.
0
xtreeman
Asked:
xtreeman
  • 2
1 Solution
 
trestanCommented:
The function is right one to get network information. They use Unicode as parameter, so work on NT only. You need server operator privilege to execute them. To compile a program, Unicode programming knowledge is needed.
0
 
trestanCommented:
Check out WNetOpenEnum function. There are some examples on:
http://www.mvps.org/win32/network/
I would like to debug your codes if you have further questions.
0
 
MirkwoodCommented:
Bought This Question.
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.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now