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.

465 lines
29 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. typedef enum {
  22. NORMAL = 0,
  23. CUSTOM_CONTAINER = 1,
  24. MAINTAIN_ASPECT_RATIO = 2
  25. } StretchType;
  26. [
  27. object,
  28. uuid(54B56DEC-639B-4D6C-9266-583A8E5BF7A4),
  29. dual,
  30. helpstring("IMSMFBar Interface"),
  31. pointer_default(unique)
  32. ]
  33. interface IMSMFBar : IDispatch
  34. {
  35. [id(1), helpstring("method Load - loads up the script")] HRESULT Load();
  36. [id(2), helpstring("method Run - executes specific method")] HRESULT Run([in] BSTR strStatement);
  37. [id(3), helpstring("method About - displayes about box")] HRESULT About();
  38. [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);
  39. [id(5), helpstring("method AddScriplet")] HRESULT AddScriptlet([in]BSTR strObjectID, [in]BSTR strEvent, [in]BSTR strEventCode);
  40. [id(6), helpstring("method AddObject")] HRESULT AddObject([in]BSTR strObjectID, [in]LPDISPATCH pDisp);
  41. [id(7), helpstring("method GetObjectUnknown")] HRESULT GetObjectUnknown([in]BSTR strObjectID, [out,retval] IUnknown** ppUnk);
  42. [id(8), helpstring("method EnableObject")] HRESULT EnableObject([in]BSTR strObjectID, [in]VARIANT_BOOL fEnable);
  43. [propget, id(9), helpstring("property ScriptLanguage")] HRESULT ScriptLanguage([out, retval]BSTR *pVal);
  44. [propput, id(9), helpstring("property ScriptLanguage")] HRESULT ScriptLanguage([in] BSTR newVal);
  45. [propget, id(10), helpstring("property ScriptFile")] HRESULT ScriptFile([out, retval] BSTR *pVal);
  46. [propput, id(10), helpstring("property ScriptFile")] HRESULT ScriptFile([in]BSTR newVal);
  47. [id(11), helpstring("method ObjectEnabled")] HRESULT ObjectEnabled([in]BSTR strObjectID, [out, retval]VARIANT_BOOL* pfEnabled);
  48. [id(12), helpstring("method SetupSelfSite")] HRESULT SetupSelfSite([in]long lx, [in]long ly, [in]long lWitdh, [in]long lHeight, [in]BSTR strPropBag,
  49. [in, defaultvalue(0)] VARIANT_BOOL fDisabled, [in, defaultvalue(-1)] VARIANT_BOOL fHelpDisabled, [in, defaultvalue(0)] VARIANT_BOOL fWindowDisabled);
  50. [id(13), helpstring("method DestroyScriptEngine")] HRESULT DestroyScriptEngine();
  51. [id(14), helpstring("method HookScriptlet")] HRESULT HookScriptlet([in]BSTR strObjectID, [in]BSTR strEvent, [in]BSTR strEventCode);
  52. [id(15), helpstring("method SetObjectPosition")] HRESULT SetObjectPosition([in]BSTR strObjectID, [in]long xPos, [in]long yPos, [in]long lWidth, [in]long lHeight);
  53. [propget, id(16), helpstring("property MinWidth")] HRESULT MinWidth([out, retval] long *pVal);
  54. [propput, id(16), helpstring("property MinWidth")] HRESULT MinWidth([in] long newVal);
  55. [propget, id(17), helpstring("property MinHeight")] HRESULT MinHeight([out, retval] long *pVal);
  56. [propput, id(17), helpstring("property MinHeight")] HRESULT MinHeight([in] long newVal);
  57. [id(18), helpstring("method WinHelp")] HRESULT WinHelp([in]BSTR strHelpFile, [in]long lCommand, [in]long dwData);
  58. [propget, id(19), helpstring("property BackgroundImage")] HRESULT BackgroundImage([out, retval] BSTR *pVal);
  59. [propput, id(19), helpstring("property BackgroundImage")] HRESULT BackgroundImage([in] BSTR newVal);
  60. [propget, id(20), helpstring("property TransparentBlit")] HRESULT TransparentBlit([out, retval] TransparentBlitType *pVal);
  61. [propput, id(20), helpstring("property TransparentBlit")] HRESULT TransparentBlit([in] TransparentBlitType newVal);
  62. [id(21), helpstring("method ShowSelfSite")] HRESULT ShowSelfSite(long nCmd);
  63. [id(22), helpstring("method Close")] HRESULT Close();
  64. [id(23), helpstring("method SetPriority")] HRESULT SetPriority([in]long lPriority);
  65. [id(24), helpstring("method SetPriorityClass")] HRESULT SetPriorityClass([in]long lPriorityClass);
  66. [propget, id(25), helpstring("property AutoLoad")] HRESULT AutoLoad([out, retval] VARIANT_BOOL *pVal);
  67. [propput, id(25), helpstring("property AutoLoad")] HRESULT AutoLoad([in] VARIANT_BOOL newVal);
  68. //[id(16), helpstring("method GetObjectPosition")] HRESULT GetObjectPosition([in]BSTR strObjectID, [out]long* xPos, [out]long* yPos, [out]long* lWidth, [out]long* lHeight);
  69. [id(26), helpstring("SetRoundRectRgn")] HRESULT SetRoundRectRgn([in]long x1, [in]long y1, [in]long x2, [in]long y2, [in]long width, [in]long height);
  70. [id(27), helpstring("SetRectRgn")] HRESULT SetRectRgn([in]long x1, [in]long y1, [in]long x2, [in]long y2);
  71. [id(28), helpstring("method SetObjectFocus")] HRESULT SetObjectFocus([in]BSTR strObjectID, [in]VARIANT_BOOL fEnable);
  72. [id(29), helpstring("method ForceKey")]HRESULT ForceKey([in]LONG lVirtKey, [in]LONG lKeyData, [in, defaultvalue(0)] VARIANT_BOOL fEat);
  73. [id(30), helpstring("method MessageBox")] HRESULT MessageBox(BSTR strText, BSTR strCaption, [in, defaultvalue(0)]long lType);
  74. [id(31), helpstring("method SetObjectExtent")] HRESULT SetObjectExtent(BSTR strID, long lWidth, long lHeight);
  75. [propget, id(32), helpstring("property ResourceDLL")] HRESULT ResourceDLL([out, retval] BSTR *pVal);
  76. [propput, id(32), helpstring("property ResourceDLL")] HRESULT ResourceDLL([in] BSTR newVal);
  77. [propget, id(33), helpstring("property ActivityTimeout")] HRESULT ActivityTimeout([out, retval] long *pVal);
  78. [propput, id(33), helpstring("property ActivityTimeout")] HRESULT ActivityTimeout([in] long newVal);
  79. [id(34), helpstring("method SetTimeout")] HRESULT SetTimeout([in]long lMilliseconds, [in, defaultvalue(1)]long lId);
  80. [id(35), helpstring("method Sleep")] HRESULT Sleep([in]long lMiliseconds);
  81. [propget, id(36), helpstring("property CmdLine")] HRESULT CmdLine([out, retval] BSTR *pVal);
  82. [propput, id(36), helpstring("property CmdLine")] HRESULT CmdLine([in] BSTR newVal);
  83. [id(37), helpstring("method AddFocusObject")] HRESULT AddFocusObject(BSTR strObjectID);
  84. [id(38), helpstring("method ResetFocusArray")] HRESULT ResetFocusArray();
  85. [id(39), helpstring("method ResetFocusArray")] HRESULT GetUserLCID([out, retval]long* pLcid);
  86. [id(40), helpstring("method HasObjectFocus")] HRESULT HasObjectFocus([in]BSTR strObjectID,[out, retval] VARIANT_BOOL* pfFocus);
  87. [id(41), helpstring("method InvalidateObjectRect")] HRESULT InvalidateObjectRect([in]BSTR strObjectID);
  88. [id(42), helpstring("method Invalidate")] HRESULT Invalidate();
  89. [id(43), helpstring("method BitsPerPixel")] HRESULT BitsPerPixel([out, retval] long* plBits);
  90. [id(44), helpstring("method EnableObjectInput")] HRESULT EnableObjectInput([in]BSTR strObjectID, [in]VARIANT_BOOL fEnable);
  91. [id(45), helpstring("method ObjectInputEnabled")] HRESULT ObjectInputEnabled([in]BSTR strObjectID, [out, retval]VARIANT_BOOL* pfEnabled);
  92. [id(46), helpstring("method HasObjectCapture")] HRESULT HasObjectCapture([in]BSTR strObjectID, [out, retval] VARIANT_BOOL* pfEnable);
  93. [id(47), helpstring("method PopupSystemMenu")] HRESULT PopupSystemMenu([in, defaultvalue(-1)] long x, [in, defaultvalue(-1)] long y);
  94. [id(48), helpstring("method ProcessMessages")] HRESULT ProcessMessages();
  95. [id(49), helpstring("method SaveSelfHostState")] HRESULT SaveSelfHostState([in]BSTR strAppName);
  96. [id(50), helpstring("method RestoreSelfHostState")] HRESULT RestoreSelfHostState([in]BSTR strAppName);
  97. [id(51), helpstring("method SaveSelfHostUserData")] HRESULT SaveSelfHostUserData([in]BSTR strAppName, [in]long lData);
  98. [id(52), helpstring("method GetSelfHostUserData")] HRESULT GetSelfHostUserData([in]BSTR strAppName, [out, retval]long* lData);
  99. [id(53), helpstring("method HTMLHelp")] HRESULT HTMLHelp([in]BSTR strHelpFile, [in]long lCommand, [in]VARIANT vData);
  100. [propget, id(54), helpstring("property DoubleClickTime")] HRESULT DoubleClickTime([out, retval] long *pVal);
  101. [id(55), helpstring("SetCookie")] HRESULT SetCookie([in]BSTR strObjectID, [in]VARIANT vCookie);
  102. [id(56), helpstring("GetCookie")] HRESULT GetCookie([in]BSTR strObjectID, [out, retval] VARIANT *pvCookie);
  103. [propput, id(DISPID_BACKCOLOR)] HRESULT BackColor([in]OLE_COLOR clr);
  104. [propget, id(DISPID_BACKCOLOR)] HRESULT BackColor([out,retval]OLE_COLOR* pclr);
  105. [propput, id(DISPID_HWND)] HRESULT Window([in]long hwnd);
  106. //BUGBUG if we are to ship 64bit verion of the dll, we have to have a
  107. //different GUID, since the interface is essentially different
  108. #ifdef _WIN64
  109. [propget, id(DISPID_HWND)] HRESULT Window([out,retval]LONG_PTR* pHwnd);
  110. #else
  111. [propget, id(DISPID_HWND)] HRESULT Window([out,retval]long* pHwnd);
  112. #endif
  113. [propput, id(DISPID_CAPTION)]HRESULT Caption([in]BSTR strCaption);
  114. [propget, id(DISPID_CAPTION)]HRESULT Caption([out,retval]BSTR* pstrCaption);
  115. [propget, id(DISPID_READYSTATE)] HRESULT ReadyState([out, retval] LONG *pVal);
  116. };
  117. [
  118. object,
  119. uuid(A43B9418-A9BC-4888-97D5-48717A3D2FE0),
  120. dual,
  121. helpstring("IMSMFBBtn Interface"),
  122. pointer_default(unique)
  123. ]
  124. interface IMSMFBBtn : IDispatch
  125. {
  126. [propget, id(1), helpstring("property ImageStatic")] HRESULT ImageStatic([out, retval] BSTR *pVal);
  127. [propput, id(1), helpstring("property ImageStatic")] HRESULT ImageStatic([in] BSTR newVal);
  128. [propget, id(2), helpstring("property ImageHover")] HRESULT ImageHover([out, retval] BSTR *pVal);
  129. [propput, id(2), helpstring("property ImageHover")] HRESULT ImageHover([in] BSTR newVal);
  130. [propget, id(3), helpstring("property ImagePush")] HRESULT ImagePush([out, retval] BSTR *pVal);
  131. [propput, id(3), helpstring("property ImagePush")] HRESULT ImagePush([in] BSTR newVal);
  132. [propget, id(4), helpstring("property TransparentBlit")] HRESULT TransparentBlit([out, retval] TransparentBlitType *pVal);
  133. [propput, id(4), helpstring("property TransparentBlit")] HRESULT TransparentBlit([in] TransparentBlitType newVal);
  134. [id(5), helpstring("method AboutBox")] HRESULT About();
  135. [propget, id(6), helpstring("property Disble")] HRESULT Disable([out, retval] VARIANT_BOOL *pVal);
  136. [propput, id(6), helpstring("property Disable")] HRESULT Disable([in] VARIANT_BOOL newVal);
  137. [propget, id(7), helpstring("property BtnState")] HRESULT BtnState([out, retval] long *pVal);
  138. [propput, id(7), helpstring("property BtnState")] HRESULT BtnState([in] long newVal);
  139. [propget, id(9), helpstring("property ToolTip")] HRESULT ToolTip([out, retval] BSTR *pVal);
  140. [propput, id(9), helpstring("property ToolTip")] HRESULT ToolTip([in] BSTR newVal);
  141. [id(10), helpstring("method GetDelayTime")] HRESULT GetDelayTime([in]long delayType, [out, retval] long *pVal);
  142. [id(11), helpstring("method SetDelayTime")] HRESULT SetDelayTime([in]long delayType, [in] long newVal);
  143. [propget, id(12), helpstring("property ToolTipMaxWidth")] HRESULT ToolTipMaxWidth([out, retval] long *pVal);
  144. [propput, id(12), helpstring("property ToolTipMaxWidth")] HRESULT ToolTipMaxWidth([in] long newVal);
  145. [propget, id(13), helpstring("property ResourceDLL")] HRESULT ResourceDLL([out, retval] BSTR *pVal);
  146. [propput, id(13), helpstring("property ResourceDLL")] HRESULT ResourceDLL([in] BSTR newVal);
  147. [propget, id(14), helpstring("property ImageDisabled")] HRESULT ImageDisabled([out, retval] BSTR *pVal);
  148. [propput, id(14), helpstring("property ImageDisabled")] HRESULT ImageDisabled([in] BSTR newVal);
  149. [propget, id(15), helpstring("property ImageActive")] HRESULT ImageActive([out, retval] BSTR *pVal);
  150. [propput, id(15), helpstring("property ImageActive")] HRESULT ImageActive([in] BSTR newVal);
  151. [propget, id(16), helpstring("property FontSize")] HRESULT FontSize([out, retval] long *pVal);
  152. [propput, id(16), helpstring("property FontSize")] HRESULT FontSize([in] long newVal);
  153. [propget, id(17), helpstring("property Text")] HRESULT Text([out, retval] BSTR *pVal);
  154. [propput, id(17), helpstring("property Text")] HRESULT Text([in] BSTR newVal);
  155. [propget, id(18), helpstring("property FontFace")] HRESULT FontFace([out, retval] BSTR *pVal);
  156. [propput, id(18), helpstring("property FontFace")] HRESULT FontFace([in] BSTR newVal);
  157. [propget, id(19), helpstring("property FontStyle")] HRESULT FontStyle([out, retval] BSTR *pVal);
  158. [propput, id(19), helpstring("property FontStyle")] HRESULT FontStyle([in] BSTR newVal);
  159. [propget, id(20), helpstring("property Windowless")] HRESULT Windowless([out, retval] VARIANT_BOOL *pVal);
  160. [propput, id(20), helpstring("property Windowless")] HRESULT Windowless([in] VARIANT_BOOL newVal);
  161. [propput, id(DISPID_BACKCOLOR)] HRESULT BackColor([in]OLE_COLOR clr);
  162. [propget, id(DISPID_BACKCOLOR)] HRESULT BackColor([out,retval]OLE_COLOR* pclr);
  163. [propget, id(21), helpstring("property ColorPush")] HRESULT ColorPush([out, retval] OLE_COLOR *pVal);
  164. [propput, id(21), helpstring("property ColorPush")] HRESULT ColorPush([in] OLE_COLOR newVal);
  165. [propget, id(22), helpstring("property ColorHover")] HRESULT ColorHover([out, retval] OLE_COLOR *pVal);
  166. [propput, id(22), helpstring("property ColorHover")] HRESULT ColorHover([in] OLE_COLOR newVal);
  167. [propget, id(23), helpstring("property ColorStatic")] HRESULT ColorStatic([out, retval] OLE_COLOR *pVal);
  168. [propput, id(23), helpstring("property ColorStatic")] HRESULT ColorStatic([in] OLE_COLOR newVal);
  169. [propget, id(24), helpstring("property ColorDisable")] HRESULT ColorDisable([out, retval] OLE_COLOR *pVal);
  170. [propput, id(24), helpstring("property ColorDisable")] HRESULT ColorDisable([in] OLE_COLOR newVal);
  171. [propget, id(25), helpstring("property ColorActive")] HRESULT ColorActive([out, retval] OLE_COLOR *pVal);
  172. [propput, id(25), helpstring("property ColorActive")] HRESULT ColorActive([in] OLE_COLOR newVal);
  173. [propget, id(26), helpstring("property TextWidth")] HRESULT TextWidth([out, retval] long *pVal);
  174. [propget, id(27), helpstring("property TextHeight")] HRESULT TextHeight([out, retval] long *pVal);
  175. [propget, id(28), helpstring("property ToolTipTracking")] HRESULT ToolTipTracking([out, retval] VARIANT_BOOL *pVal);
  176. [propput, id(28), helpstring("property ToolTipTracking")] HRESULT ToolTipTracking([in] VARIANT_BOOL newVal);
  177. };
  178. [
  179. object,
  180. uuid(B0C2A59F-39FA-4D60-BB1E-EBE409E57BAC),
  181. dual,
  182. helpstring("IMSMFImg Interface"),
  183. pointer_default(unique)
  184. ]
  185. interface IMSMFImg : IDispatch
  186. {
  187. [propput, id(DISPID_BACKCOLOR)]
  188. HRESULT BackColor([in]OLE_COLOR clr);
  189. [propget, id(DISPID_BACKCOLOR)]
  190. HRESULT BackColor([out,retval]OLE_COLOR* pclr);
  191. [propget, id(1), helpstring("property Image")] HRESULT Image([out, retval] BSTR *pVal);
  192. [propput, id(1), helpstring("property Image")] HRESULT Image([in] BSTR newVal);
  193. [propget, id(2), helpstring("property ResourceDLL")] HRESULT ResourceDLL([out, retval] BSTR *pVal);
  194. [propput, id(2), helpstring("property ResourceDLL")] HRESULT ResourceDLL([in] BSTR newVal);
  195. [propget, id(3), helpstring("property Windowless")] HRESULT Windowless([out, retval] VARIANT_BOOL *pVal);
  196. [propput, id(3), helpstring("property Windowless")] HRESULT Windowless([in] VARIANT_BOOL newVal);
  197. [propget, id(4), helpstring("property TransparentBlit")] HRESULT TransparentBlit([out, retval] TransparentBlitType *pVal);
  198. [propput, id(4), helpstring("property TransparentBlit")] HRESULT TransparentBlit([in] TransparentBlitType newVal);
  199. };
  200. [
  201. object,
  202. uuid(845F36EE-5C8D-418A-B4D7-7B5468AEDCCC),
  203. dual,
  204. helpstring("IMSMFSldr Interface"),
  205. pointer_default(unique)
  206. ]
  207. interface IMSMFSldr : IDispatch
  208. {
  209. [propget, id(1), helpstring("property Value")] HRESULT Value([out, retval] float *pVal);
  210. [propput, id(1), helpstring("property Value")] HRESULT Value([in] float newVal);
  211. [propget, id(2), helpstring("property Min")] HRESULT Min([out, retval] float *pVal);
  212. [propput, id(2), helpstring("property Min")] HRESULT Min([in] float newVal);
  213. [propget, id(3), helpstring("property Max")] HRESULT Max([out, retval] float *pVal);
  214. [propput, id(3), helpstring("property Max")] HRESULT Max([in] float newVal);
  215. [propget, id(4), helpstring("property ThumbWidth")] HRESULT ThumbWidth([out, retval] long *pVal);
  216. [propput, id(4), helpstring("property ThumbWidth")] HRESULT ThumbWidth([in] long newVal);
  217. [propget, id(5), helpstring("property ThumbStatic")] HRESULT ThumbStatic([out, retval] BSTR *pVal);
  218. [propput, id(5), helpstring("property ThumbStatic")] HRESULT ThumbStatic([in] BSTR newVal);
  219. [propget, id(6), helpstring("property ThumbHover")] HRESULT ThumbHover([out, retval] BSTR *pVal);
  220. [propput, id(6), helpstring("property ThumbHover")] HRESULT ThumbHover([in] BSTR newVal);
  221. [propget, id(7), helpstring("property ThumbPush")] HRESULT ThumbPush([out, retval] BSTR *pVal);
  222. [propput, id(7), helpstring("property ThumbPush")] HRESULT ThumbPush([in] BSTR newVal);
  223. [propget, id(8), helpstring("property ThumbDisabled")] HRESULT ThumbDisabled([out, retval] BSTR *pVal);
  224. [propput, id(8), helpstring("property ThumbDisabled")] HRESULT ThumbDisabled([in] BSTR newVal);
  225. [propget, id(9), helpstring("property ThumbActive")] HRESULT ThumbActive([out, retval] BSTR *pVal);
  226. [propput, id(9), helpstring("property ThumbActive")] HRESULT ThumbActive([in] BSTR newVal);
  227. [propget, id(10), helpstring("property BackStatic")] HRESULT BackStatic([out, retval] BSTR *pVal);
  228. [propput, id(10), helpstring("property BackStatic")] HRESULT BackStatic([in] BSTR newVal);
  229. [propget, id(11), helpstring("property BackHover")] HRESULT BackHover([out, retval] BSTR *pVal);
  230. [propput, id(11), helpstring("property BackHover")] HRESULT BackHover([in] BSTR newVal);
  231. [propget, id(12), helpstring("property BackPush")] HRESULT BackPush([out, retval] BSTR *pVal);
  232. [propput, id(12), helpstring("property BackPush")] HRESULT BackPush([in] BSTR newVal);
  233. [propget, id(13), helpstring("property BackDisabled")] HRESULT BackDisabled([out, retval] BSTR *pVal);
  234. [propput, id(13), helpstring("property BackDisabled")] HRESULT BackDisabled([in] BSTR newVal);
  235. [propget, id(14), helpstring("property BackActive")] HRESULT BackActive([out, retval] BSTR *pVal);
  236. [propput, id(14), helpstring("property BackActive")] HRESULT BackActive([in] BSTR newVal);
  237. [propget, id(15), helpstring("property SldrState")] HRESULT SldrState([out, retval] long *pVal);
  238. [propput, id(15), helpstring("property SldrState")] HRESULT SldrState([in] long newVal);
  239. [propget, id(16), helpstring("property Disable")] HRESULT Disable([out, retval] VARIANT_BOOL *pVal);
  240. [propput, id(16), helpstring("property Disable")] HRESULT Disable([in] VARIANT_BOOL newVal);
  241. [propget, id(17), helpstring("property XOffset")] HRESULT XOffset([out, retval] long *pVal);
  242. [propput, id(17), helpstring("property XOffset")] HRESULT XOffset([in] long newVal);
  243. [propget, id(18), helpstring("property YOffset")] HRESULT YOffset([out, retval] long *pVal);
  244. [propput, id(18), helpstring("property YOffset")] HRESULT YOffset([in] long newVal);
  245. [propput, id(DISPID_BACKCOLOR)] HRESULT BackColor([in]OLE_COLOR clr);
  246. [propget, id(DISPID_BACKCOLOR)] HRESULT BackColor([out,retval]OLE_COLOR* pclr);
  247. [propget, id(19), helpstring("property ResourceDLL")] HRESULT ResourceDLL([out, retval] BSTR *pVal);
  248. [propput, id(19), helpstring("property ResourceDLL")] HRESULT ResourceDLL([in] BSTR newVal);
  249. [propget, id(20), helpstring("property Windowless")] HRESULT Windowless([out, retval] VARIANT_BOOL *pVal);
  250. [propput, id(20), helpstring("property Windowless")] HRESULT Windowless([in] VARIANT_BOOL newVal);
  251. [propget, id(21), helpstring("property ArrowKeyIncrement")] HRESULT ArrowKeyIncrement([out, retval] FLOAT *pVal);
  252. [propput, id(21), helpstring("property ArrowKeyIncrement")] HRESULT ArrowKeyIncrement([in] FLOAT newVal);
  253. [propget, id(22), helpstring("property ArrowKeyDecrement")] HRESULT ArrowKeyDecrement([out, retval] float *pVal);
  254. [propput, id(22), helpstring("property ArrowKeyDecrement")] HRESULT ArrowKeyDecrement([in] float newVal);
  255. [propget, id(23), helpstring("property ToolTip")] HRESULT ToolTip([out, retval] BSTR *pVal);
  256. [propput, id(23), helpstring("property ToolTip")] HRESULT ToolTip([in] BSTR newVal);
  257. [id(24), helpstring("method GetDelayTime")] HRESULT GetDelayTime([in]long delayType, [out, retval] long *pVal);
  258. [id(25), helpstring("method SetDelayTime")] HRESULT SetDelayTime([in]long delayType, [in] long newVal);
  259. [propget, id(26), helpstring("property ToolTipMaxWidth")] HRESULT ToolTipMaxWidth([out, retval] long *pVal);
  260. [propput, id(26), helpstring("property ToolTipMaxWidth")] HRESULT ToolTipMaxWidth([in] long newVal);
  261. [propget, id(28), helpstring("property ToolTipTracking")] HRESULT ToolTipTracking([out, retval] VARIANT_BOOL *pVal);
  262. [propput, id(28), helpstring("property ToolTipTracking")] HRESULT ToolTipTracking([in] VARIANT_BOOL newVal);
  263. };
  264. [
  265. object,
  266. uuid(5DB6854E-5CA4-4756-BE2F-DD31CE5DF0ED),
  267. dual,
  268. helpstring("IMSMFText Interface"),
  269. pointer_default(unique)
  270. ]
  271. interface IMSMFText : IDispatch
  272. {
  273. [propput, id(DISPID_BACKCOLOR)]
  274. HRESULT BackColor([in]OLE_COLOR clr);
  275. [propget, id(DISPID_BACKCOLOR)]
  276. HRESULT BackColor([out,retval]OLE_COLOR* pclr);
  277. [propget, id(1), helpstring("property FontSize")] HRESULT FontSize([out, retval] long *pVal);
  278. [propput, id(1), helpstring("property FontSize")] HRESULT FontSize([in] long newVal);
  279. [propget, id(2), helpstring("property Text")] HRESULT Text([out, retval] BSTR *pVal);
  280. [propput, id(2), helpstring("property Text")] HRESULT Text([in] BSTR newVal);
  281. [propget, id(3), helpstring("property FontFace")] HRESULT FontFace([out, retval] BSTR *pVal);
  282. [propput, id(3), helpstring("property FontFace")] HRESULT FontFace([in] BSTR newVal);
  283. [propget, id(4), helpstring("property FontStyle")] HRESULT FontStyle([out, retval] BSTR *pVal);
  284. [propput, id(4), helpstring("property FontStyle")] HRESULT FontStyle([in] BSTR newVal);
  285. [propget, id(5), helpstring("property ColorPush")] HRESULT ColorPush([out, retval] OLE_COLOR *pVal);
  286. [propput, id(5), helpstring("property ColorPush")] HRESULT ColorPush([in] OLE_COLOR newVal);
  287. [propget, id(6), helpstring("property ColorHover")] HRESULT ColorHover([out, retval] OLE_COLOR *pVal);
  288. [propput, id(6), helpstring("property ColorHover")] HRESULT ColorHover([in] OLE_COLOR newVal);
  289. [propget, id(7), helpstring("property ColorStatic")] HRESULT ColorStatic([out, retval] OLE_COLOR *pVal);
  290. [propput, id(7), helpstring("property ColorStatic")] HRESULT ColorStatic([in] OLE_COLOR newVal);
  291. [propget, id(8), helpstring("property ColorDisable")] HRESULT ColorDisable([out, retval] OLE_COLOR *pVal);
  292. [propput, id(8), helpstring("property ColorDisable")] HRESULT ColorDisable([in] OLE_COLOR newVal);
  293. [propget, id(9), helpstring("property ColorActive")] HRESULT ColorActive([out, retval] OLE_COLOR *pVal);
  294. [propput, id(9), helpstring("property ColorActive")] HRESULT ColorActive([in] OLE_COLOR newVal);
  295. [propget, id(10), helpstring("property TextState")] HRESULT TextState([out, retval] long *pVal);
  296. [propput, id(10), helpstring("property TextState")] HRESULT TextState([in] long newVal);
  297. [propget, id(11), helpstring("property Disable")] HRESULT Disable([out, retval] VARIANT_BOOL *pVal);
  298. [propput, id(11), helpstring("property Disable")] HRESULT Disable([in] VARIANT_BOOL newVal);
  299. [propget, id(12), helpstring("property ResourceDLL")] HRESULT ResourceDLL([out, retval] BSTR *pVal);
  300. [propput, id(12), helpstring("property ResourceDLL")] HRESULT ResourceDLL([in] BSTR newVal);
  301. [propget, id(13), helpstring("property TextAlignment")] HRESULT TextAlignment([out, retval] BSTR *pVal);
  302. [propput, id(13), helpstring("property TextAlignment")] HRESULT TextAlignment([in] BSTR newVal);
  303. [propget, id(14), helpstring("property EdgeStyle")] HRESULT EdgeStyle([out, retval] BSTR *pVal);
  304. [propput, id(14), helpstring("property EdgeStyle")] HRESULT EdgeStyle([in] BSTR newVal);
  305. [propget, id(15), helpstring("property TextWidth")] HRESULT TextWidth([out, retval] long *pVal);
  306. [propget, id(16), helpstring("property TextHeight")] HRESULT TextHeight([out, retval] long *pVal);
  307. [propget, id(17), helpstring("property TransparentText")] HRESULT TransparentText([out, retval] VARIANT_BOOL *pVal);
  308. [propput, id(17), helpstring("property TransparentText")] HRESULT TransparentText([in] VARIANT_BOOL newVal);
  309. [propget, id(18), helpstring("property Windowless")] HRESULT Windowless([out, retval] VARIANT_BOOL *pVal);
  310. [propput, id(18), helpstring("property Windowless")] HRESULT Windowless([in] VARIANT_BOOL newVal);
  311. };
  312. [
  313. uuid(A9AB5886-CF9C-43FD-8BF1-942F0CDA5BB5),
  314. version(1.0),
  315. helpstring("MSMFCnt 1.0 Type Library")
  316. ]
  317. library MSMFCNTLib
  318. {
  319. importlib("stdole2.tlb");
  320. [uuid(681537db-4c4e-434a-9bb9-df8083387731),
  321. helpstring("Event interface for MSMFBar control") ]
  322. dispinterface _IMSMFBar
  323. {
  324. properties:
  325. // Event interface has no properties
  326. methods:
  327. [id(1), helpstring("OnClick")] void OnClick();
  328. [id(2), helpstring("OnMouseDown")] void OnMouseDown();
  329. [id(3), helpstring("OnMouseUp")] void OnMouseUp();
  330. [id(0x10), helpstring("Notifies the client about resizing change")] void OnResize([in]long lWidth, [in]long lHeight, [in]long lCode);
  331. [id(0x11), helpstring("OnHelp")] void OnHelp([in]BSTR strObjectID, [in, defaultvalue("")] BSTR strExtraInfo);
  332. [id(0x12), helpstring("OnKeyUp")] void OnKeyUp([in]LONG lVirtKey, [in]LONG lKeyData);
  333. [id(0x13), helpstring("OnKeyDown")] void OnKeyDown([in]LONG lVirtKey, [in]LONG lKeyData);
  334. [id(0x14), helpstring("ActivityDeclined")] void ActivityDeclined();
  335. [id(0x15), helpstring("ActivityStarted")] void ActivityStarted();
  336. [id(0x16), helpstring("Timeout")] void Timeout([in]LONG lTimerID);
  337. [id(0x17), helpstring("OnDblClick")] void OnDblClick();
  338. [id(0x18), helpstring("OnSysKeyUp")] void OnSysKeyUp([in]LONG lVirtKey, [in]LONG lKeyData);
  339. [id(0x19), helpstring("OnSysKeyDown")] void OnSysKeyDown([in]LONG lVirtKey, [in]LONG lKeyData);
  340. [id(0x1A), helpstring("OnActivate")] void OnActivate(VARIANT_BOOL bActivated);
  341. [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
  342. };
  343. [
  344. uuid(13832181-50FD-4D8D-86C3-0139644E0706),
  345. helpstring("MSMFBar Class")
  346. ]
  347. coclass MSMFBar
  348. {
  349. [default] interface IMSMFBar;
  350. [default, source] interface _IMSMFBar;
  351. };
  352. [
  353. uuid(a391ed89-b4a6-453b-8ea5-d529af4b5770),
  354. helpstring("Event interface for button control")
  355. ]
  356. dispinterface _IMSMFBBtn
  357. {
  358. properties:
  359. // Event interface has no properties
  360. methods:
  361. [id(1), helpstring("OnClick")] void OnClick();
  362. [id(2), helpstring("OnMouseDown")] void OnMouseDown();
  363. [id(3), helpstring("OnMouseUp")] void OnMouseUp();
  364. [id(4), helpstring("OnDblClick")] void OnDblClick();
  365. };
  366. [
  367. uuid(7A136DD3-BEBE-47BE-B6D9-E2CC7F816D43),
  368. helpstring("MSMFBBtn Class")
  369. ]
  370. coclass MSMFBBtn
  371. {
  372. [default] interface IMSMFBBtn;
  373. [default, source] interface _IMSMFBBtn;
  374. };
  375. [
  376. uuid(7bc2133b-34fb-4c4d-8177-0c966d1095c5),
  377. helpstring("_MSMFImg Event Interface")
  378. ]
  379. dispinterface _MSMFImg
  380. {
  381. properties:
  382. methods:
  383. [id(1), helpstring("OnClick")] void OnClick();
  384. [id(2), helpstring("OnMouseDown")] void OnMouseDown();
  385. [id(3), helpstring("OnMouseUp")] void OnMouseUp();
  386. };
  387. [
  388. uuid(34734599-9B11-4456-A607-F906485C31D7),
  389. helpstring("MSMFImg Class")
  390. ]
  391. coclass MSMFImg
  392. {
  393. [default] interface IMSMFImg;
  394. [default, source] interface _MSMFImg;
  395. };
  396. [
  397. uuid(823c1403-53dd-4e82-ba17-5c4afabc9026),
  398. helpstring("_IMSMFSldr Interface")
  399. ]
  400. dispinterface _IMSMFSldr
  401. {
  402. properties:
  403. methods:
  404. [id(1), helpstring("OnClick")] void OnClick();
  405. [id(2), helpstring("OnMouseDown")] void OnMouseDown();
  406. [id(3), helpstring("OnMouseUp")] void OnMouseUp();
  407. [id(4), helpstring("OnValueChange")] void OnValueChange([in]FLOAT flNewVal);
  408. };
  409. [
  410. uuid(E2909DE3-0EE0-46E6-9258-E1CFE5AC73F9),
  411. helpstring("MSMFSldr Class")
  412. ]
  413. coclass MSMFSldr
  414. {
  415. [default] interface IMSMFSldr;
  416. [default, source] interface _IMSMFSldr;
  417. };
  418. [
  419. uuid(4981b0dd-5f02-41f0-acff-4617d9c25b45),
  420. helpstring("_IMSMFTextEvents Interface")
  421. ]
  422. dispinterface _IMSMFText
  423. {
  424. properties:
  425. methods:
  426. [id(1), helpstring("OnClick")] void OnClick();
  427. [id(2), helpstring("OnMouseDown")] void OnMouseDown();
  428. [id(3), helpstring("OnMouseUp")] void OnMouseUp();
  429. };
  430. [
  431. uuid(F2A6C42D-5515-4013-85F4-1EC3D33950DA),
  432. helpstring("MSMFText Class")
  433. ]
  434. coclass MSMFText
  435. {
  436. [default] interface IMSMFText;
  437. [default, source] dispinterface _IMSMFText;
  438. };
  439. };
  440. /*************************************************************************/
  441. /* End of file: MSMFCnt.idl */
  442. /*************************************************************************/