SetupDiEnumDeviceInfo() fails with ERROR_NO_MORE_ITEMS

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SetupDiEnumDeviceInfo() fails with ERROR_NO_MORE_ITEMS

Jump to solution
1,570 Views
yanz
Contributor III

Hi, all,

I'm working with i.MX RT1050 Evaluation Kit.

Trying to enumerate device info from my own application (with evkbimxrt1050_dev_dfu_lite_bm sample)  I get an error above.

hDeviceInfo = SetupDiGetClassDevs(
&guid,
NULL,
NULL,
DIGCF_PRESENT | DIGCF_DEVICEINTERFACE)

succeeded

What do I miss?.

 

Labels (1)
0 Kudos
Reply
1 Solution
1,557 Views
yanz
Contributor III

Solved.

Should use

GUID  { 0x36fc9e60, 0xc465, 0x11cf, 0x80, 0x56, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00 }

and not

GUID  { 0x88bae032, 0x5a81, 0x49f0, 0xbc, 0x3d, 0xa4, 0xff, 0x13, 0x82, 0x16, 0xd6 };

View solution in original post

0 Kudos
Reply
1 Reply
1,558 Views
yanz
Contributor III

Solved.

Should use

GUID  { 0x36fc9e60, 0xc465, 0x11cf, 0x80, 0x56, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00 }

and not

GUID  { 0x88bae032, 0x5a81, 0x49f0, 0xbc, 0x3d, 0xa4, 0xff, 0x13, 0x82, 0x16, 0xd6 };

0 Kudos
Reply