Re: Adding devices in setupapi

2008-02-20 Thread Erich Hoover
> > I think it probably does something similar to: > http://www.codeproject.com/KB/system/RemoveDriveByLetter.aspx > > Except instead of mapping a drive to usb device, it does it the other > way around. > > After looking more into it it really looks like this is the thing it > does. (I need a bunch

Re: Adding devices in setupapi

2008-02-20 Thread Maarten Lankhorst
Hi Juan, 2008/2/19, Juan Lang <[EMAIL PROTECTED]>: > > How hard is it to create a stub forwarder dll for setupapi and cfgmgr32? > > Not sure what you mean exactly. cfgmgr32 should forward to setupapi > already, and I sent a patch that does that for the few stub functions > that it had. setupapi

Re: Adding devices in setupapi

2008-02-19 Thread Juan Lang
> How hard is it to create a stub forwarder dll for setupapi and cfgmgr32? Not sure what you mean exactly. cfgmgr32 should forward to setupapi already, and I sent a patch that does that for the few stub functions that it had. setupapi's CM_* stubs could be improved, but I don't think you'll be

Fwd: Adding devices in setupapi

2008-02-19 Thread Maarten Lankhorst
Hi Juan, 2008/2/19, Juan Lang <[EMAIL PROTECTED]>: > > 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

Re: Adding devices in setupapi

2008-02-19 Thread Juan Lang
No worries on the double post, you ask a slightly different question here: > I'm trying to add the ipod detection from crossover wine to winehq. > However it seems to be not compatibel due to changes to setupapi in > the last 3 years. The crossover Wine tree was written for version 4.x of iTun

Re: Adding devices in setupapi

2008-02-19 Thread James Hawkins
On Feb 19, 2008 5:48 PM, Maarten Lankhorst <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm trying to add the ipod detection from crossover wine to winehq. > However it seems to be not compatibel due to changes to setupapi in > the last 3 years. > > Basically what I want to do is add an usb mass storag

Adding devices in setupapi

2008-02-19 Thread Maarten Lankhorst
Hi all, I'm trying to add the ipod detection from crossover wine to winehq. However it seems to be not compatibel due to changes to setupapi in the last 3 years. Basically what I want to do is add an usb mass storage device with the correct device path and register it with setupapi. Composing the