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.

76 lines
1.5 KiB

  1. // stdafx.h : include file for standard system include files,
  2. // or project specific include files that are used frequently,
  3. // but are changed infrequently
  4. //
  5. #include "resource.h"
  6. #if !defined( SECURITY_WIN32 ) && !defined( SECURITY_KERNEL ) && !defined( SECURITY_MAC )
  7. #define SECURITY_WIN32
  8. #endif
  9. // couple of useful macros
  10. // straight copied from wdm.h
  11. #define ALIGN_DOWN(length, type) \
  12. ((ULONG)(length) & ~(sizeof(type) - 1))
  13. #define ALIGN_UP(length, type) \
  14. (ALIGN_DOWN(((ULONG)(length) + sizeof(type) - 1), type))
  15. // include header file only once
  16. #pragma once
  17. //
  18. // public Windows header files
  19. //
  20. #include <nt.h>
  21. #include <ntrtl.h>
  22. #include <nturtl.h>
  23. #include <windows.h>
  24. #include <Security.h>
  25. #include <SecExt.h>
  26. #include <windows.h>
  27. #include <wchar.h>
  28. #include <io.h>
  29. #include <sys/stat.h>
  30. #include <limits.h>
  31. #include <Shlwapi.h>
  32. #include <winbase.h>
  33. //
  34. // public Windows header files
  35. //
  36. #include <windows.h>
  37. #include <winperf.h>
  38. #include <lmcons.h>
  39. #include <lmerr.h>
  40. // #include <dbghelp.h>
  41. #include <psapi.h>
  42. #include <ntexapi.h>
  43. //
  44. // public C header files
  45. //
  46. #include <stdio.h>
  47. #include <stdlib.h>
  48. #include <string.h>
  49. #include <conio.h>
  50. #include <tchar.h>
  51. // #include <Winioctl.h>
  52. #include <Rpcdce.h>
  53. #include <crtdbg.h>
  54. #include <diskguid.h>
  55. #include <rpc.h>
  56. //#include <windows.h>
  57. #include <string.h>
  58. #include <stdlib.h>
  59. #include <stdio.h>
  60. #include <direct.h>
  61. #include "strsafe.h"
  62. #include "cmdline.h"
  63. #include "cmdlineres.h"