From: Igor P. <pec...@cs...> - 2003-12-23 17:30:38
|
Ping? Can I please at least get an acknowledgement that the patch was received and is being looked at, or a pointer to the right list to send it to? Thanks, Igor On Wed, 17 Dec 2003, Igor Pechtchanski wrote: > Hi, > > I was trying to compile DevEject [1], and it used CM_Request_Device_Eject, > which is declared in ddk/cfgmgr32.h, but isn't exported from setupapi.def > (and, consequently, from /usr/lib/w32api/libsetupapi.a). The project also > uses the DN_REMOVABLE, DN_STARTED, and DN_DRIVER_LOADED constants that > should have been defined in the DDK headers, but weren't. > > I'm attaching a patch (and the corresponding ChangeLog) for setupapi.def > that exports all incarnations of CM_Request_Device_Eject{,_Ex}. BTW, I > initially thought these functions belonged in ddk/cfgmgr32.def, so I > looked at that file, and it seems to contain 2 copies of almost every > export... Is that by design? > > I also found the definitions for the DN_* constants, but I'm not sure > which file they should go in. I've attached a *new* file, dndefs.h, that > contains all the constants. If someone could point me to the correct > header that should define them, I'll submit another patch. > Igor > [1] <http://www.hoopyfrood.net/DevEject/> -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pec...@cs... ZZZzz /,`.-'`' -. ;-;;,_ ig...@wa... |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton |