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.

407 lines
25 KiB

  1. /*************************************************************************/
  2. /* Copyright (C) 1999 Microsoft Corporation */
  3. /* File: MSMFCnt.idl */
  4. /* Description: IDL source for MSMFCnt.dll */
  5. /* Author: David Janecek */
  6. /*************************************************************************/
  7. // This file will be processed by the MIDL tool to
  8. // produce the type library (MSMFCnt.tlb) and marshalling code.
  9. import "oaidl.idl";
  10. import "ocidl.idl";
  11. #include "olectl.h"
  12. typedef enum {
  13. DISABLE = 0,
  14. TRANSPARENT_TOP_LEFT = 1,
  15. TRANSPARENT_BOTTOM_RIGHT = 2,
  16. TOP_LEFT_WINDOW_REGION = 3,
  17. BOTTOM_RIGHT_WINDOW_REGION = 4,
  18. TOP_LEFT_WITH_BACKCOLOR = 5,
  19. BOTTOM_RIGHT_WITH_BACKCOLOR = 6
  20. } TransparentBlitType;
  21. [
  22. object,
  23. uuid(54B56DEC-639B-4D6C-9266-583A8E5BF7A4),
  24. dual,
  25. helpstring("IMSMFBar Interface"),
  26. pointer_default(unique)
  27. ]
  28. interface IMSMFBar : IDispatch
  29. {
  30. [id(1), helpstring("method Load - loads up the script")] HRESULT Load();
  31. [id(2), helpstring("method Run - executes specific method")] HRESULT Run([in] BSTR strStatement);
  32. [id(3), helpstring("method About - displayes about box")] HRESULT About();
  33. [id(4), helpstring("method CreateObject")] HRESULT CreateObject([in]BSTR strObjectID, [in]BSTR strProgID, [in]long lx, [in]long ly, [in]long lWidth, [in]long lHeight, [in, defaultvalue("")] BSTR strPropBag, [in, defaultvalue(0)] VARIANT_BOOL fDisabled, [in, defaultvalue("")] BSTR strEventHookScript);
  34. [id(5), helpstring("method AddScriplet")] HRESULT AddScriptlet([in]BSTR strObjectID, [in]BSTR strEvent, [in]BSTR strEventCode);
  35. [id(6), helpstring("method AddObject")] HRESULT AddObject([in]BSTR strObjectID, [in]LPDISPATCH pDisp);
  36. [id(7), helpstring("method GetObjectUnknown")] HRESULT GetObjectUnknown([in]BSTR strObjectID, [out,retval] IUnknown** ppUnk);
  37. [id(8), helpstring("method EnableObject")] HRESULT EnableObject([in]BSTR strObjectID, [in]VARIANT_BOOL fEnable);
  38. [propget, id(9), helpstring("property ScriptLanguage")] HRESULT ScriptLanguage([out, retval]BSTR *pVal);
  39. [propput, id(9), helpstring("property ScriptLanguage")] HRESULT ScriptLanguage([in] BSTR newVal);
  40. [propget, id(10), helpstring("property ScriptFile")] HRESULT ScriptFile([out, retval] BSTR *pVal);
  41. [propput, id(10), helpstring("property ScriptFile")] HRESULT ScriptFile([in]BSTR newVal);
  42. [id(11), helpstring("method ObjectEnabled")] HRESULT ObjectEnabled([in]BSTR strObjectID, [out, retval]VARIANT_BOOL* pfEnabled);
  43. [id(12), helpstring("method SetupSelfSite")] HRESULT SetupSelfSite([in]long lx, [in]long ly, [in]long lWitdh, [in]long lHeight, [in]BSTR strPropBag,
  44. [in, defaultvalue(0)] VARIANT_BOOL fDisabled, [in, defaultvalue(-1)] VARIANT_BOOL fHelpDisabled, [in, defaultvalue(0)] VARIANT_BOOL fWindowDisabled);
  45. [id(13), helpstring("method DestroyScriptEngine")] HRESULT DestroyScriptEngine();
  46. [id(14), helpstring("method HookScriptlet")] HRESULT HookScriptlet([in]BSTR strObjectID, [in]BSTR strEvent, [in]BSTR strEventCode);
  47. [id(15), helpstring("method SetObjectPosition")] HRESULT SetObjectPosition([in]BSTR strObjectID, [in]long xPos, [in]long yPos, [in]long lWidth, [in]long lHeight);
  48. [propget, id(16), helpstring("property MinWidth")] HRESULT MinWidth([out, retval] long *pVal);
  49. [propput, id(16), helpstring("property MinWidth")] HRESULT MinWidth([in] long newVal);
  50. [propget, id(17), helpstring("property MinHeight")] HRESULT MinHeight([out, retval] long *pVal);
  51. [propput, id(17), helpstring("property MinHeight")] HRESULT MinHeight([in] long newVal);
  52. [id(18), helpstring("method WinHelp")] HRESULT WinHelp(long lCommand, long dwData, BSTR strHelpFile);
  53. [propget, id(19), helpstring("property BackgroundImage")] HRESULT BackgroundImage([out, retval] BSTR *pVal);
  54. [propput, id(19), helpstring("property BackgroundImage")] HRESULT BackgroundImage([in] BSTR newVal);
  55. [propget, id(20), helpstring("property TransparentBlit")] HRESULT TransparentBlit([out, retval] TransparentBlitType *pVal);
  56. [propput, id(20), helpstring("property TransparentBlit")] HRESULT TransparentBlit([in] TransparentBlitType newVal);
  57. [id(21), helpstring("method ShowSelfSite")] HRESULT ShowSelfSite(long nCmd);
  58. [id(22), helpstring("method Close")] HRESULT Close();
  59. [id(23), helpstring("method SetPriority")] HRESULT SetPriority([in]long lPriority);
  60. [id(24), helpstring("method SetPriorityClass")] HRESULT SetPriorityClass([in]long lPriorityClass);
  61. [propget, id(25), helpstring("property AutoLoad")] HRESULT AutoLoad([out, retval] VARIANT_BOOL *pVal);
  62. [propput, id(25), helpstring("property AutoLoad")] HRESULT AutoLoad([in] VARIANT_BOOL newVal);
  63. //[id(16), helpstring("method GetObjectPosition")] HRESULT GetObjectPosition([in]BSTR strObjectID, [out]long* xPos, [out]long* yPos, [out]long* lWidth, [out]long* lHeight);
  64. [id(26), helpstring("SetRoundRectRgn")] HRESULT SetRoundRectRgn([in]long x1, [in]long y1, [in]long x2, [in]long y2, [in]long width, [in]long height);
  65. [id(27), helpstring("SetRectRgn")] HRESULT SetRectRgn([in]long x1, [in]long y1, [in]long x2, [in]long y2);
  66. [id(28), helpstring("method SetObjectFocus")] HRESULT SetObjectFocus([in]BSTR strObjectID, [in]VARIANT_BOOL fEnable);
  67. [id(29), helpstring("method ForceKey")]HRESULT ForceKey([in]LONG lVirtKey, [in]LONG lKeyData, [in, defaultvalue(0)] VARIANT_BOOL fEat);
  68. [id(30), helpstring("method MessageBox")] HRESULT MessageBox(BSTR strText, BSTR strCaption, [in, defaultvalue(0)]long lType);
  69. [id(31), helpstring("method SetObjectExtent")] HRESULT SetObjectExtent(BSTR strID, long lWidth, long lHeight);
  70. [propget, id(32), helpstring("property ResourceDLL")] HRESULT ResourceDLL([out, retval] BSTR *pVal);
  71. [propput, id(32), helpstring("property ResourceDLL")] HRESULT ResourceDLL([in] BSTR newVal);
  72. [propget, id(33), helpstring("property ActivityTimeout")] HRESULT ActivityTimeout([out, retval] long *pVal);
  73. [propput, id(33), helpstring("property ActivityTimeout")] HRESULT ActivityTimeout([in] long newVal);
  74. [id(34), helpstring("method SetTimeout")] HRESULT SetTimeout([in]long lMilliseconds, [in, defaultvalue(1)]long lId);
  75. [id(35), helpstring("method Sleep")] HRESULT Sleep([in]long lMiliseconds);
  76. [propget, id(36), helpstring("property CmdLine")] HRESULT CmdLine([out, retval] BSTR *pVal);
  77. [propput, id(36), helpstring("property CmdLine")] HRESULT CmdLine([in] BSTR newVal);
  78. [id(37), helpstring("method AddFocusObject")] HRESULT AddFocusObject(BSTR strObjectID);
  79. [id(38), helpstring("method ResetFocusArray")] HRESULT ResetFocusArray();
  80. [id(39), helpstring("method ResetFocusArray")] HRESULT GetUserLCID([out, retval]long* pLcid);
  81. [id(40), helpstring("method HasObjectFocus")] HRESULT HasObjectFocus(BSTR strObjectID,[out, retval] VARIANT_BOOL* pfFocus);
  82. [propput, id(DISPID_BACKCOLOR)] HRESULT BackColor([in]OLE_COLOR clr);
  83. [propget, id(DISPID_BACKCOLOR)] HRESULT BackColor([out,retval]OLE_COLOR* pclr);
  84. [propput, id(DISPID_HWND)] HRESULT Window([in]long hwnd);
  85. [propget, id(DISPID_HWND)] HRESULT Window([out,retval]long* pHwnd);
  86. [propput, id(DISPID_CAPTION)]HRESULT Caption([in]BSTR strCaption);
  87. [propget, id(DISPID_CAPTION)]HRESULT Caption([out,retval]BSTR* pstrCaption);
  88. [propget, id(DISPID_READYSTATE)] HRESULT ReadyState([out, retval] LONG *pVal);
  89. };
  90. [
  91. object,
  92. uuid(A43B9418-A9BC-4888-97D5-48717A3D2FE0),
  93. dual,
  94. helpstring("IMSMFBBtn Interface"),
  95. pointer_default(unique)
  96. ]
  97. interface IMSMFBBtn : IDispatch
  98. {
  99. [propget, id(1), helpstring("property ImageStatic")] HRESULT ImageStatic([out, retval] BSTR *pVal);
  100. [propput, id(1), helpstring("property ImageStatic")] HRESULT ImageStatic([in] BSTR newVal);
  101. [propget, id(2), helpstring("property ImageHover")] HRESULT ImageHover([out, retval] BSTR *pVal);
  102. [propput, id(2), helpstring("property ImageHover")] HRESULT ImageHover([in] BSTR newVal);
  103. [propget, id(3), helpstring("property ImagePush")] HRESULT ImagePush([out, retval] BSTR *pVal);
  104. [propput, id(3), helpstring("property ImagePush")] HRESULT ImagePush([in] BSTR newVal);
  105. [propget, id(4), helpstring("property TransparentBlit")] HRESULT TransparentBlit([out, retval] TransparentBlitType *pVal);
  106. [propput, id(4), helpstring("property TransparentBlit")] HRESULT TransparentBlit([in] TransparentBlitType newVal);
  107. [id(5), helpstring("method AboutBox")] HRESULT About();
  108. [propget, id(6), helpstring("property Disble")] HRESULT Disable([out, retval] VARIANT_BOOL *pVal);
  109. [propput, id(6), helpstring("property Disable")] HRESULT Disable([in] VARIANT_BOOL newVal);
  110. [propget, id(7), helpstring("property BtnState")] HRESULT BtnState([out, retval] long *pVal);
  111. [propput, id(7), helpstring("property BtnState")] HRESULT BtnState([in] long newVal);
  112. [propget, id(9), helpstring("property ToolTip")] HRESULT ToolTip([out, retval] BSTR *pVal);
  113. [propput, id(9), helpstring("property ToolTip")] HRESULT ToolTip([in] BSTR newVal);
  114. [id(10), helpstring("method GetDelayTime")] HRESULT GetDelayTime([in]long delayType, [out, retval] long *pVal);
  115. [id(11), helpstring("method SetDelayTime")] HRESULT SetDelayTime([in]long delayType, [in] long newVal);
  116. [propget, id(12), helpstring("property ResourceDLL")] HRESULT ResourceDLL([out, retval] BSTR *pVal);
  117. [propput, id(12), helpstring("property ResourceDLL")] HRESULT ResourceDLL([in] BSTR newVal);
  118. [propget, id(13), helpstring("property ToolTipMaxWidth")] HRESULT ToolTipMaxWidth([out, retval] long *pVal);
  119. [propput, id(13), helpstring("property ToolTipMaxWidth")] HRESULT ToolTipMaxWidth([in] long newVal);
  120. [propget, id(14), helpstring("property ImageDisabled")] HRESULT ImageDisabled([out, retval] BSTR *pVal);
  121. [propput, id(14), helpstring("property ImageDisabled")] HRESULT ImageDisabled([in] BSTR newVal);
  122. [propget, id(15), helpstring("property ImageActive")] HRESULT ImageActive([out, retval] BSTR *pVal);
  123. [propput, id(15), helpstring("property ImageActive")] HRESULT ImageActive([in] BSTR newVal);
  124. [propget, id(16), helpstring("property FontSize")] HRESULT FontSize([out, retval] long *pVal);
  125. [propput, id(16), helpstring("property FontSize")] HRESULT FontSize([in] long newVal);
  126. [propget, id(17), helpstring("property Text")] HRESULT Text([out, retval] BSTR *pVal);
  127. [propput, id(17), helpstring("property Text")] HRESULT Text([in] BSTR newVal);
  128. [propget, id(18), helpstring("property FontFace")] HRESULT FontFace([out, retval] BSTR *pVal);
  129. [propput, id(18), helpstring("property FontFace")] HRESULT FontFace([in] BSTR newVal);
  130. [propget, id(19), helpstring("property FontStyle")] HRESULT FontStyle([out, retval] BSTR *pVal);
  131. [propput, id(19), helpstring("property FontStyle")] HRESULT FontStyle([in] BSTR newVal);
  132. [propget, id(20), helpstring("property Windowless")] HRESULT Windowless([out, retval] VARIANT_BOOL *pVal);
  133. [propput, id(20), helpstring("property Windowless")] HRESULT Windowless([in] VARIANT_BOOL newVal);
  134. [propput, id(DISPID_BACKCOLOR)] HRESULT BackColor([in]OLE_COLOR clr);
  135. [propget, id(DISPID_BACKCOLOR)] HRESULT BackColor([out,retval]OLE_COLOR* pclr);
  136. [propget, id(21), helpstring("property ColorPush")] HRESULT ColorPush([out, retval] OLE_COLOR *pVal);
  137. [propput, id(21), helpstring("property ColorPush")] HRESULT ColorPush([in] OLE_COLOR newVal);
  138. [propget, id(22), helpstring("property ColorHover")] HRESULT ColorHover([out, retval] OLE_COLOR *pVal);
  139. [propput, id(22), helpstring("property ColorHover")] HRESULT ColorHover([in] OLE_COLOR newVal);
  140. [propget, id(23), helpstring("property ColorStatic")] HRESULT ColorStatic([out, retval] OLE_COLOR *pVal);
  141. [propput, id(23), helpstring("property ColorStatic")] HRESULT ColorStatic([in] OLE_COLOR newVal);
  142. [propget, id(24), helpstring("property ColorDisable")] HRESULT ColorDisable([out, retval] OLE_COLOR *pVal);
  143. [propput, id(24), helpstring("property ColorDisable")] HRESULT ColorDisable([in] OLE_COLOR newVal);
  144. [propget, id(25), helpstring("property ColorActive")] HRESULT ColorActive([out, retval] OLE_COLOR *pVal);
  145. [propput, id(25), helpstring("property ColorActive")] HRESULT ColorActive([in] OLE_COLOR newVal);
  146. [propget, id(26), helpstring("property TextWidth")] HRESULT TextWidth([out, retval] long *pVal);
  147. [propget, id(27), helpstring("property TextHeight")] HRESULT TextHeight([out, retval] long *pVal);
  148. };
  149. [
  150. object,
  151. uuid(B0C2A59F-39FA-4D60-BB1E-EBE409E57BAC),
  152. dual,
  153. helpstring("IMSMFImg Interface"),
  154. pointer_default(unique)
  155. ]
  156. interface IMSMFImg : IDispatch
  157. {
  158. [propput, id(DISPID_BACKCOLOR)]
  159. HRESULT BackColor([in]OLE_COLOR clr);
  160. [propget, id(DISPID_BACKCOLOR)]
  161. HRESULT BackColor([out,retval]OLE_COLOR* pclr);
  162. [propget, id(1), helpstring("property Image")] HRESULT Image([out, retval] BSTR *pVal);
  163. [propput, id(1), helpstring("property Image")] HRESULT Image([in] BSTR newVal);
  164. [propget, id(2), helpstring("property ResourceDLL")] HRESULT ResourceDLL([out, retval] BSTR *pVal);
  165. [propput, id(2), helpstring("property ResourceDLL")] HRESULT ResourceDLL([in] BSTR newVal);
  166. [propget, id(3), helpstring("property Windowless")] HRESULT Windowless([out, retval] VARIANT_BOOL *pVal);
  167. [propput, id(3), helpstring("property Windowless")] HRESULT Windowless([in] VARIANT_BOOL newVal);
  168. [propget, id(4), helpstring("property TransparentBlit")] HRESULT TransparentBlit([out, retval] TransparentBlitType *pVal);
  169. [propput, id(4), helpstring("property TransparentBlit")] HRESULT TransparentBlit([in] TransparentBlitType newVal);
  170. };
  171. [
  172. object,
  173. uuid(845F36EE-5C8D-418A-B4D7-7B5468AEDCCC),
  174. dual,
  175. helpstring("IMSMFSldr Interface"),
  176. pointer_default(unique)
  177. ]
  178. interface IMSMFSldr : IDispatch
  179. {
  180. [propget, id(1), helpstring("property Value")] HRESULT Value([out, retval] float *pVal);
  181. [propput, id(1), helpstring("property Value")] HRESULT Value([in] float newVal);
  182. [propget, id(2), helpstring("property Min")] HRESULT Min([out, retval] float *pVal);
  183. [propput, id(2), helpstring("property Min")] HRESULT Min([in] float newVal);
  184. [propget, id(3), helpstring("property Max")] HRESULT Max([out, retval] float *pVal);
  185. [propput, id(3), helpstring("property Max")] HRESULT Max([in] float newVal);
  186. [propget, id(4), helpstring("property ThumbWidth")] HRESULT ThumbWidth([out, retval] long *pVal);
  187. [propput, id(4), helpstring("property ThumbWidth")] HRESULT ThumbWidth([in] long newVal);
  188. [propget, id(5), helpstring("property ThumbStatic")] HRESULT ThumbStatic([out, retval] BSTR *pVal);
  189. [propput, id(5), helpstring("property ThumbStatic")] HRESULT ThumbStatic([in] BSTR newVal);
  190. [propget, id(6), helpstring("property ThumbHover")] HRESULT ThumbHover([out, retval] BSTR *pVal);
  191. [propput, id(6), helpstring("property ThumbHover")] HRESULT ThumbHover([in] BSTR newVal);
  192. [propget, id(7), helpstring("property ThumbPush")] HRESULT ThumbPush([out, retval] BSTR *pVal);
  193. [propput, id(7), helpstring("property ThumbPush")] HRESULT ThumbPush([in] BSTR newVal);
  194. [propget, id(8), helpstring("property ThumbDisabled")] HRESULT ThumbDisabled([out, retval] BSTR *pVal);
  195. [propput, id(8), helpstring("property ThumbDisabled")] HRESULT ThumbDisabled([in] BSTR newVal);
  196. [propget, id(9), helpstring("property ThumbActive")] HRESULT ThumbActive([out, retval] BSTR *pVal);
  197. [propput, id(9), helpstring("property ThumbActive")] HRESULT ThumbActive([in] BSTR newVal);
  198. [propget, id(10), helpstring("property BackStatic")] HRESULT BackStatic([out, retval] BSTR *pVal);
  199. [propput, id(10), helpstring("property BackStatic")] HRESULT BackStatic([in] BSTR newVal);
  200. [propget, id(11), helpstring("property BackHover")] HRESULT BackHover([out, retval] BSTR *pVal);
  201. [propput, id(11), helpstring("property BackHover")] HRESULT BackHover([in] BSTR newVal);
  202. [propget, id(12), helpstring("property BackPush")] HRESULT BackPush([out, retval] BSTR *pVal);
  203. [propput, id(12), helpstring("property BackPush")] HRESULT BackPush([in] BSTR newVal);
  204. [propget, id(13), helpstring("property BackDisabled")] HRESULT BackDisabled([out, retval] BSTR *pVal);
  205. [propput, id(13), helpstring("property BackDisabled")] HRESULT BackDisabled([in] BSTR newVal);
  206. [propget, id(14), helpstring("property BackActive")] HRESULT BackActive([out, retval] BSTR *pVal);
  207. [propput, id(14), helpstring("property BackActive")] HRESULT BackActive([in] BSTR newVal);
  208. [propget, id(15), helpstring("property SldrState")] HRESULT SldrState([out, retval] long *pVal);
  209. [propput, id(15), helpstring("property SldrState")] HRESULT SldrState([in] long newVal);
  210. [propget, id(16), helpstring("property Disable")] HRESULT Disable([out, retval] VARIANT_BOOL *pVal);
  211. [propput, id(16), helpstring("property Disable")] HRESULT Disable([in] VARIANT_BOOL newVal);
  212. [propget, id(17), helpstring("property XOffset")] HRESULT XOffset([out, retval] long *pVal);
  213. [propput, id(17), helpstring("property XOffset")] HRESULT XOffset([in] long newVal);
  214. [propget, id(18), helpstring("property YOffset")] HRESULT YOffset([out, retval] long *pVal);
  215. [propput, id(18), helpstring("property YOffset")] HRESULT YOffset([in] long newVal);
  216. [propput, id(DISPID_BACKCOLOR)] HRESULT BackColor([in]OLE_COLOR clr);
  217. [propget, id(DISPID_BACKCOLOR)] HRESULT BackColor([out,retval]OLE_COLOR* pclr);
  218. [propget, id(19), helpstring("property ResourceDLL")] HRESULT ResourceDLL([out, retval] BSTR *pVal);
  219. [propput, id(19), helpstring("property ResourceDLL")] HRESULT ResourceDLL([in] BSTR newVal);
  220. [propget, id(20), helpstring("property Windowless")] HRESULT Windowless([out, retval] VARIANT_BOOL *pVal);
  221. [propput, id(20), helpstring("property Windowless")] HRESULT Windowless([in] VARIANT_BOOL newVal);
  222. [propget, id(21), helpstring("property ArrowKeyIncrement")] HRESULT ArrowKeyIncrement([out, retval] FLOAT *pVal);
  223. [propput, id(21), helpstring("property ArrowKeyIncrement")] HRESULT ArrowKeyIncrement([in] FLOAT newVal);
  224. [propget, id(22), helpstring("property ArrowKeyDecrement")] HRESULT ArrowKeyDecrement([out, retval] float *pVal);
  225. [propput, id(22), helpstring("property ArrowKeyDecrement")] HRESULT ArrowKeyDecrement([in] float newVal);
  226. };
  227. [
  228. object,
  229. uuid(5DB6854E-5CA4-4756-BE2F-DD31CE5DF0ED),
  230. dual,
  231. helpstring("IMSMFText Interface"),
  232. pointer_default(unique)
  233. ]
  234. interface IMSMFText : IDispatch
  235. {
  236. [propput, id(DISPID_BACKCOLOR)]
  237. HRESULT BackColor([in]OLE_COLOR clr);
  238. [propget, id(DISPID_BACKCOLOR)]
  239. HRESULT BackColor([out,retval]OLE_COLOR* pclr);
  240. [propget, id(1), helpstring("property FontSize")] HRESULT FontSize([out, retval] long *pVal);
  241. [propput, id(1), helpstring("property FontSize")] HRESULT FontSize([in] long newVal);
  242. [propget, id(2), helpstring("property Text")] HRESULT Text([out, retval] BSTR *pVal);
  243. [propput, id(2), helpstring("property Text")] HRESULT Text([in] BSTR newVal);
  244. [propget, id(3), helpstring("property FontFace")] HRESULT FontFace([out, retval] BSTR *pVal);
  245. [propput, id(3), helpstring("property FontFace")] HRESULT FontFace([in] BSTR newVal);
  246. [propget, id(4), helpstring("property FontStyle")] HRESULT FontStyle([out, retval] BSTR *pVal);
  247. [propput, id(4), helpstring("property FontStyle")] HRESULT FontStyle([in] BSTR newVal);
  248. [propget, id(5), helpstring("property ColorPush")] HRESULT ColorPush([out, retval] OLE_COLOR *pVal);
  249. [propput, id(5), helpstring("property ColorPush")] HRESULT ColorPush([in] OLE_COLOR newVal);
  250. [propget, id(6), helpstring("property ColorHover")] HRESULT ColorHover([out, retval] OLE_COLOR *pVal);
  251. [propput, id(6), helpstring("property ColorHover")] HRESULT ColorHover([in] OLE_COLOR newVal);
  252. [propget, id(7), helpstring("property ColorStatic")] HRESULT ColorStatic([out, retval] OLE_COLOR *pVal);
  253. [propput, id(7), helpstring("property ColorStatic")] HRESULT ColorStatic([in] OLE_COLOR newVal);
  254. [propget, id(8), helpstring("property ColorDisable")] HRESULT ColorDisable([out, retval] OLE_COLOR *pVal);
  255. [propput, id(8), helpstring("property ColorDisable")] HRESULT ColorDisable([in] OLE_COLOR newVal);
  256. [propget, id(9), helpstring("property ColorActive")] HRESULT ColorActive([out, retval] OLE_COLOR *pVal);
  257. [propput, id(9), helpstring("property ColorActive")] HRESULT ColorActive([in] OLE_COLOR newVal);
  258. [propget, id(10), helpstring("property TextState")] HRESULT TextState([out, retval] long *pVal);
  259. [propput, id(10), helpstring("property TextState")] HRESULT TextState([in] long newVal);
  260. [propget, id(11), helpstring("property Disable")] HRESULT Disable([out, retval] VARIANT_BOOL *pVal);
  261. [propput, id(11), helpstring("property Disable")] HRESULT Disable([in] VARIANT_BOOL newVal);
  262. [propget, id(12), helpstring("property ResourceDLL")] HRESULT ResourceDLL([out, retval] BSTR *pVal);
  263. [propput, id(12), helpstring("property ResourceDLL")] HRESULT ResourceDLL([in] BSTR newVal);
  264. [propget, id(13), helpstring("property TextAlignment")] HRESULT TextAlignment([out, retval] BSTR *pVal);
  265. [propput, id(13), helpstring("property TextAlignment")] HRESULT TextAlignment([in] BSTR newVal);
  266. [propget, id(14), helpstring("property EdgeStyle")] HRESULT EdgeStyle([out, retval] BSTR *pVal);
  267. [propput, id(14), helpstring("property EdgeStyle")] HRESULT EdgeStyle([in] BSTR newVal);
  268. [propget, id(15), helpstring("property TextWidth")] HRESULT TextWidth([out, retval] long *pVal);
  269. [propget, id(16), helpstring("property TextHeight")] HRESULT TextHeight([out, retval] long *pVal);
  270. [propget, id(17), helpstring("property TransparentText")] HRESULT TransparentText([out, retval] VARIANT_BOOL *pVal);
  271. [propput, id(17), helpstring("property TransparentText")] HRESULT TransparentText([in] VARIANT_BOOL newVal);
  272. [propget, id(18), helpstring("property Windowless")] HRESULT Windowless([out, retval] VARIANT_BOOL *pVal);
  273. [propput, id(18), helpstring("property Windowless")] HRESULT Windowless([in] VARIANT_BOOL newVal);
  274. };
  275. [
  276. uuid(A9AB5886-CF9C-43FD-8BF1-942F0CDA5BB5),
  277. version(1.0),
  278. helpstring("MSMFCnt 1.0 Type Library")
  279. ]
  280. library MSMFCNTLib
  281. {
  282. importlib("stdole2.tlb");
  283. [uuid(681537db-4c4e-434a-9bb9-df8083387731),
  284. helpstring("Event interface for MSMFBar control") ]
  285. dispinterface _IMSMFBar
  286. {
  287. properties:
  288. // Event interface has no properties
  289. methods:
  290. [id(1), helpstring("Notifies the client about resizing change")] void OnResize([in]long lWidth, [in]long lHeight, [in]long lCode);
  291. [id(2), helpstring("OnClick")] void OnClick();
  292. [id(3), helpstring("OnHelp")] void OnHelp([in]BSTR strObjectID, [in, defaultvalue("")] BSTR strExtraInfo);
  293. [id(4), helpstring("OnKeyUp")] void OnKeyUp([in]LONG lVirtKey, [in]LONG lKeyData);
  294. [id(5), helpstring("OnKeyDown")] void OnKeyDown([in]LONG lVirtKey, [in]LONG lKeyData);
  295. [id(6), helpstring("ActivityDeclined")] void ActivityDeclined();
  296. [id(7), helpstring("ActivityStarted")] void ActivityStarted();
  297. [id(8), helpstring("Timeout")] void Timeout([in]LONG lTimerID);
  298. [id(9), helpstring("OnDblClick")] void OnDblClick();
  299. [id(10), helpstring("OnSysKeyUp")] void OnSysKeyUp([in]LONG lVirtKey, [in]LONG lKeyData);
  300. [id(11), helpstring("OnSysKeyDown")] void OnSysKeyDown([in]LONG lVirtKey, [in]LONG lKeyData);
  301. [id(DISPID_READYSTATECHANGE), helpstring("Reports that the ReadyState property of the ActiveMovie Control has changed")] void ReadyStateChange([in] LONG ReadyState); // Should be using READYSTATE but ATL does not like it much
  302. };
  303. [
  304. uuid(13832181-50FD-4D8D-86C3-0139644E0706),
  305. helpstring("MSMFBar Class")
  306. ]
  307. coclass MSMFBar
  308. {
  309. [default] interface IMSMFBar;
  310. [default, source] interface _IMSMFBar;
  311. };
  312. [
  313. uuid(a391ed89-b4a6-453b-8ea5-d529af4b5770),
  314. helpstring("Event interface for button control")
  315. ]
  316. dispinterface _IMSMFBBtn
  317. {
  318. properties:
  319. // Event interface has no properties
  320. methods:
  321. [id(1), helpstring("OnClick")] void OnClick();
  322. //[id(2), helpstring("OnHelp")] void OnHelp();
  323. };
  324. [
  325. uuid(7A136DD3-BEBE-47BE-B6D9-E2CC7F816D43),
  326. helpstring("MSMFBBtn Class")
  327. ]
  328. coclass MSMFBBtn
  329. {
  330. [default] interface IMSMFBBtn;
  331. [default, source] interface _IMSMFBBtn;
  332. };
  333. [
  334. uuid(34734599-9B11-4456-A607-F906485C31D7),
  335. helpstring("MSMFImg Class")
  336. ]
  337. coclass MSMFImg
  338. {
  339. [default] interface IMSMFImg;
  340. };
  341. [
  342. uuid(823c1403-53dd-4e82-ba17-5c4afabc9026),
  343. helpstring("_IMSMFSldr Interface")
  344. ]
  345. dispinterface _IMSMFSldr
  346. {
  347. properties:
  348. methods:
  349. [id(1), helpstring("OnClick")] void OnClick();
  350. [id(2), helpstring("OnHelp")] void OnValueChange([in]FLOAT flNewVal);
  351. [id(3), helpstring("OnMouseDown")] void OnMouseDown();
  352. [id(4), helpstring("OnMouseUp")] void OnMouseUp();
  353. };
  354. [
  355. uuid(E2909DE3-0EE0-46E6-9258-E1CFE5AC73F9),
  356. helpstring("MSMFSldr Class")
  357. ]
  358. coclass MSMFSldr
  359. {
  360. [default] interface IMSMFSldr;
  361. [default, source] interface _IMSMFSldr;
  362. };
  363. [
  364. uuid(4981b0dd-5f02-41f0-acff-4617d9c25b45),
  365. helpstring("_IMSMFTextEvents Interface")
  366. ]
  367. dispinterface _IMSMFText
  368. {
  369. properties:
  370. methods:
  371. [id(1), helpstring("OnClick")] void OnClick();
  372. };
  373. [
  374. uuid(F2A6C42D-5515-4013-85F4-1EC3D33950DA),
  375. helpstring("MSMFText Class")
  376. ]
  377. coclass MSMFText
  378. {
  379. [default] interface IMSMFText;
  380. [default, source] dispinterface _IMSMFText;
  381. };
  382. };
  383. /*************************************************************************/
  384. /* End of file: MSMFCnt.idl */
  385. /*************************************************************************/