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.

48 lines
1006 B

  1. #ifndef _pch_h
  2. #define _pch_h
  3. #include <windows.h>
  4. #include <windowsx.h>
  5. #include <shlobj.h>
  6. #include <shlwapi.h>
  7. #include <ccstock.h>
  8. #include <port32.h>
  9. #include <shsemip.h>
  10. #include <shlwapip.h>
  11. #include <shlapip.h>
  12. #include <shlobjp.h> // for shellp.h
  13. #include <shellp.h> // SHFOLDERCUSTOMSETTINGS
  14. #include <cfdefs.h> // CClassFactory, LPOBJECTINFO
  15. #include <comctrlp.h>
  16. #include <shfusion.h>
  17. #include <msginaexports.h>
  18. extern const CLSID CLSID_MyDocsDropTarget;
  19. STDAPI_(void) DllAddRef(void);
  20. STDAPI_(void) DllRelease(void);
  21. #ifdef DBG
  22. #define DEBUG 1
  23. #endif
  24. //
  25. // Avoid bringing in C runtime code for NO reason
  26. //
  27. #if defined(__cplusplus)
  28. inline void * __cdecl operator new(size_t size) { return (void *)LocalAlloc(LPTR, size); }
  29. inline void __cdecl operator delete(void *ptr) { LocalFree(ptr); }
  30. extern "C" inline __cdecl _purecall(void) { return 0; }
  31. #endif // __cplusplus
  32. #if defined(DBG) || defined(DEBUG)
  33. #ifndef DEBUG
  34. #define DEBUG
  35. #endif
  36. #else
  37. #undef DEBUG
  38. #endif
  39. #endif