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.

110 lines
4.6 KiB

  1. // --------------------------------------------------------------------------
  2. // HOTWIZ.IDL
  3. // Copyright (c) 1993-1998 Microsoft Corporation, All Rights Reserved
  4. // --------------------------------------------------------------------------
  5. // This file will be processed by the MIDL tool to
  6. // produce the type library (HOTWIZ.tlb) and marshalling code.
  7. import "oaidl.idl";
  8. import "ocidl.idl";
  9. #include "hotdisp.h"
  10. cpp_quote("//--------------------------------------------------------------------------------")
  11. cpp_quote("// HOTWIZ.H")
  12. cpp_quote("//--------------------------------------------------------------------------------")
  13. cpp_quote("// (C) Copyright 1993-1998 Microsoft Corporation. All Rights Reserved.")
  14. cpp_quote("//")
  15. cpp_quote("// THIS CODE AND INFORMATION IS PROVIDED \"AS IS\" WITHOUT WARRANTY OF")
  16. cpp_quote("// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO")
  17. cpp_quote("// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A")
  18. cpp_quote("// PARTICULAR PURPOSE.")
  19. cpp_quote("//--------------------------------------------------------------------------------")
  20. cpp_quote("")
  21. cpp_quote("#pragma comment(lib, \"uuid.lib\")")
  22. cpp_quote("")
  23. cpp_quote("// --------------------------------------------------------------------------")
  24. cpp_quote("// GUIDS")
  25. cpp_quote("// --------------------------------------------------------------------------")
  26. cpp_quote("")
  27. cpp_quote("// {61a81654-75fb-11d2-8c0e-00c04fa31009}")
  28. cpp_quote("DEFINE_GUID(IID_IOEHotWizardOM, 0x61a81654, 0x75fb, 0x11d2, 0x8c, 0x0e, 0x00, 0xc0, 0x4f, 0xa3, 0x10, 0x09);")
  29. cpp_quote("")
  30. cpp_quote("// {E9C8B700-88B1-11d2-8C1F-00C04FA31009}")
  31. cpp_quote("DEFINE_GUID(CLSID_OEHotMailWizard, 0xe9c8b700, 0x88b1, 0x11d2, 0x8c, 0x1f, 0x0, 0xc0, 0x4f, 0xa3, 0x10, 0x9);")
  32. cpp_quote("")
  33. cpp_quote("// {2A17F622-88C6-11d2-8C20-00C04FA31009}")
  34. cpp_quote("DEFINE_GUID(IID_IHotWizard, 0x2a17f622, 0x88c6, 0x11d2, 0x8c, 0x20, 0x0, 0xc0, 0x4f, 0xa3, 0x10, 0x9);")
  35. cpp_quote("")
  36. cpp_quote("// {00ce6c10-88b2-11d2-8c1f-00c04fa31009}")
  37. cpp_quote("DEFINE_GUID(IID_IHotWizardHost, 0x00ce6c10, 0x88b2, 0x11d2, 0x8C, 0x1f, 0x00, 0xc0, 0x4f, 0xa3, 0x10, 0x09);")
  38. cpp_quote("")
  39. //---------------------------------------------------------------------------
  40. // IHotWizardHost Interface
  41. //---------------------------------------------------------------------------
  42. [
  43. object,
  44. uuid(00ce6c10-88b2-11d2-8c1f-00c04fa31009),
  45. helpstring("IHotWizardHost Interface"),
  46. pointer_default(unique)
  47. ]
  48. interface IHotWizardHost : IUnknown
  49. {
  50. HRESULT CreateAccountFromINS(
  51. [in] BSTR bstrIns);
  52. };
  53. //---------------------------------------------------------------------------
  54. // IHotWizard Interface
  55. //---------------------------------------------------------------------------
  56. [
  57. object,
  58. uuid(2A17F622-88C6-11d2-8C20-00C04FA31009),
  59. helpstring("IHotWizard Interface"),
  60. pointer_default(unique)
  61. ]
  62. interface IHotWizard : IUnknown
  63. {
  64. HRESULT Show(
  65. [in] HWND hwndOwner,
  66. [in] LPWSTR pszUrl,
  67. [in] LPWSTR pszCaption,
  68. [in] IHotWizardHost *pHost,
  69. [in] RECT *prc);
  70. };
  71. [
  72. uuid(79ca3712-8893-11d2-8c1f-00c04fa31009),
  73. version(1.0),
  74. helpstring("Microsoft Outlook Express Wizard Type Library")
  75. ]
  76. library HOTWIZ
  77. {
  78. importlib("stdole2.tlb");
  79. // ---------------------------------------------------------------------------------------
  80. // IID_IOEHotWizardOM
  81. // ---------------------------------------------------------------------------------------
  82. [
  83. uuid(61a81654-75fb-11d2-8c0e-00c04fa31009),
  84. odl,
  85. oleautomation,
  86. dual
  87. ]
  88. interface IOEHotWizardOM : IDispatch
  89. {
  90. [id(DISPID_IOEACCTWIZ_SET_PROP_SZ)] HRESULT setPropSz([in] BSTR bstrProp, [in] BSTR bstrVal);
  91. [id(DISPID_IOEACCTWIZ_GET_PROP_SZ)] HRESULT getPropSz([in] BSTR bstrProp, [retval, out] BSTR *pbstrVal);
  92. [id(DISPID_IOEACCTWIZ_CLEAR_PROPS)] HRESULT clearProps();
  93. [id(DISPID_IOEACCTWIZ_NEW_ACCOUNT)] HRESULT createAccount(BSTR bstrINS);
  94. [id(DISPID_IOEACCTWIZ_CLOSE)] HRESULT close([in] VARIANT_BOOL fPrompt);
  95. [propget, id(DISPID_IOEACCTWIZ_WIDTH)] HRESULT width([retval, out] LONG *pl);
  96. [propput, id(DISPID_IOEACCTWIZ_WIDTH)] HRESULT width([in] LONG l);
  97. [propget, id(DISPID_IOEACCTWIZ_HEIGHT)] HRESULT height([retval, out] LONG *pl);
  98. [propput, id(DISPID_IOEACCTWIZ_HEIGHT)] HRESULT height([in] LONG l);
  99. }
  100. };