Source code of Windows XP (NT5)
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.

83 lines
1.5 KiB

  1. //
  2. // stdafx.h
  3. //
  4. #ifndef __stdafx_h__
  5. #define __stdafx_h__
  6. #define STRICT
  7. #ifdef DEBUG
  8. #define _DEBUG
  9. // BUGBUG 4/11/00 (edwardp) Enable debug trace.
  10. #define TRACE
  11. #endif // DEBUG
  12. #include <basetsd.h>
  13. #include "w95wraps.h"
  14. #include "shlwapiunwrap.h"
  15. #include <winsock2.h>
  16. #include <mswsock.h>
  17. #include <windows.h>
  18. #include <windowsx.h>
  19. #include <tchar.h>
  20. #include <commctrl.h>
  21. #include <comctrlp.h>
  22. #include <prsht.h>
  23. #include <shlobj.h>
  24. #include <shlwapi.h>
  25. #include <regstr.h>
  26. #include <cfdefs.h>
  27. #include <advpub.h> // RegInstall stuff
  28. #include <shpriv.h>
  29. #include <netcon.h>
  30. #include <shlwapiwrap.h>
  31. // Review this! We need #defines in ras.h that depend on this high winver.
  32. #undef WINVER
  33. #define WINVER 0x501
  34. #include <ras.h>
  35. //#include <rasuip.h>
  36. #undef WINVER
  37. #define WINVER 0x400
  38. #include "ccstock.h"
  39. #include "debug.h"
  40. #define _REG_ALLOCMEM 0
  41. #include "Registry.h"
  42. #ifndef _countof
  43. #define _countof(ar) (sizeof(ar) / sizeof((ar)[0]))
  44. #endif
  45. #ifndef ARRAYSIZE
  46. #define ARRAYSIZE(ar) (sizeof(ar) / sizeof((ar)[0]))
  47. #endif
  48. #ifndef IDC_HAND // not defined by default in VC6 headers
  49. #define IDC_HAND MAKEINTRESOURCE(32649)
  50. #endif
  51. #ifndef UNICODE_STRING
  52. #define UNICODE_STRING HNW_UNICODE_STRING
  53. #define PUNICODE_STRING PHNW_UNICODE_STRING
  54. typedef struct _HNW_UNICODE_STRING
  55. {
  56. USHORT Length;
  57. USHORT MaximumLength;
  58. PWSTR Buffer;
  59. }
  60. HNW_UNICODE_STRING, *PHNW_UNICODE_STRING;
  61. #endif
  62. #include <shfusion.h>
  63. #include "localstr.h"
  64. #endif // __stdafx_h__