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.

80 lines
3.5 KiB

  1. /*
  2. * UUID.C
  3. *
  4. * Purpose:
  5. * provide definitions for locally used GUID's
  6. *
  7. * Copyright (c) 1995-1996, Microsoft Corporation. All rights reserved.
  8. */
  9. #include "_common.h"
  10. //set these two GUIDs up for export in our file
  11. #undef IID_RichEditOle
  12. #undef IID_IRichEditOleCallback
  13. DEFINE_GUID(IID_IRichEditOle, 0x00020D00, 0, 0, 0xC0,0,0,0,0,0,0,0x46);
  14. DEFINE_GUID(IID_IRichEditOleCallback, 0x00020D03, 0, 0, 0xC0,0,0,0,0,0,0,0x46);
  15. #undef DEFINE_GUID
  16. #undef DEFINE_OLEGUID
  17. #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
  18. const IID name \
  19. = { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
  20. #define DEFINE_OLEGUID(name, l, w1, w2) \
  21. DEFINE_GUID(name, l, w1, w2, 0xC0,0,0,0,0,0,0,0x46)
  22. DEFINE_OLEGUID(IID_IDispatch, 0x00020400, 0, 0);
  23. DEFINE_OLEGUID(IID_IUnknown, 0x00000000, 0, 0);
  24. DEFINE_OLEGUID(IID_IEnumFORMATETC, 0x00000103, 0, 0);
  25. DEFINE_OLEGUID(IID_IDataObject, 0x0000010e, 0, 0);
  26. DEFINE_OLEGUID(IID_IDropSource, 0x00000121, 0, 0);
  27. DEFINE_OLEGUID(IID_IDropTarget, 0x00000122, 0, 0);
  28. DEFINE_OLEGUID(IID_IViewObject, 0x0000010d, 0, 0);
  29. DEFINE_OLEGUID(IID_IViewObject2, 0x00000127, 0, 0);
  30. DEFINE_OLEGUID(IID_IAdviseSink, 0x0000010f, 0, 0);
  31. DEFINE_OLEGUID(IID_IOleClientSite, 0x00000118, 0, 0);
  32. DEFINE_OLEGUID(IID_IOleWindow, 0x00000114, 0, 0);
  33. DEFINE_OLEGUID(IID_IOleInPlaceSite, 0x00000119, 0, 0);
  34. DEFINE_OLEGUID(IID_IOleLink, 0x0000011d, 0, 0);
  35. DEFINE_OLEGUID(IID_IOleCache, 0x0000011e, 0, 0);
  36. DEFINE_OLEGUID(IID_IOleObject, 0x00000112, 0, 0);
  37. DEFINE_OLEGUID(IID_IPersistStorage, 0x0000010a, 0, 0);
  38. DEFINE_OLEGUID(IID_IOleInPlaceObject, 0x00000113, 0, 0);
  39. DEFINE_GUID(IID_IRichEditOle, 0x00020D00, 0, 0, 0xC0,0,0,0,0,0,0,0x46);
  40. DEFINE_GUID(IID_IRichEditOleCallback, 0x00020D03, 0, 0, 0xC0,0,0,0,0,0,0,0x46);
  41. DEFINE_OLEGUID(CLSID_Picture_EnhMetafile, 0x00000319, 0, 0);
  42. DEFINE_OLEGUID(CLSID_StaticMetafile, 0x00000315, 0, 0);
  43. DEFINE_OLEGUID(CLSID_StaticDib, 0x00000316, 0, 0);
  44. // REMARK: presumably TOM should have official MS GUIDs
  45. // To make pre-compiled headers work better, we just copy the
  46. // guid definitions here. Make sure they don't change!
  47. DEFINE_GUID(LIBID_tom, 0x8CC497C9, 0xA1DF,0x11ce,0x80,0x98,0x00,0xAA,
  48. 0x00,0x47,0xBE,0x5D);
  49. DEFINE_GUID(IID_ITextDocument, 0x8CC497C0, 0xA1DF,0x11CE,0x80,0x98,0x00,0xAA,
  50. 0x00,0x47,0xBE,0x5D);
  51. DEFINE_GUID(IID_ITextSelection, 0x8CC497C1, 0xA1DF,0x11CE,0x80,0x98,0x00,0xAA,
  52. 0x00,0x47,0xBE,0x5D);
  53. DEFINE_GUID(IID_ITextRange, 0x8CC497C2, 0xA1DF,0x11CE,0x80,0x98,0x00,0xAA,
  54. 0x00,0x47,0xBE,0x5D);
  55. DEFINE_GUID(IID_ITextFont, 0x8CC497C3, 0xA1DF,0x11CE,0x80,0x98,0x00,0xAA,
  56. 0x00,0x47,0xBE,0x5D);
  57. DEFINE_GUID(IID_ITextPara, 0x8CC497C4, 0xA1DF,0x11CE,0x80,0x98,0x00,0xAA,
  58. 0x00,0x47,0xBE,0x5D);
  59. DEFINE_GUID(IID_ITextMsgFilter, 0xA3787420, 0x4267,0x11D1,0x88,0x3A,0x3C,0x8B,
  60. 0x00,0xC1,0x00,0x00);
  61. DEFINE_GUID(IID_ITextDocument2, 0x01C25500, 0x4268,0x11D1,0x88,0x3A,0x3C,0x8B,
  62. 0x00,0xC1,0x00,0x00);
  63. // Accessibility stuff
  64. // We need to define this as EXTERN_C since the DEFINE_GUID macro removes the EXTERN_C
  65. //
  66. EXTERN_C DEFINE_GUID(IID_IAccessible, 0x618736e0, 0x3c3d, 0x11cf, 0x81, 0x0c, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
  67. EXTERN_C DEFINE_GUID(LIBID_Accessibility, 0x1ea4dbf0, 0x3c3b, 0x11cf, 0x81, 0x0c, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
  68. EXTERN_C DEFINE_OLEGUID(IID_IEnumVARIANT, 0x00020404, 0x0000, 0x0000);