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.

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!!! */



======
That works with 20100604_sezero

-- 
Henry N.


------------------------------------------------------------------------------
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

Reply via email to