Re: Enumerating all resources on Network
From: RockinFewl (rockinBUBBLE_at_WRAPwhirlywiryweb.com)
Date: 06/16/04
- Previous message: Peter: "Re: 4X3 Matrix Keypad design"
- In reply to: Mona: "Enumerating all resources on Network"
- Next in thread: Mona: "Re: Enumerating all resources on Network"
- Reply: Mona: "Re: Enumerating all resources on Network"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 16 Jun 2004 17:05:06 +0200
Mona wrote:
> Hi All,
>
> I have a problem regarding getting all the resources on a network using WindowsCE. Does anybody know how to get all the machines on a network in which windowsCE device has been added.
Check out WNetEnumResource().
When you pass your NT domain name to WNetOpenEnum(), WNetEnumResource()
will enumerate all direct decendant resources: these are all machines in
the domain.
So in order to do this, your Windows CE needs to have the the following
ready:
1) The exact name of the domain (so far I haven't found a way to
dynamically discover domains from WinCE)
2) A valid domain user login (you need this to enumerate the resources)
MSDN provides more information, and example code.
Good luck,
Koen.
- Previous message: Peter: "Re: 4X3 Matrix Keypad design"
- In reply to: Mona: "Enumerating all resources on Network"
- Next in thread: Mona: "Re: Enumerating all resources on Network"
- Reply: Mona: "Re: Enumerating all resources on Network"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|