Hi Juan,
2008/2/19, Juan Lang juan.lang@gmail.com:
I stubbed CM_get_parent by returning itself, however that makes it go in an infinite loop.
Hm.
My guess is that I need to have some hub and usb ehci device as well. I don't know why it would want to call CreateFile on the device though but my expertise on that part is very limited, perhaps it allows communication to the ipod by accessing the device in a raw way?
Perhaps, or perhaps it's just making sure you don't have a fake device :-/ --Juan
The only way to be sure would be to create my own test program that would do the same, and see what happens. How hard is it to create a stub forwarder dll for setupapi and cfgmgr32?
Cheers, Maarten.