Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with Parameter Passed to Win32 API
Message
From
10/10/2006 20:52:36
 
 
To
10/10/2006 17:24:57
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01160965
Message ID:
01161077
Views:
20
>Thanks Herman, I sent you one more code example to test to verify this for me. I am seeing those same results you mention in WinXP. I can pull the data from the registry (where the GUID is irrelant using SetupDiGetDeviceRegistryProperty()) but not using SetupDiEnumDeviceInterfaces() in WinXP - only for HID Devices.
>
>I REALLY was hoping that was not the case :0(
>

Tracy,

Yup, the results is the same.

Well, I think this will be really hard :-(
I read some more from Windows DDK, the GUID_DEVCLASS_xxx is not a DEVICE INTERFACE CLASS, but a DEVICE SETUP CLASS. I think you have to create your own device driver to expose the Device Interface (you must have a DDK for this). I never make a Driver to Interface, so that things is beyond my knowledge.

One more thing, maybe you can try to create device interface by using SetupDiCreateDeviceInfoList(). For more info search for that function at MSDN.

Just for my curiousity, are you really need SetupDiEnumDeviceInterfaces() to make it work?

Good luck!
Herman
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform