SetupDiGetClassDevs always returns ERROR_IO_PENDING

J

Jerry West

I'm calling SetupDiGetClassDevs to get a handle to a device information set
like so:

hWnd& = SetupDiGetClassDevs(0&, 0&, 0&, &H4)

This always returns an error of 997: ERROR_IO_PENDING

Why does this happen? I still get a return value in hWnd&. Did it fail?

JW
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top