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.

72 lines
1.6 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1994.
  5. //
  6. // File: hkOle32.h
  7. //
  8. // Contents: OLE32 Hook Header File
  9. //
  10. // Functions:
  11. //
  12. // History: 29-Nov-94 Ben Lawrence, Don Wright Created
  13. //
  14. //--------------------------------------------------------------------------
  15. #ifndef _OLE32HK_H_
  16. #define _OLE32HK_H_
  17. #ifndef INITGUID
  18. #define INITGUID
  19. #endif /* INITGUID */
  20. //#include "hkole32x.h"
  21. //#include "hkoleobj.h"
  22. //#include "hkLdInP.h"
  23. #include "tchar.h" // This is required for _TCHAR to be defined in dllcache.hxx
  24. #include "ictsguid.h"
  25. #include <windows.h>
  26. //
  27. // Prototypes for functions used by \ole32\com\class\compobj.cxx
  28. //
  29. VOID
  30. InitHookOle(
  31. VOID
  32. );
  33. VOID
  34. UninitHookOle(
  35. VOID
  36. );
  37. // These should be removed after 4.0 RTM.
  38. //
  39. inline void CALLHOOKOBJECT(HRESULT MAC_hr, REFCLSID MAC_rclsid, REFIID MAC_riid, IUnknown** MAC_ppv)
  40. {
  41. }
  42. inline void CALLHOOKOBJECTCREATE(HRESULT MAC_hr, REFCLSID MAC_rclsid, REFIID MAC_riid, IUnknown** MAC_ppv)
  43. {
  44. }
  45. #ifdef DEFCLSIDS
  46. //these are all undefined in ole32hk because they are private CLSIDs
  47. //we define them here to null
  48. #define GUID_NULL CLSID_HookOleObject //use this for now so it will compile
  49. #define CLSID_ItemMoniker CLSID_NULL
  50. #define CLSID_FileMoniker CLSID_NULL
  51. #define CLSID_PointerMoniker CLSID_NULL
  52. #define CLSID_CompositeMoniker CLSID_NULL
  53. #define CLSID_AntiMoniker CLSID_NULL
  54. #define CLSID_PSBindCtx CLSID_NULL
  55. #endif /* DEFCLSIDS */
  56. #endif // _OLE32HK_H_