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.

47 lines
1.0 KiB

  1. #ifndef _pch_h_
  2. #define _pch_h_
  3. #include <windows.h>
  4. // Map KERNEL32 unicode string functions to SHLWAPI
  5. #define lstrcmpW StrCmpW
  6. #define lstrcmpiW StrCmpIW
  7. #define lstrcpyW StrCpyW
  8. #define lstrcpynW StrCpyNW
  9. #define lstrcatW StrCatW
  10. // Win9x implements lstrlenW and MessageBoxW so no mapping needed.
  11. #include <windowsx.h>
  12. #include <prsht.h>
  13. #include <shlobj.h>
  14. #include <shlwapi.h>
  15. #include <shsemip.h>
  16. #include <stdlib.h>
  17. #include <shlobjp.h>
  18. #include <shellp.h>
  19. #include <comctrlp.h>
  20. #include <ccstock.h>
  21. #include <shlwapip.h>
  22. #include <w95wraps.h>
  23. #include <shpriv.h>
  24. #define FCIDM_REFRESH 0xA220
  25. #include "..\common\propsext.h"
  26. #include "addon.h"
  27. #include "rc.h"
  28. #include "regutils.h"
  29. #include <debug.h>
  30. //
  31. // Avoid bringing in C runtime code for NO reason
  32. //
  33. #if defined(__cplusplus)
  34. inline void * __cdecl operator new(size_t size) { return (void *)LocalAlloc(LPTR, size); }
  35. inline void __cdecl operator delete(void *ptr) { LocalFree(ptr); }
  36. extern "C" inline __cdecl _purecall(void) { return 0; }
  37. #endif // __cplusplus
  38. #endif