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.

61 lines
1.2 KiB

  1. // Copyright (C) 1997 Microsoft Corporation. All rights reserved.
  2. #define NOATOM
  3. #define NOCOMM
  4. #define NODEFERWINDOWPOS
  5. #define NODRIVERS
  6. #define NOEXTDEVMODEPROPSHEET
  7. #define NOIME
  8. #define NOKANJI
  9. #define NOLOGERROR
  10. #define NOMCX
  11. #define NOPROFILER
  12. #define NOSCALABLEFONT
  13. #define NOSERVICE
  14. #define NOSOUND
  15. #ifndef WIN32_LEAN_AND_MEAN
  16. #define WIN32_LEAN_AND_MEAN
  17. #endif
  18. #define WINVER 0x0400
  19. #ifndef STRICT
  20. #define STRICT
  21. #endif
  22. #ifndef FASTCALL
  23. #define FASTCALL __fastcall
  24. #endif
  25. #ifndef STDCALL
  26. #define STDCALL __stdcall
  27. #endif
  28. #ifndef INLINE
  29. #define INLINE __inline // Remove for profiling
  30. #endif
  31. //////////////////////////////////// Includes ///////////////////////////////
  32. #include <windows.h>
  33. #include <ole2.h> // to get HRESULT
  34. #include "funcs.h"
  35. #include "..\hhctrl\shared.h"
  36. #include "..\hhctrl\lcmem.h"
  37. #include "..\hhctrl\cstr.h"
  38. /////////////////////////////////////////////////////////////////////////////
  39. #ifdef _DEBUG
  40. #define STATIC // because icecap doesn't believe in static functions
  41. #else
  42. #define STATIC static
  43. #endif
  44. extern BOOL g_fHhaLoaded; // TRUE if hha.dll has been loaded
  45. extern BOOL g_fTriedHHA; // TRUE if we already tried to load hha.dll
  46. extern HINSTANCE g_hinst;
  47. #define HINST_THIS g_hinst