Damjan Jovanovic wrote:
That's not anything close to how SETUPAPI works on Windows. Download devinst.c from ReactOS's SETUPAPI and have a look.
No, please don't do that, you'll risk having your patches rejected.
Implement it in the way that is right for Wine. The only interfaces you need to know about are the ones that applications know about.
Mike