- SetupDiEnumDeviceInterfaces Problem
- Posted by Dennis Burns on September 20th, 2004
Calls to SetupDiEnumDeviceInterfaces fail to locate my device for which I've
created a class GUID.
Here's a sample call, with the index set to 0, just for test.
SP_DEVICE_INTERFACE_DATA ifdata;
ifdata.cbSize = sizeof( SP_DEVICE_INTERFACE_DATA );
BOOL Found = SetupDiEnumDeviceInterfaces(info, NULL, &m_InterfaceGUID,
0, &ifdata);
Note that info is a handle that was sucessfully returned by a call to
SetupDiGetClassDevs
Found evaluates to zero and GetLastError returns 0x00000103 ("No more data
is available").
I'm scratching my head, wondering why.
Can someone suggest a cause of the problem?
Thanks,
Dennis
- Posted by Dennis Burns on September 20th, 2004
I should have stated that my device shows up in the Device manage, and my
class guid seems to be properly registered.
"Dennis Burns" <dburns@rtessentials.com> wrote in message
news:%23q4HaSxnEHA.3392@TK2MSFTNGP15.phx.gbl...
- Posted by arsadrani on October 7th, 2004
I am facing same problem. Did you solve it? If yes then please let me know
- Problem with SetupDiEnumDeviceInterfaces - ERROR_NO_MORE_ITEMS (Drivers) by Raghunath
- SetupDiEnumDeviceInterfaces (Drivers) by Frank Natoli
- Order of drives returned by SetupDiEnumDeviceInterfaces (Drivers) by bkl
- USB Specific SetupDiEnumDeviceInterfaces ERROR_NO_MORE_ITEMS error (Drivers) by Gagan Prakash
- Inquiry Re: SetupDiEnumDeviceInterfaces prerequisits (Drivers) by Mike Linger

