MsHTML.Idl
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:2539k
源码类别:

模拟服务器

开发平台:

C/C++

  1. };
  2. cpp_quote("EXTERN_C const GUID CLSID_FontNames;")
  3. [
  4.     hidden,
  5.     uuid(3050f6bd-98b5-11cf-bb82-00aa00bdce0b)
  6. ]
  7. dispinterface HTMLNamespaceEvents
  8. {
  9. properties:
  10. methods:
  11.     [id(DISPID_HTMLNAMESPACEEVENTS_ONREADYSTATECHANGE)] void onreadystatechange([in] IHTMLEventObj* pEvtObj);
  12. };
  13. [
  14.     odl,
  15.     oleautomation,
  16.     dual,
  17.     uuid(3050f6bb-98b5-11cf-bb82-00aa00bdce0b)
  18. ]
  19. interface IHTMLNamespace : IDispatch
  20. {
  21.     [propget, id(DISPID_IHTMLNAMESPACE_NAME), bindable] HRESULT name([retval, out] BSTR * p);
  22.     [propget, id(DISPID_IHTMLNAMESPACE_URN), bindable] HRESULT urn([retval, out] BSTR * p);
  23.     [propget, id(DISPID_IHTMLNAMESPACE_TAGNAMES), bindable] HRESULT tagNames([retval, out] IDispatch* * p);
  24.     [propget, id(DISPID_IHTMLNAMESPACE_READYSTATE), bindable] HRESULT readyState([retval, out] VARIANT * p);
  25.     [propput, id(DISPID_IHTMLNAMESPACE_ONREADYSTATECHANGE), displaybind, bindable] HRESULT onreadystatechange([in] VARIANT v);
  26.     [propget, id(DISPID_IHTMLNAMESPACE_ONREADYSTATECHANGE), displaybind, bindable] HRESULT onreadystatechange([retval, out] VARIANT * p);
  27.     [id(DISPID_IHTMLNAMESPACE_DOIMPORT)] HRESULT doImport([in] BSTR bstrImplementationUrl);
  28.     [id(DISPID_IHTMLNAMESPACE_ATTACHEVENT)] HRESULT attachEvent([in] BSTR event,[in] IDispatch* pDisp,[retval, out] VARIANT_BOOL* pfResult);
  29.     [id(DISPID_IHTMLNAMESPACE_DETACHEVENT)] HRESULT detachEvent([in] BSTR event,[in] IDispatch* pDisp);
  30. };
  31. [
  32.     odl,
  33.     oleautomation,
  34.     dual,
  35.     uuid(3050f6b8-98b5-11cf-bb82-00aa00bdce0b)
  36. ]
  37. interface IHTMLNamespaceCollection : IDispatch
  38. {
  39.     [propget, id(DISPID_IHTMLNAMESPACECOLLECTION_LENGTH)] HRESULT length([retval, out] long * p);
  40.     [id(DISPID_IHTMLNAMESPACECOLLECTION_ITEM)] HRESULT item([in] VARIANT index,[retval, out] IDispatch** ppNamespace);
  41.     [id(DISPID_IHTMLNAMESPACECOLLECTION_ADD)] HRESULT add([in] BSTR bstrNamespace,[in] BSTR bstrUrn,[optional, in] VARIANT implementationUrl,[retval, out] IDispatch** ppNamespace);
  42. };
  43. [
  44.     uuid(3050f6bc-98b5-11cf-bb82-00aa00bdce0b)
  45. ]
  46. coclass HTMLNamespace
  47. {
  48.     [default]           interface IHTMLNamespace;
  49.     [source, default]   dispinterface HTMLNamespaceEvents;
  50. };
  51. cpp_quote("EXTERN_C const GUID CLSID_CHTMLNamespace;")
  52. [
  53.     uuid(3050f6b9-98b5-11cf-bb82-00aa00bdce0b)
  54. ]
  55. coclass HTMLNamespaceCollection
  56. {
  57.     [default]           interface IHTMLNamespaceCollection;
  58. };
  59. cpp_quote("EXTERN_C const GUID CLSID_CHTMLNamespaceCollection;")
  60. typedef enum _HTML_PAINTER
  61. {
  62.     HTMLPAINTER_OPAQUE = 0x000001,
  63.     HTMLPAINTER_TRANSPARENT = 0x000002,
  64.     HTMLPAINTER_ALPHA = 0x000004,
  65.     HTMLPAINTER_COMPLEX = 0x000008,
  66.     HTMLPAINTER_OVERLAY = 0x000010,
  67.     HTMLPAINTER_HITTEST = 0x000020,
  68.     HTMLPAINTER_SURFACE = 0x000100,
  69.     HTMLPAINTER_3DSURFACE = 0x000200,
  70.     HTMLPAINTER_NOBAND = 0x000400,
  71.     HTMLPAINTER_NODC = 0x001000,
  72.     HTMLPAINTER_NOPHYSICALCLIP = 0x002000,
  73.     HTMLPAINTER_NOSAVEDC = 0x004000,
  74.     HTMLPAINTER_SUPPORTS_XFORM = 0x008000,
  75.     HTMLPAINTER_EXPAND = 0x010000,
  76.     HTMLPAINTER_NOSCROLLBITS = 0x020000,
  77.     HTML_PAINTER_Max = 2147483647L
  78. } HTML_PAINTER;
  79. typedef enum _HTML_PAINT_ZORDER
  80. {
  81.     HTMLPAINT_ZORDER_NONE = 0,
  82.     HTMLPAINT_ZORDER_REPLACE_ALL = 1,
  83.     HTMLPAINT_ZORDER_REPLACE_CONTENT = 2,
  84.     HTMLPAINT_ZORDER_REPLACE_BACKGROUND = 3,
  85.     HTMLPAINT_ZORDER_BELOW_CONTENT = 4,
  86.     HTMLPAINT_ZORDER_BELOW_FLOW = 5,
  87.     HTMLPAINT_ZORDER_ABOVE_FLOW = 6,
  88.     HTMLPAINT_ZORDER_ABOVE_CONTENT = 7,
  89.     HTMLPAINT_ZORDER_WINDOW_TOP = 8,
  90.     HTML_PAINT_ZORDER_Max = 2147483647L
  91. } HTML_PAINT_ZORDER;
  92. typedef enum _HTML_PAINT_DRAW_FLAGS
  93. {
  94.     HTMLPAINT_DRAW_UPDATEREGION = 0x000001,
  95.     HTMLPAINT_DRAW_USE_XFORM = 0x000002,
  96.     HTML_PAINT_DRAW_FLAGS_Max = 2147483647L
  97. } HTML_PAINT_DRAW_FLAGS;
  98. typedef enum _HTML_PAINT_EVENT_FLAGS
  99. {
  100.     HTMLPAINT_EVENT_TARGET = 0x0001,
  101.     HTMLPAINT_EVENT_SETCURSOR = 0x0002,
  102.     HTML_PAINT_EVENT_FLAGS_Max = 2147483647L
  103. } HTML_PAINT_EVENT_FLAGS;
  104. typedef enum _HTML_PAINT_DRAW_INFO_FLAGS
  105. {
  106.     HTMLPAINT_DRAWINFO_VIEWPORT = 0x000001,
  107.     HTMLPAINT_DRAWINFO_UPDATEREGION = 0x000002,
  108.     HTMLPAINT_DRAWINFO_XFORM = 0x000004,
  109.     HTML_PAINT_DRAW_INFO_FLAGS_Max = 2147483647L
  110. } HTML_PAINT_DRAW_INFO_FLAGS;
  111. typedef struct _HTML_PAINTER_INFO
  112. {
  113.     LONG lFlags;
  114.     LONG lZOrder;
  115.     IID iidDrawObject;
  116.     RECT rcExpand;
  117. } HTML_PAINTER_INFO;
  118. typedef struct _HTML_PAINT_XFORM
  119. {
  120.     FLOAT eM11;
  121.     FLOAT eM12;
  122.     FLOAT eM21;
  123.     FLOAT eM22;
  124.     FLOAT eDx;
  125.     FLOAT eDy;
  126. } HTML_PAINT_XFORM;
  127. typedef struct _HTML_PAINT_DRAW_INFO
  128. {
  129.     RECT rcViewport;
  130.     HRGN hrgnUpdate;
  131.     HTML_PAINT_XFORM xform;
  132. } HTML_PAINT_DRAW_INFO;
  133. interface IHTMLPainter;
  134. interface IHTMLPaintSite;
  135. [
  136.     object,
  137.     pointer_default(unique),
  138.     uuid(3050f6a6-98b5-11cf-bb82-00aa00bdce0b)
  139. ]
  140. interface IHTMLPainter : IUnknown
  141. {
  142.     [] HRESULT Draw([in] RECT rcBounds,[in] RECT rcUpdate,[in] LONG lDrawFlags,[in] HDC hdc,[in] LPVOID pvDrawObject);
  143.     [] HRESULT OnResize([in] SIZE size);
  144.     [] HRESULT GetPainterInfo([out] HTML_PAINTER_INFO* pInfo);
  145.     [] HRESULT HitTestPoint([in] POINT pt,[out] BOOL* pbHit,[out] LONG* plPartID);
  146. };
  147. [
  148.     object,
  149.     pointer_default(unique),
  150.     uuid(3050f6df-98b5-11cf-bb82-00aa00bdce0b)
  151. ]
  152. interface IHTMLPainterEventInfo : IUnknown
  153. {
  154.     [] HRESULT GetEventInfoFlags([out] long* plEventInfoFlags);
  155.     [] HRESULT GetEventTarget([in] IHTMLElement** ppElement);
  156.     [] HRESULT SetCursor([in] LONG lPartID);
  157.     [] HRESULT StringFromPartID([in] LONG lPartID,[out] BSTR* pbstrPart);
  158. };
  159. [
  160.     object,
  161.     pointer_default(unique),
  162.     uuid(3050f7e3-98b5-11cf-bb82-00aa00bdce0b)
  163. ]
  164. interface IHTMLPainterOverlay : IUnknown
  165. {
  166.     [] HRESULT OnMove([in] RECT rcDevice);
  167. };
  168. [
  169.     object,
  170.     pointer_default(unique),
  171.     uuid(3050f6a7-98b5-11cf-bb82-00aa00bdce0b)
  172. ]
  173. interface IHTMLPaintSite : IUnknown
  174. {
  175.     [] HRESULT InvalidatePainterInfo();
  176.     [] HRESULT InvalidateRect([in] RECT* prcInvalid);
  177.     [] HRESULT InvalidateRegion([in] HRGN rgnInvalid);
  178.     [] HRESULT GetDrawInfo([in] LONG lFlags,[out] HTML_PAINT_DRAW_INFO* pDrawInfo);
  179.     [] HRESULT TransformGlobalToLocal([in] POINT ptGlobal,[out] POINT* pptLocal);
  180.     [] HRESULT TransformLocalToGlobal([in] POINT ptLocal,[out] POINT* pptGlobal);
  181.     [] HRESULT GetHitTestCookie([out] LONG* plCookie);
  182. };
  183. [
  184.     odl,
  185.     oleautomation,
  186.     dual,
  187.     uuid(3050f6b5-98b5-11cf-bb82-00aa00bdce0b)
  188. ]
  189. interface IHTMLIPrintCollection : IDispatch
  190. {
  191.     [propget, id(DISPID_IHTMLIPRINTCOLLECTION_LENGTH), hidden] HRESULT length([retval, out] long * p);
  192.     [propget, id(DISPID_IHTMLIPRINTCOLLECTION__NEWENUM), hidden, restricted] HRESULT _newEnum([retval, out] IUnknown* * p);
  193.     [id(DISPID_IHTMLIPRINTCOLLECTION_ITEM)] HRESULT item([in] long index,[retval, out] IUnknown** ppIPrint);
  194. };
  195. [
  196.     object,
  197.     pointer_default(unique),
  198.     uuid(3050f844-98b5-11cf-bb82-00aa00bdce0b)
  199. ]
  200. interface IEnumPrivacyRecords : IUnknown
  201. {
  202.     [] HRESULT Reset();
  203.     [] HRESULT GetSize([out] ULONG* pSize);
  204.     [] HRESULT GetPrivacyImpacted([out] BOOL* pState);
  205.     [] HRESULT Next([out] BSTR* pbstrUrl,[out] BSTR* pbstrPolicyRef,[out] LONG* pdwReserved,[out] DWORD* pdwPrivacyFlags);
  206. };
  207. typedef enum _HTMLDlgFlag
  208. {
  209.     HTMLDlgFlagNo = 0,
  210.     HTMLDlgFlagOff = 0,
  211.     HTMLDlgFlag0 = 0,
  212.     HTMLDlgFlagYes = 1,
  213.     HTMLDlgFlagOn = 1,
  214.     HTMLDlgFlag1 = 1,
  215.     HTMLDlgFlagNotSet = -1,
  216.     HTMLDlgFlag_Max = 2147483647L
  217. } HTMLDlgFlag;
  218. typedef enum _HTMLDlgBorder
  219. {
  220.     HTMLDlgBorderThin = 0,
  221.     HTMLDlgBorderThick = 0x00040000L,
  222.     HTMLDlgBorder_Max = 2147483647L
  223. } HTMLDlgBorder;
  224. typedef enum _HTMLDlgEdge
  225. {
  226.     HTMLDlgEdgeSunken = 0,
  227.     HTMLDlgEdgeRaised = 16,
  228.     HTMLDlgEdge_Max = 2147483647L
  229. } HTMLDlgEdge;
  230. typedef enum _HTMLDlgCenter
  231. {
  232.     HTMLDlgCenterNo = 0,
  233.     HTMLDlgCenterOff = 0,
  234.     HTMLDlgCenter0 = 0,
  235.     HTMLDlgCenterYes = 1,
  236.     HTMLDlgCenterOn = 1,
  237.     HTMLDlgCenter1 = 1,
  238.     HTMLDlgCenterParent = 1,
  239.     HTMLDlgCenterDesktop = 2,
  240.     HTMLDlgCenter_Max = 2147483647L
  241. } HTMLDlgCenter;
  242. [
  243.     odl,
  244.     oleautomation,
  245.     dual,
  246.     uuid(3050f216-98b5-11cf-bb82-00aa00bdce0b)
  247. ]
  248. interface IHTMLDialog : IDispatch
  249. {
  250.     [propput, id(DISPID_IHTMLDIALOG_DIALOGTOP), bindable] HRESULT dialogTop([in] VARIANT v);
  251.     [propget, id(DISPID_IHTMLDIALOG_DIALOGTOP), bindable] HRESULT dialogTop([retval, out] VARIANT * p);
  252.     [propput, id(DISPID_IHTMLDIALOG_DIALOGLEFT), bindable] HRESULT dialogLeft([in] VARIANT v);
  253.     [propget, id(DISPID_IHTMLDIALOG_DIALOGLEFT), bindable] HRESULT dialogLeft([retval, out] VARIANT * p);
  254.     [propput, id(DISPID_IHTMLDIALOG_DIALOGWIDTH), bindable] HRESULT dialogWidth([in] VARIANT v);
  255.     [propget, id(DISPID_IHTMLDIALOG_DIALOGWIDTH), bindable] HRESULT dialogWidth([retval, out] VARIANT * p);
  256.     [propput, id(DISPID_IHTMLDIALOG_DIALOGHEIGHT), bindable] HRESULT dialogHeight([in] VARIANT v);
  257.     [propget, id(DISPID_IHTMLDIALOG_DIALOGHEIGHT), bindable] HRESULT dialogHeight([retval, out] VARIANT * p);
  258.     [propget, id(DISPID_IHTMLDIALOG_DIALOGARGUMENTS)] HRESULT dialogArguments([retval, out] VARIANT * p);
  259.     [propget, id(DISPID_IHTMLDIALOG_MENUARGUMENTS)] HRESULT menuArguments([retval, out] VARIANT * p);
  260.     [propput, id(DISPID_IHTMLDIALOG_RETURNVALUE)] HRESULT returnValue([in] VARIANT v);
  261.     [propget, id(DISPID_IHTMLDIALOG_RETURNVALUE)] HRESULT returnValue([retval, out] VARIANT * p);
  262.     [id(DISPID_IHTMLDIALOG_CLOSE)] HRESULT close();
  263.     [id(DISPID_IHTMLDIALOG_TOSTRING)] HRESULT toString([retval, out] BSTR* String);
  264. };
  265. [
  266.     odl,
  267.     oleautomation,
  268.     dual,
  269.     uuid(3050f5e0-98b5-11cf-bb82-00aa00bdce0b)
  270. ]
  271. interface IHTMLDialog2 : IDispatch
  272. {
  273.     [propput, id(DISPID_IHTMLDIALOG2_STATUS), hidden] HRESULT status([in] BSTR v);
  274.     [propget, id(DISPID_IHTMLDIALOG2_STATUS), hidden] HRESULT status([retval, out] BSTR * p);
  275.     [propput, id(DISPID_IHTMLDIALOG2_RESIZABLE), hidden] HRESULT resizable([in] BSTR v);
  276.     [propget, id(DISPID_IHTMLDIALOG2_RESIZABLE), hidden] HRESULT resizable([retval, out] BSTR * p);
  277. };
  278. [
  279.     odl,
  280.     oleautomation,
  281.     dual,
  282.     uuid(3050f388-98b5-11cf-bb82-00aa00bdce0b)
  283. ]
  284. interface IHTMLDialog3 : IDispatch
  285. {
  286.     [propput, id(DISPID_IHTMLDIALOG3_UNADORNED), hidden] HRESULT unadorned([in] BSTR v);
  287.     [propget, id(DISPID_IHTMLDIALOG3_UNADORNED), hidden] HRESULT unadorned([retval, out] BSTR * p);
  288.     [propput, id(DISPID_IHTMLDIALOG3_DIALOGHIDE)] HRESULT dialogHide([in] BSTR v);
  289.     [propget, id(DISPID_IHTMLDIALOG3_DIALOGHIDE)] HRESULT dialogHide([retval, out] BSTR * p);
  290. };
  291. [
  292.     odl,
  293.     oleautomation,
  294.     dual,
  295.     uuid(3050f5e4-98b5-11cf-bb82-00aa00bdce0b)
  296. ]
  297. interface IHTMLModelessInit : IDispatch
  298. {
  299.     [propget, id(DISPID_IHTMLMODELESSINIT_PARAMETERS)] HRESULT parameters([retval, out] VARIANT * p);
  300.     [propget, id(DISPID_IHTMLMODELESSINIT_OPTIONSTRING)] HRESULT optionString([retval, out] VARIANT * p);
  301.     [propget, id(DISPID_IHTMLMODELESSINIT_MONIKER)] HRESULT moniker([retval, out] IUnknown* * p);
  302.     [propget, id(DISPID_IHTMLMODELESSINIT_DOCUMENT)] HRESULT document([retval, out] IUnknown* * p);
  303. };
  304. [
  305.     uuid(3050f5eb-98b5-11cf-bb82-00aa00bdce0b)
  306. ]
  307. coclass ThreadDialogProcParam
  308. {
  309.     [default]           interface IHTMLModelessInit;
  310. };
  311. cpp_quote("EXTERN_C const GUID CLSID_CThreadDialogProcParam;")
  312. [
  313.     uuid(3050f28a-98b5-11cf-bb82-00aa00bdce0b)
  314. ]
  315. coclass HTMLDialog
  316. {
  317.     [default]           interface IHTMLDialog;
  318. };
  319. cpp_quote("EXTERN_C const GUID CLSID_CHTMLDlg;")
  320. [
  321.     odl,
  322.     oleautomation,
  323.     dual,
  324.     uuid(3050f666-98b5-11cf-bb82-00aa00bdce0b)
  325. ]
  326. interface IHTMLPopup : IDispatch
  327. {
  328.     [id(DISPID_IHTMLPOPUP_SHOW)] HRESULT show([in] long x,[in] long y,[in] long w,[in] long h,[in] VARIANT* pElement);
  329.     [id(DISPID_IHTMLPOPUP_HIDE)] HRESULT hide();
  330.     [propget, id(DISPID_IHTMLPOPUP_DOCUMENT)] HRESULT document([retval, out] IHTMLDocument* * p);
  331.     [propget, id(DISPID_IHTMLPOPUP_ISOPEN)] HRESULT isOpen([retval, out] VARIANT_BOOL * p);
  332. };
  333. [
  334.     hidden,
  335.     uuid(3050f589-98b5-11cf-bb82-00aa00bdce0b)
  336. ]
  337. dispinterface DispHTMLPopup
  338. {
  339. properties:
  340. methods:
  341.     [id(DISPID_IHTMLPOPUP_SHOW)] void show([in] long x,[in] long y,[in] long w,[in] long h,[in] VARIANT* pElement);
  342.     [id(DISPID_IHTMLPOPUP_HIDE)] void hide();
  343.     [propget, id(DISPID_IHTMLPOPUP_DOCUMENT)] IHTMLDocument* document();
  344.     [propget, id(DISPID_IHTMLPOPUP_ISOPEN)] VARIANT_BOOL isOpen();
  345. };
  346. [
  347.     uuid(3050f667-98b5-11cf-bb82-00aa00bdce0b)
  348. ]
  349. coclass HTMLPopup
  350. {
  351.     [default]           dispinterface DispHTMLPopup;
  352.                         interface IHTMLPopup;
  353. };
  354. cpp_quote("EXTERN_C const GUID CLSID_CHTMLPopup;")
  355. typedef enum _HTMLAppFlag
  356. {
  357.     HTMLAppFlagNo = 0,
  358.     HTMLAppFlagOff = 0,
  359.     HTMLAppFlag0 = 0,
  360.     HTMLAppFlagYes = 1,
  361.     HTMLAppFlagOn = 1,
  362.     HTMLAppFlag1 = 1,
  363.     HTMLAppFlag_Max = 2147483647L
  364. } HTMLAppFlag;
  365. typedef enum _HTMLMinimizeFlag
  366. {
  367.     HTMLMinimizeFlagNo = 0,
  368.     HTMLMinimizeFlagYes = 0x00020000L,
  369.     HTMLMinimizeFlag_Max = 2147483647L
  370. } HTMLMinimizeFlag;
  371. typedef enum _HTMLMaximizeFlag
  372. {
  373.     HTMLMaximizeFlagNo = 0,
  374.     HTMLMaximizeFlagYes = 0x00010000L,
  375.     HTMLMaximizeFlag_Max = 2147483647L
  376. } HTMLMaximizeFlag;
  377. typedef enum _HTMLCaptionFlag
  378. {
  379.     HTMLCaptionFlagNo = 0,
  380.     HTMLCaptionFlagYes = 0x00C00000L,
  381.     HTMLCaptionFlag_Max = 2147483647L
  382. } HTMLCaptionFlag;
  383. typedef enum _HTMLSysMenuFlag
  384. {
  385.     HTMLSysMenuFlagNo = 0,
  386.     HTMLSysMenuFlagYes = 0x00080000L,
  387.     HTMLSysMenuFlag_Max = 2147483647L
  388. } HTMLSysMenuFlag;
  389. typedef enum _HTMLBorder
  390. {
  391.     HTMLBorderNone = 0,
  392.     HTMLBorderThick = 0x00040000L,
  393.     HTMLBorderDialog = 0x00400000L,
  394.     HTMLBorderThin = 0x00800000L,
  395.     HTMLBorder_Max = 2147483647L
  396. } HTMLBorder;
  397. typedef enum _HTMLBorderStyle
  398. {
  399.     HTMLBorderStyleNormal = 0,
  400.     HTMLBorderStyleRaised = 0x00000100L,
  401.     HTMLBorderStyleSunken = 0x00000200L,
  402.     HTMLBorderStylecombined = 0x00000300L,
  403.     HTMLBorderStyleStatic = 0x00020000L,
  404.     HTMLBorderStyle_Max = 2147483647L
  405. } HTMLBorderStyle;
  406. typedef enum _HTMLWindowState
  407. {
  408.     HTMLWindowStateNormal = 1,
  409.     HTMLWindowStateMaximize = 3,
  410.     HTMLWindowStateMinimize = 6,
  411.     HTMLWindowState_Max = 2147483647L
  412. } HTMLWindowState;
  413. [
  414.     odl,
  415.     oleautomation,
  416.     dual,
  417.     uuid(3050f5ca-98b5-11cf-bb82-00aa00bdce0b)
  418. ]
  419. interface IHTMLAppBehavior : IDispatch
  420. {
  421.     [propput, id(DISPID_IHTMLAPPBEHAVIOR_APPLICATIONNAME)] HRESULT applicationName([in] BSTR v);
  422.     [propget, id(DISPID_IHTMLAPPBEHAVIOR_APPLICATIONNAME)] HRESULT applicationName([retval, out] BSTR * p);
  423.     [propput, id(DISPID_IHTMLAPPBEHAVIOR_VERSION)] HRESULT version([in] BSTR v);
  424.     [propget, id(DISPID_IHTMLAPPBEHAVIOR_VERSION)] HRESULT version([retval, out] BSTR * p);
  425.     [propput, id(DISPID_IHTMLAPPBEHAVIOR_ICON)] HRESULT icon([in] BSTR v);
  426.     [propget, id(DISPID_IHTMLAPPBEHAVIOR_ICON)] HRESULT icon([retval, out] BSTR * p);
  427.     [propput, id(DISPID_IHTMLAPPBEHAVIOR_SINGLEINSTANCE)] HRESULT singleInstance([in] BSTR v);
  428.     [propget, id(DISPID_IHTMLAPPBEHAVIOR_SINGLEINSTANCE)] HRESULT singleInstance([retval, out] BSTR * p);
  429.     [propput, id(DISPID_IHTMLAPPBEHAVIOR_MINIMIZEBUTTON)] HRESULT minimizeButton([in] BSTR v);
  430.     [propget, id(DISPID_IHTMLAPPBEHAVIOR_MINIMIZEBUTTON)] HRESULT minimizeButton([retval, out] BSTR * p);
  431.     [propput, id(DISPID_IHTMLAPPBEHAVIOR_MAXIMIZEBUTTON)] HRESULT maximizeButton([in] BSTR v);
  432.     [propget, id(DISPID_IHTMLAPPBEHAVIOR_MAXIMIZEBUTTON)] HRESULT maximizeButton([retval, out] BSTR * p);
  433.     [propput, id(DISPID_IHTMLAPPBEHAVIOR_BORDER)] HRESULT border([in] BSTR v);
  434.     [propget, id(DISPID_IHTMLAPPBEHAVIOR_BORDER)] HRESULT border([retval, out] BSTR * p);
  435.     [propput, id(DISPID_IHTMLAPPBEHAVIOR_BORDERSTYLE)] HRESULT borderStyle([in] BSTR v);
  436.     [propget, id(DISPID_IHTMLAPPBEHAVIOR_BORDERSTYLE)] HRESULT borderStyle([retval, out] BSTR * p);
  437.     [propput, id(DISPID_IHTMLAPPBEHAVIOR_SYSMENU)] HRESULT sysMenu([in] BSTR v);
  438.     [propget, id(DISPID_IHTMLAPPBEHAVIOR_SYSMENU)] HRESULT sysMenu([retval, out] BSTR * p);
  439.     [propput, id(DISPID_IHTMLAPPBEHAVIOR_CAPTION)] HRESULT caption([in] BSTR v);
  440.     [propget, id(DISPID_IHTMLAPPBEHAVIOR_CAPTION)] HRESULT caption([retval, out] BSTR * p);
  441.     [propput, id(DISPID_IHTMLAPPBEHAVIOR_WINDOWSTATE)] HRESULT windowState([in] BSTR v);
  442.     [propget, id(DISPID_IHTMLAPPBEHAVIOR_WINDOWSTATE)] HRESULT windowState([retval, out] BSTR * p);
  443.     [propput, id(DISPID_IHTMLAPPBEHAVIOR_SHOWINTASKBAR)] HRESULT showInTaskBar([in] BSTR v);
  444.     [propget, id(DISPID_IHTMLAPPBEHAVIOR_SHOWINTASKBAR)] HRESULT showInTaskBar([retval, out] BSTR * p);
  445.     [propget, id(DISPID_IHTMLAPPBEHAVIOR_COMMANDLINE)] HRESULT commandLine([retval, out] BSTR * p);
  446. };
  447. [
  448.     odl,
  449.     oleautomation,
  450.     dual,
  451.     uuid(3050f5c9-98b5-11cf-bb82-00aa00bdce0b)
  452. ]
  453. interface IHTMLAppBehavior2 : IDispatch
  454. {
  455.     [propput, id(DISPID_IHTMLAPPBEHAVIOR2_CONTEXTMENU)] HRESULT contextMenu([in] BSTR v);
  456.     [propget, id(DISPID_IHTMLAPPBEHAVIOR2_CONTEXTMENU)] HRESULT contextMenu([retval, out] BSTR * p);
  457.     [propput, id(DISPID_IHTMLAPPBEHAVIOR2_INNERBORDER)] HRESULT innerBorder([in] BSTR v);
  458.     [propget, id(DISPID_IHTMLAPPBEHAVIOR2_INNERBORDER)] HRESULT innerBorder([retval, out] BSTR * p);
  459.     [propput, id(DISPID_IHTMLAPPBEHAVIOR2_SCROLL)] HRESULT scroll([in] BSTR v);
  460.     [propget, id(DISPID_IHTMLAPPBEHAVIOR2_SCROLL)] HRESULT scroll([retval, out] BSTR * p);
  461.     [propput, id(DISPID_IHTMLAPPBEHAVIOR2_SCROLLFLAT)] HRESULT scrollFlat([in] BSTR v);
  462.     [propget, id(DISPID_IHTMLAPPBEHAVIOR2_SCROLLFLAT)] HRESULT scrollFlat([retval, out] BSTR * p);
  463.     [propput, id(DISPID_IHTMLAPPBEHAVIOR2_SELECTION)] HRESULT selection([in] BSTR v);
  464.     [propget, id(DISPID_IHTMLAPPBEHAVIOR2_SELECTION)] HRESULT selection([retval, out] BSTR * p);
  465. };
  466. [
  467.     odl,
  468.     oleautomation,
  469.     dual,
  470.     uuid(3050f5cd-98b5-11cf-bb82-00aa00bdce0b)
  471. ]
  472. interface IHTMLAppBehavior3 : IDispatch
  473. {
  474.     [propput, id(DISPID_IHTMLAPPBEHAVIOR3_NAVIGABLE)] HRESULT navigable([in] BSTR v);
  475.     [propget, id(DISPID_IHTMLAPPBEHAVIOR3_NAVIGABLE)] HRESULT navigable([retval, out] BSTR * p);
  476. };
  477. [
  478.     hidden,
  479.     uuid(3050f57c-98b5-11cf-bb82-00aa00bdce0b)
  480. ]
  481. dispinterface DispHTMLAppBehavior
  482. {
  483. properties:
  484. methods:
  485.     [propput, id(DISPID_IHTMLAPPBEHAVIOR_APPLICATIONNAME)] void applicationName(BSTR v);
  486.     [propget, id(DISPID_IHTMLAPPBEHAVIOR_APPLICATIONNAME)] BSTR applicationName();
  487.     [propput, id(DISPID_IHTMLAPPBEHAVIOR_VERSION)] void version(BSTR v);
  488.     [propget, id(DISPID_IHTMLAPPBEHAVIOR_VERSION)] BSTR version();
  489.     [propput, id(DISPID_IHTMLAPPBEHAVIOR_ICON)] void icon(BSTR v);
  490.     [propget, id(DISPID_IHTMLAPPBEHAVIOR_ICON)] BSTR icon();
  491.     [propput, id(DISPID_IHTMLAPPBEHAVIOR_SINGLEINSTANCE)] void singleInstance(BSTR v);
  492.     [propget, id(DISPID_IHTMLAPPBEHAVIOR_SINGLEINSTANCE)] BSTR singleInstance();
  493.     [propput, id(DISPID_IHTMLAPPBEHAVIOR_MINIMIZEBUTTON)] void minimizeButton(BSTR v);
  494.     [propget, id(DISPID_IHTMLAPPBEHAVIOR_MINIMIZEBUTTON)] BSTR minimizeButton();
  495.     [propput, id(DISPID_IHTMLAPPBEHAVIOR_MAXIMIZEBUTTON)] void maximizeButton(BSTR v);
  496.     [propget, id(DISPID_IHTMLAPPBEHAVIOR_MAXIMIZEBUTTON)] BSTR maximizeButton();
  497.     [propput, id(DISPID_IHTMLAPPBEHAVIOR_BORDER)] void border(BSTR v);
  498.     [propget, id(DISPID_IHTMLAPPBEHAVIOR_BORDER)] BSTR border();
  499.     [propput, id(DISPID_IHTMLAPPBEHAVIOR_BORDERSTYLE)] void borderStyle(BSTR v);
  500.     [propget, id(DISPID_IHTMLAPPBEHAVIOR_BORDERSTYLE)] BSTR borderStyle();
  501.     [propput, id(DISPID_IHTMLAPPBEHAVIOR_SYSMENU)] void sysMenu(BSTR v);
  502.     [propget, id(DISPID_IHTMLAPPBEHAVIOR_SYSMENU)] BSTR sysMenu();
  503.     [propput, id(DISPID_IHTMLAPPBEHAVIOR_CAPTION)] void caption(BSTR v);
  504.     [propget, id(DISPID_IHTMLAPPBEHAVIOR_CAPTION)] BSTR caption();
  505.     [propput, id(DISPID_IHTMLAPPBEHAVIOR_WINDOWSTATE)] void windowState(BSTR v);
  506.     [propget, id(DISPID_IHTMLAPPBEHAVIOR_WINDOWSTATE)] BSTR windowState();
  507.     [propput, id(DISPID_IHTMLAPPBEHAVIOR_SHOWINTASKBAR)] void showInTaskBar(BSTR v);
  508.     [propget, id(DISPID_IHTMLAPPBEHAVIOR_SHOWINTASKBAR)] BSTR showInTaskBar();
  509.     [propget, id(DISPID_IHTMLAPPBEHAVIOR_COMMANDLINE)] BSTR commandLine();
  510.     [propput, id(DISPID_IHTMLAPPBEHAVIOR2_CONTEXTMENU)] void contextMenu(BSTR v);
  511.     [propget, id(DISPID_IHTMLAPPBEHAVIOR2_CONTEXTMENU)] BSTR contextMenu();
  512.     [propput, id(DISPID_IHTMLAPPBEHAVIOR2_INNERBORDER)] void innerBorder(BSTR v);
  513.     [propget, id(DISPID_IHTMLAPPBEHAVIOR2_INNERBORDER)] BSTR innerBorder();
  514.     [propput, id(DISPID_IHTMLAPPBEHAVIOR2_SCROLL)] void scroll(BSTR v);
  515.     [propget, id(DISPID_IHTMLAPPBEHAVIOR2_SCROLL)] BSTR scroll();
  516.     [propput, id(DISPID_IHTMLAPPBEHAVIOR2_SCROLLFLAT)] void scrollFlat(BSTR v);
  517.     [propget, id(DISPID_IHTMLAPPBEHAVIOR2_SCROLLFLAT)] BSTR scrollFlat();
  518.     [propput, id(DISPID_IHTMLAPPBEHAVIOR2_SELECTION)] void selection(BSTR v);
  519.     [propget, id(DISPID_IHTMLAPPBEHAVIOR2_SELECTION)] BSTR selection();
  520. };
  521. [
  522.     uuid(3050f5cb-98b5-11cf-bb82-00aa00bdce0b)
  523. ]
  524. coclass HTMLAppBehavior
  525. {
  526.     [default]           dispinterface DispHTMLAppBehavior;
  527.                         interface IHTMLAppBehavior;
  528.                         interface IHTMLAppBehavior2;
  529. };
  530. cpp_quote("EXTERN_C const GUID CLSID_CAppBehavior;")
  531. //
  532. // Workaround for IE3 Scripting Wizard - relies on seeing these coclass GUIDS
  533. //
  534. [uuid(D48A6EC9-6A4A-11CF-94A7-444553540000)]
  535. coclass OldHTMLDocument
  536. {
  537. [default] dispinterface DispHTMLDocument;
  538. [source, default] dispinterface HTMLDocumentEvents;
  539. interface IHTMLDocument2;
  540. interface IHTMLDocument3;
  541. };
  542. //
  543. // Workaround for IE3 Scripting Wizard - relies on seeing these coclass GUIDS
  544. //
  545. [uuid(0D04D285-6BEC-11CF-8B97-00AA00476DA6)]
  546. coclass OldHTMLFormElement
  547. {
  548. [default] dispinterface DispHTMLFormElement;
  549. [source, default] dispinterface HTMLFormElementEvents;
  550. interface IHTMLFormElement;
  551. interface IHTMLElement;
  552. interface IHTMLElement2;
  553. };
  554. // the following 5 coclasses and dispinterfaces are needed for backward compatability,
  555. // now that in IE5 all the input elements have been amalgamated into one. VID uses these
  556. // DispIHTMLInputButtonElement,
  557. // DispIHTMLInputTextElement,
  558. // DispIHTMLInputFileElement,
  559. // DispIHTMLOptionButtonElement,
  560. // DispIHTMLInputImage
  561. [
  562. hidden,
  563. uuid(3050f51e-98b5-11cf-bb82-00aa00bdce0b)
  564. ]
  565. dispinterface DispIHTMLInputButtonElement
  566. {
  567. properties:
  568. methods:
  569. [id(DISPID_IHTMLELEMENT_SETATTRIBUTE)] void setAttribute([in] BSTR strAttributeName,[in] VARIANT AttributeValue,[defaultvalue(1), in] LONG lFlags);
  570. [id(DISPID_IHTMLELEMENT_GETATTRIBUTE)] VARIANT getAttribute([in] BSTR strAttributeName,[defaultvalue(0), in] LONG lFlags);
  571. [id(DISPID_IHTMLELEMENT_REMOVEATTRIBUTE)] VARIANT_BOOL removeAttribute([in] BSTR strAttributeName,[defaultvalue(1), in] LONG lFlags);
  572. [propput, id(DISPID_IHTMLELEMENT_CLASSNAME), bindable] void className(BSTR v);
  573. [propget, id(DISPID_IHTMLELEMENT_CLASSNAME), bindable] BSTR className();
  574. [propput, id(DISPID_IHTMLELEMENT_ID), bindable] void id(BSTR v);
  575. [propget, id(DISPID_IHTMLELEMENT_ID), bindable] BSTR id();
  576. [propget, id(DISPID_IHTMLELEMENT_TAGNAME)] BSTR tagName();
  577. [propget, id(DISPID_IHTMLELEMENT_PARENTELEMENT)] IHTMLElement* parentElement();
  578. [propget, id(DISPID_IHTMLELEMENT_STYLE), nonbrowsable] IHTMLStyle* style();
  579. [propput, id(DISPID_IHTMLELEMENT_ONHELP), displaybind, bindable] void onhelp(VARIANT v);
  580. [propget, id(DISPID_IHTMLELEMENT_ONHELP), displaybind, bindable] VARIANT onhelp();
  581. [propput, id(DISPID_IHTMLELEMENT_ONCLICK), displaybind, bindable] void onclick(VARIANT v);
  582. [propget, id(DISPID_IHTMLELEMENT_ONCLICK), displaybind, bindable] VARIANT onclick();
  583. [propput, id(DISPID_IHTMLELEMENT_ONDBLCLICK), displaybind, bindable] void ondblclick(VARIANT v);
  584. [propget, id(DISPID_IHTMLELEMENT_ONDBLCLICK), displaybind, bindable] VARIANT ondblclick();
  585. [propput, id(DISPID_IHTMLELEMENT_ONKEYDOWN), displaybind, bindable] void onkeydown(VARIANT v);
  586. [propget, id(DISPID_IHTMLELEMENT_ONKEYDOWN), displaybind, bindable] VARIANT onkeydown();
  587. [propput, id(DISPID_IHTMLELEMENT_ONKEYUP), displaybind, bindable] void onkeyup(VARIANT v);
  588. [propget, id(DISPID_IHTMLELEMENT_ONKEYUP), displaybind, bindable] VARIANT onkeyup();
  589. [propput, id(DISPID_IHTMLELEMENT_ONKEYPRESS), displaybind, bindable] void onkeypress(VARIANT v);
  590. [propget, id(DISPID_IHTMLELEMENT_ONKEYPRESS), displaybind, bindable] VARIANT onkeypress();
  591. [propput, id(DISPID_IHTMLELEMENT_ONMOUSEOUT), displaybind, bindable] void onmouseout(VARIANT v);
  592. [propget, id(DISPID_IHTMLELEMENT_ONMOUSEOUT), displaybind, bindable] VARIANT onmouseout();
  593. [propput, id(DISPID_IHTMLELEMENT_ONMOUSEOVER), displaybind, bindable] void onmouseover(VARIANT v);
  594. [propget, id(DISPID_IHTMLELEMENT_ONMOUSEOVER), displaybind, bindable] VARIANT onmouseover();
  595. [propput, id(DISPID_IHTMLELEMENT_ONMOUSEMOVE), displaybind, bindable] void onmousemove(VARIANT v);
  596. [propget, id(DISPID_IHTMLELEMENT_ONMOUSEMOVE), displaybind, bindable] VARIANT onmousemove();
  597. [propput, id(DISPID_IHTMLELEMENT_ONMOUSEDOWN), displaybind, bindable] void onmousedown(VARIANT v);
  598. [propget, id(DISPID_IHTMLELEMENT_ONMOUSEDOWN), displaybind, bindable] VARIANT onmousedown();
  599. [propput, id(DISPID_IHTMLELEMENT_ONMOUSEUP), displaybind, bindable] void onmouseup(VARIANT v);
  600. [propget, id(DISPID_IHTMLELEMENT_ONMOUSEUP), displaybind, bindable] VARIANT onmouseup();
  601. [propget, id(DISPID_IHTMLELEMENT_DOCUMENT)] IDispatch* document();
  602. [propput, id(DISPID_IHTMLELEMENT_TITLE), displaybind, bindable] void title(BSTR v);
  603. [propget, id(DISPID_IHTMLELEMENT_TITLE), displaybind, bindable] BSTR title();
  604. [propput, id(DISPID_IHTMLELEMENT_LANGUAGE), displaybind, bindable] void language(BSTR v);
  605. [propget, id(DISPID_IHTMLELEMENT_LANGUAGE), displaybind, bindable] BSTR language();
  606. [propput, id(DISPID_IHTMLELEMENT_ONSELECTSTART), displaybind, bindable] void onselectstart(VARIANT v);
  607. [propget, id(DISPID_IHTMLELEMENT_ONSELECTSTART), displaybind, bindable] VARIANT onselectstart();
  608. [id(DISPID_IHTMLELEMENT_SCROLLINTOVIEW)] void scrollIntoView([optional, in] VARIANT varargStart);
  609. [id(DISPID_IHTMLELEMENT_CONTAINS)] VARIANT_BOOL contains([in] IHTMLElement* pChild);
  610. [propget, id(DISPID_IHTMLELEMENT_SOURCEINDEX), bindable] long sourceIndex();
  611. [propget, id(DISPID_IHTMLELEMENT_RECORDNUMBER)] VARIANT recordNumber();
  612. [propput, id(DISPID_IHTMLELEMENT_LANG)] void lang(BSTR v);
  613. [propget, id(DISPID_IHTMLELEMENT_LANG)] BSTR lang();
  614. [propget, id(DISPID_IHTMLELEMENT_OFFSETLEFT)] long offsetLeft();
  615. [propget, id(DISPID_IHTMLELEMENT_OFFSETTOP)] long offsetTop();
  616. [propget, id(DISPID_IHTMLELEMENT_OFFSETWIDTH)] long offsetWidth();
  617. [propget, id(DISPID_IHTMLELEMENT_OFFSETHEIGHT)] long offsetHeight();
  618. [propget, id(DISPID_IHTMLELEMENT_OFFSETPARENT)] IHTMLElement* offsetParent();
  619. [propput, id(DISPID_IHTMLELEMENT_INNERHTML)] void innerHTML(BSTR v);
  620. [propget, id(DISPID_IHTMLELEMENT_INNERHTML)] BSTR innerHTML();
  621. [propput, id(DISPID_IHTMLELEMENT_INNERTEXT)] void innerText(BSTR v);
  622. [propget, id(DISPID_IHTMLELEMENT_INNERTEXT)] BSTR innerText();
  623. [propput, id(DISPID_IHTMLELEMENT_OUTERHTML)] void outerHTML(BSTR v);
  624. [propget, id(DISPID_IHTMLELEMENT_OUTERHTML)] BSTR outerHTML();
  625. [propput, id(DISPID_IHTMLELEMENT_OUTERTEXT)] void outerText(BSTR v);
  626. [propget, id(DISPID_IHTMLELEMENT_OUTERTEXT)] BSTR outerText();
  627. [id(DISPID_IHTMLELEMENT_INSERTADJACENTHTML)] void insertAdjacentHTML([in] BSTR where,[in] BSTR html);
  628. [id(DISPID_IHTMLELEMENT_INSERTADJACENTTEXT)] void insertAdjacentText([in] BSTR where,[in] BSTR text);
  629. [propget, id(DISPID_IHTMLELEMENT_PARENTTEXTEDIT)] IHTMLElement* parentTextEdit();
  630. [propget, id(DISPID_IHTMLELEMENT_ISTEXTEDIT)] VARIANT_BOOL isTextEdit();
  631. [id(DISPID_IHTMLELEMENT_CLICK)] void click();
  632. [propget, id(DISPID_IHTMLELEMENT_FILTERS)] IHTMLFiltersCollection* filters();
  633. [propput, id(DISPID_IHTMLELEMENT_ONDRAGSTART), displaybind, bindable] void ondragstart(VARIANT v);
  634. [propget, id(DISPID_IHTMLELEMENT_ONDRAGSTART), displaybind, bindable] VARIANT ondragstart();
  635. [id(DISPID_IHTMLELEMENT_TOSTRING)] BSTR toString();
  636. [propput, id(DISPID_IHTMLELEMENT_ONBEFOREUPDATE), displaybind, bindable] void onbeforeupdate(VARIANT v);
  637. [propget, id(DISPID_IHTMLELEMENT_ONBEFOREUPDATE), displaybind, bindable] VARIANT onbeforeupdate();
  638. [propput, id(DISPID_IHTMLELEMENT_ONAFTERUPDATE), displaybind, bindable] void onafterupdate(VARIANT v);
  639. [propget, id(DISPID_IHTMLELEMENT_ONAFTERUPDATE), displaybind, bindable] VARIANT onafterupdate();
  640. [propput, id(DISPID_IHTMLELEMENT_ONERRORUPDATE), displaybind, bindable] void onerrorupdate(VARIANT v);
  641. [propget, id(DISPID_IHTMLELEMENT_ONERRORUPDATE), displaybind, bindable] VARIANT onerrorupdate();
  642. [propput, id(DISPID_IHTMLELEMENT_ONROWEXIT), displaybind, bindable] void onrowexit(VARIANT v);
  643. [propget, id(DISPID_IHTMLELEMENT_ONROWEXIT), displaybind, bindable] VARIANT onrowexit();
  644. [propput, id(DISPID_IHTMLELEMENT_ONROWENTER), displaybind, bindable] void onrowenter(VARIANT v);
  645. [propget, id(DISPID_IHTMLELEMENT_ONROWENTER), displaybind, bindable] VARIANT onrowenter();
  646. [propput, id(DISPID_IHTMLELEMENT_ONDATASETCHANGED), displaybind, bindable] void ondatasetchanged(VARIANT v);
  647. [propget, id(DISPID_IHTMLELEMENT_ONDATASETCHANGED), displaybind, bindable] VARIANT ondatasetchanged();
  648. [propput, id(DISPID_IHTMLELEMENT_ONDATAAVAILABLE), displaybind, bindable] void ondataavailable(VARIANT v);
  649. [propget, id(DISPID_IHTMLELEMENT_ONDATAAVAILABLE), displaybind, bindable] VARIANT ondataavailable();
  650. [propput, id(DISPID_IHTMLELEMENT_ONDATASETCOMPLETE), displaybind, bindable] void ondatasetcomplete(VARIANT v);
  651. [propget, id(DISPID_IHTMLELEMENT_ONDATASETCOMPLETE), displaybind, bindable] VARIANT ondatasetcomplete();
  652. [propput, id(DISPID_IHTMLELEMENT_ONFILTERCHANGE), displaybind, bindable] void onfilterchange(VARIANT v);
  653. [propget, id(DISPID_IHTMLELEMENT_ONFILTERCHANGE), displaybind, bindable] VARIANT onfilterchange();
  654. [propget, id(DISPID_IHTMLELEMENT_CHILDREN)] IDispatch* children();
  655. [propget, id(DISPID_IHTMLELEMENT_ALL)] IDispatch* all();
  656. [propput, id(DISPID_IHTMLCONTROLELEMENT_TABINDEX), displaybind, bindable] void tabIndex(short v);
  657. [propget, id(DISPID_IHTMLCONTROLELEMENT_TABINDEX), displaybind, bindable] short tabIndex();
  658. [id(DISPID_IHTMLCONTROLELEMENT_FOCUS)] void focus();
  659. [propput, id(DISPID_IHTMLCONTROLELEMENT_ACCESSKEY), displaybind, bindable] void accessKey(BSTR v);
  660. [propget, id(DISPID_IHTMLCONTROLELEMENT_ACCESSKEY), displaybind, bindable] BSTR accessKey();
  661. [propput, id(DISPID_IHTMLCONTROLELEMENT_ONBLUR), displaybind, bindable] void onblur(VARIANT v);
  662. [propget, id(DISPID_IHTMLCONTROLELEMENT_ONBLUR), displaybind, bindable] VARIANT onblur();
  663. [propput, id(DISPID_IHTMLCONTROLELEMENT_ONFOCUS), displaybind, bindable] void onfocus(VARIANT v);
  664. [propget, id(DISPID_IHTMLCONTROLELEMENT_ONFOCUS), displaybind, bindable] VARIANT onfocus();
  665. [propput, id(DISPID_IHTMLCONTROLELEMENT_ONRESIZE), displaybind, bindable] void onresize(VARIANT v);
  666. [propget, id(DISPID_IHTMLCONTROLELEMENT_ONRESIZE), displaybind, bindable] VARIANT onresize();
  667. [id(DISPID_IHTMLCONTROLELEMENT_BLUR)] void blur();
  668. [id(DISPID_IHTMLCONTROLELEMENT_ADDFILTER)] void addFilter([in] IUnknown* pUnk);
  669. [id(DISPID_IHTMLCONTROLELEMENT_REMOVEFILTER)] void removeFilter([in] IUnknown* pUnk);
  670. [propget, id(DISPID_IHTMLCONTROLELEMENT_CLIENTHEIGHT), displaybind, bindable] long clientHeight();
  671. [propget, id(DISPID_IHTMLCONTROLELEMENT_CLIENTWIDTH), displaybind, bindable] long clientWidth();
  672. [propget, id(DISPID_IHTMLCONTROLELEMENT_CLIENTTOP), displaybind, bindable] long clientTop();
  673. [propget, id(DISPID_IHTMLCONTROLELEMENT_CLIENTLEFT), displaybind, bindable] long clientLeft();
  674. [propget, id(DISPID_IHTMLINPUTBUTTONELEMENT_TYPE)] BSTR type();
  675. [propput, id(DISPID_IHTMLINPUTBUTTONELEMENT_VALUE), displaybind, bindable] void value(BSTR v);
  676. [propget, id(DISPID_IHTMLINPUTBUTTONELEMENT_VALUE), displaybind, bindable] BSTR value();
  677. [propput, id(DISPID_IHTMLINPUTBUTTONELEMENT_NAME), displaybind, bindable] void name(BSTR v);
  678. [propget, id(DISPID_IHTMLINPUTBUTTONELEMENT_NAME), displaybind, bindable] BSTR name();
  679. [propput, id(DISPID_IHTMLINPUTBUTTONELEMENT_STATUS)] void status(VARIANT v);
  680. [propget, id(DISPID_IHTMLINPUTBUTTONELEMENT_STATUS)] VARIANT status();
  681. [propput, id(DISPID_IHTMLINPUTBUTTONELEMENT_DISABLED), displaybind, bindable] void disabled(VARIANT_BOOL v);
  682. [propget, id(DISPID_IHTMLINPUTBUTTONELEMENT_DISABLED), displaybind, bindable] VARIANT_BOOL disabled();
  683. [propget, id(DISPID_IHTMLINPUTBUTTONELEMENT_FORM)] IHTMLFormElement* form();
  684. [id(DISPID_IHTMLINPUTBUTTONELEMENT_CREATETEXTRANGE)] IHTMLTxtRange* createTextRange();
  685. };
  686. [uuid(3050f2b4-98b5-11cf-bb82-00aa00bdce0b)]
  687. coclass HTMLInputButtonElement
  688. {
  689. [default] dispinterface DispIHTMLInputButtonElement;
  690. [source, default] dispinterface HTMLButtonElementEvents;
  691. interface IHTMLInputButtonElement;
  692. interface IHTMLControlElement;
  693. interface IHTMLElement;
  694. };
  695. [
  696. hidden,
  697. uuid(3050f520-98b5-11cf-bb82-00aa00bdce0b)
  698. ]
  699. dispinterface DispIHTMLInputTextElement
  700. {
  701. properties:
  702. methods:
  703. [id(DISPID_IHTMLELEMENT_SETATTRIBUTE)] void setAttribute([in] BSTR strAttributeName,[in] VARIANT AttributeValue,[defaultvalue(1), in] LONG lFlags);
  704. [id(DISPID_IHTMLELEMENT_GETATTRIBUTE)] VARIANT getAttribute([in] BSTR strAttributeName,[defaultvalue(0), in] LONG lFlags);
  705. [id(DISPID_IHTMLELEMENT_REMOVEATTRIBUTE)] VARIANT_BOOL removeAttribute([in] BSTR strAttributeName,[defaultvalue(1), in] LONG lFlags);
  706. [propput, id(DISPID_IHTMLELEMENT_CLASSNAME), bindable] void className(BSTR v);
  707. [propget, id(DISPID_IHTMLELEMENT_CLASSNAME), bindable] BSTR className();
  708. [propput, id(DISPID_IHTMLELEMENT_ID), bindable] void id(BSTR v);
  709. [propget, id(DISPID_IHTMLELEMENT_ID), bindable] BSTR id();
  710. [propget, id(DISPID_IHTMLELEMENT_TAGNAME)] BSTR tagName();
  711. [propget, id(DISPID_IHTMLELEMENT_PARENTELEMENT)] IHTMLElement* parentElement();
  712. [propget, id(DISPID_IHTMLELEMENT_STYLE), nonbrowsable] IHTMLStyle* style();
  713. [propput, id(DISPID_IHTMLELEMENT_ONHELP), displaybind, bindable] void onhelp(VARIANT v);
  714. [propget, id(DISPID_IHTMLELEMENT_ONHELP), displaybind, bindable] VARIANT onhelp();
  715. [propput, id(DISPID_IHTMLELEMENT_ONCLICK), displaybind, bindable] void onclick(VARIANT v);
  716. [propget, id(DISPID_IHTMLELEMENT_ONCLICK), displaybind, bindable] VARIANT onclick();
  717. [propput, id(DISPID_IHTMLELEMENT_ONDBLCLICK), displaybind, bindable] void ondblclick(VARIANT v);
  718. [propget, id(DISPID_IHTMLELEMENT_ONDBLCLICK), displaybind, bindable] VARIANT ondblclick();
  719. [propput, id(DISPID_IHTMLELEMENT_ONKEYDOWN), displaybind, bindable] void onkeydown(VARIANT v);
  720. [propget, id(DISPID_IHTMLELEMENT_ONKEYDOWN), displaybind, bindable] VARIANT onkeydown();
  721. [propput, id(DISPID_IHTMLELEMENT_ONKEYUP), displaybind, bindable] void onkeyup(VARIANT v);
  722. [propget, id(DISPID_IHTMLELEMENT_ONKEYUP), displaybind, bindable] VARIANT onkeyup();
  723. [propput, id(DISPID_IHTMLELEMENT_ONKEYPRESS), displaybind, bindable] void onkeypress(VARIANT v);
  724. [propget, id(DISPID_IHTMLELEMENT_ONKEYPRESS), displaybind, bindable] VARIANT onkeypress();
  725. [propput, id(DISPID_IHTMLELEMENT_ONMOUSEOUT), displaybind, bindable] void onmouseout(VARIANT v);
  726. [propget, id(DISPID_IHTMLELEMENT_ONMOUSEOUT), displaybind, bindable] VARIANT onmouseout();
  727. [propput, id(DISPID_IHTMLELEMENT_ONMOUSEOVER), displaybind, bindable] void onmouseover(VARIANT v);
  728. [propget, id(DISPID_IHTMLELEMENT_ONMOUSEOVER), displaybind, bindable] VARIANT onmouseover();
  729. [propput, id(DISPID_IHTMLELEMENT_ONMOUSEMOVE), displaybind, bindable] void onmousemove(VARIANT v);
  730. [propget, id(DISPID_IHTMLELEMENT_ONMOUSEMOVE), displaybind, bindable] VARIANT onmousemove();
  731. [propput, id(DISPID_IHTMLELEMENT_ONMOUSEDOWN), displaybind, bindable] void onmousedown(VARIANT v);
  732. [propget, id(DISPID_IHTMLELEMENT_ONMOUSEDOWN), displaybind, bindable] VARIANT onmousedown();
  733. [propput, id(DISPID_IHTMLELEMENT_ONMOUSEUP), displaybind, bindable] void onmouseup(VARIANT v);
  734. [propget, id(DISPID_IHTMLELEMENT_ONMOUSEUP), displaybind, bindable] VARIANT onmouseup();
  735. [propget, id(DISPID_IHTMLELEMENT_DOCUMENT)] IDispatch* document();
  736. [propput, id(DISPID_IHTMLELEMENT_TITLE), displaybind, bindable] void title(BSTR v);
  737. [propget, id(DISPID_IHTMLELEMENT_TITLE), displaybind, bindable] BSTR title();
  738. [propput, id(DISPID_IHTMLELEMENT_LANGUAGE), displaybind, bindable] void language(BSTR v);
  739. [propget, id(DISPID_IHTMLELEMENT_LANGUAGE), displaybind, bindable] BSTR language();
  740. [propput, id(DISPID_IHTMLELEMENT_ONSELECTSTART), displaybind, bindable] void onselectstart(VARIANT v);
  741. [propget, id(DISPID_IHTMLELEMENT_ONSELECTSTART), displaybind, bindable] VARIANT onselectstart();
  742. [id(DISPID_IHTMLELEMENT_SCROLLINTOVIEW)] void scrollIntoView([optional, in] VARIANT varargStart);
  743. [id(DISPID_IHTMLELEMENT_CONTAINS)] VARIANT_BOOL contains([in] IHTMLElement* pChild);
  744. [propget, id(DISPID_IHTMLELEMENT_SOURCEINDEX), bindable] long sourceIndex();
  745. [propget, id(DISPID_IHTMLELEMENT_RECORDNUMBER)] VARIANT recordNumber();
  746. [propput, id(DISPID_IHTMLELEMENT_LANG)] void lang(BSTR v);
  747. [propget, id(DISPID_IHTMLELEMENT_LANG)] BSTR lang();
  748. [propget, id(DISPID_IHTMLELEMENT_OFFSETLEFT)] long offsetLeft();
  749. [propget, id(DISPID_IHTMLELEMENT_OFFSETTOP)] long offsetTop();
  750. [propget, id(DISPID_IHTMLELEMENT_OFFSETWIDTH)] long offsetWidth();
  751. [propget, id(DISPID_IHTMLELEMENT_OFFSETHEIGHT)] long offsetHeight();
  752. [propget, id(DISPID_IHTMLELEMENT_OFFSETPARENT)] IHTMLElement* offsetParent();
  753. [propput, id(DISPID_IHTMLELEMENT_INNERHTML)] void innerHTML(BSTR v);
  754. [propget, id(DISPID_IHTMLELEMENT_INNERHTML)] BSTR innerHTML();
  755. [propput, id(DISPID_IHTMLELEMENT_INNERTEXT)] void innerText(BSTR v);
  756. [propget, id(DISPID_IHTMLELEMENT_INNERTEXT)] BSTR innerText();
  757. [propput, id(DISPID_IHTMLELEMENT_OUTERHTML)] void outerHTML(BSTR v);
  758. [propget, id(DISPID_IHTMLELEMENT_OUTERHTML)] BSTR outerHTML();
  759. [propput, id(DISPID_IHTMLELEMENT_OUTERTEXT)] void outerText(BSTR v);
  760. [propget, id(DISPID_IHTMLELEMENT_OUTERTEXT)] BSTR outerText();
  761. [id(DISPID_IHTMLELEMENT_INSERTADJACENTHTML)] void insertAdjacentHTML([in] BSTR where,[in] BSTR html);
  762. [id(DISPID_IHTMLELEMENT_INSERTADJACENTTEXT)] void insertAdjacentText([in] BSTR where,[in] BSTR text);
  763. [propget, id(DISPID_IHTMLELEMENT_PARENTTEXTEDIT)] IHTMLElement* parentTextEdit();
  764. [propget, id(DISPID_IHTMLELEMENT_ISTEXTEDIT)] VARIANT_BOOL isTextEdit();
  765. [id(DISPID_IHTMLELEMENT_CLICK)] void click();
  766. [propget, id(DISPID_IHTMLELEMENT_FILTERS)] IHTMLFiltersCollection* filters();
  767. [propput, id(DISPID_IHTMLELEMENT_ONDRAGSTART), displaybind, bindable] void ondragstart(VARIANT v);
  768. [propget, id(DISPID_IHTMLELEMENT_ONDRAGSTART), displaybind, bindable] VARIANT ondragstart();
  769. [id(DISPID_IHTMLELEMENT_TOSTRING)] BSTR toString();
  770. [propput, id(DISPID_IHTMLELEMENT_ONBEFOREUPDATE), displaybind, bindable] void onbeforeupdate(VARIANT v);
  771. [propget, id(DISPID_IHTMLELEMENT_ONBEFOREUPDATE), displaybind, bindable] VARIANT onbeforeupdate();
  772. [propput, id(DISPID_IHTMLELEMENT_ONAFTERUPDATE), displaybind, bindable] void onafterupdate(VARIANT v);
  773. [propget, id(DISPID_IHTMLELEMENT_ONAFTERUPDATE), displaybind, bindable] VARIANT onafterupdate();
  774. [propput, id(DISPID_IHTMLELEMENT_ONERRORUPDATE), displaybind, bindable] void onerrorupdate(VARIANT v);
  775. [propget, id(DISPID_IHTMLELEMENT_ONERRORUPDATE), displaybind, bindable] VARIANT onerrorupdate();
  776. [propput, id(DISPID_IHTMLELEMENT_ONROWEXIT), displaybind, bindable] void onrowexit(VARIANT v);
  777. [propget, id(DISPID_IHTMLELEMENT_ONROWEXIT), displaybind, bindable] VARIANT onrowexit();
  778. [propput, id(DISPID_IHTMLELEMENT_ONROWENTER), displaybind, bindable] void onrowenter(VARIANT v);
  779. [propget, id(DISPID_IHTMLELEMENT_ONROWENTER), displaybind, bindable] VARIANT onrowenter();
  780. [propput, id(DISPID_IHTMLELEMENT_ONDATASETCHANGED), displaybind, bindable] void ondatasetchanged(VARIANT v);
  781. [propget, id(DISPID_IHTMLELEMENT_ONDATASETCHANGED), displaybind, bindable] VARIANT ondatasetchanged();
  782. [propput, id(DISPID_IHTMLELEMENT_ONDATAAVAILABLE), displaybind, bindable] void ondataavailable(VARIANT v);
  783. [propget, id(DISPID_IHTMLELEMENT_ONDATAAVAILABLE), displaybind, bindable] VARIANT ondataavailable();
  784. [propput, id(DISPID_IHTMLELEMENT_ONDATASETCOMPLETE), displaybind, bindable] void ondatasetcomplete(VARIANT v);
  785. [propget, id(DISPID_IHTMLELEMENT_ONDATASETCOMPLETE), displaybind, bindable] VARIANT ondatasetcomplete();
  786. [propput, id(DISPID_IHTMLELEMENT_ONFILTERCHANGE), displaybind, bindable] void onfilterchange(VARIANT v);
  787. [propget, id(DISPID_IHTMLELEMENT_ONFILTERCHANGE), displaybind, bindable] VARIANT onfilterchange();
  788. [propget, id(DISPID_IHTMLELEMENT_CHILDREN)] IDispatch* children();
  789. [propget, id(DISPID_IHTMLELEMENT_ALL)] IDispatch* all();
  790. [propput, id(DISPID_IHTMLCONTROLELEMENT_TABINDEX), displaybind, bindable] void tabIndex(short v);
  791. [propget, id(DISPID_IHTMLCONTROLELEMENT_TABINDEX), displaybind, bindable] short tabIndex();
  792. [id(DISPID_IHTMLCONTROLELEMENT_FOCUS)] void focus();
  793. [propput, id(DISPID_IHTMLCONTROLELEMENT_ACCESSKEY), displaybind, bindable] void accessKey(BSTR v);
  794. [propget, id(DISPID_IHTMLCONTROLELEMENT_ACCESSKEY), displaybind, bindable] BSTR accessKey();
  795. [propput, id(DISPID_IHTMLCONTROLELEMENT_ONBLUR), displaybind, bindable] void onblur(VARIANT v);
  796. [propget, id(DISPID_IHTMLCONTROLELEMENT_ONBLUR), displaybind, bindable] VARIANT onblur();
  797. [propput, id(DISPID_IHTMLCONTROLELEMENT_ONFOCUS), displaybind, bindable] void onfocus(VARIANT v);
  798. [propget, id(DISPID_IHTMLCONTROLELEMENT_ONFOCUS), displaybind, bindable] VARIANT onfocus();
  799. [propput, id(DISPID_IHTMLCONTROLELEMENT_ONRESIZE), displaybind, bindable] void onresize(VARIANT v);
  800. [propget, id(DISPID_IHTMLCONTROLELEMENT_ONRESIZE), displaybind, bindable] VARIANT onresize();
  801. [id(DISPID_IHTMLCONTROLELEMENT_BLUR)] void blur();
  802. [id(DISPID_IHTMLCONTROLELEMENT_ADDFILTER)] void addFilter([in] IUnknown* pUnk);
  803. [id(DISPID_IHTMLCONTROLELEMENT_REMOVEFILTER)] void removeFilter([in] IUnknown* pUnk);
  804. [propget, id(DISPID_IHTMLCONTROLELEMENT_CLIENTHEIGHT), displaybind, bindable] long clientHeight();
  805. [propget, id(DISPID_IHTMLCONTROLELEMENT_CLIENTWIDTH), displaybind, bindable] long clientWidth();
  806. [propget, id(DISPID_IHTMLCONTROLELEMENT_CLIENTTOP), displaybind, bindable] long clientTop();
  807. [propget, id(DISPID_IHTMLCONTROLELEMENT_CLIENTLEFT), displaybind, bindable] long clientLeft();
  808. [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_TYPE)] BSTR type();
  809. [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_VALUE), displaybind, bindable] void value(BSTR v);
  810. [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_VALUE), displaybind, bindable] BSTR value();
  811. [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_NAME), displaybind, bindable] void name(BSTR v);
  812. [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_NAME), displaybind, bindable] BSTR name();
  813. [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_STATUS)] void status(VARIANT v);
  814. [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_STATUS)] VARIANT status();
  815. [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_DISABLED), displaybind, bindable] void disabled(VARIANT_BOOL v);
  816. [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_DISABLED), displaybind, bindable] VARIANT_BOOL disabled();
  817. [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_FORM)] IHTMLFormElement* form();
  818. [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_DEFAULTVALUE), displaybind, bindable, hidden] void defaultValue(BSTR v);
  819. [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_DEFAULTVALUE), displaybind, bindable, hidden] BSTR defaultValue();
  820. [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_SIZE), displaybind, bindable] void size(long v);
  821. [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_SIZE), displaybind, bindable] long size();
  822. [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_MAXLENGTH), displaybind, bindable] void maxLength(long v);
  823. [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_MAXLENGTH), displaybind, bindable] long maxLength();
  824. [id(DISPID_IHTMLINPUTTEXTELEMENT_SELECT)] void select();
  825. [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_ONCHANGE), displaybind, bindable] void onchange(VARIANT v);
  826. [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_ONCHANGE), displaybind, bindable] VARIANT onchange();
  827. [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_ONSELECT), displaybind, bindable] void onselect(VARIANT v);
  828. [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_ONSELECT), displaybind, bindable] VARIANT onselect();
  829. [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_READONLY), displaybind, bindable] void readOnly(VARIANT_BOOL v);
  830. [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_READONLY), displaybind, bindable] VARIANT_BOOL readOnly();
  831. [id(DISPID_IHTMLINPUTTEXTELEMENT_CREATETEXTRANGE)] IHTMLTxtRange* createTextRange();
  832. [propput, id(DISPID_IHTMLDATABINDING_DATAFLD)] void dataFld(BSTR v);
  833. [propget, id(DISPID_IHTMLDATABINDING_DATAFLD)] BSTR dataFld();
  834. [propput, id(DISPID_IHTMLDATABINDING_DATASRC)] void dataSrc(BSTR v);
  835. [propget, id(DISPID_IHTMLDATABINDING_DATASRC)] BSTR dataSrc();
  836. [propput, id(DISPID_IHTMLDATABINDING_DATAFORMATAS)] void dataFormatAs(BSTR v);
  837. [propget, id(DISPID_IHTMLDATABINDING_DATAFORMATAS)] BSTR dataFormatAs();
  838. };
  839. [uuid(3050f2ab-98b5-11cf-bb82-00aa00bdce0b)]
  840. coclass HTMLInputTextElement
  841. {
  842. [default] dispinterface DispIHTMLInputTextElement;
  843. [source, default] dispinterface HTMLInputTextElementEvents;
  844. interface IHTMLInputTextElement;
  845. interface IHTMLControlElement;
  846. interface IHTMLElement;
  847. interface IHTMLDatabinding;
  848. };
  849. [
  850. hidden,
  851. uuid(3050f542-98b5-11cf-bb82-00aa00bdce0b)
  852. ]
  853. dispinterface DispIHTMLInputFileElement
  854. {
  855. properties:
  856. methods:
  857. [id(DISPID_IHTMLELEMENT_SETATTRIBUTE)] void setAttribute([in] BSTR strAttributeName,[in] VARIANT AttributeValue,[defaultvalue(1), in] LONG lFlags);
  858. [id(DISPID_IHTMLELEMENT_GETATTRIBUTE)] VARIANT getAttribute([in] BSTR strAttributeName,[defaultvalue(0), in] LONG lFlags);
  859. [id(DISPID_IHTMLELEMENT_REMOVEATTRIBUTE)] VARIANT_BOOL removeAttribute([in] BSTR strAttributeName,[defaultvalue(1), in] LONG lFlags);
  860. [propput, id(DISPID_IHTMLELEMENT_CLASSNAME), bindable] void className(BSTR v);
  861. [propget, id(DISPID_IHTMLELEMENT_CLASSNAME), bindable] BSTR className();
  862. [propput, id(DISPID_IHTMLELEMENT_ID), bindable] void id(BSTR v);
  863. [propget, id(DISPID_IHTMLELEMENT_ID), bindable] BSTR id();
  864. [propget, id(DISPID_IHTMLELEMENT_TAGNAME)] BSTR tagName();
  865. [propget, id(DISPID_IHTMLELEMENT_PARENTELEMENT)] IHTMLElement* parentElement();
  866. [propget, id(DISPID_IHTMLELEMENT_STYLE), nonbrowsable] IHTMLStyle* style();
  867. [propput, id(DISPID_IHTMLELEMENT_ONHELP), displaybind, bindable] void onhelp(VARIANT v);
  868. [propget, id(DISPID_IHTMLELEMENT_ONHELP), displaybind, bindable] VARIANT onhelp();
  869. [propput, id(DISPID_IHTMLELEMENT_ONCLICK), displaybind, bindable] void onclick(VARIANT v);
  870. [propget, id(DISPID_IHTMLELEMENT_ONCLICK), displaybind, bindable] VARIANT onclick();
  871. [propput, id(DISPID_IHTMLELEMENT_ONDBLCLICK), displaybind, bindable] void ondblclick(VARIANT v);
  872. [propget, id(DISPID_IHTMLELEMENT_ONDBLCLICK), displaybind, bindable] VARIANT ondblclick();
  873. [propput, id(DISPID_IHTMLELEMENT_ONKEYDOWN), displaybind, bindable] void onkeydown(VARIANT v);
  874. [propget, id(DISPID_IHTMLELEMENT_ONKEYDOWN), displaybind, bindable] VARIANT onkeydown();
  875. [propput, id(DISPID_IHTMLELEMENT_ONKEYUP), displaybind, bindable] void onkeyup(VARIANT v);
  876. [propget, id(DISPID_IHTMLELEMENT_ONKEYUP), displaybind, bindable] VARIANT onkeyup();
  877. [propput, id(DISPID_IHTMLELEMENT_ONKEYPRESS), displaybind, bindable] void onkeypress(VARIANT v);
  878. [propget, id(DISPID_IHTMLELEMENT_ONKEYPRESS), displaybind, bindable] VARIANT onkeypress();
  879. [propput, id(DISPID_IHTMLELEMENT_ONMOUSEOUT), displaybind, bindable] void onmouseout(VARIANT v);
  880. [propget, id(DISPID_IHTMLELEMENT_ONMOUSEOUT), displaybind, bindable] VARIANT onmouseout();
  881. [propput, id(DISPID_IHTMLELEMENT_ONMOUSEOVER), displaybind, bindable] void onmouseover(VARIANT v);
  882. [propget, id(DISPID_IHTMLELEMENT_ONMOUSEOVER), displaybind, bindable] VARIANT onmouseover();
  883. [propput, id(DISPID_IHTMLELEMENT_ONMOUSEMOVE), displaybind, bindable] void onmousemove(VARIANT v);
  884. [propget, id(DISPID_IHTMLELEMENT_ONMOUSEMOVE), displaybind, bindable] VARIANT onmousemove();
  885. [propput, id(DISPID_IHTMLELEMENT_ONMOUSEDOWN), displaybind, bindable] void onmousedown(VARIANT v);
  886. [propget, id(DISPID_IHTMLELEMENT_ONMOUSEDOWN), displaybind, bindable] VARIANT onmousedown();
  887. [propput, id(DISPID_IHTMLELEMENT_ONMOUSEUP), displaybind, bindable] void onmouseup(VARIANT v);
  888. [propget, id(DISPID_IHTMLELEMENT_ONMOUSEUP), displaybind, bindable] VARIANT onmouseup();
  889. [propget, id(DISPID_IHTMLELEMENT_DOCUMENT)] IDispatch* document();
  890. [propput, id(DISPID_IHTMLELEMENT_TITLE), displaybind, bindable] void title(BSTR v);
  891. [propget, id(DISPID_IHTMLELEMENT_TITLE), displaybind, bindable] BSTR title();
  892. [propput, id(DISPID_IHTMLELEMENT_LANGUAGE), displaybind, bindable] void language(BSTR v);
  893. [propget, id(DISPID_IHTMLELEMENT_LANGUAGE), displaybind, bindable] BSTR language();
  894. [propput, id(DISPID_IHTMLELEMENT_ONSELECTSTART), displaybind, bindable] void onselectstart(VARIANT v);
  895. [propget, id(DISPID_IHTMLELEMENT_ONSELECTSTART), displaybind, bindable] VARIANT onselectstart();
  896. [id(DISPID_IHTMLELEMENT_SCROLLINTOVIEW)] void scrollIntoView([optional, in] VARIANT varargStart);
  897. [id(DISPID_IHTMLELEMENT_CONTAINS)] VARIANT_BOOL contains([in] IHTMLElement* pChild);
  898. [propget, id(DISPID_IHTMLELEMENT_SOURCEINDEX), bindable] long sourceIndex();
  899. [propget, id(DISPID_IHTMLELEMENT_RECORDNUMBER)] VARIANT recordNumber();
  900. [propput, id(DISPID_IHTMLELEMENT_LANG)] void lang(BSTR v);
  901. [propget, id(DISPID_IHTMLELEMENT_LANG)] BSTR lang();
  902. [propget, id(DISPID_IHTMLELEMENT_OFFSETLEFT)] long offsetLeft();
  903. [propget, id(DISPID_IHTMLELEMENT_OFFSETTOP)] long offsetTop();
  904. [propget, id(DISPID_IHTMLELEMENT_OFFSETWIDTH)] long offsetWidth();
  905. [propget, id(DISPID_IHTMLELEMENT_OFFSETHEIGHT)] long offsetHeight();
  906. [propget, id(DISPID_IHTMLELEMENT_OFFSETPARENT)] IHTMLElement* offsetParent();
  907. [propput, id(DISPID_IHTMLELEMENT_INNERHTML)] void innerHTML(BSTR v);
  908. [propget, id(DISPID_IHTMLELEMENT_INNERHTML)] BSTR innerHTML();
  909. [propput, id(DISPID_IHTMLELEMENT_INNERTEXT)] void innerText(BSTR v);
  910. [propget, id(DISPID_IHTMLELEMENT_INNERTEXT)] BSTR innerText();
  911. [propput, id(DISPID_IHTMLELEMENT_OUTERHTML)] void outerHTML(BSTR v);
  912. [propget, id(DISPID_IHTMLELEMENT_OUTERHTML)] BSTR outerHTML();
  913. [propput, id(DISPID_IHTMLELEMENT_OUTERTEXT)] void outerText(BSTR v);
  914. [propget, id(DISPID_IHTMLELEMENT_OUTERTEXT)] BSTR outerText();
  915. [id(DISPID_IHTMLELEMENT_INSERTADJACENTHTML)] void insertAdjacentHTML([in] BSTR where,[in] BSTR html);
  916. [id(DISPID_IHTMLELEMENT_INSERTADJACENTTEXT)] void insertAdjacentText([in] BSTR where,[in] BSTR text);
  917. [propget, id(DISPID_IHTMLELEMENT_PARENTTEXTEDIT)] IHTMLElement* parentTextEdit();
  918. [propget, id(DISPID_IHTMLELEMENT_ISTEXTEDIT)] VARIANT_BOOL isTextEdit();
  919. [id(DISPID_IHTMLELEMENT_CLICK)] void click();
  920. [propget, id(DISPID_IHTMLELEMENT_FILTERS)] IHTMLFiltersCollection* filters();
  921. [propput, id(DISPID_IHTMLELEMENT_ONDRAGSTART), displaybind, bindable] void ondragstart(VARIANT v);
  922. [propget, id(DISPID_IHTMLELEMENT_ONDRAGSTART), displaybind, bindable] VARIANT ondragstart();
  923. [id(DISPID_IHTMLELEMENT_TOSTRING)] BSTR toString();
  924. [propput, id(DISPID_IHTMLELEMENT_ONBEFOREUPDATE), displaybind, bindable] void onbeforeupdate(VARIANT v);
  925. [propget, id(DISPID_IHTMLELEMENT_ONBEFOREUPDATE), displaybind, bindable] VARIANT onbeforeupdate();
  926. [propput, id(DISPID_IHTMLELEMENT_ONAFTERUPDATE), displaybind, bindable] void onafterupdate(VARIANT v);
  927. [propget, id(DISPID_IHTMLELEMENT_ONAFTERUPDATE), displaybind, bindable] VARIANT onafterupdate();
  928. [propput, id(DISPID_IHTMLELEMENT_ONERRORUPDATE), displaybind, bindable] void onerrorupdate(VARIANT v);
  929. [propget, id(DISPID_IHTMLELEMENT_ONERRORUPDATE), displaybind, bindable] VARIANT onerrorupdate();
  930. [propput, id(DISPID_IHTMLELEMENT_ONROWEXIT), displaybind, bindable] void onrowexit(VARIANT v);
  931. [propget, id(DISPID_IHTMLELEMENT_ONROWEXIT), displaybind, bindable] VARIANT onrowexit();
  932. [propput, id(DISPID_IHTMLELEMENT_ONROWENTER), displaybind, bindable] void onrowenter(VARIANT v);
  933. [propget, id(DISPID_IHTMLELEMENT_ONROWENTER), displaybind, bindable] VARIANT onrowenter();
  934. [propput, id(DISPID_IHTMLELEMENT_ONDATASETCHANGED), displaybind, bindable] void ondatasetchanged(VARIANT v);
  935. [propget, id(DISPID_IHTMLELEMENT_ONDATASETCHANGED), displaybind, bindable] VARIANT ondatasetchanged();
  936. [propput, id(DISPID_IHTMLELEMENT_ONDATAAVAILABLE), displaybind, bindable] void ondataavailable(VARIANT v);
  937. [propget, id(DISPID_IHTMLELEMENT_ONDATAAVAILABLE), displaybind, bindable] VARIANT ondataavailable();
  938. [propput, id(DISPID_IHTMLELEMENT_ONDATASETCOMPLETE), displaybind, bindable] void ondatasetcomplete(VARIANT v);
  939. [propget, id(DISPID_IHTMLELEMENT_ONDATASETCOMPLETE), displaybind, bindable] VARIANT ondatasetcomplete();
  940. [propput, id(DISPID_IHTMLELEMENT_ONFILTERCHANGE), displaybind, bindable] void onfilterchange(VARIANT v);
  941. [propget, id(DISPID_IHTMLELEMENT_ONFILTERCHANGE), displaybind, bindable] VARIANT onfilterchange();
  942. [propget, id(DISPID_IHTMLELEMENT_CHILDREN)] IDispatch* children();
  943. [propget, id(DISPID_IHTMLELEMENT_ALL)] IDispatch* all();
  944. [propput, id(DISPID_IHTMLCONTROLELEMENT_TABINDEX), displaybind, bindable] void tabIndex(short v);
  945. [propget, id(DISPID_IHTMLCONTROLELEMENT_TABINDEX), displaybind, bindable] short tabIndex();
  946. [id(DISPID_IHTMLCONTROLELEMENT_FOCUS)] void focus();
  947. [propput, id(DISPID_IHTMLCONTROLELEMENT_ACCESSKEY), displaybind, bindable] void accessKey(BSTR v);
  948. [propget, id(DISPID_IHTMLCONTROLELEMENT_ACCESSKEY), displaybind, bindable] BSTR accessKey();
  949. [propput, id(DISPID_IHTMLCONTROLELEMENT_ONBLUR), displaybind, bindable] void onblur(VARIANT v);
  950. [propget, id(DISPID_IHTMLCONTROLELEMENT_ONBLUR), displaybind, bindable] VARIANT onblur();
  951. [propput, id(DISPID_IHTMLCONTROLELEMENT_ONFOCUS), displaybind, bindable] void onfocus(VARIANT v);
  952. [propget, id(DISPID_IHTMLCONTROLELEMENT_ONFOCUS), displaybind, bindable] VARIANT onfocus();
  953. [propput, id(DISPID_IHTMLCONTROLELEMENT_ONRESIZE), displaybind, bindable] void onresize(VARIANT v);
  954. [propget, id(DISPID_IHTMLCONTROLELEMENT_ONRESIZE), displaybind, bindable] VARIANT onresize();
  955. [id(DISPID_IHTMLCONTROLELEMENT_BLUR)] void blur();
  956. [id(DISPID_IHTMLCONTROLELEMENT_ADDFILTER)] void addFilter([in] IUnknown* pUnk);
  957. [id(DISPID_IHTMLCONTROLELEMENT_REMOVEFILTER)] void removeFilter([in] IUnknown* pUnk);
  958. [propget, id(DISPID_IHTMLCONTROLELEMENT_CLIENTHEIGHT), displaybind, bindable] long clientHeight();
  959. [propget, id(DISPID_IHTMLCONTROLELEMENT_CLIENTWIDTH), displaybind, bindable] long clientWidth();
  960. [propget, id(DISPID_IHTMLCONTROLELEMENT_CLIENTTOP), displaybind, bindable] long clientTop();
  961. [propget, id(DISPID_IHTMLCONTROLELEMENT_CLIENTLEFT), displaybind, bindable] long clientLeft();
  962. [propget, id(DISPID_IHTMLINPUTFILEELEMENT_TYPE)] BSTR type();
  963. [propput, id(DISPID_IHTMLINPUTFILEELEMENT_NAME), displaybind, bindable] void name(BSTR v);
  964. [propget, id(DISPID_IHTMLINPUTFILEELEMENT_NAME), displaybind, bindable] BSTR name();
  965. [propput, id(DISPID_IHTMLINPUTFILEELEMENT_STATUS)] void status(VARIANT v);
  966. [propget, id(DISPID_IHTMLINPUTFILEELEMENT_STATUS)] VARIANT status();
  967. [propput, id(DISPID_IHTMLINPUTFILEELEMENT_DISABLED), displaybind, bindable] void disabled(VARIANT_BOOL v);
  968. [propget, id(DISPID_IHTMLINPUTFILEELEMENT_DISABLED), displaybind, bindable] VARIANT_BOOL disabled();
  969. [propget, id(DISPID_IHTMLINPUTFILEELEMENT_FORM)] IHTMLFormElement* form();
  970. [propput, id(DISPID_IHTMLINPUTFILEELEMENT_SIZE), displaybind, bindable] void size(long v);
  971. [propget, id(DISPID_IHTMLINPUTFILEELEMENT_SIZE), displaybind, bindable] long size();
  972. [propput, id(DISPID_IHTMLINPUTFILEELEMENT_MAXLENGTH), displaybind, bindable] void maxLength(long v);
  973. [propget, id(DISPID_IHTMLINPUTFILEELEMENT_MAXLENGTH), displaybind, bindable] long maxLength();
  974. [id(DISPID_IHTMLINPUTFILEELEMENT_SELECT)] void select();
  975. [propput, id(DISPID_IHTMLINPUTFILEELEMENT_ONCHANGE), displaybind, bindable] void onchange(VARIANT v);
  976. [propget, id(DISPID_IHTMLINPUTFILEELEMENT_ONCHANGE), displaybind, bindable] VARIANT onchange();
  977. [propput, id(DISPID_IHTMLINPUTFILEELEMENT_ONSELECT), displaybind, bindable] void onselect(VARIANT v);
  978. [propget, id(DISPID_IHTMLINPUTFILEELEMENT_ONSELECT), displaybind, bindable] VARIANT onselect();
  979. [propput, id(DISPID_IHTMLINPUTFILEELEMENT_VALUE), displaybind, bindable] void value(BSTR v);
  980. [propget, id(DISPID_IHTMLINPUTFILEELEMENT_VALUE), displaybind, bindable] BSTR value();
  981. };
  982. [uuid(3050f2ae-98b5-11cf-bb82-00aa00bdce0b)]
  983. coclass HTMLInputFileElement
  984. {
  985. [default] dispinterface DispIHTMLInputFileElement;
  986. [source, default] dispinterface HTMLInputFileElementEvents;
  987. interface IHTMLInputFileElement;
  988. interface IHTMLControlElement;
  989. interface IHTMLElement;
  990. };
  991. [
  992. hidden,
  993. uuid(3050f509-98b5-11cf-bb82-00aa00bdce0b)
  994. ]
  995. dispinterface DispIHTMLOptionButtonElement
  996. {
  997. properties:
  998. methods:
  999. [id(DISPID_IHTMLELEMENT_SETATTRIBUTE)] void setAttribute([in] BSTR strAttributeName,[in] VARIANT AttributeValue,[defaultvalue(1), in] LONG lFlags);
  1000. [id(DISPID_IHTMLELEMENT_GETATTRIBUTE)] VARIANT getAttribute([in] BSTR strAttributeName,[defaultvalue(0), in] LONG lFlags);
  1001. [id(DISPID_IHTMLELEMENT_REMOVEATTRIBUTE)] VARIANT_BOOL removeAttribute([in] BSTR strAttributeName,[defaultvalue(1), in] LONG lFlags);
  1002. [propput, id(DISPID_IHTMLELEMENT_CLASSNAME), bindable] void className(BSTR v);
  1003. [propget, id(DISPID_IHTMLELEMENT_CLASSNAME), bindable] BSTR className();
  1004. [propput, id(DISPID_IHTMLELEMENT_ID), bindable] void id(BSTR v);
  1005. [propget, id(DISPID_IHTMLELEMENT_ID), bindable] BSTR id();
  1006. [propget, id(DISPID_IHTMLELEMENT_TAGNAME)] BSTR tagName();
  1007. [propget, id(DISPID_IHTMLELEMENT_PARENTELEMENT)] IHTMLElement* parentElement();
  1008. [propget, id(DISPID_IHTMLELEMENT_STYLE), nonbrowsable] IHTMLStyle* style();
  1009. [propput, id(DISPID_IHTMLELEMENT_ONHELP), displaybind, bindable] void onhelp(VARIANT v);
  1010. [propget, id(DISPID_IHTMLELEMENT_ONHELP), displaybind, bindable] VARIANT onhelp();
  1011. [propput, id(DISPID_IHTMLELEMENT_ONCLICK), displaybind, bindable] void onclick(VARIANT v);
  1012. [propget, id(DISPID_IHTMLELEMENT_ONCLICK), displaybind, bindable] VARIANT onclick();
  1013. [propput, id(DISPID_IHTMLELEMENT_ONDBLCLICK), displaybind, bindable] void ondblclick(VARIANT v);
  1014. [propget, id(DISPID_IHTMLELEMENT_ONDBLCLICK), displaybind, bindable] VARIANT ondblclick();
  1015. [propput, id(DISPID_IHTMLELEMENT_ONKEYDOWN), displaybind, bindable] void onkeydown(VARIANT v);
  1016. [propget, id(DISPID_IHTMLELEMENT_ONKEYDOWN), displaybind, bindable] VARIANT onkeydown();
  1017. [propput, id(DISPID_IHTMLELEMENT_ONKEYUP), displaybind, bindable] void onkeyup(VARIANT v);
  1018. [propget, id(DISPID_IHTMLELEMENT_ONKEYUP), displaybind, bindable] VARIANT onkeyup();
  1019. [propput, id(DISPID_IHTMLELEMENT_ONKEYPRESS), displaybind, bindable] void onkeypress(VARIANT v);
  1020. [propget, id(DISPID_IHTMLELEMENT_ONKEYPRESS), displaybind, bindable] VARIANT onkeypress();
  1021. [propput, id(DISPID_IHTMLELEMENT_ONMOUSEOUT), displaybind, bindable] void onmouseout(VARIANT v);
  1022. [propget, id(DISPID_IHTMLELEMENT_ONMOUSEOUT), displaybind, bindable] VARIANT onmouseout();
  1023. [propput, id(DISPID_IHTMLELEMENT_ONMOUSEOVER), displaybind, bindable] void onmouseover(VARIANT v);
  1024. [propget, id(DISPID_IHTMLELEMENT_ONMOUSEOVER), displaybind, bindable] VARIANT onmouseover();
  1025. [propput, id(DISPID_IHTMLELEMENT_ONMOUSEMOVE), displaybind, bindable] void onmousemove(VARIANT v);
  1026. [propget, id(DISPID_IHTMLELEMENT_ONMOUSEMOVE), displaybind, bindable] VARIANT onmousemove();
  1027. [propput, id(DISPID_IHTMLELEMENT_ONMOUSEDOWN), displaybind, bindable] void onmousedown(VARIANT v);
  1028. [propget, id(DISPID_IHTMLELEMENT_ONMOUSEDOWN), displaybind, bindable] VARIANT onmousedown();
  1029. [propput, id(DISPID_IHTMLELEMENT_ONMOUSEUP), displaybind, bindable] void onmouseup(VARIANT v);
  1030. [propget, id(DISPID_IHTMLELEMENT_ONMOUSEUP), displaybind, bindable] VARIANT onmouseup();
  1031. [propget, id(DISPID_IHTMLELEMENT_DOCUMENT)] IDispatch* document();
  1032. [propput, id(DISPID_IHTMLELEMENT_TITLE), displaybind, bindable] void title(BSTR v);
  1033. [propget, id(DISPID_IHTMLELEMENT_TITLE), displaybind, bindable] BSTR title();
  1034. [propput, id(DISPID_IHTMLELEMENT_LANGUAGE), displaybind, bindable] void language(BSTR v);
  1035. [propget, id(DISPID_IHTMLELEMENT_LANGUAGE), displaybind, bindable] BSTR language();
  1036. [propput, id(DISPID_IHTMLELEMENT_ONSELECTSTART), displaybind, bindable] void onselectstart(VARIANT v);
  1037. [propget, id(DISPID_IHTMLELEMENT_ONSELECTSTART), displaybind, bindable] VARIANT onselectstart();
  1038. [id(DISPID_IHTMLELEMENT_SCROLLINTOVIEW)] void scrollIntoView([optional, in] VARIANT varargStart);
  1039. [id(DISPID_IHTMLELEMENT_CONTAINS)] VARIANT_BOOL contains([in] IHTMLElement* pChild);
  1040. [propget, id(DISPID_IHTMLELEMENT_SOURCEINDEX), bindable] long sourceIndex();
  1041. [propget, id(DISPID_IHTMLELEMENT_RECORDNUMBER)] VARIANT recordNumber();
  1042. [propput, id(DISPID_IHTMLELEMENT_LANG)] void lang(BSTR v);
  1043. [propget, id(DISPID_IHTMLELEMENT_LANG)] BSTR lang();
  1044. [propget, id(DISPID_IHTMLELEMENT_OFFSETLEFT)] long offsetLeft();
  1045. [propget, id(DISPID_IHTMLELEMENT_OFFSETTOP)] long offsetTop();
  1046. [propget, id(DISPID_IHTMLELEMENT_OFFSETWIDTH)] long offsetWidth();
  1047. [propget, id(DISPID_IHTMLELEMENT_OFFSETHEIGHT)] long offsetHeight();
  1048. [propget, id(DISPID_IHTMLELEMENT_OFFSETPARENT)] IHTMLElement* offsetParent();
  1049. [propput, id(DISPID_IHTMLELEMENT_INNERHTML)] void innerHTML(BSTR v);
  1050. [propget, id(DISPID_IHTMLELEMENT_INNERHTML)] BSTR innerHTML();
  1051. [propput, id(DISPID_IHTMLELEMENT_INNERTEXT)] void innerText(BSTR v);
  1052. [propget, id(DISPID_IHTMLELEMENT_INNERTEXT)] BSTR innerText();
  1053. [propput, id(DISPID_IHTMLELEMENT_OUTERHTML)] void outerHTML(BSTR v);
  1054. [propget, id(DISPID_IHTMLELEMENT_OUTERHTML)] BSTR outerHTML();
  1055. [propput, id(DISPID_IHTMLELEMENT_OUTERTEXT)] void outerText(BSTR v);
  1056. [propget, id(DISPID_IHTMLELEMENT_OUTERTEXT)] BSTR outerText();
  1057. [id(DISPID_IHTMLELEMENT_INSERTADJACENTHTML)] void insertAdjacentHTML([in] BSTR where,[in] BSTR html);
  1058. [id(DISPID_IHTMLELEMENT_INSERTADJACENTTEXT)] void insertAdjacentText([in] BSTR where,[in] BSTR text);
  1059. [propget, id(DISPID_IHTMLELEMENT_PARENTTEXTEDIT)] IHTMLElement* parentTextEdit();
  1060. [propget, id(DISPID_IHTMLELEMENT_ISTEXTEDIT)] VARIANT_BOOL isTextEdit();
  1061. [id(DISPID_IHTMLELEMENT_CLICK)] void click();
  1062. [propget, id(DISPID_IHTMLELEMENT_FILTERS)] IHTMLFiltersCollection* filters();
  1063. [propput, id(DISPID_IHTMLELEMENT_ONDRAGSTART), displaybind, bindable] void ondragstart(VARIANT v);
  1064. [propget, id(DISPID_IHTMLELEMENT_ONDRAGSTART), displaybind, bindable] VARIANT ondragstart();
  1065. [id(DISPID_IHTMLELEMENT_TOSTRING)] BSTR toString();
  1066. [propput, id(DISPID_IHTMLELEMENT_ONBEFOREUPDATE), displaybind, bindable] void onbeforeupdate(VARIANT v);
  1067. [propget, id(DISPID_IHTMLELEMENT_ONBEFOREUPDATE), displaybind, bindable] VARIANT onbeforeupdate();
  1068. [propput, id(DISPID_IHTMLELEMENT_ONAFTERUPDATE), displaybind, bindable] void onafterupdate(VARIANT v);
  1069. [propget, id(DISPID_IHTMLELEMENT_ONAFTERUPDATE), displaybind, bindable] VARIANT onafterupdate();
  1070. [propput, id(DISPID_IHTMLELEMENT_ONERRORUPDATE), displaybind, bindable] void onerrorupdate(VARIANT v);
  1071. [propget, id(DISPID_IHTMLELEMENT_ONERRORUPDATE), displaybind, bindable] VARIANT onerrorupdate();
  1072. [propput, id(DISPID_IHTMLELEMENT_ONROWEXIT), displaybind, bindable] void onrowexit(VARIANT v);
  1073. [propget, id(DISPID_IHTMLELEMENT_ONROWEXIT), displaybind, bindable] VARIANT onrowexit();
  1074. [propput, id(DISPID_IHTMLELEMENT_ONROWENTER), displaybind, bindable] void onrowenter(VARIANT v);
  1075. [propget, id(DISPID_IHTMLELEMENT_ONROWENTER), displaybind, bindable] VARIANT onrowenter();
  1076. [propput, id(DISPID_IHTMLELEMENT_ONDATASETCHANGED), displaybind, bindable] void ondatasetchanged(VARIANT v);
  1077. [propget, id(DISPID_IHTMLELEMENT_ONDATASETCHANGED), displaybind, bindable] VARIANT ondatasetchanged();
  1078. [propput, id(DISPID_IHTMLELEMENT_ONDATAAVAILABLE), displaybind, bindable] void ondataavailable(VARIANT v);
  1079. [propget, id(DISPID_IHTMLELEMENT_ONDATAAVAILABLE), displaybind, bindable] VARIANT ondataavailable();
  1080. [propput, id(DISPID_IHTMLELEMENT_ONDATASETCOMPLETE), displaybind, bindable] void ondatasetcomplete(VARIANT v);
  1081. [propget, id(DISPID_IHTMLELEMENT_ONDATASETCOMPLETE), displaybind, bindable] VARIANT ondatasetcomplete();
  1082. [propput, id(DISPID_IHTMLELEMENT_ONFILTERCHANGE), displaybind, bindable] void onfilterchange(VARIANT v);
  1083. [propget, id(DISPID_IHTMLELEMENT_ONFILTERCHANGE), displaybind, bindable] VARIANT onfilterchange();
  1084. [propget, id(DISPID_IHTMLELEMENT_CHILDREN)] IDispatch* children();
  1085. [propget, id(DISPID_IHTMLELEMENT_ALL)] IDispatch* all();
  1086. [propput, id(DISPID_IHTMLCONTROLELEMENT_TABINDEX), displaybind, bindable] void tabIndex(short v);
  1087. [propget, id(DISPID_IHTMLCONTROLELEMENT_TABINDEX), displaybind, bindable] short tabIndex();
  1088. [id(DISPID_IHTMLCONTROLELEMENT_FOCUS)] void focus();
  1089. [propput, id(DISPID_IHTMLCONTROLELEMENT_ACCESSKEY), displaybind, bindable] void accessKey(BSTR v);
  1090. [propget, id(DISPID_IHTMLCONTROLELEMENT_ACCESSKEY), displaybind, bindable] BSTR accessKey();
  1091. [propput, id(DISPID_IHTMLCONTROLELEMENT_ONBLUR), displaybind, bindable] void onblur(VARIANT v);
  1092. [propget, id(DISPID_IHTMLCONTROLELEMENT_ONBLUR), displaybind, bindable] VARIANT onblur();
  1093. [propput, id(DISPID_IHTMLCONTROLELEMENT_ONFOCUS), displaybind, bindable] void onfocus(VARIANT v);
  1094. [propget, id(DISPID_IHTMLCONTROLELEMENT_ONFOCUS), displaybind, bindable] VARIANT onfocus();
  1095. [propput, id(DISPID_IHTMLCONTROLELEMENT_ONRESIZE), displaybind, bindable] void onresize(VARIANT v);
  1096. [propget, id(DISPID_IHTMLCONTROLELEMENT_ONRESIZE), displaybind, bindable] VARIANT onresize();
  1097. [id(DISPID_IHTMLCONTROLELEMENT_BLUR)] void blur();
  1098. [id(DISPID_IHTMLCONTROLELEMENT_ADDFILTER)] void addFilter([in] IUnknown* pUnk);
  1099. [id(DISPID_IHTMLCONTROLELEMENT_REMOVEFILTER)] void removeFilter([in] IUnknown* pUnk);
  1100. [propget, id(DISPID_IHTMLCONTROLELEMENT_CLIENTHEIGHT), displaybind, bindable] long clientHeight();
  1101. [propget, id(DISPID_IHTMLCONTROLELEMENT_CLIENTWIDTH), displaybind, bindable] long clientWidth();
  1102. [propget, id(DISPID_IHTMLCONTROLELEMENT_CLIENTTOP), displaybind, bindable] long clientTop();
  1103. [propget, id(DISPID_IHTMLCONTROLELEMENT_CLIENTLEFT), displaybind, bindable] long clientLeft();
  1104. [propput, id(DISPID_IHTMLOPTIONBUTTONELEMENT_VALUE), bindable] void value(BSTR v);
  1105. [propget, id(DISPID_IHTMLOPTIONBUTTONELEMENT_VALUE), bindable] BSTR value();
  1106. [propget, id(DISPID_IHTMLOPTIONBUTTONELEMENT_TYPE)] BSTR type();
  1107. [propput, id(DISPID_IHTMLOPTIONBUTTONELEMENT_NAME), bindable] void name(BSTR v);
  1108. [propget, id(DISPID_IHTMLOPTIONBUTTONELEMENT_NAME), bindable] BSTR name();
  1109. [propput, id(DISPID_IHTMLOPTIONBUTTONELEMENT_CHECKED), bindable] void checked(VARIANT_BOOL v);
  1110. [propget, id(DISPID_IHTMLOPTIONBUTTONELEMENT_CHECKED), bindable] VARIANT_BOOL checked();
  1111. [propput, id(DISPID_IHTMLOPTIONBUTTONELEMENT_DEFAULTCHECKED), bindable] void defaultChecked(VARIANT_BOOL v);
  1112. [propget, id(DISPID_IHTMLOPTIONBUTTONELEMENT_DEFAULTCHECKED), bindable] VARIANT_BOOL defaultChecked();
  1113. [propput, id(DISPID_IHTMLOPTIONBUTTONELEMENT_ONCHANGE), bindable] void onchange(VARIANT v);
  1114. [propget, id(DISPID_IHTMLOPTIONBUTTONELEMENT_ONCHANGE), bindable] VARIANT onchange();
  1115. [propput, id(DISPID_IHTMLOPTIONBUTTONELEMENT_DISABLED), displaybind, bindable] void disabled(VARIANT_BOOL v);
  1116. [propget, id(DISPID_IHTMLOPTIONBUTTONELEMENT_DISABLED), displaybind, bindable] VARIANT_BOOL disabled();
  1117. [propput, id(DISPID_IHTMLOPTIONBUTTONELEMENT_STATUS)] void status(VARIANT_BOOL v);
  1118. [propget, id(DISPID_IHTMLOPTIONBUTTONELEMENT_STATUS)] VARIANT_BOOL status();
  1119. [propput, id(DISPID_IHTMLOPTIONBUTTONELEMENT_INDETERMINATE), bindable] void indeterminate(VARIANT_BOOL v);
  1120. [propget, id(DISPID_IHTMLOPTIONBUTTONELEMENT_INDETERMINATE), bindable] VARIANT_BOOL indeterminate();
  1121. [propget, id(DISPID_IHTMLOPTIONBUTTONELEMENT_FORM)] IHTMLFormElement* form();
  1122. [propput, id(DISPID_IHTMLDATABINDING_DATAFLD)] void dataFld(BSTR v);
  1123. [propget, id(DISPID_IHTMLDATABINDING_DATAFLD)] BSTR dataFld();
  1124. [propput, id(DISPID_IHTMLDATABINDING_DATASRC)] void dataSrc(BSTR v);
  1125. [propget, id(DISPID_IHTMLDATABINDING_DATASRC)] BSTR dataSrc();
  1126. [propput, id(DISPID_IHTMLDATABINDING_DATAFORMATAS)] void dataFormatAs(BSTR v);
  1127. [propget, id(DISPID_IHTMLDATABINDING_DATAFORMATAS)] BSTR dataFormatAs();
  1128. };
  1129. [uuid(3050f2be-98b5-11cf-bb82-00aa00bdce0b)]
  1130. coclass HTMLOptionButtonElement
  1131. {
  1132. [default] dispinterface DispIHTMLOptionButtonElement;
  1133. [source, default] dispinterface HTMLOptionButtonElementEvents;
  1134. interface IHTMLOptionButtonElement;
  1135. interface IHTMLControlElement;
  1136. interface IHTMLElement;
  1137. interface IHTMLDatabinding;
  1138. };
  1139. [
  1140. hidden,
  1141. uuid(3050f51d-98b5-11cf-bb82-00aa00bdce0b)
  1142. ]
  1143. dispinterface DispIHTMLInputImage
  1144. {
  1145. properties:
  1146. methods:
  1147. [id(DISPID_IHTMLELEMENT_SETATTRIBUTE)] void setAttribute([in] BSTR strAttributeName,[in] VARIANT AttributeValue,[defaultvalue(1), in] LONG lFlags);
  1148. [id(DISPID_IHTMLELEMENT_GETATTRIBUTE)] VARIANT getAttribute([in] BSTR strAttributeName,[defaultvalue(0), in] LONG lFlags);
  1149. [id(DISPID_IHTMLELEMENT_REMOVEATTRIBUTE)] VARIANT_BOOL removeAttribute([in] BSTR strAttributeName,[defaultvalue(1), in] LONG lFlags);
  1150. [propput, id(DISPID_IHTMLELEMENT_CLASSNAME), bindable] void className(BSTR v);
  1151. [propget, id(DISPID_IHTMLELEMENT_CLASSNAME), bindable] BSTR className();
  1152. [propput, id(DISPID_IHTMLELEMENT_ID), bindable] void id(BSTR v);
  1153. [propget, id(DISPID_IHTMLELEMENT_ID), bindable] BSTR id();
  1154. [propget, id(DISPID_IHTMLELEMENT_TAGNAME)] BSTR tagName();
  1155. [propget, id(DISPID_IHTMLELEMENT_PARENTELEMENT)] IHTMLElement* parentElement();
  1156. [propget, id(DISPID_IHTMLELEMENT_STYLE), nonbrowsable] IHTMLStyle* style();
  1157. [propput, id(DISPID_IHTMLELEMENT_ONHELP), displaybind, bindable] void onhelp(VARIANT v);
  1158. [propget, id(DISPID_IHTMLELEMENT_ONHELP), displaybind, bindable] VARIANT onhelp();
  1159. [propput, id(DISPID_IHTMLELEMENT_ONCLICK), displaybind, bindable] void onclick(VARIANT v);
  1160. [propget, id(DISPID_IHTMLELEMENT_ONCLICK), displaybind, bindable] VARIANT onclick();
  1161. [propput, id(DISPID_IHTMLELEMENT_ONDBLCLICK), displaybind, bindable] void ondblclick(VARIANT v);
  1162. [propget, id(DISPID_IHTMLELEMENT_ONDBLCLICK), displaybind, bindable] VARIANT ondblclick();
  1163. [propput, id(DISPID_IHTMLELEMENT_ONKEYDOWN), displaybind, bindable] void onkeydown(VARIANT v);
  1164. [propget, id(DISPID_IHTMLELEMENT_ONKEYDOWN), displaybind, bindable] VARIANT onkeydown();
  1165. [propput, id(DISPID_IHTMLELEMENT_ONKEYUP), displaybind, bindable] void onkeyup(VARIANT v);
  1166. [propget, id(DISPID_IHTMLELEMENT_ONKEYUP), displaybind, bindable] VARIANT onkeyup();
  1167. [propput, id(DISPID_IHTMLELEMENT_ONKEYPRESS), displaybind, bindable] void onkeypress(VARIANT v);
  1168. [propget, id(DISPID_IHTMLELEMENT_ONKEYPRESS), displaybind, bindable] VARIANT onkeypress();
  1169. [propput, id(DISPID_IHTMLELEMENT_ONMOUSEOUT), displaybind, bindable] void onmouseout(VARIANT v);
  1170. [propget, id(DISPID_IHTMLELEMENT_ONMOUSEOUT), displaybind, bindable] VARIANT onmouseout();
  1171. [propput, id(DISPID_IHTMLELEMENT_ONMOUSEOVER), displaybind, bindable] void onmouseover(VARIANT v);
  1172. [propget, id(DISPID_IHTMLELEMENT_ONMOUSEOVER), displaybind, bindable] VARIANT onmouseover();
  1173. [propput, id(DISPID_IHTMLELEMENT_ONMOUSEMOVE), displaybind, bindable] void onmousemove(VARIANT v);
  1174. [propget, id(DISPID_IHTMLELEMENT_ONMOUSEMOVE), displaybind, bindable] VARIANT onmousemove();
  1175. [propput, id(DISPID_IHTMLELEMENT_ONMOUSEDOWN), displaybind, bindable] void onmousedown(VARIANT v);
  1176. [propget, id(DISPID_IHTMLELEMENT_ONMOUSEDOWN), displaybind, bindable] VARIANT onmousedown();
  1177. [propput, id(DISPID_IHTMLELEMENT_ONMOUSEUP), displaybind, bindable] void onmouseup(VARIANT v);
  1178. [propget, id(DISPID_IHTMLELEMENT_ONMOUSEUP), displaybind, bindable] VARIANT onmouseup();
  1179. [propget, id(DISPID_IHTMLELEMENT_DOCUMENT)] IDispatch* document();
  1180. [propput, id(DISPID_IHTMLELEMENT_TITLE), displaybind, bindable] void title(BSTR v);
  1181. [propget, id(DISPID_IHTMLELEMENT_TITLE), displaybind, bindable] BSTR title();
  1182. [propput, id(DISPID_IHTMLELEMENT_LANGUAGE), displaybind, bindable] void language(BSTR v);
  1183. [propget, id(DISPID_IHTMLELEMENT_LANGUAGE), displaybind, bindable] BSTR language();
  1184. [propput, id(DISPID_IHTMLELEMENT_ONSELECTSTART), displaybind, bindable] void onselectstart(VARIANT v);
  1185. [propget, id(DISPID_IHTMLELEMENT_ONSELECTSTART), displaybind, bindable] VARIANT onselectstart();
  1186. [id(DISPID_IHTMLELEMENT_SCROLLINTOVIEW)] void scrollIntoView([optional, in] VARIANT varargStart);
  1187. [id(DISPID_IHTMLELEMENT_CONTAINS)] VARIANT_BOOL contains([in] IHTMLElement* pChild);
  1188. [propget, id(DISPID_IHTMLELEMENT_SOURCEINDEX), bindable] long sourceIndex();
  1189. [propget, id(DISPID_IHTMLELEMENT_RECORDNUMBER)] VARIANT recordNumber();
  1190. [propput, id(DISPID_IHTMLELEMENT_LANG)] void lang(BSTR v);
  1191. [propget, id(DISPID_IHTMLELEMENT_LANG)] BSTR lang();
  1192. [propget, id(DISPID_IHTMLELEMENT_OFFSETLEFT)] long offsetLeft();
  1193. [propget, id(DISPID_IHTMLELEMENT_OFFSETTOP)] long offsetTop();
  1194. [propget, id(DISPID_IHTMLELEMENT_OFFSETWIDTH)] long offsetWidth();
  1195. [propget, id(DISPID_IHTMLELEMENT_OFFSETHEIGHT)] long offsetHeight();
  1196. [propget, id(DISPID_IHTMLELEMENT_OFFSETPARENT)] IHTMLElement* offsetParent();
  1197. [propput, id(DISPID_IHTMLELEMENT_INNERHTML)] void innerHTML(BSTR v);
  1198. [propget, id(DISPID_IHTMLELEMENT_INNERHTML)] BSTR innerHTML();
  1199. [propput, id(DISPID_IHTMLELEMENT_INNERTEXT)] void innerText(BSTR v);
  1200. [propget, id(DISPID_IHTMLELEMENT_INNERTEXT)] BSTR innerText();
  1201. [propput, id(DISPID_IHTMLELEMENT_OUTERHTML)] void outerHTML(BSTR v);
  1202. [propget, id(DISPID_IHTMLELEMENT_OUTERHTML)] BSTR outerHTML();
  1203. [propput, id(DISPID_IHTMLELEMENT_OUTERTEXT)] void outerText(BSTR v);
  1204. [propget, id(DISPID_IHTMLELEMENT_OUTERTEXT)] BSTR outerText();
  1205. [id(DISPID_IHTMLELEMENT_INSERTADJACENTHTML)] void insertAdjacentHTML([in] BSTR where,[in] BSTR html);
  1206. [id(DISPID_IHTMLELEMENT_INSERTADJACENTTEXT)] void insertAdjacentText([in] BSTR where,[in] BSTR text);
  1207. [propget, id(DISPID_IHTMLELEMENT_PARENTTEXTEDIT)] IHTMLElement* parentTextEdit();
  1208. [propget, id(DISPID_IHTMLELEMENT_ISTEXTEDIT)] VARIANT_BOOL isTextEdit();
  1209. [id(DISPID_IHTMLELEMENT_CLICK)] void click();
  1210. [propget, id(DISPID_IHTMLELEMENT_FILTERS)] IHTMLFiltersCollection* filters();
  1211. [propput, id(DISPID_IHTMLELEMENT_ONDRAGSTART), displaybind, bindable] void ondragstart(VARIANT v);
  1212. [propget, id(DISPID_IHTMLELEMENT_ONDRAGSTART), displaybind, bindable] VARIANT ondragstart();
  1213. [id(DISPID_IHTMLELEMENT_TOSTRING)] BSTR toString();
  1214. [propput, id(DISPID_IHTMLELEMENT_ONBEFOREUPDATE), displaybind, bindable] void onbeforeupdate(VARIANT v);
  1215. [propget, id(DISPID_IHTMLELEMENT_ONBEFOREUPDATE), displaybind, bindable] VARIANT onbeforeupdate();
  1216. [propput, id(DISPID_IHTMLELEMENT_ONAFTERUPDATE), displaybind, bindable] void onafterupdate(VARIANT v);
  1217. [propget, id(DISPID_IHTMLELEMENT_ONAFTERUPDATE), displaybind, bindable] VARIANT onafterupdate();
  1218. [propput, id(DISPID_IHTMLELEMENT_ONERRORUPDATE), displaybind, bindable] void onerrorupdate(VARIANT v);
  1219. [propget, id(DISPID_IHTMLELEMENT_ONERRORUPDATE), displaybind, bindable] VARIANT onerrorupdate();
  1220. [propput, id(DISPID_IHTMLELEMENT_ONROWEXIT), displaybind, bindable] void onrowexit(VARIANT v);
  1221. [propget, id(DISPID_IHTMLELEMENT_ONROWEXIT), displaybind, bindable] VARIANT onrowexit();
  1222. [propput, id(DISPID_IHTMLELEMENT_ONROWENTER), displaybind, bindable] void onrowenter(VARIANT v);
  1223. [propget, id(DISPID_IHTMLELEMENT_ONROWENTER), displaybind, bindable] VARIANT onrowenter();
  1224. [propput, id(DISPID_IHTMLELEMENT_ONDATASETCHANGED), displaybind, bindable] void ondatasetchanged(VARIANT v);
  1225. [propget, id(DISPID_IHTMLELEMENT_ONDATASETCHANGED), displaybind, bindable] VARIANT ondatasetchanged();
  1226. [propput, id(DISPID_IHTMLELEMENT_ONDATAAVAILABLE), displaybind, bindable] void ondataavailable(VARIANT v);
  1227. [propget, id(DISPID_IHTMLELEMENT_ONDATAAVAILABLE), displaybind, bindable] VARIANT ondataavailable();
  1228. [propput, id(DISPID_IHTMLELEMENT_ONDATASETCOMPLETE), displaybind, bindable] void ondatasetcomplete(VARIANT v);
  1229. [propget, id(DISPID_IHTMLELEMENT_ONDATASETCOMPLETE), displaybind, bindable] VARIANT ondatasetcomplete();
  1230. [propput, id(DISPID_IHTMLELEMENT_ONFILTERCHANGE), displaybind, bindable] void onfilterchange(VARIANT v);
  1231. [propget, id(DISPID_IHTMLELEMENT_ONFILTERCHANGE), displaybind, bindable] VARIANT onfilterchange();
  1232. [propget, id(DISPID_IHTMLELEMENT_CHILDREN)] IDispatch* children();
  1233. [propget, id(DISPID_IHTMLELEMENT_ALL)] IDispatch* all();
  1234. [propput, id(DISPID_IHTMLCONTROLELEMENT_TABINDEX), displaybind, bindable] void tabIndex(short v);
  1235. [propget, id(DISPID_IHTMLCONTROLELEMENT_TABINDEX), displaybind, bindable] short tabIndex();
  1236. [id(DISPID_IHTMLCONTROLELEMENT_FOCUS)] void focus();
  1237. [propput, id(DISPID_IHTMLCONTROLELEMENT_ACCESSKEY), displaybind, bindable] void accessKey(BSTR v);
  1238. [propget, id(DISPID_IHTMLCONTROLELEMENT_ACCESSKEY), displaybind, bindable] BSTR accessKey();
  1239. [propput, id(DISPID_IHTMLCONTROLELEMENT_ONBLUR), displaybind, bindable] void onblur(VARIANT v);
  1240. [propget, id(DISPID_IHTMLCONTROLELEMENT_ONBLUR), displaybind, bindable] VARIANT onblur();
  1241. [propput, id(DISPID_IHTMLCONTROLELEMENT_ONFOCUS), displaybind, bindable] void onfocus(VARIANT v);
  1242. [propget, id(DISPID_IHTMLCONTROLELEMENT_ONFOCUS), displaybind, bindable] VARIANT onfocus();
  1243. [propput, id(DISPID_IHTMLCONTROLELEMENT_ONRESIZE), displaybind, bindable] void onresize(VARIANT v);
  1244. [propget, id(DISPID_IHTMLCONTROLELEMENT_ONRESIZE), displaybind, bindable] VARIANT onresize();
  1245. [id(DISPID_IHTMLCONTROLELEMENT_BLUR)] void blur();
  1246. [id(DISPID_IHTMLCONTROLELEMENT_ADDFILTER)] void addFilter([in] IUnknown* pUnk);
  1247. [id(DISPID_IHTMLCONTROLELEMENT_REMOVEFILTER)] void removeFilter([in] IUnknown* pUnk);
  1248. [propget, id(DISPID_IHTMLCONTROLELEMENT_CLIENTHEIGHT), displaybind, bindable] long clientHeight();
  1249. [propget, id(DISPID_IHTMLCONTROLELEMENT_CLIENTWIDTH), displaybind, bindable] long clientWidth();
  1250. [propget, id(DISPID_IHTMLCONTROLELEMENT_CLIENTTOP), displaybind, bindable] long clientTop();
  1251. [propget, id(DISPID_IHTMLCONTROLELEMENT_CLIENTLEFT), displaybind, bindable] long clientLeft();
  1252. [propget, id(DISPID_IHTMLINPUTIMAGE_TYPE)] BSTR type();
  1253. [propput, id(DISPID_IHTMLINPUTIMAGE_DISABLED), displaybind, bindable] void disabled(VARIANT_BOOL v);
  1254. [propget, id(DISPID_IHTMLINPUTIMAGE_DISABLED), displaybind, bindable] VARIANT_BOOL disabled();
  1255. [propput, id(DISPID_IHTMLINPUTIMAGE_BORDER), displaybind, bindable] void border(VARIANT v);
  1256. [propget, id(DISPID_IHTMLINPUTIMAGE_BORDER), displaybind, bindable] VARIANT border();
  1257. [propput, id(DISPID_IHTMLINPUTIMAGE_VSPACE), displaybind, bindable] void vspace(long v);
  1258. [propget, id(DISPID_IHTMLINPUTIMAGE_VSPACE), displaybind, bindable] long vspace();
  1259. [propput, id(DISPID_IHTMLINPUTIMAGE_HSPACE), displaybind, bindable] void hspace(long v);
  1260. [propget, id(DISPID_IHTMLINPUTIMAGE_HSPACE), displaybind, bindable] long hspace();
  1261. [propput, id(DISPID_IHTMLINPUTIMAGE_ALT), displaybind, bindable] void alt(BSTR v);
  1262. [propget, id(DISPID_IHTMLINPUTIMAGE_ALT), displaybind, bindable] BSTR alt();
  1263. [propput, id(DISPID_IHTMLINPUTIMAGE_SRC), displaybind, bindable] void src(BSTR v);
  1264. [propget, id(DISPID_IHTMLINPUTIMAGE_SRC), displaybind, bindable] BSTR src();
  1265. [propput, id(DISPID_IHTMLINPUTIMAGE_LOWSRC), displaybind, bindable] void lowsrc(BSTR v);
  1266. [propget, id(DISPID_IHTMLINPUTIMAGE_LOWSRC), displaybind, bindable] BSTR lowsrc();
  1267. [propput, id(DISPID_IHTMLINPUTIMAGE_VRML), displaybind, bindable] void vrml(BSTR v);
  1268. [propget, id(DISPID_IHTMLINPUTIMAGE_VRML), displaybind, bindable] BSTR vrml();
  1269. [propput, id(DISPID_IHTMLINPUTIMAGE_DYNSRC), displaybind, bindable] void dynsrc(BSTR v);
  1270. [propget, id(DISPID_IHTMLINPUTIMAGE_DYNSRC), displaybind, bindable] BSTR dynsrc();
  1271. [propget, id(DISPID_IHTMLINPUTIMAGE_READYSTATE)] BSTR readyState();
  1272. [propget, id(DISPID_IHTMLINPUTIMAGE_COMPLETE)] VARIANT_BOOL complete();
  1273. [propput, id(DISPID_IHTMLINPUTIMAGE_LOOP), displaybind, bindable] void loop(VARIANT v);
  1274. [propget, id(DISPID_IHTMLINPUTIMAGE_LOOP), displaybind, bindable] VARIANT loop();
  1275. [propput, id(DISPID_IHTMLINPUTIMAGE_ALIGN), displaybind, bindable] void align(BSTR v);
  1276. [propget, id(DISPID_IHTMLINPUTIMAGE_ALIGN), displaybind, bindable] BSTR align();
  1277. [propput, id(DISPID_IHTMLINPUTIMAGE_ONLOAD), displaybind, bindable] void onload(VARIANT v);
  1278. [propget, id(DISPID_IHTMLINPUTIMAGE_ONLOAD), displaybind, bindable] VARIANT onload();
  1279. [propput, id(DISPID_IHTMLINPUTIMAGE_ONERROR), displaybind, bindable] void onerror(VARIANT v);
  1280. [propget, id(DISPID_IHTMLINPUTIMAGE_ONERROR), displaybind, bindable] VARIANT onerror();
  1281. [propput, id(DISPID_IHTMLINPUTIMAGE_ONABORT), displaybind, bindable] void onabort(VARIANT v);
  1282. [propget, id(DISPID_IHTMLINPUTIMAGE_ONABORT), displaybind, bindable] VARIANT onabort();
  1283. [propput, id(DISPID_IHTMLINPUTIMAGE_NAME), displaybind, bindable] void name(BSTR v);
  1284. [propget, id(DISPID_IHTMLINPUTIMAGE_NAME), displaybind, bindable] BSTR name();
  1285. [propput, id(DISPID_IHTMLINPUTIMAGE_WIDTH)] void width(long v);
  1286. [propget, id(DISPID_IHTMLINPUTIMAGE_WIDTH)] long width();
  1287. [propput, id(DISPID_IHTMLINPUTIMAGE_HEIGHT)] void height(long v);
  1288. [propget, id(DISPID_IHTMLINPUTIMAGE_HEIGHT)] long height();
  1289. [propput, id(DISPID_IHTMLINPUTIMAGE_START), displaybind, bindable] void start(BSTR v);
  1290. [propget, id(DISPID_IHTMLINPUTIMAGE_START), displaybind, bindable] BSTR start();
  1291. };
  1292. [uuid(3050f2c4-98b5-11cf-bb82-00aa00bdce0b)]
  1293. coclass HTMLInputImage
  1294. {
  1295. [default] dispinterface DispIHTMLInputImage;
  1296. [source, default] dispinterface HTMLInputImageEvents;
  1297. interface IHTMLInputImage;
  1298. interface IHTMLControlElement;
  1299. interface IHTMLElement;
  1300. };
  1301.  
  1302. typedef enum _BEHAVIOR_EVENT
  1303. {
  1304.     BEHAVIOREVENT_FIRST = 0,
  1305.     BEHAVIOREVENT_CONTENTREADY = 0,
  1306.     BEHAVIOREVENT_DOCUMENTREADY = 1,
  1307.     BEHAVIOREVENT_APPLYSTYLE = 2,
  1308.     BEHAVIOREVENT_DOCUMENTCONTEXTCHANGE = 3,
  1309.     BEHAVIOREVENT_CONTENTSAVE = 4,
  1310.     BEHAVIOREVENT_LAST = 4,
  1311.     BEHAVIOR_EVENT_Max = 2147483647L
  1312. } BEHAVIOR_EVENT;
  1313. typedef enum _BEHAVIOR_EVENT_FLAGS
  1314. {
  1315.     BEHAVIOREVENTFLAGS_BUBBLE = 1,
  1316.     BEHAVIOREVENTFLAGS_STANDARDADDITIVE = 2,
  1317.     BEHAVIOR_EVENT_FLAGS_Max = 2147483647L
  1318. } BEHAVIOR_EVENT_FLAGS;
  1319. typedef enum _BEHAVIOR_RENDER_INFO
  1320. {
  1321.     BEHAVIORRENDERINFO_BEFOREBACKGROUND = 0x000001,
  1322.     BEHAVIORRENDERINFO_AFTERBACKGROUND = 0x000002,
  1323.     BEHAVIORRENDERINFO_BEFORECONTENT = 0x000004,
  1324.     BEHAVIORRENDERINFO_AFTERCONTENT = 0x000008,
  1325.     BEHAVIORRENDERINFO_AFTERFOREGROUND = 0x000020,
  1326.     BEHAVIORRENDERINFO_ABOVECONTENT = 0x000028,
  1327.     BEHAVIORRENDERINFO_ALLLAYERS = 0x0000FF,
  1328.     BEHAVIORRENDERINFO_DISABLEBACKGROUND = 0x000100,
  1329.     BEHAVIORRENDERINFO_DISABLENEGATIVEZ = 0x000200,
  1330.     BEHAVIORRENDERINFO_DISABLECONTENT = 0x000400,
  1331.     BEHAVIORRENDERINFO_DISABLEPOSITIVEZ = 0x000800,
  1332.     BEHAVIORRENDERINFO_DISABLEALLLAYERS = 0x000F00,
  1333.     BEHAVIORRENDERINFO_HITTESTING = 0x001000,
  1334.     BEHAVIORRENDERINFO_SURFACE = 0x100000,
  1335.     BEHAVIORRENDERINFO_3DSURFACE = 0x200000,
  1336.     BEHAVIOR_RENDER_INFO_Max = 2147483647L
  1337. } BEHAVIOR_RENDER_INFO;
  1338. typedef enum _BEHAVIOR_RELATION
  1339. {
  1340.     BEHAVIOR_FIRSTRELATION = 0,
  1341.     BEHAVIOR_SAMEELEMENT = 0,
  1342.     BEHAVIOR_PARENT = 1,
  1343.     BEHAVIOR_CHILD = 2,
  1344.     BEHAVIOR_SIBLING = 3,
  1345.     BEHAVIOR_LASTRELATION = 3,
  1346.     BEHAVIOR_RELATION_Max = 2147483647L
  1347. } BEHAVIOR_RELATION;
  1348. typedef enum _BEHAVIOR_LAYOUT_INFO
  1349. {
  1350.     BEHAVIORLAYOUTINFO_FULLDELEGATION = 0x01,
  1351.     BEHAVIORLAYOUTINFO_MODIFYNATURAL = 0x02,
  1352.     BEHAVIORLAYOUTINFO_MAPSIZE = 0x04,
  1353.     BEHAVIOR_LAYOUT_INFO_Max = 2147483647L
  1354. } BEHAVIOR_LAYOUT_INFO;
  1355. typedef enum _BEHAVIOR_LAYOUT_MODE
  1356. {
  1357.     BEHAVIORLAYOUTMODE_NATURAL = 0x0001,
  1358.     BEHAVIORLAYOUTMODE_MINWIDTH = 0x0002,
  1359.     BEHAVIORLAYOUTMODE_MAXWIDTH = 0x0004,
  1360.     BEHAVIORLAYOUTMODE_MEDIA_RESOLUTION = 0x4000,
  1361.     BEHAVIORLAYOUTMODE_FINAL_PERCENT = 0x8000,
  1362.     BEHAVIOR_LAYOUT_MODE_Max = 2147483647L
  1363. } BEHAVIOR_LAYOUT_MODE;
  1364. typedef enum _ELEMENTDESCRIPTOR_FLAGS
  1365. {
  1366.     ELEMENTDESCRIPTORFLAGS_LITERAL = 1,
  1367.     ELEMENTDESCRIPTORFLAGS_NESTED_LITERAL = 2,
  1368.     ELEMENTDESCRIPTOR_FLAGS_Max = 2147483647L
  1369. } ELEMENTDESCRIPTOR_FLAGS;
  1370. typedef enum _ELEMENTNAMESPACE_FLAGS
  1371. {
  1372.     ELEMENTNAMESPACEFLAGS_ALLOWANYTAG = 0x1,
  1373.     ELEMENTNAMESPACEFLAGS_QUERYFORUNKNOWNTAGS = 0x2,
  1374.     ELEMENTNAMESPACE_FLAGS_Max = 2147483647L
  1375. } ELEMENTNAMESPACE_FLAGS;
  1376. interface IElementBehavior;
  1377. interface IElementBehaviorSite;
  1378. interface IHTMLElementDefaults;
  1379. [
  1380.     object,
  1381.     pointer_default(unique),
  1382.     uuid(3050f429-98b5-11cf-bb82-00aa00bdce0b)
  1383. ]
  1384. interface IElementBehaviorFactory : IUnknown
  1385. {
  1386.     [] HRESULT FindBehavior([in] BSTR bstrBehavior,[in] BSTR bstrBehaviorUrl,[in] IElementBehaviorSite* pSite,[retval, out] IElementBehavior** ppBehavior);
  1387. };
  1388. [
  1389.     object,
  1390.     pointer_default(unique),
  1391.     uuid(3050f671-98b5-11cf-bb82-00aa00bdce0b)
  1392. ]
  1393. interface IElementNamespace : IUnknown
  1394. {
  1395.     [] HRESULT AddTag([in] BSTR bstrTagName,[in] LONG lFlags);
  1396. };
  1397. [
  1398.     object,
  1399.     pointer_default(unique),
  1400.     uuid(3050f670-98b5-11cf-bb82-00aa00bdce0b)
  1401. ]
  1402. interface IElementNamespaceTable : IUnknown
  1403. {
  1404.     [] HRESULT AddNamespace([in] BSTR bstrNamespace,[in] BSTR bstrUrn,[in] LONG lFlags,[in] VARIANT* pvarFactory);
  1405. };
  1406. [
  1407.     object,
  1408.     pointer_default(unique),
  1409.     uuid(3050f672-98b5-11cf-bb82-00aa00bdce0b)
  1410. ]
  1411. interface IElementNamespaceFactory : IUnknown
  1412. {
  1413.     [] HRESULT Create([in] IElementNamespace* pNamespace);
  1414. };
  1415. [
  1416.     object,
  1417.     pointer_default(unique),
  1418.     uuid(3050f805-98b5-11cf-bb82-00aa00bdce0b)
  1419. ]
  1420. interface IElementNamespaceFactory2 : IElementNamespaceFactory
  1421. {
  1422.     [] HRESULT CreateWithImplementation([in] IElementNamespace* pNamespace,[in] BSTR bstrImplementation);
  1423. };
  1424. [
  1425.     object,
  1426.     pointer_default(unique),
  1427.     uuid(3050f7fd-98b5-11cf-bb82-00aa00bdce0b)
  1428. ]
  1429. interface IElementNamespaceFactoryCallback : IUnknown
  1430. {
  1431.     [] HRESULT Resolve([in] BSTR bstrNamespace,[in] BSTR bstrTagName,[in] BSTR bstrAttrs,[in] IElementNamespace* pNamespace);
  1432. };
  1433. [
  1434.     object,
  1435.     pointer_default(unique),
  1436.     uuid(3050f425-98b5-11cf-bb82-00aa00bdce0b)
  1437. ]
  1438. interface IElementBehavior : IUnknown
  1439. {
  1440.     [] HRESULT Init([in] IElementBehaviorSite* pBehaviorSite);
  1441.     [] HRESULT Notify([in] LONG lEvent,[in, out] VARIANT* pVar);
  1442.     [] HRESULT Detach();
  1443. };
  1444. [
  1445.     object,
  1446.     pointer_default(unique),
  1447.     uuid(3050f427-98b5-11cf-bb82-00aa00bdce0b)
  1448. ]
  1449. interface IElementBehaviorSite : IUnknown
  1450. {
  1451.     [] HRESULT GetElement([retval, out] IHTMLElement** ppElement);
  1452.     [] HRESULT RegisterNotification([in] LONG lEvent);
  1453. };
  1454. [
  1455.     object,
  1456.     pointer_default(unique),
  1457.     uuid(3050f489-98b5-11cf-bb82-00aa00bdce0b)
  1458. ]
  1459. interface IElementBehaviorSiteOM : IUnknown
  1460. {
  1461.     [] HRESULT RegisterEvent([in] LPOLESTR pchEvent,[in] LONG lFlags,[retval, out] LONG* plCookie);
  1462.     [] HRESULT GetEventCookie([in] LPOLESTR pchEvent,[retval, out] LONG* plCookie);
  1463.     [] HRESULT FireEvent([in] LONG lCookie,[in] IHTMLEventObj* pEventObject);
  1464.     [] HRESULT CreateEventObject([retval, out] IHTMLEventObj** ppEventObject);
  1465.     [] HRESULT RegisterName([in] LPOLESTR pchName);
  1466.     [] HRESULT RegisterUrn([in] LPOLESTR pchUrn);
  1467. };
  1468. [
  1469.     object,
  1470.     pointer_default(unique),
  1471.     uuid(3050f659-98b5-11cf-bb82-00aa00bdce0b)
  1472. ]
  1473. interface IElementBehaviorSiteOM2 : IElementBehaviorSiteOM
  1474. {
  1475.     [] HRESULT GetDefaults([retval, out] IHTMLElementDefaults** ppDefaults);
  1476. };
  1477. [
  1478.     object,
  1479.     pointer_default(unique),
  1480.     uuid(3050f4aa-98b5-11cf-bb82-00aa00bdce0b)
  1481. ]
  1482. interface IElementBehaviorRender : IUnknown
  1483. {
  1484.     [] HRESULT Draw([in] HDC hdc,[in] LONG lLayer,[in] RECT* pRect,[in] IUnknown* pReserved);
  1485.     [] HRESULT GetRenderInfo([retval, out] LONG* plRenderInfo);
  1486.     [] HRESULT HitTestPoint([in] POINT* pPoint,[in] IUnknown* pReserved,[retval, out] BOOL* pbHit);
  1487. };
  1488. [
  1489.     object,
  1490.     pointer_default(unique),
  1491.     uuid(3050f4a7-98b5-11cf-bb82-00aa00bdce0b)
  1492. ]
  1493. interface IElementBehaviorSiteRender : IUnknown
  1494. {
  1495.     [] HRESULT Invalidate([in] RECT* pRect);
  1496.     [] HRESULT InvalidateRenderInfo();
  1497.     [] HRESULT InvalidateStyle();
  1498. };
  1499. [
  1500.     object,
  1501.     pointer_default(unique),
  1502.     uuid(3050f4ed-98b5-11cf-bb82-00aa00bdce0b)
  1503. ]
  1504. interface IElementBehaviorCategory : IUnknown
  1505. {
  1506.     [] HRESULT GetCategory([retval, out] LPOLESTR* ppchCategory);
  1507. };
  1508. [
  1509.     object,
  1510.     pointer_default(unique),
  1511.     uuid(3050f4ee-98b5-11cf-bb82-00aa00bdce0b)
  1512. ]
  1513. interface IElementBehaviorSiteCategory : IUnknown
  1514. {
  1515.     [] HRESULT GetRelatedBehaviors([in] LONG lDirection,[in] LPOLESTR pchCategory,[retval, out] IEnumUnknown** ppEnumerator);
  1516. };
  1517. [
  1518.     object,
  1519.     pointer_default(unique),
  1520.     uuid(3050f646-98b5-11cf-bb82-00aa00bdce0b)
  1521. ]
  1522. interface IElementBehaviorSubmit : IUnknown
  1523. {
  1524.     [] HRESULT GetSubmitInfo([in] IHTMLSubmitData* pSubmitData);
  1525.     [] HRESULT Reset();
  1526. };
  1527. [
  1528.     object,
  1529.     pointer_default(unique),
  1530.     uuid(3050f6b6-98b5-11cf-bb82-00aa00bdce0b)
  1531. ]
  1532. interface IElementBehaviorFocus : IUnknown
  1533. {
  1534.     [] HRESULT GetFocusRect([in] RECT* pRect);
  1535. };
  1536. [
  1537.     object,
  1538.     pointer_default(unique),
  1539.     uuid(3050f6ba-98b5-11cf-bb82-00aa00bdce0b)
  1540. ]
  1541. interface IElementBehaviorLayout : IUnknown
  1542. {
  1543.     [] HRESULT GetSize([in] LONG dwFlags,[in] SIZE sizeContent,[in, out] POINT* pptTranslateBy,[in, out] POINT* pptTopLeft,[in, out] SIZE* psizeProposed);
  1544.     [] HRESULT GetLayoutInfo([retval, out] LONG* plLayoutInfo);
  1545.     [] HRESULT GetPosition([in] LONG lFlags,[in, out] POINT* pptTopLeft);
  1546.     [] HRESULT MapSize([in] SIZE* psizeIn,[out] RECT* prcOut);
  1547. };
  1548. [
  1549.     object,
  1550.     pointer_default(unique),
  1551.     uuid(3050f846-98b5-11cf-bb82-00aa00bdce0b)
  1552. ]
  1553. interface IElementBehaviorLayout2 : IUnknown
  1554. {
  1555.     [] HRESULT GetTextDescent([out] LONG* plDescent);
  1556. };
  1557. [
  1558.     object,
  1559.     pointer_default(unique),
  1560.     uuid(3050f6b7-98b5-11cf-bb82-00aa00bdce0b)
  1561. ]
  1562. interface IElementBehaviorSiteLayout : IUnknown
  1563. {
  1564.     [] HRESULT InvalidateLayoutInfo();
  1565.     [] HRESULT InvalidateSize();
  1566.     [] HRESULT GetMediaResolution([retval, out] SIZE* psizeResolution);
  1567. };
  1568. [
  1569.     object,
  1570.     pointer_default(unique),
  1571.     uuid(3050f847-98b5-11cf-bb82-00aa00bdce0b)
  1572. ]
  1573. interface IElementBehaviorSiteLayout2 : IUnknown
  1574. {
  1575.     [] HRESULT GetFontInfo([out] LOGFONTW* plf);
  1576. };
  1577. [
  1578.     object,
  1579.     pointer_default(unique),
  1580.     uuid(3050f842-98b5-11cf-bb82-00aa00bdce0b)
  1581. ]
  1582. interface IHostBehaviorInit : IUnknown
  1583. {
  1584.     [] HRESULT PopulateNamespaceTable();
  1585. };
  1586.