[ros-diffs] [sginsberg] 37792: - Get rid of DDK's dependency on windef.h and winnt.h - Clean up, fix, and add missing types to ntdef.h/ntifs.h/winddk.h/wdm.h/ntpoapi.h - Add ntimage.h and use it in rossym and NDK - Fix a gcc compatibility issue -- some internal NT structures have their pointer types defined in the DDK headers, but we define them along with the "struct" type when defining the full structure. MSVC is okay with this double definition, but gcc treats it as an error (hidden by system_header). Only define the "struct" type when declaring the full structure, making it compatible with both compilers. - Also fix/add some types and header guards in NDK - Clean up ks/portcls/drmk headers - Fix incorrect types for some KS APIs (msdn is wrong for these) and add missing header guards - Also, remove system_header (more of this coming up)

sginsberg at svn.reactos.org sginsberg at svn.reactos.org
Mon Dec 1 16:12:24 CET 2008


Author: sginsberg
Date: Mon Dec  1 09:12:23 2008
New Revision: 37792

URL: http://svn.reactos.org/svn/reactos?rev=37792&view=rev
Log:
- Get rid of DDK's dependency on windef.h and winnt.h
- Clean up, fix, and add missing types to ntdef.h/ntifs.h/winddk.h/wdm.h/ntpoapi.h
- Add ntimage.h and use it in rossym and NDK
- Fix a gcc compatibility issue -- some internal NT structures have their pointer types defined in the DDK headers, but we define them along with the "struct" type when defining the full structure. MSVC is okay with this double definition, but gcc treats it as an error (hidden by system_header). Only define the "struct" type when declaring the full structure, making it compatible with both compilers.
- Also fix/add some types and header guards in NDK
- Clean up ks/portcls/drmk headers
- Fix incorrect types for some KS APIs (msdn is wrong for these) and add missing header guards
- Also, remove system_header (more of this coming up)

Added:
    trunk/reactos/include/ddk/ntimage.h   (with props)
Modified:
    trunk/reactos/drivers/ksfilter/ks/irp.c
    trunk/reactos/drivers/ksfilter/ks/kcom.c
    trunk/reactos/drivers/ksfilter/ks/misc.c
    trunk/reactos/drivers/wdm/audio/backpln/portcls/PortWaveCyclic.cpp
    trunk/reactos/drivers/wdm/audio/backpln/portcls/PortWavePci.cpp
    trunk/reactos/drivers/wdm/audio/backpln/portcls/private.h
    trunk/reactos/drivers/wdm/audio/drm/drmk/stubs.cpp
    trunk/reactos/include/ddk/drmk.h
    trunk/reactos/include/ddk/ntddk.h
    trunk/reactos/include/ddk/ntdef.h
    trunk/reactos/include/ddk/ntifs.h
    trunk/reactos/include/ddk/ntpoapi.h
    trunk/reactos/include/ddk/ntstrsafe.h
    trunk/reactos/include/ddk/portcls.h
    trunk/reactos/include/ddk/punknown.h
    trunk/reactos/include/ddk/unknown.h
    trunk/reactos/include/ddk/wdm.h
    trunk/reactos/include/ddk/winddk.h
    trunk/reactos/include/ndk/extypes.h
    trunk/reactos/include/ndk/ifssupp.h
    trunk/reactos/include/ndk/iotypes.h
    trunk/reactos/include/ndk/ketypes.h
    trunk/reactos/include/ndk/pstypes.h
    trunk/reactos/include/ndk/rtlfuncs.h
    trunk/reactos/include/ndk/rtltypes.h
    trunk/reactos/include/psdk/ks.h
    trunk/reactos/include/reactos/arm/armddk.h
    trunk/reactos/lib/rossym/fromfile.c
    trunk/reactos/lib/rossym/frommem.c
    trunk/reactos/lib/rtl/unicode.c
    trunk/reactos/ntoskrnl/include/internal/io.h

[This mail would be too long, it was shortened to contain the URLs only.]

Modified: trunk/reactos/drivers/ksfilter/ks/irp.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/ksfilter/ks/irp.c?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/drivers/ksfilter/ks/kcom.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/ksfilter/ks/kcom.c?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/drivers/ksfilter/ks/misc.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/ksfilter/ks/misc.c?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/PortWaveCyclic.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/portcls/PortWaveCyclic.cpp?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/PortWavePci.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/portcls/PortWavePci.cpp?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/private.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/portcls/private.h?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/drivers/wdm/audio/drm/drmk/stubs.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/drm/drmk/stubs.cpp?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/include/ddk/drmk.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/drmk.h?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/include/ddk/ntddk.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/ntddk.h?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/include/ddk/ntdef.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/ntdef.h?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/include/ddk/ntifs.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/ntifs.h?rev=37792&r1=37791&r2=37792&view=diff

Added: trunk/reactos/include/ddk/ntimage.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/ntimage.h?rev=37792&view=auto

Modified: trunk/reactos/include/ddk/ntpoapi.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/ntpoapi.h?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/include/ddk/ntstrsafe.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/ntstrsafe.h?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/include/ddk/portcls.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/portcls.h?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/include/ddk/punknown.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/punknown.h?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/include/ddk/unknown.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/unknown.h?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/include/ddk/wdm.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/wdm.h?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/include/ddk/winddk.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/winddk.h?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/include/ndk/extypes.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/extypes.h?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/include/ndk/ifssupp.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/ifssupp.h?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/include/ndk/iotypes.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/iotypes.h?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/include/ndk/ketypes.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/ketypes.h?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/include/ndk/pstypes.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/pstypes.h?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/include/ndk/rtlfuncs.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/rtlfuncs.h?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/include/ndk/rtltypes.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/rtltypes.h?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/include/psdk/ks.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/ks.h?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/include/reactos/arm/armddk.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/arm/armddk.h?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/lib/rossym/fromfile.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rossym/fromfile.c?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/lib/rossym/frommem.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rossym/frommem.c?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/lib/rtl/unicode.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/unicode.c?rev=37792&r1=37791&r2=37792&view=diff

Modified: trunk/reactos/ntoskrnl/include/internal/io.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/io.h?rev=37792&r1=37791&r2=37792&view=diff



More information about the Ros-diffs mailing list