SetupDiGetClassDevs always returns ERROR_IO_PENDING

  • Thread starter Thread starter Jerry West
  • Start date Start date
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
 
Back
Top