SetupAPI.DLL to HID.DLL
- by lexdean
With the SetupAPI.DLL I execute
Function SetupDiGetClassDevs and get a pointer or handle
Then Begin a loop
Then I run
Return = Function SetupDiEnumDeviceInterfaces with SP_DEVICE_INTERFACE_DATA.cbSize = 0 to get my size of what SP_DEVICE_INTERFACE_DATA needs to be
Then I set size and execute again
SP_DEVICE_INTERFACE_DATA.cbSize = return (the…