Leaked source code of windows server 2003
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.

52 lines
1.1 KiB

  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. #include "cscapi.h"
  19. #include "cscuiext.h"
  20. #include "winnetwk.h"
  21. extern const CLSID CLSID_MyDocsDropTarget;
  22. STDAPI_(void) DllAddRef(void);
  23. STDAPI_(void) DllRelease(void);
  24. #ifdef DBG
  25. #define DEBUG 1
  26. #endif
  27. //
  28. // Avoid bringing in C runtime code for NO reason
  29. //
  30. #if defined(__cplusplus)
  31. inline void * __cdecl operator new(size_t size) { return (void *)LocalAlloc(LPTR, size); }
  32. inline void __cdecl operator delete(void *ptr) { LocalFree(ptr); }
  33. extern "C" inline __cdecl _purecall(void) { return 0; }
  34. #endif // __cplusplus
  35. #if defined(DBG) || defined(DEBUG)
  36. #ifndef DEBUG
  37. #define DEBUG
  38. #endif
  39. #else
  40. #undef DEBUG
  41. #endif
  42. #endif