Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SetupDiEnumDriverInfo fails for networked scanner/printer

4 views
Skip to first unread message

shaji

unread,
Oct 6, 2009, 9:24:00 AM10/6/09
to
Hi all,
I'm developing a device troubleshooting application using SetupAPIs.
I call SetupDiEnumDriverInfo function to enumerate members of a driver
list. The call succeeds for locally installed scanners and printers.

But it fails for networked devices. GetLastError returns
ERROR_NO_MORE_ITEMS

The MemberIndex parameter for the function is set to 0. I can see the
device in the device manager and it scans too.

My OS is Win XP.

Any idea why it is so?

Thanks in advance,
Shaji

0 new messages