precomp.hxx
Upload User: xhy777
Upload Date: 2007-02-14
Package Size: 24088k
Code Size: 1k
Category:

Windows Kernel

Development Platform:

Visual C++

  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. #define FCIDM_REFRESH 0xA220
  24. #include "..commonpropsext.h"
  25. #include "addon.h"
  26. #include "rc.h"
  27. #include "regutils.h"
  28. //
  29. // Avoid bringing in C runtime code for NO reason
  30. //
  31. #if defined(__cplusplus)
  32. inline void * __cdecl operator new(size_t size) { return (void *)LocalAlloc(LPTR, size); }
  33. inline void __cdecl operator delete(void *ptr) { LocalFree(ptr); }
  34. extern "C" inline __cdecl _purecall(void) { return 0; }
  35. #endif  // __cplusplus
  36. #endif