[ros-dev] [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)

Timo Kreuzer timo.kreuzer at web.de
Thu Dec 4 21:37:17 CET 2008


What's the reason to copy & paste comments from ms headers?
Please remember: Interfaces are not copyrighted, header files (including
the comments) are!

> +//
> +// Types to use to contain PFNs and their counts.
> +//
> +typedef ULONG PFN_COUNT;
>  typedef ULONG PFN_NUMBER, *PPFN_NUMBER;
> +typedef LONG SPFN_NUMBER, *PSPFN_NUMBER;
>   



More information about the Ros-dev mailing list