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.

41 lines
778 B

  1. #define STRICT
  2. #define _INC_OLE // REVIEW: don't include ole.h in windows.h
  3. #define OEMRESOURCE
  4. #ifdef WINNT
  5. //
  6. // NT uses DBG=1 for its debug builds, but the Win95 shell uses
  7. // DEBUG. Do the appropriate mapping here.
  8. //
  9. #if DBG
  10. #define DEBUG 1
  11. #endif
  12. #endif
  13. #include <windows.h>
  14. #ifdef WINNT
  15. #include <stddef.h>
  16. #include <wingdip.h>
  17. #endif
  18. #include <commctrl.h>
  19. #ifdef WINNT
  20. #include <comctrlp.h>
  21. #endif
  22. #include <windowsx.h>
  23. #include <ole2.h>
  24. #include <shlobj.h> // Includes <fcext.h>
  25. #ifdef UNICODE
  26. #define CP_WINNATURAL CP_WINUNICODE
  27. #else
  28. #define CP_WINNATURAL CP_WINANSI
  29. #endif
  30. #include <port32.h>
  31. // #include <heapaloc.h>
  32. #include <..\inc\debug.h> // our version of Assert etc.
  33. #include <shellp.h>
  34. extern "C" BOOL WINAPI PackWizRunFromExe();