get Devicename and Class for SetPowerRequirement - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

get Devicename and Class for SetPowerRequirement

Hi,
I need to build an application wich keeps the wlan device on a WinCE alive while the system is is suspendmode.
Searching the msdn i got the functionpair Set- ReleasePowerRequirement, this seems to do right what i wanted.
Now comes the prob: the first param is the name and class of the device to keep alive. In the article they use values from the registry. How could i get the name and class of the installed WLAN device?
Class and Name will be qualified as string for example:

{98C5250D-C29A-4985-AE5F-AFE5367E5006}NDS0:

thanx i.a.

Sign In or Register to comment.