• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 195
  • 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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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