I see. What I ended up doing was use the registry key
- HKEY_LOCAL_MACHINE\Software\Microsoft\WZCSVC\Parameters\Interfaces
I am only programming for two different mobile devices and both had what i was looking for there.
Thanks for the answer! I would have scratched my head bald trying to figure out what I was doing wrong.
Unfortunatly the reason I was looking for this guid was to use with SetDevicePower to turn the wifi card back on, but that function can't find the given guid if the device is off also. I am obviously missing something here.