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.

328 lines
16 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1999 - 1999
  6. //
  7. // File: cic.idl
  8. //
  9. //--------------------------------------------------------------------------
  10. #include <olectl.h>
  11. // cic.idl : IDL source for cic.dll
  12. //
  13. // This file will be processed by the MIDL tool to
  14. // produce the type library (cic.tlb) and marshalling code.
  15. import "oaidl.idl";
  16. import "ocidl.idl";
  17. [
  18. object,
  19. uuid(3D5905ED-523C-11D1-9FEA-00600832DB4A),
  20. dual,
  21. helpstring("IMMCCtrl Interface"),
  22. pointer_default(unique)
  23. ]
  24. interface IMMCCtrl : IDispatch
  25. {
  26. [id(1), helpstring("method TaskNotify")]
  27. HRESULT TaskNotify ([in] BSTR szClsid, [in] VARIANT* pvArg, [in] VARIANT* pvParam);
  28. [id(2), helpstring("method GetFirstTask")]
  29. HRESULT GetFirstTask ([in] BSTR szGroupText, [out,retval] IDispatch** retval);
  30. [id(3), helpstring("method GetNextTask")]
  31. HRESULT GetNextTask ([out,retval] IDispatch** retval);
  32. [id(4), helpstring("method GetTitle")]
  33. HRESULT GetTitle ([in] BSTR szGroupText, [out,retval] BSTR* retval);
  34. [id(5), helpstring("method GetDescriptiveText")]
  35. HRESULT GetDescriptiveText ([in] BSTR szGroupText, [out,retval] BSTR* retval);
  36. [id(6), helpstring("method GetBackground")]
  37. HRESULT GetBackground([in] BSTR szGroupText, [out,retval] IDispatch** pDispatch);
  38. [id(7), helpstring("method GetListPadInfo")]
  39. HRESULT GetListPadInfo([in] BSTR szGroupText, [out,retval] IDispatch** pDispatch);
  40. };
  41. [
  42. object,
  43. uuid(69C7C394-905C-11d2-91AD-00C04FA37E1F),
  44. helpstring("IMMCCtrlEvent Interface"),
  45. dual,
  46. pointer_default(unique)
  47. ]
  48. interface IMMCCtrlEvent : IDispatch
  49. {
  50. [id(1), helpstring("Enable/disable task")]
  51. HRESULT TaskEnable([in] long lTaskIndex, [in] BOOL bEnable);
  52. };
  53. [
  54. object,
  55. uuid(3D112E21-62B2-11D1-9FEF-00600832DB4A),
  56. dual,
  57. helpstring("IMMCTask Interface"),
  58. pointer_default(unique)
  59. ]
  60. interface IMMCTask : IDispatch
  61. {
  62. [propget, id(1), helpstring("property DisplayObject")]
  63. HRESULT DisplayObject([out, retval] IDispatch** pDispatch);
  64. [propget, id(2), helpstring("property Text")]
  65. HRESULT Text([out, retval] BSTR* pVal);
  66. [propget, id(3), helpstring("property Help")]
  67. HRESULT Help([out, retval] BSTR* pVal);
  68. [propget, id(4), helpstring("property ActionType")]
  69. HRESULT ActionType([out, retval] long* pVal);
  70. [propget, id(5), helpstring("property CommandID")]
  71. HRESULT CommandID([out, retval] LONG_PTR* pVal);
  72. [propget, id(6), helpstring("property ActionURL")]
  73. HRESULT ActionURL([out, retval] BSTR* pVal);
  74. [propget, id(7), helpstring("property Script")]
  75. HRESULT Script([out, retval] BSTR* pVal);
  76. [propget, id(8), helpstring("property Clsid")]
  77. HRESULT Clsid([out, retval] BSTR* pVal);
  78. [propget, id(9), helpstring("property ScriptLanguage")]
  79. HRESULT ScriptLanguage([out, retval] BSTR* pVal);
  80. };
  81. [
  82. object,
  83. uuid(995A890B-F4C9-11D1-A1BF-0000F875B132),
  84. dual,
  85. helpstring("IMMCDisplayObject Interface"),
  86. pointer_default(unique)
  87. ]
  88. interface IMMCDisplayObject : IDispatch
  89. {
  90. [propget, id(1), helpstring("property: DisplayObject type")]
  91. HRESULT DisplayObjectType([out, retval] long* pVal);
  92. [propget, id(2), helpstring("property: name of font family")]
  93. HRESULT FontFamilyName([out, retval] BSTR* pVal);
  94. [propget, id(3), helpstring("property: URL to EOT file")]
  95. HRESULT URLtoEOT([out, retval] BSTR* pVal);
  96. [propget, id(4), helpstring("property: symbol string")]
  97. HRESULT SymbolString([out, retval] BSTR* pVal);
  98. [propget, id(5), helpstring("property: mouseover Bitmap")]
  99. HRESULT MouseOverBitmap([out, retval] BSTR* pVal);
  100. [propget, id(6), helpstring("property: mouseoff Bitmap")]
  101. HRESULT MouseOffBitmap([out, retval] BSTR* pVal);
  102. };
  103. [
  104. object,
  105. uuid(09474571-b2fb-11d1-a1a1-0000f875b132),
  106. dual,
  107. helpstring("IMMCListPadInfo Interface"),
  108. pointer_default(unique)
  109. ]
  110. interface IMMCListPadInfo : IDispatch
  111. {
  112. [propget, id(1), helpstring("property Title")]
  113. HRESULT Title([out, retval] BSTR* pVal);
  114. [propget, id(2), helpstring("property Text")]
  115. HRESULT Text([out, retval] BSTR* pVal);
  116. [propget, id(3), helpstring("property NotifyID")]
  117. HRESULT NotifyID([out, retval] LONG_PTR* pVal);
  118. [propget, id(4), helpstring("property Clsid")]
  119. HRESULT Clsid([out, retval] BSTR* pVal);
  120. [propget, id(5), helpstring("property HasButton")]
  121. HRESULT HasButton([out, retval] BOOL* pVal);
  122. };
  123. [
  124. object,
  125. uuid(5D00F5B1-A357-11D1-A19C-0000F875B132),
  126. dual,
  127. helpstring("IListPad Interface"),
  128. pointer_default(unique)
  129. ]
  130. interface IListPad : IDispatch
  131. { // don't need any methods!!!
  132. };
  133. [
  134. object,
  135. uuid(C47195EB-CD7A-11D1-8EA3-00C04F9900D7),
  136. dual,
  137. helpstring("ISysColorCtrl Interface"),
  138. pointer_default(unique)
  139. ]
  140. interface ISysColorCtrl : IDispatch
  141. {
  142. [propget, id(1), helpstring("property HEXactiveborder")] HRESULT HEXactiveborder([out, retval] BSTR *pVal);
  143. [propget, id(2), helpstring("property RGBactiveborder")] HRESULT RGBactiveborder([out, retval] long *pVal);
  144. [propget, id(3), helpstring("property HEXactivecaption")] HRESULT HEXactivecaption([out, retval] BSTR *pVal);
  145. [propget, id(4), helpstring("property RGBactivecaption")] HRESULT RGBactivecaption([out, retval] long *pVal);
  146. [propget, id(5), helpstring("property HEXappworkspace")] HRESULT HEXappworkspace([out, retval] BSTR *pVal);
  147. [propget, id(6), helpstring("property RGBappworkspace")] HRESULT RGBappworkspace([out, retval] long *pVal);
  148. [propget, id(7), helpstring("property HEXbackground")] HRESULT HEXbackground([out, retval] BSTR *pVal);
  149. [propget, id(8), helpstring("property RGBbackground")] HRESULT RGBbackground([out, retval] long *pVal);
  150. [propget, id(9), helpstring("property HEXbuttonface")] HRESULT HEXbuttonface([out, retval] BSTR *pVal);
  151. [propget, id(10), helpstring("property RGBbuttonface")] HRESULT RGBbuttonface([out, retval] long *pVal);
  152. [propget, id(11), helpstring("property HEXbuttonhighlight")] HRESULT HEXbuttonhighlight([out, retval] BSTR *pVal);
  153. [propget, id(12), helpstring("property RGBbuttonhighlight")] HRESULT RGBbuttonhighlight([out, retval] long *pVal);
  154. [propget, id(13), helpstring("property HEXbuttonshadow")] HRESULT HEXbuttonshadow([out, retval] BSTR *pVal);
  155. [propget, id(14), helpstring("property RGBbuttonshadow")] HRESULT RGBbuttonshadow([out, retval] long *pVal);
  156. [propget, id(15), helpstring("property HEXbuttontext")] HRESULT HEXbuttontext([out, retval] BSTR *pVal);
  157. [propget, id(16), helpstring("property RGBbuttontext")] HRESULT RGBbuttontext([out, retval] long *pVal);
  158. [propget, id(17), helpstring("property HEXcaptiontext")] HRESULT HEXcaptiontext([out, retval] BSTR *pVal);
  159. [propget, id(18), helpstring("property RGBcaptiontext")] HRESULT RGBcaptiontext([out, retval] long *pVal);
  160. [propget, id(19), helpstring("property HEXgraytext")] HRESULT HEXgraytext([out, retval] BSTR *pVal);
  161. [propget, id(20), helpstring("property RGBgraytext")] HRESULT RGBgraytext([out, retval] long *pVal);
  162. [propget, id(21), helpstring("property HEXhighlight")] HRESULT HEXhighlight([out, retval] BSTR *pVal);
  163. [propget, id(22), helpstring("property RGBhighlight")] HRESULT RGBhighlight([out, retval] long *pVal);
  164. [propget, id(23), helpstring("property HEXhighlighttext")] HRESULT HEXhighlighttext([out, retval] BSTR *pVal);
  165. [propget, id(24), helpstring("property RGBhighlighttext")] HRESULT RGBhighlighttext([out, retval] long *pVal);
  166. [propget, id(25), helpstring("property HEXinactiveborder")] HRESULT HEXinactiveborder([out, retval] BSTR *pVal);
  167. [propget, id(26), helpstring("property RGBinactiveborder")] HRESULT RGBinactiveborder([out, retval] long *pVal);
  168. [propget, id(27), helpstring("property HEXinactivecaption")] HRESULT HEXinactivecaption([out, retval] BSTR *pVal);
  169. [propget, id(28), helpstring("property RGBinactivecaption")] HRESULT RGBinactivecaption([out, retval] long *pVal);
  170. [propget, id(29), helpstring("property HEXinactivecaptiontext")] HRESULT HEXinactivecaptiontext([out, retval] BSTR *pVal);
  171. [propget, id(30), helpstring("property RGBinactivecaptiontext")] HRESULT RGBinactivecaptiontext([out, retval] long *pVal);
  172. [propget, id(31), helpstring("property HEXinfobackground")] HRESULT HEXinfobackground([out, retval] BSTR *pVal);
  173. [propget, id(32), helpstring("property RGBinfobackground")] HRESULT RGBinfobackground([out, retval] long *pVal);
  174. [propget, id(33), helpstring("property HEXinfotext")] HRESULT HEXinfotext([out, retval] BSTR *pVal);
  175. [propget, id(34), helpstring("property RGBinfotext")] HRESULT RGBinfotext([out, retval] long *pVal);
  176. [propget, id(35), helpstring("property HEXmenu")] HRESULT HEXmenu([out, retval] BSTR *pVal);
  177. [propget, id(36), helpstring("property RGBmenu")] HRESULT RGBmenu([out, retval] long *pVal);
  178. [propget, id(37), helpstring("property HEXmenutext")] HRESULT HEXmenutext([out, retval] BSTR *pVal);
  179. [propget, id(38), helpstring("property RGBmenutext")] HRESULT RGBmenutext([out, retval] long *pVal);
  180. [propget, id(39), helpstring("property HEXscrollbar")] HRESULT HEXscrollbar([out, retval] BSTR *pVal);
  181. [propget, id(40), helpstring("property RGBscrollbar")] HRESULT RGBscrollbar([out, retval] long *pVal);
  182. [propget, id(41), helpstring("property HEXthreeddarkshadow")] HRESULT HEXthreeddarkshadow([out, retval] BSTR *pVal);
  183. [propget, id(42), helpstring("property RGBthreeddarkshadow")] HRESULT RGBthreeddarkshadow([out, retval] long *pVal);
  184. [propget, id(43), helpstring("property HEXthreedface")] HRESULT HEXthreedface([out, retval] BSTR *pVal);
  185. [propget, id(44), helpstring("property RGBthreedface")] HRESULT RGBthreedface([out, retval] long *pVal);
  186. [propget, id(45), helpstring("property HEXthreedhighlight")] HRESULT HEXthreedhighlight([out, retval] BSTR *pVal);
  187. [propget, id(46), helpstring("property RGBthreedhighlight")] HRESULT RGBthreedhighlight([out, retval] long *pVal);
  188. [propget, id(47), helpstring("property HEXthreedlightshadow")] HRESULT HEXthreedlightshadow([out, retval] BSTR *pVal);
  189. [propget, id(48), helpstring("property RGBthreedlightshadow")] HRESULT RGBthreedlightshadow([out, retval] long *pVal);
  190. [propget, id(49), helpstring("property HEXthreedshadow")] HRESULT HEXthreedshadow([out, retval] BSTR *pVal);
  191. [propget, id(50), helpstring("property RGBthreedshadow")] HRESULT RGBthreedshadow([out, retval] long *pVal);
  192. [propget, id(51), helpstring("property HEXwindow")] HRESULT HEXwindow([out, retval] BSTR *pVal);
  193. [propget, id(52), helpstring("property RGBwindow")] HRESULT RGBwindow([out, retval] long *pVal);
  194. [propget, id(53), helpstring("property HEXwindowframe")] HRESULT HEXwindowframe([out, retval] BSTR *pVal);
  195. [propget, id(54), helpstring("property RGBwindowframe")] HRESULT RGBwindowframe([out, retval] long *pVal);
  196. [propget, id(55), helpstring("property HEXwindowtext")] HRESULT HEXwindowtext([out, retval] BSTR *pVal);
  197. [propget, id(56), helpstring("property RGBwindowtext")] HRESULT RGBwindowtext([out, retval] long *pVal);
  198. [id(57), helpstring("method ConvertRGBToHex")] HRESULT ConvertRGBToHex([in] long rgb, [out, retval] BSTR * pszHex);
  199. [id(58), helpstring("method ConvertHexToRGB")] HRESULT ConvertHexToRGB([in] BSTR szHex, [out, retval] long * pRGB);
  200. [id(59), helpstring("method GetRedFromRGB")] HRESULT GetRedFromRGB([in] long rgb, [out, retval] short * pVal);
  201. [id(60), helpstring("method GetGreenFromRGB")] HRESULT GetGreenFromRGB([in] long rgb, [out, retval] short * pVal);
  202. [id(61), helpstring("method GetBlueFromRGB")] HRESULT GetBlueFromRGB([in] long rgb, [out, retval] short * pVal);
  203. [id(62), helpstring("method GetDerivedRGB")] HRESULT GetDerivedRGB([in] BSTR pszFrom, [in] BSTR pszTo, [in] BSTR pszFormat, [in] short nPercent, [out, retval] long * pVal);
  204. [id(63), helpstring("method GetDerivedHex")] HRESULT GetDerivedHex([in] BSTR pszFrom, [in] BSTR pszTo, [in] BSTR pszFormat, [in] short nPercent, [out, retval] BSTR * pVal);
  205. [id(64), helpstring("method Get3QuarterLightRGB")] HRESULT Get3QuarterLightRGB([in] BSTR pszFrom, [in] BSTR pszFormat, [out, retval] long * pVal);
  206. [id(65), helpstring("method Get3QuarterLightHex")] HRESULT Get3QuarterLightHex([in] BSTR pszFrom, [in] BSTR pszFormat, [out, retval] BSTR * pVal);
  207. [id(66), helpstring("method GetHalfLightRGB")] HRESULT GetHalfLightRGB([in] BSTR pszFrom, [in] BSTR pszFormat, [out, retval] long * pVal);
  208. [id(67), helpstring("method GetHalfLightHex")] HRESULT GetHalfLightHex([in] BSTR pszFrom, [in] BSTR pszFormat, [out, retval] BSTR * pVal);
  209. [id(68), helpstring("method GetQuarterLightRGB")] HRESULT GetQuarterLightRGB([in] BSTR pszFrom, [in] BSTR pszFormat, [out, retval] long * pVal);
  210. [id(69), helpstring("method GetQuarterLightHex")] HRESULT GetQuarterLightHex([in] BSTR pszFrom, [in] BSTR pszFormat, [out, retval] BSTR * pVal);
  211. [id(70), helpstring("method Get3QuarterDarkRGB")] HRESULT Get3QuarterDarkRGB([in] BSTR pszFrom, [in] BSTR pszFormat, [out, retval] long * pVal);
  212. [id(71), helpstring("method Get3QuarterDarkHex")] HRESULT Get3QuarterDarkHex([in] BSTR pszFrom, [in] BSTR pszFormat, [out, retval] BSTR * pVal);
  213. [id(72), helpstring("method GetHalfDarkRGB")] HRESULT GetHalfDarkRGB([in] BSTR pszFrom, [in] BSTR pszFormat, [out, retval] long * pVal);
  214. [id(73), helpstring("method GetHalfDarkHex")] HRESULT GetHalfDarkHex([in] BSTR pszFrom, [in] BSTR pszFormat, [out, retval] BSTR * pVal);
  215. [id(74), helpstring("method GetQuarterDarkRGB")] HRESULT GetQuarterDarkRGB([in] BSTR pszFrom, [in] BSTR pszFormat, [out, retval] long * pVal);
  216. [id(75), helpstring("method GetQuarterDarkHex")] HRESULT GetQuarterDarkHex([in] BSTR pszFrom, [in] BSTR pszFormat, [out, retval] BSTR * pVal);
  217. };
  218. [
  219. uuid(3D5905E0-523C-11D1-9FEA-00600832DB4A),
  220. version(1.0),
  221. helpstring("cic 1.0 Type Library")
  222. ]
  223. library CICLib
  224. {
  225. importlib("stdole32.tlb");
  226. importlib("stdole2.tlb");
  227. [
  228. uuid(545AE700-50BF-11D1-9FE9-00600832DB4A),
  229. helpstring("MMCCtrl Class")
  230. ]
  231. coclass MMCCtrl
  232. {
  233. [default] interface IMMCCtrl;
  234. [default, source] dispinterface IMMCCtrlEvent;
  235. };
  236. [
  237. uuid(3D112E22-62B2-11D1-9FEF-00600832DB4A),
  238. helpstring("MMCTask Class")
  239. ]
  240. coclass MMCTask
  241. {
  242. [default] interface IMMCTask;
  243. };
  244. [
  245. uuid(995A890C-F4C9-11D1-A1BF-0000F875B132),
  246. helpstring("MMCDisplayObject Class")
  247. ]
  248. coclass MMCDisplayObject
  249. {
  250. [default] interface IMMCDisplayObject;
  251. };
  252. [
  253. uuid(09474572-b2fb-11d1-a1a1-0000f875b132),
  254. helpstring("MMCListPadInfo Class")
  255. ]
  256. coclass MMCListPadInfo
  257. {
  258. [default] interface IMMCListPadInfo;
  259. };
  260. [
  261. uuid(289228DE-A31E-11D1-A19C-0000F875B132),
  262. helpstring("ListPad Class")
  263. ]
  264. coclass ListPad
  265. {
  266. [default] interface IListPad;
  267. };
  268. [
  269. uuid(C47195ED-CD7A-11D1-8EA3-00C04F9900D7),
  270. helpstring("Event interface for SysColorCtrl")
  271. ]
  272. dispinterface _SysColorEvents
  273. {
  274. properties:
  275. methods:
  276. [id(1)] void SysColorChange();
  277. };
  278. [
  279. uuid(C47195EC-CD7A-11D1-8EA3-00C04F9900D7),
  280. helpstring("SysColorCtrl Class")
  281. ]
  282. coclass SysColorCtrl
  283. {
  284. [default] interface ISysColorCtrl;
  285. [default, source] dispinterface _SysColorEvents;
  286. };
  287. };