>>>> 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.)
Okie dokie, we already have cfg.h, cfgmgr32.h, ntstatus.h, tvout.h
and xmldsodid.h under our include/.
- atsmedia.h is supposed to live in the psdk, ie include/ so
can we add it from the reactos repo? (it is public domain.)
- the rest, ie. ntddkbd.h, ntdef.h, usb100.h, usb200.h, usbcamdi.h,
usbdi.h, usb.h, usbioctl.h, usbiodef.h, usbuser.h needs to be dealt
with. (the m$ psdk doesn't have them under include/, so I am
not sure what is the best course of action here.)
>> 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 @@
>> -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.