On Sun, Jun 6, 2010 at 3:58 PM, Henry N. <[email protected]> wrote: > On 06.06.2010 13:00, Ozkan Sezer wrote: >> On Sun, Jun 6, 2010 at 1:37 PM, Wolfgang Glas wrote: >>> Hi all, >>> >>> I'm using GUID_DEVINTERFACE_USB_DEVICE in my windows code, which uses >>> setupapi.dll. This declaration has been in ddk/usbiodef.h as of >>> mingw-w64-gcc-4.4.1 >>> >>> However this header seems to be gone in erecnt versions (I'm currently on >>> sezero gcc-4.4.5-20100527). Morevover I can't find >>> GUID_DEVINTERFACE_USB_DEVICE >>> in any other header. >>> >>> Does anybody have deper insights into this issue? >>> >>> Ragards and TIA, Wolfgang >> This is a problem in our way of providing ddk headers: We >> do a svn-link to reactos headers, specifically to their >> /reactos/trunk/reactos/include/ddk/ directory, but it seems >> like they moved that particular header to their >> /reactos/trunk/reactos/include/psdk/ directory, and I think >> that usbiodef.h is not the only header whose path is changed. >> As an immediate solution, you can pick that header directly >> from reactos svn repo. >> >> Admins: This is a real problem for us.
Hmm, as far as I can see, the files moved from ddk to psdk are atsmedia.h, cfg.h, cfgmgr32.h, ntddkbd.h, ntdef.h, ntstatus.h, tvout.h, usb100.h, usb200.h, usbcamdi.h, usbdi.h, usbioctl.h, usbuser.h, usb.h, usbiodef.h and xmldsodid.h. winddk.h seems to be removed altogether. So, doing a svn export svn://svn.reactos.org/reactos/trunk/reactos/include/psdk ... and copying files from the list above should restore the missing stuff. (It should be noted though that during the move they also changed the #include style in the headers, too.) > > I personally stick on the SVN revision 42435, I found somewhere in mingw > headers. > Use this step to load DDK headers: > > cd .../sezero/W64_160271/x86_64-w64-mingw32/include > svn checkout -r 42435 > svn://svn.reactos.org/reactos/trunk/reactos/include/ddk ddk > > Than fix a small warning: > --- x86_64-w64-mingw32/include/ddk/ntdef.h > +++ x86_64-w64-mingw32/include/ddk/ntdef.h > @@ -14,7 +14,7 @@ > #include<string.h> > > > -typedef unsigned long POINTER_64; // FIXME! HACK!!! > +#define POINTER_64 /* FIXME! HACK!!! */ Why not just use unsigned long long? (didn't dive into the issue, just as question.) > > > > ====== > That works with 20100604_sezero > > -- > Henry N. -- Ozkan ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
