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.

53 lines
1.2 KiB

  1. // McsMapiUtil.idl : IDL source for McsMapiUtil.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (McsMapiUtil.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. [
  8. object,
  9. #ifdef OFA
  10. uuid(004D1AEF-D66C-4225-B231-CEF41B4C503A),
  11. #else
  12. uuid(2AAB3919-DD40-11D2-A1E3-00A0C9AFE114),
  13. #endif
  14. dual,
  15. helpstring("IMapiUtil Interface"),
  16. pointer_default(unique)
  17. ]
  18. interface IMapiUtil : IDispatch
  19. {
  20. [id(1), helpstring("method ListContainers")] HRESULT ListContainers(BSTR profile, [out] IUnknown ** pUnkOut);
  21. [id(2), helpstring("method ListProfiles")] HRESULT ListProfiles([out] IUnknown ** pUnkOut);
  22. [id(3), helpstring("method ProfileGetServer")] HRESULT ProfileGetServer(BSTR profile,[out] BSTR * exchangeServer);
  23. };
  24. [
  25. #ifdef OFA
  26. uuid(D0E0E984-C21B-41a2-8B02-6648B6649B5F),
  27. #else
  28. uuid(2AAB390B-DD40-11D2-A1E3-00A0C9AFE114),
  29. #endif
  30. version(1.0),
  31. helpstring("McsMapiUtil 1.0 Type Library")
  32. ]
  33. library MCSMAPIUTILLib
  34. {
  35. importlib("stdole32.tlb");
  36. importlib("stdole2.tlb");
  37. [
  38. #ifdef OFA
  39. uuid(7264CB01-1230-4dbb-9347-547F3E3DD6B2),
  40. #else
  41. uuid(2AAB391A-DD40-11D2-A1E3-00A0C9AFE114),
  42. #endif
  43. helpstring("MapiUtil Class")
  44. ]
  45. coclass MapiUtil
  46. {
  47. [default] interface IMapiUtil;
  48. };
  49. };