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.

64 lines
2.6 KiB

  1. // --------------------------------------------------------------------------------
  2. // MIMEEDIT.IDL
  3. // Copyright (c)1993-1998 Microsoft Corporation, All Rights Reserved
  4. // --------------------------------------------------------------------------------
  5. import "ocidl.idl";
  6. import "objidl.idl";
  7. #include "mimedisp.h"
  8. cpp_quote("// {6a98b73e-8c4d-11d1-bdff-00c04fa31009}")
  9. cpp_quote("DEFINE_GUID(IID_IMimeEdit, 0x6a98b73e, 0x8c4d, 0x11d1, 0xbd, 0xff, 0x00, 0xc0, 0x4f, 0xa3, 0x10, 0x09);")
  10. cpp_quote("// {1C82EAD8-508E-11d1-8DCF-00C04FB951F9}")
  11. cpp_quote("DEFINE_GUID(LIBID_MIMEEDIT, 0x1c82ead8, 0x508e, 0x11d1, 0x8d, 0xcf, 0x0, 0xc0, 0x4f, 0xb9, 0x51, 0xf9);")
  12. cpp_quote("")
  13. cpp_quote("")
  14. cpp_quote("")
  15. cpp_quote("// --------------------------------------------------------------------------------")
  16. cpp_quote("// LIBID_MIMEEDIT")
  17. cpp_quote("// --------------------------------------------------------------------------------")
  18. [
  19. uuid(1C82EAD8-508E-11d1-8DCF-00C04FB951F9),
  20. helpstring("Microsoft MIMEEDIT Type Library 1.0"),
  21. version(1.0)
  22. ]
  23. library MIMEEDIT
  24. {
  25. importlib("stdole2.tlb");
  26. // ---------------------------------------------------------------------------------------
  27. // IID_IMimeEdit
  28. // ---------------------------------------------------------------------------------------
  29. [
  30. uuid(6a98b73e-8c4d-11d1-bdff-00c04fa31009),
  31. odl,
  32. oleautomation,
  33. dual,
  34. helpstring("IMimeEdit"),
  35. ]
  36. interface IMimeEdit : IDispatch
  37. {
  38. [propput, id(DISPID_IMIMEEDIT_SRC)] HRESULT src([in] BSTR bstr);
  39. [propget, id(DISPID_IMIMEEDIT_SRC)] HRESULT src([retval,out] BSTR * pbstr);
  40. [propput, id(DISPID_IMIMEEDIT_STYLE)] HRESULT header([in] LONG lStyle);
  41. [propget, id(DISPID_IMIMEEDIT_STYLE)] HRESULT header([retval,out] LONG *plStyle);
  42. [propput, id(DISPID_IMIMEEDIT_EDITMODE)] HRESULT editMode([in] VARIANT_BOOL b);
  43. [propget, id(DISPID_IMIMEEDIT_EDITMODE)] HRESULT editMode([retval,out] VARIANT_BOOL *pbool);
  44. [propget, id(DISPID_IMIMEEDIT_MSGSRC)] HRESULT messageSource([retval,out] BSTR * pbstr);
  45. [propget, id(DISPID_IMIMEEDIT_TEXT)] HRESULT text([retval,out] BSTR * pbstr);
  46. [propget, id(DISPID_IMIMEEDIT_HTML)] HRESULT html([retval,out] BSTR * pbstr);
  47. [id(DISPID_IMIMEEDIT_CLEAR)] HRESULT clear();
  48. [propget, id(DISPID_IMIMEEDIT_DOCUMENT)] HRESULT doc([retval,out] IDispatch **ppDoc);
  49. }
  50. [
  51. uuid(6f5edc56-8c63-11d1-bdff-00c04fa31009),
  52. helpstring("MimeEdit")
  53. ]
  54. coclass MimeEdit
  55. {
  56. [default] interface IMimeEdit;
  57. };
  58. }