Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
808 B

  1. extern "C" {
  2. #include <nt.h>
  3. #include <ntrtl.h>
  4. #include <nturtl.h>
  5. #include <stddef.h>
  6. #include <windows.h>
  7. #include <winspool.h>
  8. #include <limits.h>
  9. #include <string.h>
  10. #include <wingdip.h>
  11. #include <warning.h>
  12. };
  13. //
  14. // Lets hack ourselves some superuser access
  15. // to class members
  16. //
  17. #define private public
  18. #define protected public
  19. //
  20. // Lets get our ASSERT Macros from the gdiplus headers rather than the
  21. // default ones from NT
  22. //
  23. #undef ASSERT
  24. #undef ASSERTMSG
  25. #include "..\Engine\entry\precomp.hpp"
  26. #include "..\sdkinc\gdiplus.h"
  27. #include "..\Engine\flat\gpverp.h"
  28. #define KDEXT_64BIT
  29. #define GPOBJECT(type,ptr) char _##ptr[sizeof(type)]; type *ptr=(type *) _##ptr;
  30. #define GPOFFSETOF(member) (arg+((char *)&(member)-(char *)g))
  31. #include "extparse.hxx"