SetupDiGetClassDevs always returns ERROR_IO_PENDING

Posted: 07-29-2003, 01:03 AM
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


Reply With Quote

Responses to "SetupDiGetClassDevs always returns ERROR_IO_PENDING"

 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ping Localhost Returns Invalid IP Leightynet Windows Vista Networking & Sharing 8 10-05-2006 03:52 PM
Vista: OpenService() returns Access Denied Mark Findlay Windows Vista Security 2 09-26-2006 10:53 PM
WMI returns empty value Piotr M. Windows XP WMI 4 04-06-2005 07:33 AM
BackupEventlog method returns error 3???? msnews.microsoft.com Windows XP WMI 0 03-15-2005 10:40 AM
Video returns to beginning after play through OptSci Windows XP Video 0 07-25-2003 01:03 AM


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90