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.

69 lines
2.2 KiB

  1. /*
  2. * project.h - Common project header file for URL Shell extension DLL.
  3. */
  4. /* System Headers
  5. *****************/
  6. #define INC_OLE2 /* for windows.h */
  7. #define CONST_VTABLE /* for objbase.h */
  8. #pragma warning(disable:4514) /* "unreferenced __inlinefunction" warning */
  9. #pragma warning(disable:4001) /* "single line comment" warning */
  10. #pragma warning(disable:4115) /* "named type definition in parentheses" warning */
  11. #pragma warning(disable:4201) /* "nameless struct/union" warning */
  12. #pragma warning(disable:4209) /* "benign typedef redefinition" warning */
  13. #pragma warning(disable:4214) /* "bit field types other than int" warning */
  14. #pragma warning(disable:4218) /* "must specify at least a storage class or type" warning */
  15. #ifndef WIN32_LEAN_AND_MEAN /* NT builds define this for us */
  16. #define WIN32_LEAN_AND_MEAN /* for windows.h */
  17. #endif /* WIN32_LEAN_AND_MEAN */
  18. #include <windows.h>
  19. #pragma warning(disable:4001) /* "single line comment" warning - windows.h enabled it */
  20. #include <shlwapi.h>
  21. #include <shlwapip.h>
  22. #include <shellapi.h>
  23. #include <shlobj.h>
  24. #include <shlobjp.h>
  25. #include <shellp.h>
  26. #include <comctrlp.h>
  27. #include <shlobjp.h>
  28. #include <shlapip.h>
  29. #define _INTSHCUT_
  30. #include <intshcut.h>
  31. #pragma warning(default:4218) /* "must specify at least a storage class or type" warning */
  32. #pragma warning(default:4214) /* "bit field types other than int" warning */
  33. #pragma warning(default:4209) /* "benign typedef redefinition" warning */
  34. #pragma warning(default:4201) /* "nameless struct/union" warning */
  35. #pragma warning(default:4115) /* "named type definition in parentheses" warning */
  36. #include <limits.h>
  37. #ifndef ARRAYSIZE
  38. #define ARRAYSIZE(a) (sizeof(a)/sizeof(a[0]))
  39. #endif
  40. #ifdef __cplusplus
  41. extern "C" { /* Assume C declarations for C++. */
  42. #endif /* __cplusplus */
  43. #include <crtfree.h> // Use intrinsic functions to avoid CRT
  44. /* The order of the following include files is significant. */
  45. #ifdef NO_HELP
  46. #undef NO_HELP
  47. #endif
  48. #define PRIVATE_DATA
  49. #define PUBLIC_CODE
  50. #ifdef __cplusplus
  51. } /* End of extern "C" {. */
  52. #endif /* __cplusplus */