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

模拟服务器

开发平台:

C/C++

  1.     [propput, id(DISPID_IHTMLELEMENT2_ONDRAG), displaybind, bindable] void ondrag(VARIANT v);
  2.     [propget, id(DISPID_IHTMLELEMENT2_ONDRAG), displaybind, bindable] VARIANT ondrag();
  3.     [propput, id(DISPID_IHTMLELEMENT2_ONDRAGEND), displaybind, bindable] void ondragend(VARIANT v);
  4.     [propget, id(DISPID_IHTMLELEMENT2_ONDRAGEND), displaybind, bindable] VARIANT ondragend();
  5.     [propput, id(DISPID_IHTMLELEMENT2_ONDRAGENTER), displaybind, bindable] void ondragenter(VARIANT v);
  6.     [propget, id(DISPID_IHTMLELEMENT2_ONDRAGENTER), displaybind, bindable] VARIANT ondragenter();
  7.     [propput, id(DISPID_IHTMLELEMENT2_ONDRAGOVER), displaybind, bindable] void ondragover(VARIANT v);
  8.     [propget, id(DISPID_IHTMLELEMENT2_ONDRAGOVER), displaybind, bindable] VARIANT ondragover();
  9.     [propput, id(DISPID_IHTMLELEMENT2_ONDRAGLEAVE), displaybind, bindable] void ondragleave(VARIANT v);
  10.     [propget, id(DISPID_IHTMLELEMENT2_ONDRAGLEAVE), displaybind, bindable] VARIANT ondragleave();
  11.     [propput, id(DISPID_IHTMLELEMENT2_ONDROP), displaybind, bindable] void ondrop(VARIANT v);
  12.     [propget, id(DISPID_IHTMLELEMENT2_ONDROP), displaybind, bindable] VARIANT ondrop();
  13.     [propput, id(DISPID_IHTMLELEMENT2_ONBEFORECUT), displaybind, bindable] void onbeforecut(VARIANT v);
  14.     [propget, id(DISPID_IHTMLELEMENT2_ONBEFORECUT), displaybind, bindable] VARIANT onbeforecut();
  15.     [propput, id(DISPID_IHTMLELEMENT2_ONCUT), displaybind, bindable] void oncut(VARIANT v);
  16.     [propget, id(DISPID_IHTMLELEMENT2_ONCUT), displaybind, bindable] VARIANT oncut();
  17.     [propput, id(DISPID_IHTMLELEMENT2_ONBEFORECOPY), displaybind, bindable] void onbeforecopy(VARIANT v);
  18.     [propget, id(DISPID_IHTMLELEMENT2_ONBEFORECOPY), displaybind, bindable] VARIANT onbeforecopy();
  19.     [propput, id(DISPID_IHTMLELEMENT2_ONCOPY), displaybind, bindable] void oncopy(VARIANT v);
  20.     [propget, id(DISPID_IHTMLELEMENT2_ONCOPY), displaybind, bindable] VARIANT oncopy();
  21.     [propput, id(DISPID_IHTMLELEMENT2_ONBEFOREPASTE), displaybind, bindable] void onbeforepaste(VARIANT v);
  22.     [propget, id(DISPID_IHTMLELEMENT2_ONBEFOREPASTE), displaybind, bindable] VARIANT onbeforepaste();
  23.     [propput, id(DISPID_IHTMLELEMENT2_ONPASTE), displaybind, bindable] void onpaste(VARIANT v);
  24.     [propget, id(DISPID_IHTMLELEMENT2_ONPASTE), displaybind, bindable] VARIANT onpaste();
  25.     [propget, id(DISPID_IHTMLELEMENT2_CURRENTSTYLE), nonbrowsable] IHTMLCurrentStyle* currentStyle();
  26.     [propput, id(DISPID_IHTMLELEMENT2_ONPROPERTYCHANGE), displaybind, bindable] void onpropertychange(VARIANT v);
  27.     [propget, id(DISPID_IHTMLELEMENT2_ONPROPERTYCHANGE), displaybind, bindable] VARIANT onpropertychange();
  28.     [id(DISPID_IHTMLELEMENT2_GETCLIENTRECTS)] IHTMLRectCollection* getClientRects();
  29.     [id(DISPID_IHTMLELEMENT2_GETBOUNDINGCLIENTRECT)] IHTMLRect* getBoundingClientRect();
  30.     [id(DISPID_IHTMLELEMENT2_SETEXPRESSION)] void setExpression([in] BSTR propname,[in] BSTR expression,[defaultvalue(""), in] BSTR language);
  31.     [id(DISPID_IHTMLELEMENT2_GETEXPRESSION)] VARIANT getExpression([in] BSTR propname);
  32.     [id(DISPID_IHTMLELEMENT2_REMOVEEXPRESSION)] VARIANT_BOOL removeExpression([in] BSTR propname);
  33.     [propput, id(DISPID_IHTMLELEMENT2_TABINDEX), displaybind, bindable] void tabIndex(short v);
  34.     [propget, id(DISPID_IHTMLELEMENT2_TABINDEX), displaybind, bindable] short tabIndex();
  35.     [id(DISPID_IHTMLELEMENT2_FOCUS)] void focus();
  36.     [propput, id(DISPID_IHTMLELEMENT2_ACCESSKEY), displaybind, bindable] void accessKey(BSTR v);
  37.     [propget, id(DISPID_IHTMLELEMENT2_ACCESSKEY), displaybind, bindable] BSTR accessKey();
  38.     [propput, id(DISPID_IHTMLELEMENT2_ONBLUR), displaybind, bindable] void onblur(VARIANT v);
  39.     [propget, id(DISPID_IHTMLELEMENT2_ONBLUR), displaybind, bindable] VARIANT onblur();
  40.     [propput, id(DISPID_IHTMLELEMENT2_ONFOCUS), displaybind, bindable] void onfocus(VARIANT v);
  41.     [propget, id(DISPID_IHTMLELEMENT2_ONFOCUS), displaybind, bindable] VARIANT onfocus();
  42.     [propput, id(DISPID_IHTMLELEMENT2_ONRESIZE), displaybind, bindable] void onresize(VARIANT v);
  43.     [propget, id(DISPID_IHTMLELEMENT2_ONRESIZE), displaybind, bindable] VARIANT onresize();
  44.     [id(DISPID_IHTMLELEMENT2_BLUR)] void blur();
  45.     [id(DISPID_IHTMLELEMENT2_ADDFILTER)] void addFilter([in] IUnknown* pUnk);
  46.     [id(DISPID_IHTMLELEMENT2_REMOVEFILTER)] void removeFilter([in] IUnknown* pUnk);
  47.     [propget, id(DISPID_IHTMLELEMENT2_CLIENTHEIGHT), displaybind, bindable] long clientHeight();
  48.     [propget, id(DISPID_IHTMLELEMENT2_CLIENTWIDTH), displaybind, bindable] long clientWidth();
  49.     [propget, id(DISPID_IHTMLELEMENT2_CLIENTTOP), displaybind, bindable] long clientTop();
  50.     [propget, id(DISPID_IHTMLELEMENT2_CLIENTLEFT), displaybind, bindable] long clientLeft();
  51.     [id(DISPID_IHTMLELEMENT2_ATTACHEVENT)] VARIANT_BOOL attachEvent([in] BSTR event,[in] IDispatch* pDisp);
  52.     [id(DISPID_IHTMLELEMENT2_DETACHEVENT)] void detachEvent([in] BSTR event,[in] IDispatch* pDisp);
  53.     [propget, id(DISPID_IHTMLELEMENT2_READYSTATE)] VARIANT readyState();
  54.     [propput, id(DISPID_IHTMLELEMENT2_ONREADYSTATECHANGE), displaybind, bindable] void onreadystatechange(VARIANT v);
  55.     [propget, id(DISPID_IHTMLELEMENT2_ONREADYSTATECHANGE), displaybind, bindable] VARIANT onreadystatechange();
  56.     [propput, id(DISPID_IHTMLELEMENT2_ONROWSDELETE), displaybind, bindable] void onrowsdelete(VARIANT v);
  57.     [propget, id(DISPID_IHTMLELEMENT2_ONROWSDELETE), displaybind, bindable] VARIANT onrowsdelete();
  58.     [propput, id(DISPID_IHTMLELEMENT2_ONROWSINSERTED), displaybind, bindable] void onrowsinserted(VARIANT v);
  59.     [propget, id(DISPID_IHTMLELEMENT2_ONROWSINSERTED), displaybind, bindable] VARIANT onrowsinserted();
  60.     [propput, id(DISPID_IHTMLELEMENT2_ONCELLCHANGE), displaybind, bindable] void oncellchange(VARIANT v);
  61.     [propget, id(DISPID_IHTMLELEMENT2_ONCELLCHANGE), displaybind, bindable] VARIANT oncellchange();
  62.     [propput, id(DISPID_IHTMLELEMENT2_DIR), displaybind, bindable] void dir(BSTR v);
  63.     [propget, id(DISPID_IHTMLELEMENT2_DIR), displaybind, bindable] BSTR dir();
  64.     [id(DISPID_IHTMLELEMENT2_CREATECONTROLRANGE)] IDispatch* createControlRange();
  65.     [propget, id(DISPID_IHTMLELEMENT2_SCROLLHEIGHT), displaybind, bindable] long scrollHeight();
  66.     [propget, id(DISPID_IHTMLELEMENT2_SCROLLWIDTH), displaybind, bindable] long scrollWidth();
  67.     [propput, id(DISPID_IHTMLELEMENT2_SCROLLTOP), displaybind, bindable] void scrollTop(long v);
  68.     [propget, id(DISPID_IHTMLELEMENT2_SCROLLTOP), displaybind, bindable] long scrollTop();
  69.     [propput, id(DISPID_IHTMLELEMENT2_SCROLLLEFT), displaybind, bindable] void scrollLeft(long v);
  70.     [propget, id(DISPID_IHTMLELEMENT2_SCROLLLEFT), displaybind, bindable] long scrollLeft();
  71.     [id(DISPID_IHTMLELEMENT2_CLEARATTRIBUTES)] void clearAttributes();
  72.     [propput, id(DISPID_IHTMLELEMENT2_ONCONTEXTMENU), displaybind, bindable] void oncontextmenu(VARIANT v);
  73.     [propget, id(DISPID_IHTMLELEMENT2_ONCONTEXTMENU), displaybind, bindable] VARIANT oncontextmenu();
  74.     [id(DISPID_IHTMLELEMENT2_INSERTADJACENTELEMENT)] IHTMLElement* insertAdjacentElement([in] BSTR where,[in] IHTMLElement* insertedElement);
  75.     [id(DISPID_IHTMLELEMENT2_APPLYELEMENT)] IHTMLElement* applyElement([in] IHTMLElement* apply,[in] BSTR where);
  76.     [id(DISPID_IHTMLELEMENT2_GETADJACENTTEXT)] BSTR getAdjacentText([in] BSTR where);
  77.     [id(DISPID_IHTMLELEMENT2_REPLACEADJACENTTEXT)] BSTR replaceAdjacentText([in] BSTR where,[in] BSTR newText);
  78.     [propget, id(DISPID_IHTMLELEMENT2_CANHAVECHILDREN)] VARIANT_BOOL canHaveChildren();
  79.     [id(DISPID_IHTMLELEMENT2_ADDBEHAVIOR)] long addBehavior([in] BSTR bstrUrl,[optional, in] VARIANT* pvarFactory);
  80.     [id(DISPID_IHTMLELEMENT2_REMOVEBEHAVIOR)] VARIANT_BOOL removeBehavior([in] long cookie);
  81.     [propget, id(DISPID_IHTMLELEMENT2_RUNTIMESTYLE), nonbrowsable] IHTMLStyle* runtimeStyle();
  82.     [propget, id(DISPID_IHTMLELEMENT2_BEHAVIORURNS)] IDispatch* behaviorUrns();
  83.     [propput, id(DISPID_IHTMLELEMENT2_TAGURN)] void tagUrn(BSTR v);
  84.     [propget, id(DISPID_IHTMLELEMENT2_TAGURN)] BSTR tagUrn();
  85.     [propput, id(DISPID_IHTMLELEMENT2_ONBEFOREEDITFOCUS), displaybind, bindable] void onbeforeeditfocus(VARIANT v);
  86.     [propget, id(DISPID_IHTMLELEMENT2_ONBEFOREEDITFOCUS), displaybind, bindable] VARIANT onbeforeeditfocus();
  87.     [propget, id(DISPID_IHTMLELEMENT2_READYSTATEVALUE), hidden, restricted] long readyStateValue();
  88.     [id(DISPID_IHTMLELEMENT2_GETELEMENTSBYTAGNAME)] IHTMLElementCollection* getElementsByTagName([in] BSTR v);
  89.     [id(DISPID_IHTMLELEMENT3_MERGEATTRIBUTES)] void mergeAttributes([in] IHTMLElement* mergeThis,[optional, in] VARIANT* pvarFlags);
  90.     [propget, id(DISPID_IHTMLELEMENT3_ISMULTILINE)] VARIANT_BOOL isMultiLine();
  91.     [propget, id(DISPID_IHTMLELEMENT3_CANHAVEHTML)] VARIANT_BOOL canHaveHTML();
  92.     [propput, id(DISPID_IHTMLELEMENT3_ONLAYOUTCOMPLETE), displaybind, bindable] void onlayoutcomplete(VARIANT v);
  93.     [propget, id(DISPID_IHTMLELEMENT3_ONLAYOUTCOMPLETE), displaybind, bindable] VARIANT onlayoutcomplete();
  94.     [propput, id(DISPID_IHTMLELEMENT3_ONPAGE), displaybind, bindable] void onpage(VARIANT v);
  95.     [propget, id(DISPID_IHTMLELEMENT3_ONPAGE), displaybind, bindable] VARIANT onpage();
  96.     [propput, id(DISPID_IHTMLELEMENT3_INFLATEBLOCK), hidden, restricted, nonbrowsable] void inflateBlock(VARIANT_BOOL v);
  97.     [propget, id(DISPID_IHTMLELEMENT3_INFLATEBLOCK), hidden, restricted, nonbrowsable] VARIANT_BOOL inflateBlock();
  98.     [propput, id(DISPID_IHTMLELEMENT3_ONBEFOREDEACTIVATE), displaybind, bindable] void onbeforedeactivate(VARIANT v);
  99.     [propget, id(DISPID_IHTMLELEMENT3_ONBEFOREDEACTIVATE), displaybind, bindable] VARIANT onbeforedeactivate();
  100.     [id(DISPID_IHTMLELEMENT3_SETACTIVE)] void setActive();
  101.     [propput, id(DISPID_IHTMLELEMENT3_CONTENTEDITABLE), displaybind, bindable] void contentEditable(BSTR v);
  102.     [propget, id(DISPID_IHTMLELEMENT3_CONTENTEDITABLE), displaybind, bindable] BSTR contentEditable();
  103.     [propget, id(DISPID_IHTMLELEMENT3_ISCONTENTEDITABLE)] VARIANT_BOOL isContentEditable();
  104.     [propput, id(DISPID_IHTMLELEMENT3_HIDEFOCUS), displaybind, bindable] void hideFocus(VARIANT_BOOL v);
  105.     [propget, id(DISPID_IHTMLELEMENT3_HIDEFOCUS), displaybind, bindable] VARIANT_BOOL hideFocus();
  106.     [propput, id(DISPID_IHTMLELEMENT3_DISABLED), displaybind, bindable] void disabled(VARIANT_BOOL v);
  107.     [propget, id(DISPID_IHTMLELEMENT3_DISABLED), displaybind, bindable] VARIANT_BOOL disabled();
  108.     [propget, id(DISPID_IHTMLELEMENT3_ISDISABLED)] VARIANT_BOOL isDisabled();
  109.     [propput, id(DISPID_IHTMLELEMENT3_ONMOVE), displaybind, bindable] void onmove(VARIANT v);
  110.     [propget, id(DISPID_IHTMLELEMENT3_ONMOVE), displaybind, bindable] VARIANT onmove();
  111.     [propput, id(DISPID_IHTMLELEMENT3_ONCONTROLSELECT), displaybind, bindable] void oncontrolselect(VARIANT v);
  112.     [propget, id(DISPID_IHTMLELEMENT3_ONCONTROLSELECT), displaybind, bindable] VARIANT oncontrolselect();
  113.     [id(DISPID_IHTMLELEMENT3_FIREEVENT)] VARIANT_BOOL fireEvent([in] BSTR bstrEventName,[optional, in] VARIANT* pvarEventObject);
  114.     [propput, id(DISPID_IHTMLELEMENT3_ONRESIZESTART), displaybind, bindable] void onresizestart(VARIANT v);
  115.     [propget, id(DISPID_IHTMLELEMENT3_ONRESIZESTART), displaybind, bindable] VARIANT onresizestart();
  116.     [propput, id(DISPID_IHTMLELEMENT3_ONRESIZEEND), displaybind, bindable] void onresizeend(VARIANT v);
  117.     [propget, id(DISPID_IHTMLELEMENT3_ONRESIZEEND), displaybind, bindable] VARIANT onresizeend();
  118.     [propput, id(DISPID_IHTMLELEMENT3_ONMOVESTART), displaybind, bindable] void onmovestart(VARIANT v);
  119.     [propget, id(DISPID_IHTMLELEMENT3_ONMOVESTART), displaybind, bindable] VARIANT onmovestart();
  120.     [propput, id(DISPID_IHTMLELEMENT3_ONMOVEEND), displaybind, bindable] void onmoveend(VARIANT v);
  121.     [propget, id(DISPID_IHTMLELEMENT3_ONMOVEEND), displaybind, bindable] VARIANT onmoveend();
  122.     [propput, id(DISPID_IHTMLELEMENT3_ONMOUSEENTER), displaybind, bindable] void onmouseenter(VARIANT v);
  123.     [propget, id(DISPID_IHTMLELEMENT3_ONMOUSEENTER), displaybind, bindable] VARIANT onmouseenter();
  124.     [propput, id(DISPID_IHTMLELEMENT3_ONMOUSELEAVE), displaybind, bindable] void onmouseleave(VARIANT v);
  125.     [propget, id(DISPID_IHTMLELEMENT3_ONMOUSELEAVE), displaybind, bindable] VARIANT onmouseleave();
  126.     [propput, id(DISPID_IHTMLELEMENT3_ONACTIVATE), displaybind, bindable] void onactivate(VARIANT v);
  127.     [propget, id(DISPID_IHTMLELEMENT3_ONACTIVATE), displaybind, bindable] VARIANT onactivate();
  128.     [propput, id(DISPID_IHTMLELEMENT3_ONDEACTIVATE), displaybind, bindable] void ondeactivate(VARIANT v);
  129.     [propget, id(DISPID_IHTMLELEMENT3_ONDEACTIVATE), displaybind, bindable] VARIANT ondeactivate();
  130.     [id(DISPID_IHTMLELEMENT3_DRAGDROP)] VARIANT_BOOL dragDrop();
  131.     [propget, id(DISPID_IHTMLELEMENT3_GLYPHMODE), hidden, restricted, nonbrowsable] LONG glyphMode();
  132.     [propput, id(DISPID_IHTMLELEMENT4_ONMOUSEWHEEL), displaybind, bindable] void onmousewheel(VARIANT v);
  133.     [propget, id(DISPID_IHTMLELEMENT4_ONMOUSEWHEEL), displaybind, bindable] VARIANT onmousewheel();
  134.     [id(DISPID_IHTMLELEMENT4_NORMALIZE)] void normalize();
  135.     [id(DISPID_IHTMLELEMENT4_GETATTRIBUTENODE)] IHTMLDOMAttribute* getAttributeNode([in] BSTR bstrname);
  136.     [id(DISPID_IHTMLELEMENT4_SETATTRIBUTENODE)] IHTMLDOMAttribute* setAttributeNode([in] IHTMLDOMAttribute* pattr);
  137.     [id(DISPID_IHTMLELEMENT4_REMOVEATTRIBUTENODE)] IHTMLDOMAttribute* removeAttributeNode([in] IHTMLDOMAttribute* pattr);
  138.     [propput, id(DISPID_IHTMLELEMENT4_ONBEFOREACTIVATE), displaybind, bindable] void onbeforeactivate(VARIANT v);
  139.     [propget, id(DISPID_IHTMLELEMENT4_ONBEFOREACTIVATE), displaybind, bindable] VARIANT onbeforeactivate();
  140.     [propput, id(DISPID_IHTMLELEMENT4_ONFOCUSIN), displaybind, bindable] void onfocusin(VARIANT v);
  141.     [propget, id(DISPID_IHTMLELEMENT4_ONFOCUSIN), displaybind, bindable] VARIANT onfocusin();
  142.     [propput, id(DISPID_IHTMLELEMENT4_ONFOCUSOUT), displaybind, bindable] void onfocusout(VARIANT v);
  143.     [propget, id(DISPID_IHTMLELEMENT4_ONFOCUSOUT), displaybind, bindable] VARIANT onfocusout();
  144.     [propget, id(DISPID_IHTMLUNIQUENAME_UNIQUENUMBER), hidden] long uniqueNumber();
  145.     [propget, id(DISPID_IHTMLUNIQUENAME_UNIQUEID), hidden] BSTR uniqueID();
  146.     [propget, id(DISPID_IHTMLDOMNODE_NODETYPE)] long nodeType();
  147.     [propget, id(DISPID_IHTMLDOMNODE_PARENTNODE)] IHTMLDOMNode* parentNode();
  148.     [id(DISPID_IHTMLDOMNODE_HASCHILDNODES)] VARIANT_BOOL hasChildNodes();
  149.     [propget, id(DISPID_IHTMLDOMNODE_CHILDNODES)] IDispatch* childNodes();
  150.     [propget, id(DISPID_IHTMLDOMNODE_ATTRIBUTES)] IDispatch* attributes();
  151.     [id(DISPID_IHTMLDOMNODE_INSERTBEFORE)] IHTMLDOMNode* insertBefore([in] IHTMLDOMNode* newChild,[optional, in] VARIANT refChild);
  152.     [id(DISPID_IHTMLDOMNODE_REMOVECHILD)] IHTMLDOMNode* removeChild([in] IHTMLDOMNode* oldChild);
  153.     [id(DISPID_IHTMLDOMNODE_REPLACECHILD)] IHTMLDOMNode* replaceChild([in] IHTMLDOMNode* newChild,[in] IHTMLDOMNode* oldChild);
  154.     [id(DISPID_IHTMLDOMNODE_CLONENODE)] IHTMLDOMNode* cloneNode([in] VARIANT_BOOL fDeep);
  155.     [id(DISPID_IHTMLDOMNODE_REMOVENODE)] IHTMLDOMNode* removeNode([defaultvalue(0), in] VARIANT_BOOL fDeep);
  156.     [id(DISPID_IHTMLDOMNODE_SWAPNODE)] IHTMLDOMNode* swapNode([in] IHTMLDOMNode* otherNode);
  157.     [id(DISPID_IHTMLDOMNODE_REPLACENODE)] IHTMLDOMNode* replaceNode([in] IHTMLDOMNode* replacement);
  158.     [id(DISPID_IHTMLDOMNODE_APPENDCHILD)] IHTMLDOMNode* appendChild([in] IHTMLDOMNode* newChild);
  159.     [propget, id(DISPID_IHTMLDOMNODE_NODENAME)] BSTR nodeName();
  160.     [propput, id(DISPID_IHTMLDOMNODE_NODEVALUE)] void nodeValue(VARIANT v);
  161.     [propget, id(DISPID_IHTMLDOMNODE_NODEVALUE)] VARIANT nodeValue();
  162.     [propget, id(DISPID_IHTMLDOMNODE_FIRSTCHILD)] IHTMLDOMNode* firstChild();
  163.     [propget, id(DISPID_IHTMLDOMNODE_LASTCHILD)] IHTMLDOMNode* lastChild();
  164.     [propget, id(DISPID_IHTMLDOMNODE_PREVIOUSSIBLING)] IHTMLDOMNode* previousSibling();
  165.     [propget, id(DISPID_IHTMLDOMNODE_NEXTSIBLING)] IHTMLDOMNode* nextSibling();
  166.     [propget, id(DISPID_IHTMLDOMNODE2_OWNERDOCUMENT)] IDispatch* ownerDocument();
  167.     [propput, id(DISPID_IHTMLNEXTIDELEMENT_N), displaybind, bindable] void n(BSTR v);
  168.     [propget, id(DISPID_IHTMLNEXTIDELEMENT_N), displaybind, bindable] BSTR n();
  169. };
  170. [
  171.     uuid(3050f279-98b5-11cf-bb82-00aa00bdce0b)
  172. ]
  173. coclass HTMLNextIdElement
  174. {
  175.     [default]           dispinterface DispHTMLNextIdElement;
  176.     [source, default]   dispinterface HTMLElementEvents;
  177.     [source]            dispinterface HTMLElementEvents2;
  178.                         interface IHTMLElement;
  179.                         interface IHTMLElement2;
  180.                         interface IHTMLElement3;
  181.                         interface IHTMLElement4;
  182.                         interface IHTMLUniqueName;
  183.                         interface IHTMLDOMNode;
  184.                         interface IHTMLDOMNode2;
  185.                         interface IHTMLNextIdElement;
  186. };
  187. cpp_quote("EXTERN_C const GUID CLSID_CNextIdElement;")
  188. [
  189.     odl,
  190.     oleautomation,
  191.     dual,
  192.     uuid(3050f202-98b5-11cf-bb82-00aa00bdce0b)
  193. ]
  194. interface IHTMLBaseFontElement : IDispatch
  195. {
  196.     [propput, id(DISPID_IHTMLBASEFONTELEMENT_COLOR), displaybind, bindable] HRESULT color([in] VARIANT v);
  197.     [propget, id(DISPID_IHTMLBASEFONTELEMENT_COLOR), displaybind, bindable] HRESULT color([retval, out] VARIANT * p);
  198.     [propput, id(DISPID_IHTMLBASEFONTELEMENT_FACE), displaybind, bindable] HRESULT face([in] BSTR v);
  199.     [propget, id(DISPID_IHTMLBASEFONTELEMENT_FACE), displaybind, bindable] HRESULT face([retval, out] BSTR * p);
  200.     [propput, id(DISPID_IHTMLBASEFONTELEMENT_SIZE), displaybind, bindable] HRESULT size([in] long v);
  201.     [propget, id(DISPID_IHTMLBASEFONTELEMENT_SIZE), displaybind, bindable] HRESULT size([retval, out] long * p);
  202. };
  203. [
  204.     hidden,
  205.     uuid(3050f504-98b5-11cf-bb82-00aa00bdce0b)
  206. ]
  207. dispinterface DispHTMLBaseFontElement
  208. {
  209. properties:
  210. methods:
  211.     [id(DISPID_IHTMLELEMENT_SETATTRIBUTE)] void setAttribute([in] BSTR strAttributeName,[in] VARIANT AttributeValue,[defaultvalue(1), in] LONG lFlags);
  212.     [id(DISPID_IHTMLELEMENT_GETATTRIBUTE)] VARIANT getAttribute([in] BSTR strAttributeName,[defaultvalue(0), in] LONG lFlags);
  213.     [id(DISPID_IHTMLELEMENT_REMOVEATTRIBUTE)] VARIANT_BOOL removeAttribute([in] BSTR strAttributeName,[defaultvalue(1), in] LONG lFlags);
  214.     [propput, id(DISPID_IHTMLELEMENT_CLASSNAME), bindable] void className(BSTR v);
  215.     [propget, id(DISPID_IHTMLELEMENT_CLASSNAME), bindable] BSTR className();
  216.     [propput, id(DISPID_IHTMLELEMENT_ID), bindable] void id(BSTR v);
  217.     [propget, id(DISPID_IHTMLELEMENT_ID), bindable] BSTR id();
  218.     [propget, id(DISPID_IHTMLELEMENT_TAGNAME)] BSTR tagName();
  219.     [propget, id(DISPID_IHTMLELEMENT_PARENTELEMENT)] IHTMLElement* parentElement();
  220.     [propget, id(DISPID_IHTMLELEMENT_STYLE), nonbrowsable] IHTMLStyle* style();
  221.     [propput, id(DISPID_IHTMLELEMENT_ONHELP), displaybind, bindable] void onhelp(VARIANT v);
  222.     [propget, id(DISPID_IHTMLELEMENT_ONHELP), displaybind, bindable] VARIANT onhelp();
  223.     [propput, id(DISPID_IHTMLELEMENT_ONCLICK), displaybind, bindable] void onclick(VARIANT v);
  224.     [propget, id(DISPID_IHTMLELEMENT_ONCLICK), displaybind, bindable] VARIANT onclick();
  225.     [propput, id(DISPID_IHTMLELEMENT_ONDBLCLICK), displaybind, bindable] void ondblclick(VARIANT v);
  226.     [propget, id(DISPID_IHTMLELEMENT_ONDBLCLICK), displaybind, bindable] VARIANT ondblclick();
  227.     [propput, id(DISPID_IHTMLELEMENT_ONKEYDOWN), displaybind, bindable] void onkeydown(VARIANT v);
  228.     [propget, id(DISPID_IHTMLELEMENT_ONKEYDOWN), displaybind, bindable] VARIANT onkeydown();
  229.     [propput, id(DISPID_IHTMLELEMENT_ONKEYUP), displaybind, bindable] void onkeyup(VARIANT v);
  230.     [propget, id(DISPID_IHTMLELEMENT_ONKEYUP), displaybind, bindable] VARIANT onkeyup();
  231.     [propput, id(DISPID_IHTMLELEMENT_ONKEYPRESS), displaybind, bindable] void onkeypress(VARIANT v);
  232.     [propget, id(DISPID_IHTMLELEMENT_ONKEYPRESS), displaybind, bindable] VARIANT onkeypress();
  233.     [propput, id(DISPID_IHTMLELEMENT_ONMOUSEOUT), displaybind, bindable] void onmouseout(VARIANT v);
  234.     [propget, id(DISPID_IHTMLELEMENT_ONMOUSEOUT), displaybind, bindable] VARIANT onmouseout();
  235.     [propput, id(DISPID_IHTMLELEMENT_ONMOUSEOVER), displaybind, bindable] void onmouseover(VARIANT v);
  236.     [propget, id(DISPID_IHTMLELEMENT_ONMOUSEOVER), displaybind, bindable] VARIANT onmouseover();
  237.     [propput, id(DISPID_IHTMLELEMENT_ONMOUSEMOVE), displaybind, bindable] void onmousemove(VARIANT v);
  238.     [propget, id(DISPID_IHTMLELEMENT_ONMOUSEMOVE), displaybind, bindable] VARIANT onmousemove();
  239.     [propput, id(DISPID_IHTMLELEMENT_ONMOUSEDOWN), displaybind, bindable] void onmousedown(VARIANT v);
  240.     [propget, id(DISPID_IHTMLELEMENT_ONMOUSEDOWN), displaybind, bindable] VARIANT onmousedown();
  241.     [propput, id(DISPID_IHTMLELEMENT_ONMOUSEUP), displaybind, bindable] void onmouseup(VARIANT v);
  242.     [propget, id(DISPID_IHTMLELEMENT_ONMOUSEUP), displaybind, bindable] VARIANT onmouseup();
  243.     [propget, id(DISPID_IHTMLELEMENT_DOCUMENT)] IDispatch* document();
  244.     [propput, id(DISPID_IHTMLELEMENT_TITLE), displaybind, bindable] void title(BSTR v);
  245.     [propget, id(DISPID_IHTMLELEMENT_TITLE), displaybind, bindable] BSTR title();
  246.     [propput, id(DISPID_IHTMLELEMENT_LANGUAGE), displaybind, bindable] void language(BSTR v);
  247.     [propget, id(DISPID_IHTMLELEMENT_LANGUAGE), displaybind, bindable] BSTR language();
  248.     [propput, id(DISPID_IHTMLELEMENT_ONSELECTSTART), displaybind, bindable] void onselectstart(VARIANT v);
  249.     [propget, id(DISPID_IHTMLELEMENT_ONSELECTSTART), displaybind, bindable] VARIANT onselectstart();
  250.     [id(DISPID_IHTMLELEMENT_SCROLLINTOVIEW)] void scrollIntoView([optional, in] VARIANT varargStart);
  251.     [id(DISPID_IHTMLELEMENT_CONTAINS)] VARIANT_BOOL contains([in] IHTMLElement* pChild);
  252.     [propget, id(DISPID_IHTMLELEMENT_SOURCEINDEX), bindable] long sourceIndex();
  253.     [propget, id(DISPID_IHTMLELEMENT_RECORDNUMBER)] VARIANT recordNumber();
  254.     [propput, id(DISPID_IHTMLELEMENT_LANG)] void lang(BSTR v);
  255.     [propget, id(DISPID_IHTMLELEMENT_LANG)] BSTR lang();
  256.     [propget, id(DISPID_IHTMLELEMENT_OFFSETLEFT)] long offsetLeft();
  257.     [propget, id(DISPID_IHTMLELEMENT_OFFSETTOP)] long offsetTop();
  258.     [propget, id(DISPID_IHTMLELEMENT_OFFSETWIDTH)] long offsetWidth();
  259.     [propget, id(DISPID_IHTMLELEMENT_OFFSETHEIGHT)] long offsetHeight();
  260.     [propget, id(DISPID_IHTMLELEMENT_OFFSETPARENT)] IHTMLElement* offsetParent();
  261.     [propput, id(DISPID_IHTMLELEMENT_INNERHTML)] void innerHTML(BSTR v);
  262.     [propget, id(DISPID_IHTMLELEMENT_INNERHTML)] BSTR innerHTML();
  263.     [propput, id(DISPID_IHTMLELEMENT_INNERTEXT)] void innerText(BSTR v);
  264.     [propget, id(DISPID_IHTMLELEMENT_INNERTEXT)] BSTR innerText();
  265.     [propput, id(DISPID_IHTMLELEMENT_OUTERHTML)] void outerHTML(BSTR v);
  266.     [propget, id(DISPID_IHTMLELEMENT_OUTERHTML)] BSTR outerHTML();
  267.     [propput, id(DISPID_IHTMLELEMENT_OUTERTEXT)] void outerText(BSTR v);
  268.     [propget, id(DISPID_IHTMLELEMENT_OUTERTEXT)] BSTR outerText();
  269.     [id(DISPID_IHTMLELEMENT_INSERTADJACENTHTML)] void insertAdjacentHTML([in] BSTR where,[in] BSTR html);
  270.     [id(DISPID_IHTMLELEMENT_INSERTADJACENTTEXT)] void insertAdjacentText([in] BSTR where,[in] BSTR text);
  271.     [propget, id(DISPID_IHTMLELEMENT_PARENTTEXTEDIT)] IHTMLElement* parentTextEdit();
  272.     [propget, id(DISPID_IHTMLELEMENT_ISTEXTEDIT)] VARIANT_BOOL isTextEdit();
  273.     [id(DISPID_IHTMLELEMENT_CLICK)] void click();
  274.     [propget, id(DISPID_IHTMLELEMENT_FILTERS)] IHTMLFiltersCollection* filters();
  275.     [propput, id(DISPID_IHTMLELEMENT_ONDRAGSTART), displaybind, bindable] void ondragstart(VARIANT v);
  276.     [propget, id(DISPID_IHTMLELEMENT_ONDRAGSTART), displaybind, bindable] VARIANT ondragstart();
  277.     [id(DISPID_IHTMLELEMENT_TOSTRING)] BSTR toString();
  278.     [propput, id(DISPID_IHTMLELEMENT_ONBEFOREUPDATE), displaybind, bindable] void onbeforeupdate(VARIANT v);
  279.     [propget, id(DISPID_IHTMLELEMENT_ONBEFOREUPDATE), displaybind, bindable] VARIANT onbeforeupdate();
  280.     [propput, id(DISPID_IHTMLELEMENT_ONAFTERUPDATE), displaybind, bindable] void onafterupdate(VARIANT v);
  281.     [propget, id(DISPID_IHTMLELEMENT_ONAFTERUPDATE), displaybind, bindable] VARIANT onafterupdate();
  282.     [propput, id(DISPID_IHTMLELEMENT_ONERRORUPDATE), displaybind, bindable] void onerrorupdate(VARIANT v);
  283.     [propget, id(DISPID_IHTMLELEMENT_ONERRORUPDATE), displaybind, bindable] VARIANT onerrorupdate();
  284.     [propput, id(DISPID_IHTMLELEMENT_ONROWEXIT), displaybind, bindable] void onrowexit(VARIANT v);
  285.     [propget, id(DISPID_IHTMLELEMENT_ONROWEXIT), displaybind, bindable] VARIANT onrowexit();
  286.     [propput, id(DISPID_IHTMLELEMENT_ONROWENTER), displaybind, bindable] void onrowenter(VARIANT v);
  287.     [propget, id(DISPID_IHTMLELEMENT_ONROWENTER), displaybind, bindable] VARIANT onrowenter();
  288.     [propput, id(DISPID_IHTMLELEMENT_ONDATASETCHANGED), displaybind, bindable] void ondatasetchanged(VARIANT v);
  289.     [propget, id(DISPID_IHTMLELEMENT_ONDATASETCHANGED), displaybind, bindable] VARIANT ondatasetchanged();
  290.     [propput, id(DISPID_IHTMLELEMENT_ONDATAAVAILABLE), displaybind, bindable] void ondataavailable(VARIANT v);
  291.     [propget, id(DISPID_IHTMLELEMENT_ONDATAAVAILABLE), displaybind, bindable] VARIANT ondataavailable();
  292.     [propput, id(DISPID_IHTMLELEMENT_ONDATASETCOMPLETE), displaybind, bindable] void ondatasetcomplete(VARIANT v);
  293.     [propget, id(DISPID_IHTMLELEMENT_ONDATASETCOMPLETE), displaybind, bindable] VARIANT ondatasetcomplete();
  294.     [propput, id(DISPID_IHTMLELEMENT_ONFILTERCHANGE), displaybind, bindable] void onfilterchange(VARIANT v);
  295.     [propget, id(DISPID_IHTMLELEMENT_ONFILTERCHANGE), displaybind, bindable] VARIANT onfilterchange();
  296.     [propget, id(DISPID_IHTMLELEMENT_CHILDREN)] IDispatch* children();
  297.     [propget, id(DISPID_IHTMLELEMENT_ALL)] IDispatch* all();
  298.     [propget, id(DISPID_IHTMLELEMENT2_SCOPENAME)] BSTR scopeName();
  299.     [id(DISPID_IHTMLELEMENT2_SETCAPTURE)] void setCapture([defaultvalue(-1), in] VARIANT_BOOL containerCapture);
  300.     [id(DISPID_IHTMLELEMENT2_RELEASECAPTURE)] void releaseCapture();
  301.     [propput, id(DISPID_IHTMLELEMENT2_ONLOSECAPTURE), displaybind, bindable] void onlosecapture(VARIANT v);
  302.     [propget, id(DISPID_IHTMLELEMENT2_ONLOSECAPTURE), displaybind, bindable] VARIANT onlosecapture();
  303.     [id(DISPID_IHTMLELEMENT2_COMPONENTFROMPOINT)] BSTR componentFromPoint([in] long x,[in] long y);
  304.     [id(DISPID_IHTMLELEMENT2_DOSCROLL)] void doScroll([optional, in] VARIANT component);
  305.     [propput, id(DISPID_IHTMLELEMENT2_ONSCROLL), displaybind, bindable] void onscroll(VARIANT v);
  306.     [propget, id(DISPID_IHTMLELEMENT2_ONSCROLL), displaybind, bindable] VARIANT onscroll();
  307.     [propput, id(DISPID_IHTMLELEMENT2_ONDRAG), displaybind, bindable] void ondrag(VARIANT v);
  308.     [propget, id(DISPID_IHTMLELEMENT2_ONDRAG), displaybind, bindable] VARIANT ondrag();
  309.     [propput, id(DISPID_IHTMLELEMENT2_ONDRAGEND), displaybind, bindable] void ondragend(VARIANT v);
  310.     [propget, id(DISPID_IHTMLELEMENT2_ONDRAGEND), displaybind, bindable] VARIANT ondragend();
  311.     [propput, id(DISPID_IHTMLELEMENT2_ONDRAGENTER), displaybind, bindable] void ondragenter(VARIANT v);
  312.     [propget, id(DISPID_IHTMLELEMENT2_ONDRAGENTER), displaybind, bindable] VARIANT ondragenter();
  313.     [propput, id(DISPID_IHTMLELEMENT2_ONDRAGOVER), displaybind, bindable] void ondragover(VARIANT v);
  314.     [propget, id(DISPID_IHTMLELEMENT2_ONDRAGOVER), displaybind, bindable] VARIANT ondragover();
  315.     [propput, id(DISPID_IHTMLELEMENT2_ONDRAGLEAVE), displaybind, bindable] void ondragleave(VARIANT v);
  316.     [propget, id(DISPID_IHTMLELEMENT2_ONDRAGLEAVE), displaybind, bindable] VARIANT ondragleave();
  317.     [propput, id(DISPID_IHTMLELEMENT2_ONDROP), displaybind, bindable] void ondrop(VARIANT v);
  318.     [propget, id(DISPID_IHTMLELEMENT2_ONDROP), displaybind, bindable] VARIANT ondrop();
  319.     [propput, id(DISPID_IHTMLELEMENT2_ONBEFORECUT), displaybind, bindable] void onbeforecut(VARIANT v);
  320.     [propget, id(DISPID_IHTMLELEMENT2_ONBEFORECUT), displaybind, bindable] VARIANT onbeforecut();
  321.     [propput, id(DISPID_IHTMLELEMENT2_ONCUT), displaybind, bindable] void oncut(VARIANT v);
  322.     [propget, id(DISPID_IHTMLELEMENT2_ONCUT), displaybind, bindable] VARIANT oncut();
  323.     [propput, id(DISPID_IHTMLELEMENT2_ONBEFORECOPY), displaybind, bindable] void onbeforecopy(VARIANT v);
  324.     [propget, id(DISPID_IHTMLELEMENT2_ONBEFORECOPY), displaybind, bindable] VARIANT onbeforecopy();
  325.     [propput, id(DISPID_IHTMLELEMENT2_ONCOPY), displaybind, bindable] void oncopy(VARIANT v);
  326.     [propget, id(DISPID_IHTMLELEMENT2_ONCOPY), displaybind, bindable] VARIANT oncopy();
  327.     [propput, id(DISPID_IHTMLELEMENT2_ONBEFOREPASTE), displaybind, bindable] void onbeforepaste(VARIANT v);
  328.     [propget, id(DISPID_IHTMLELEMENT2_ONBEFOREPASTE), displaybind, bindable] VARIANT onbeforepaste();
  329.     [propput, id(DISPID_IHTMLELEMENT2_ONPASTE), displaybind, bindable] void onpaste(VARIANT v);
  330.     [propget, id(DISPID_IHTMLELEMENT2_ONPASTE), displaybind, bindable] VARIANT onpaste();
  331.     [propget, id(DISPID_IHTMLELEMENT2_CURRENTSTYLE), nonbrowsable] IHTMLCurrentStyle* currentStyle();
  332.     [propput, id(DISPID_IHTMLELEMENT2_ONPROPERTYCHANGE), displaybind, bindable] void onpropertychange(VARIANT v);
  333.     [propget, id(DISPID_IHTMLELEMENT2_ONPROPERTYCHANGE), displaybind, bindable] VARIANT onpropertychange();
  334.     [id(DISPID_IHTMLELEMENT2_GETCLIENTRECTS)] IHTMLRectCollection* getClientRects();
  335.     [id(DISPID_IHTMLELEMENT2_GETBOUNDINGCLIENTRECT)] IHTMLRect* getBoundingClientRect();
  336.     [id(DISPID_IHTMLELEMENT2_SETEXPRESSION)] void setExpression([in] BSTR propname,[in] BSTR expression,[defaultvalue(""), in] BSTR language);
  337.     [id(DISPID_IHTMLELEMENT2_GETEXPRESSION)] VARIANT getExpression([in] BSTR propname);
  338.     [id(DISPID_IHTMLELEMENT2_REMOVEEXPRESSION)] VARIANT_BOOL removeExpression([in] BSTR propname);
  339.     [propput, id(DISPID_IHTMLELEMENT2_TABINDEX), displaybind, bindable] void tabIndex(short v);
  340.     [propget, id(DISPID_IHTMLELEMENT2_TABINDEX), displaybind, bindable] short tabIndex();
  341.     [id(DISPID_IHTMLELEMENT2_FOCUS)] void focus();
  342.     [propput, id(DISPID_IHTMLELEMENT2_ACCESSKEY), displaybind, bindable] void accessKey(BSTR v);
  343.     [propget, id(DISPID_IHTMLELEMENT2_ACCESSKEY), displaybind, bindable] BSTR accessKey();
  344.     [propput, id(DISPID_IHTMLELEMENT2_ONBLUR), displaybind, bindable] void onblur(VARIANT v);
  345.     [propget, id(DISPID_IHTMLELEMENT2_ONBLUR), displaybind, bindable] VARIANT onblur();
  346.     [propput, id(DISPID_IHTMLELEMENT2_ONFOCUS), displaybind, bindable] void onfocus(VARIANT v);
  347.     [propget, id(DISPID_IHTMLELEMENT2_ONFOCUS), displaybind, bindable] VARIANT onfocus();
  348.     [propput, id(DISPID_IHTMLELEMENT2_ONRESIZE), displaybind, bindable] void onresize(VARIANT v);
  349.     [propget, id(DISPID_IHTMLELEMENT2_ONRESIZE), displaybind, bindable] VARIANT onresize();
  350.     [id(DISPID_IHTMLELEMENT2_BLUR)] void blur();
  351.     [id(DISPID_IHTMLELEMENT2_ADDFILTER)] void addFilter([in] IUnknown* pUnk);
  352.     [id(DISPID_IHTMLELEMENT2_REMOVEFILTER)] void removeFilter([in] IUnknown* pUnk);
  353.     [propget, id(DISPID_IHTMLELEMENT2_CLIENTHEIGHT), displaybind, bindable] long clientHeight();
  354.     [propget, id(DISPID_IHTMLELEMENT2_CLIENTWIDTH), displaybind, bindable] long clientWidth();
  355.     [propget, id(DISPID_IHTMLELEMENT2_CLIENTTOP), displaybind, bindable] long clientTop();
  356.     [propget, id(DISPID_IHTMLELEMENT2_CLIENTLEFT), displaybind, bindable] long clientLeft();
  357.     [id(DISPID_IHTMLELEMENT2_ATTACHEVENT)] VARIANT_BOOL attachEvent([in] BSTR event,[in] IDispatch* pDisp);
  358.     [id(DISPID_IHTMLELEMENT2_DETACHEVENT)] void detachEvent([in] BSTR event,[in] IDispatch* pDisp);
  359.     [propget, id(DISPID_IHTMLELEMENT2_READYSTATE)] VARIANT readyState();
  360.     [propput, id(DISPID_IHTMLELEMENT2_ONREADYSTATECHANGE), displaybind, bindable] void onreadystatechange(VARIANT v);
  361.     [propget, id(DISPID_IHTMLELEMENT2_ONREADYSTATECHANGE), displaybind, bindable] VARIANT onreadystatechange();
  362.     [propput, id(DISPID_IHTMLELEMENT2_ONROWSDELETE), displaybind, bindable] void onrowsdelete(VARIANT v);
  363.     [propget, id(DISPID_IHTMLELEMENT2_ONROWSDELETE), displaybind, bindable] VARIANT onrowsdelete();
  364.     [propput, id(DISPID_IHTMLELEMENT2_ONROWSINSERTED), displaybind, bindable] void onrowsinserted(VARIANT v);
  365.     [propget, id(DISPID_IHTMLELEMENT2_ONROWSINSERTED), displaybind, bindable] VARIANT onrowsinserted();
  366.     [propput, id(DISPID_IHTMLELEMENT2_ONCELLCHANGE), displaybind, bindable] void oncellchange(VARIANT v);
  367.     [propget, id(DISPID_IHTMLELEMENT2_ONCELLCHANGE), displaybind, bindable] VARIANT oncellchange();
  368.     [propput, id(DISPID_IHTMLELEMENT2_DIR), displaybind, bindable] void dir(BSTR v);
  369.     [propget, id(DISPID_IHTMLELEMENT2_DIR), displaybind, bindable] BSTR dir();
  370.     [id(DISPID_IHTMLELEMENT2_CREATECONTROLRANGE)] IDispatch* createControlRange();
  371.     [propget, id(DISPID_IHTMLELEMENT2_SCROLLHEIGHT), displaybind, bindable] long scrollHeight();
  372.     [propget, id(DISPID_IHTMLELEMENT2_SCROLLWIDTH), displaybind, bindable] long scrollWidth();
  373.     [propput, id(DISPID_IHTMLELEMENT2_SCROLLTOP), displaybind, bindable] void scrollTop(long v);
  374.     [propget, id(DISPID_IHTMLELEMENT2_SCROLLTOP), displaybind, bindable] long scrollTop();
  375.     [propput, id(DISPID_IHTMLELEMENT2_SCROLLLEFT), displaybind, bindable] void scrollLeft(long v);
  376.     [propget, id(DISPID_IHTMLELEMENT2_SCROLLLEFT), displaybind, bindable] long scrollLeft();
  377.     [id(DISPID_IHTMLELEMENT2_CLEARATTRIBUTES)] void clearAttributes();
  378.     [propput, id(DISPID_IHTMLELEMENT2_ONCONTEXTMENU), displaybind, bindable] void oncontextmenu(VARIANT v);
  379.     [propget, id(DISPID_IHTMLELEMENT2_ONCONTEXTMENU), displaybind, bindable] VARIANT oncontextmenu();
  380.     [id(DISPID_IHTMLELEMENT2_INSERTADJACENTELEMENT)] IHTMLElement* insertAdjacentElement([in] BSTR where,[in] IHTMLElement* insertedElement);
  381.     [id(DISPID_IHTMLELEMENT2_APPLYELEMENT)] IHTMLElement* applyElement([in] IHTMLElement* apply,[in] BSTR where);
  382.     [id(DISPID_IHTMLELEMENT2_GETADJACENTTEXT)] BSTR getAdjacentText([in] BSTR where);
  383.     [id(DISPID_IHTMLELEMENT2_REPLACEADJACENTTEXT)] BSTR replaceAdjacentText([in] BSTR where,[in] BSTR newText);
  384.     [propget, id(DISPID_IHTMLELEMENT2_CANHAVECHILDREN)] VARIANT_BOOL canHaveChildren();
  385.     [id(DISPID_IHTMLELEMENT2_ADDBEHAVIOR)] long addBehavior([in] BSTR bstrUrl,[optional, in] VARIANT* pvarFactory);
  386.     [id(DISPID_IHTMLELEMENT2_REMOVEBEHAVIOR)] VARIANT_BOOL removeBehavior([in] long cookie);
  387.     [propget, id(DISPID_IHTMLELEMENT2_RUNTIMESTYLE), nonbrowsable] IHTMLStyle* runtimeStyle();
  388.     [propget, id(DISPID_IHTMLELEMENT2_BEHAVIORURNS)] IDispatch* behaviorUrns();
  389.     [propput, id(DISPID_IHTMLELEMENT2_TAGURN)] void tagUrn(BSTR v);
  390.     [propget, id(DISPID_IHTMLELEMENT2_TAGURN)] BSTR tagUrn();
  391.     [propput, id(DISPID_IHTMLELEMENT2_ONBEFOREEDITFOCUS), displaybind, bindable] void onbeforeeditfocus(VARIANT v);
  392.     [propget, id(DISPID_IHTMLELEMENT2_ONBEFOREEDITFOCUS), displaybind, bindable] VARIANT onbeforeeditfocus();
  393.     [propget, id(DISPID_IHTMLELEMENT2_READYSTATEVALUE), hidden, restricted] long readyStateValue();
  394.     [id(DISPID_IHTMLELEMENT2_GETELEMENTSBYTAGNAME)] IHTMLElementCollection* getElementsByTagName([in] BSTR v);
  395.     [id(DISPID_IHTMLELEMENT3_MERGEATTRIBUTES)] void mergeAttributes([in] IHTMLElement* mergeThis,[optional, in] VARIANT* pvarFlags);
  396.     [propget, id(DISPID_IHTMLELEMENT3_ISMULTILINE)] VARIANT_BOOL isMultiLine();
  397.     [propget, id(DISPID_IHTMLELEMENT3_CANHAVEHTML)] VARIANT_BOOL canHaveHTML();
  398.     [propput, id(DISPID_IHTMLELEMENT3_ONLAYOUTCOMPLETE), displaybind, bindable] void onlayoutcomplete(VARIANT v);
  399.     [propget, id(DISPID_IHTMLELEMENT3_ONLAYOUTCOMPLETE), displaybind, bindable] VARIANT onlayoutcomplete();
  400.     [propput, id(DISPID_IHTMLELEMENT3_ONPAGE), displaybind, bindable] void onpage(VARIANT v);
  401.     [propget, id(DISPID_IHTMLELEMENT3_ONPAGE), displaybind, bindable] VARIANT onpage();
  402.     [propput, id(DISPID_IHTMLELEMENT3_INFLATEBLOCK), hidden, restricted, nonbrowsable] void inflateBlock(VARIANT_BOOL v);
  403.     [propget, id(DISPID_IHTMLELEMENT3_INFLATEBLOCK), hidden, restricted, nonbrowsable] VARIANT_BOOL inflateBlock();
  404.     [propput, id(DISPID_IHTMLELEMENT3_ONBEFOREDEACTIVATE), displaybind, bindable] void onbeforedeactivate(VARIANT v);
  405.     [propget, id(DISPID_IHTMLELEMENT3_ONBEFOREDEACTIVATE), displaybind, bindable] VARIANT onbeforedeactivate();
  406.     [id(DISPID_IHTMLELEMENT3_SETACTIVE)] void setActive();
  407.     [propput, id(DISPID_IHTMLELEMENT3_CONTENTEDITABLE), displaybind, bindable] void contentEditable(BSTR v);
  408.     [propget, id(DISPID_IHTMLELEMENT3_CONTENTEDITABLE), displaybind, bindable] BSTR contentEditable();
  409.     [propget, id(DISPID_IHTMLELEMENT3_ISCONTENTEDITABLE)] VARIANT_BOOL isContentEditable();
  410.     [propput, id(DISPID_IHTMLELEMENT3_HIDEFOCUS), displaybind, bindable] void hideFocus(VARIANT_BOOL v);
  411.     [propget, id(DISPID_IHTMLELEMENT3_HIDEFOCUS), displaybind, bindable] VARIANT_BOOL hideFocus();
  412.     [propput, id(DISPID_IHTMLELEMENT3_DISABLED), displaybind, bindable] void disabled(VARIANT_BOOL v);
  413.     [propget, id(DISPID_IHTMLELEMENT3_DISABLED), displaybind, bindable] VARIANT_BOOL disabled();
  414.     [propget, id(DISPID_IHTMLELEMENT3_ISDISABLED)] VARIANT_BOOL isDisabled();
  415.     [propput, id(DISPID_IHTMLELEMENT3_ONMOVE), displaybind, bindable] void onmove(VARIANT v);
  416.     [propget, id(DISPID_IHTMLELEMENT3_ONMOVE), displaybind, bindable] VARIANT onmove();
  417.     [propput, id(DISPID_IHTMLELEMENT3_ONCONTROLSELECT), displaybind, bindable] void oncontrolselect(VARIANT v);
  418.     [propget, id(DISPID_IHTMLELEMENT3_ONCONTROLSELECT), displaybind, bindable] VARIANT oncontrolselect();
  419.     [id(DISPID_IHTMLELEMENT3_FIREEVENT)] VARIANT_BOOL fireEvent([in] BSTR bstrEventName,[optional, in] VARIANT* pvarEventObject);
  420.     [propput, id(DISPID_IHTMLELEMENT3_ONRESIZESTART), displaybind, bindable] void onresizestart(VARIANT v);
  421.     [propget, id(DISPID_IHTMLELEMENT3_ONRESIZESTART), displaybind, bindable] VARIANT onresizestart();
  422.     [propput, id(DISPID_IHTMLELEMENT3_ONRESIZEEND), displaybind, bindable] void onresizeend(VARIANT v);
  423.     [propget, id(DISPID_IHTMLELEMENT3_ONRESIZEEND), displaybind, bindable] VARIANT onresizeend();
  424.     [propput, id(DISPID_IHTMLELEMENT3_ONMOVESTART), displaybind, bindable] void onmovestart(VARIANT v);
  425.     [propget, id(DISPID_IHTMLELEMENT3_ONMOVESTART), displaybind, bindable] VARIANT onmovestart();
  426.     [propput, id(DISPID_IHTMLELEMENT3_ONMOVEEND), displaybind, bindable] void onmoveend(VARIANT v);
  427.     [propget, id(DISPID_IHTMLELEMENT3_ONMOVEEND), displaybind, bindable] VARIANT onmoveend();
  428.     [propput, id(DISPID_IHTMLELEMENT3_ONMOUSEENTER), displaybind, bindable] void onmouseenter(VARIANT v);
  429.     [propget, id(DISPID_IHTMLELEMENT3_ONMOUSEENTER), displaybind, bindable] VARIANT onmouseenter();
  430.     [propput, id(DISPID_IHTMLELEMENT3_ONMOUSELEAVE), displaybind, bindable] void onmouseleave(VARIANT v);
  431.     [propget, id(DISPID_IHTMLELEMENT3_ONMOUSELEAVE), displaybind, bindable] VARIANT onmouseleave();
  432.     [propput, id(DISPID_IHTMLELEMENT3_ONACTIVATE), displaybind, bindable] void onactivate(VARIANT v);
  433.     [propget, id(DISPID_IHTMLELEMENT3_ONACTIVATE), displaybind, bindable] VARIANT onactivate();
  434.     [propput, id(DISPID_IHTMLELEMENT3_ONDEACTIVATE), displaybind, bindable] void ondeactivate(VARIANT v);
  435.     [propget, id(DISPID_IHTMLELEMENT3_ONDEACTIVATE), displaybind, bindable] VARIANT ondeactivate();
  436.     [id(DISPID_IHTMLELEMENT3_DRAGDROP)] VARIANT_BOOL dragDrop();
  437.     [propget, id(DISPID_IHTMLELEMENT3_GLYPHMODE), hidden, restricted, nonbrowsable] LONG glyphMode();
  438.     [propput, id(DISPID_IHTMLELEMENT4_ONMOUSEWHEEL), displaybind, bindable] void onmousewheel(VARIANT v);
  439.     [propget, id(DISPID_IHTMLELEMENT4_ONMOUSEWHEEL), displaybind, bindable] VARIANT onmousewheel();
  440.     [id(DISPID_IHTMLELEMENT4_NORMALIZE)] void normalize();
  441.     [id(DISPID_IHTMLELEMENT4_GETATTRIBUTENODE)] IHTMLDOMAttribute* getAttributeNode([in] BSTR bstrname);
  442.     [id(DISPID_IHTMLELEMENT4_SETATTRIBUTENODE)] IHTMLDOMAttribute* setAttributeNode([in] IHTMLDOMAttribute* pattr);
  443.     [id(DISPID_IHTMLELEMENT4_REMOVEATTRIBUTENODE)] IHTMLDOMAttribute* removeAttributeNode([in] IHTMLDOMAttribute* pattr);
  444.     [propput, id(DISPID_IHTMLELEMENT4_ONBEFOREACTIVATE), displaybind, bindable] void onbeforeactivate(VARIANT v);
  445.     [propget, id(DISPID_IHTMLELEMENT4_ONBEFOREACTIVATE), displaybind, bindable] VARIANT onbeforeactivate();
  446.     [propput, id(DISPID_IHTMLELEMENT4_ONFOCUSIN), displaybind, bindable] void onfocusin(VARIANT v);
  447.     [propget, id(DISPID_IHTMLELEMENT4_ONFOCUSIN), displaybind, bindable] VARIANT onfocusin();
  448.     [propput, id(DISPID_IHTMLELEMENT4_ONFOCUSOUT), displaybind, bindable] void onfocusout(VARIANT v);
  449.     [propget, id(DISPID_IHTMLELEMENT4_ONFOCUSOUT), displaybind, bindable] VARIANT onfocusout();
  450.     [propget, id(DISPID_IHTMLUNIQUENAME_UNIQUENUMBER), hidden] long uniqueNumber();
  451.     [propget, id(DISPID_IHTMLUNIQUENAME_UNIQUEID), hidden] BSTR uniqueID();
  452.     [propget, id(DISPID_IHTMLDOMNODE_NODETYPE)] long nodeType();
  453.     [propget, id(DISPID_IHTMLDOMNODE_PARENTNODE)] IHTMLDOMNode* parentNode();
  454.     [id(DISPID_IHTMLDOMNODE_HASCHILDNODES)] VARIANT_BOOL hasChildNodes();
  455.     [propget, id(DISPID_IHTMLDOMNODE_CHILDNODES)] IDispatch* childNodes();
  456.     [propget, id(DISPID_IHTMLDOMNODE_ATTRIBUTES)] IDispatch* attributes();
  457.     [id(DISPID_IHTMLDOMNODE_INSERTBEFORE)] IHTMLDOMNode* insertBefore([in] IHTMLDOMNode* newChild,[optional, in] VARIANT refChild);
  458.     [id(DISPID_IHTMLDOMNODE_REMOVECHILD)] IHTMLDOMNode* removeChild([in] IHTMLDOMNode* oldChild);
  459.     [id(DISPID_IHTMLDOMNODE_REPLACECHILD)] IHTMLDOMNode* replaceChild([in] IHTMLDOMNode* newChild,[in] IHTMLDOMNode* oldChild);
  460.     [id(DISPID_IHTMLDOMNODE_CLONENODE)] IHTMLDOMNode* cloneNode([in] VARIANT_BOOL fDeep);
  461.     [id(DISPID_IHTMLDOMNODE_REMOVENODE)] IHTMLDOMNode* removeNode([defaultvalue(0), in] VARIANT_BOOL fDeep);
  462.     [id(DISPID_IHTMLDOMNODE_SWAPNODE)] IHTMLDOMNode* swapNode([in] IHTMLDOMNode* otherNode);
  463.     [id(DISPID_IHTMLDOMNODE_REPLACENODE)] IHTMLDOMNode* replaceNode([in] IHTMLDOMNode* replacement);
  464.     [id(DISPID_IHTMLDOMNODE_APPENDCHILD)] IHTMLDOMNode* appendChild([in] IHTMLDOMNode* newChild);
  465.     [propget, id(DISPID_IHTMLDOMNODE_NODENAME)] BSTR nodeName();
  466.     [propput, id(DISPID_IHTMLDOMNODE_NODEVALUE)] void nodeValue(VARIANT v);
  467.     [propget, id(DISPID_IHTMLDOMNODE_NODEVALUE)] VARIANT nodeValue();
  468.     [propget, id(DISPID_IHTMLDOMNODE_FIRSTCHILD)] IHTMLDOMNode* firstChild();
  469.     [propget, id(DISPID_IHTMLDOMNODE_LASTCHILD)] IHTMLDOMNode* lastChild();
  470.     [propget, id(DISPID_IHTMLDOMNODE_PREVIOUSSIBLING)] IHTMLDOMNode* previousSibling();
  471.     [propget, id(DISPID_IHTMLDOMNODE_NEXTSIBLING)] IHTMLDOMNode* nextSibling();
  472.     [propget, id(DISPID_IHTMLDOMNODE2_OWNERDOCUMENT)] IDispatch* ownerDocument();
  473.     [propput, id(DISPID_IHTMLBASEFONTELEMENT_COLOR), displaybind, bindable] void color(VARIANT v);
  474.     [propget, id(DISPID_IHTMLBASEFONTELEMENT_COLOR), displaybind, bindable] VARIANT color();
  475.     [propput, id(DISPID_IHTMLBASEFONTELEMENT_FACE), displaybind, bindable] void face(BSTR v);
  476.     [propget, id(DISPID_IHTMLBASEFONTELEMENT_FACE), displaybind, bindable] BSTR face();
  477.     [propput, id(DISPID_IHTMLBASEFONTELEMENT_SIZE), displaybind, bindable] void size(long v);
  478.     [propget, id(DISPID_IHTMLBASEFONTELEMENT_SIZE), displaybind, bindable] long size();
  479. };
  480. [
  481.     uuid(3050f282-98b5-11cf-bb82-00aa00bdce0b)
  482. ]
  483. coclass HTMLBaseFontElement
  484. {
  485.     [default]           dispinterface DispHTMLBaseFontElement;
  486.     [source, default]   dispinterface HTMLElementEvents;
  487.     [source]            dispinterface HTMLElementEvents2;
  488.                         interface IHTMLElement;
  489.                         interface IHTMLElement2;
  490.                         interface IHTMLElement3;
  491.                         interface IHTMLElement4;
  492.                         interface IHTMLUniqueName;
  493.                         interface IHTMLDOMNode;
  494.                         interface IHTMLDOMNode2;
  495.                         interface IHTMLBaseFontElement;
  496. };
  497. cpp_quote("EXTERN_C const GUID CLSID_CBaseFontElement;")
  498. [
  499.     odl,
  500.     oleautomation,
  501.     dual,
  502.     uuid(3050f209-98b5-11cf-bb82-00aa00bdce0b)
  503. ]
  504. interface IHTMLUnknownElement : IDispatch
  505. {
  506. };
  507. [
  508.     hidden,
  509.     uuid(3050f539-98b5-11cf-bb82-00aa00bdce0b)
  510. ]
  511. dispinterface DispHTMLUnknownElement
  512. {
  513. properties:
  514. methods:
  515.     [id(DISPID_IHTMLELEMENT_SETATTRIBUTE)] void setAttribute([in] BSTR strAttributeName,[in] VARIANT AttributeValue,[defaultvalue(1), in] LONG lFlags);
  516.     [id(DISPID_IHTMLELEMENT_GETATTRIBUTE)] VARIANT getAttribute([in] BSTR strAttributeName,[defaultvalue(0), in] LONG lFlags);
  517.     [id(DISPID_IHTMLELEMENT_REMOVEATTRIBUTE)] VARIANT_BOOL removeAttribute([in] BSTR strAttributeName,[defaultvalue(1), in] LONG lFlags);
  518.     [propput, id(DISPID_IHTMLELEMENT_CLASSNAME), bindable] void className(BSTR v);
  519.     [propget, id(DISPID_IHTMLELEMENT_CLASSNAME), bindable] BSTR className();
  520.     [propput, id(DISPID_IHTMLELEMENT_ID), bindable] void id(BSTR v);
  521.     [propget, id(DISPID_IHTMLELEMENT_ID), bindable] BSTR id();
  522.     [propget, id(DISPID_IHTMLELEMENT_TAGNAME)] BSTR tagName();
  523.     [propget, id(DISPID_IHTMLELEMENT_PARENTELEMENT)] IHTMLElement* parentElement();
  524.     [propget, id(DISPID_IHTMLELEMENT_STYLE), nonbrowsable] IHTMLStyle* style();
  525.     [propput, id(DISPID_IHTMLELEMENT_ONHELP), displaybind, bindable] void onhelp(VARIANT v);
  526.     [propget, id(DISPID_IHTMLELEMENT_ONHELP), displaybind, bindable] VARIANT onhelp();
  527.     [propput, id(DISPID_IHTMLELEMENT_ONCLICK), displaybind, bindable] void onclick(VARIANT v);
  528.     [propget, id(DISPID_IHTMLELEMENT_ONCLICK), displaybind, bindable] VARIANT onclick();
  529.     [propput, id(DISPID_IHTMLELEMENT_ONDBLCLICK), displaybind, bindable] void ondblclick(VARIANT v);
  530.     [propget, id(DISPID_IHTMLELEMENT_ONDBLCLICK), displaybind, bindable] VARIANT ondblclick();
  531.     [propput, id(DISPID_IHTMLELEMENT_ONKEYDOWN), displaybind, bindable] void onkeydown(VARIANT v);
  532.     [propget, id(DISPID_IHTMLELEMENT_ONKEYDOWN), displaybind, bindable] VARIANT onkeydown();
  533.     [propput, id(DISPID_IHTMLELEMENT_ONKEYUP), displaybind, bindable] void onkeyup(VARIANT v);
  534.     [propget, id(DISPID_IHTMLELEMENT_ONKEYUP), displaybind, bindable] VARIANT onkeyup();
  535.     [propput, id(DISPID_IHTMLELEMENT_ONKEYPRESS), displaybind, bindable] void onkeypress(VARIANT v);
  536.     [propget, id(DISPID_IHTMLELEMENT_ONKEYPRESS), displaybind, bindable] VARIANT onkeypress();
  537.     [propput, id(DISPID_IHTMLELEMENT_ONMOUSEOUT), displaybind, bindable] void onmouseout(VARIANT v);
  538.     [propget, id(DISPID_IHTMLELEMENT_ONMOUSEOUT), displaybind, bindable] VARIANT onmouseout();
  539.     [propput, id(DISPID_IHTMLELEMENT_ONMOUSEOVER), displaybind, bindable] void onmouseover(VARIANT v);
  540.     [propget, id(DISPID_IHTMLELEMENT_ONMOUSEOVER), displaybind, bindable] VARIANT onmouseover();
  541.     [propput, id(DISPID_IHTMLELEMENT_ONMOUSEMOVE), displaybind, bindable] void onmousemove(VARIANT v);
  542.     [propget, id(DISPID_IHTMLELEMENT_ONMOUSEMOVE), displaybind, bindable] VARIANT onmousemove();
  543.     [propput, id(DISPID_IHTMLELEMENT_ONMOUSEDOWN), displaybind, bindable] void onmousedown(VARIANT v);
  544.     [propget, id(DISPID_IHTMLELEMENT_ONMOUSEDOWN), displaybind, bindable] VARIANT onmousedown();
  545.     [propput, id(DISPID_IHTMLELEMENT_ONMOUSEUP), displaybind, bindable] void onmouseup(VARIANT v);
  546.     [propget, id(DISPID_IHTMLELEMENT_ONMOUSEUP), displaybind, bindable] VARIANT onmouseup();
  547.     [propget, id(DISPID_IHTMLELEMENT_DOCUMENT)] IDispatch* document();
  548.     [propput, id(DISPID_IHTMLELEMENT_TITLE), displaybind, bindable] void title(BSTR v);
  549.     [propget, id(DISPID_IHTMLELEMENT_TITLE), displaybind, bindable] BSTR title();
  550.     [propput, id(DISPID_IHTMLELEMENT_LANGUAGE), displaybind, bindable] void language(BSTR v);
  551.     [propget, id(DISPID_IHTMLELEMENT_LANGUAGE), displaybind, bindable] BSTR language();
  552.     [propput, id(DISPID_IHTMLELEMENT_ONSELECTSTART), displaybind, bindable] void onselectstart(VARIANT v);
  553.     [propget, id(DISPID_IHTMLELEMENT_ONSELECTSTART), displaybind, bindable] VARIANT onselectstart();
  554.     [id(DISPID_IHTMLELEMENT_SCROLLINTOVIEW)] void scrollIntoView([optional, in] VARIANT varargStart);
  555.     [id(DISPID_IHTMLELEMENT_CONTAINS)] VARIANT_BOOL contains([in] IHTMLElement* pChild);
  556.     [propget, id(DISPID_IHTMLELEMENT_SOURCEINDEX), bindable] long sourceIndex();
  557.     [propget, id(DISPID_IHTMLELEMENT_RECORDNUMBER)] VARIANT recordNumber();
  558.     [propput, id(DISPID_IHTMLELEMENT_LANG)] void lang(BSTR v);
  559.     [propget, id(DISPID_IHTMLELEMENT_LANG)] BSTR lang();
  560.     [propget, id(DISPID_IHTMLELEMENT_OFFSETLEFT)] long offsetLeft();
  561.     [propget, id(DISPID_IHTMLELEMENT_OFFSETTOP)] long offsetTop();
  562.     [propget, id(DISPID_IHTMLELEMENT_OFFSETWIDTH)] long offsetWidth();
  563.     [propget, id(DISPID_IHTMLELEMENT_OFFSETHEIGHT)] long offsetHeight();
  564.     [propget, id(DISPID_IHTMLELEMENT_OFFSETPARENT)] IHTMLElement* offsetParent();
  565.     [propput, id(DISPID_IHTMLELEMENT_INNERHTML)] void innerHTML(BSTR v);
  566.     [propget, id(DISPID_IHTMLELEMENT_INNERHTML)] BSTR innerHTML();
  567.     [propput, id(DISPID_IHTMLELEMENT_INNERTEXT)] void innerText(BSTR v);
  568.     [propget, id(DISPID_IHTMLELEMENT_INNERTEXT)] BSTR innerText();
  569.     [propput, id(DISPID_IHTMLELEMENT_OUTERHTML)] void outerHTML(BSTR v);
  570.     [propget, id(DISPID_IHTMLELEMENT_OUTERHTML)] BSTR outerHTML();
  571.     [propput, id(DISPID_IHTMLELEMENT_OUTERTEXT)] void outerText(BSTR v);
  572.     [propget, id(DISPID_IHTMLELEMENT_OUTERTEXT)] BSTR outerText();
  573.     [id(DISPID_IHTMLELEMENT_INSERTADJACENTHTML)] void insertAdjacentHTML([in] BSTR where,[in] BSTR html);
  574.     [id(DISPID_IHTMLELEMENT_INSERTADJACENTTEXT)] void insertAdjacentText([in] BSTR where,[in] BSTR text);
  575.     [propget, id(DISPID_IHTMLELEMENT_PARENTTEXTEDIT)] IHTMLElement* parentTextEdit();
  576.     [propget, id(DISPID_IHTMLELEMENT_ISTEXTEDIT)] VARIANT_BOOL isTextEdit();
  577.     [id(DISPID_IHTMLELEMENT_CLICK)] void click();
  578.     [propget, id(DISPID_IHTMLELEMENT_FILTERS)] IHTMLFiltersCollection* filters();
  579.     [propput, id(DISPID_IHTMLELEMENT_ONDRAGSTART), displaybind, bindable] void ondragstart(VARIANT v);
  580.     [propget, id(DISPID_IHTMLELEMENT_ONDRAGSTART), displaybind, bindable] VARIANT ondragstart();
  581.     [id(DISPID_IHTMLELEMENT_TOSTRING)] BSTR toString();
  582.     [propput, id(DISPID_IHTMLELEMENT_ONBEFOREUPDATE), displaybind, bindable] void onbeforeupdate(VARIANT v);
  583.     [propget, id(DISPID_IHTMLELEMENT_ONBEFOREUPDATE), displaybind, bindable] VARIANT onbeforeupdate();
  584.     [propput, id(DISPID_IHTMLELEMENT_ONAFTERUPDATE), displaybind, bindable] void onafterupdate(VARIANT v);
  585.     [propget, id(DISPID_IHTMLELEMENT_ONAFTERUPDATE), displaybind, bindable] VARIANT onafterupdate();
  586.     [propput, id(DISPID_IHTMLELEMENT_ONERRORUPDATE), displaybind, bindable] void onerrorupdate(VARIANT v);
  587.     [propget, id(DISPID_IHTMLELEMENT_ONERRORUPDATE), displaybind, bindable] VARIANT onerrorupdate();
  588.     [propput, id(DISPID_IHTMLELEMENT_ONROWEXIT), displaybind, bindable] void onrowexit(VARIANT v);
  589.     [propget, id(DISPID_IHTMLELEMENT_ONROWEXIT), displaybind, bindable] VARIANT onrowexit();
  590.     [propput, id(DISPID_IHTMLELEMENT_ONROWENTER), displaybind, bindable] void onrowenter(VARIANT v);
  591.     [propget, id(DISPID_IHTMLELEMENT_ONROWENTER), displaybind, bindable] VARIANT onrowenter();
  592.     [propput, id(DISPID_IHTMLELEMENT_ONDATASETCHANGED), displaybind, bindable] void ondatasetchanged(VARIANT v);
  593.     [propget, id(DISPID_IHTMLELEMENT_ONDATASETCHANGED), displaybind, bindable] VARIANT ondatasetchanged();
  594.     [propput, id(DISPID_IHTMLELEMENT_ONDATAAVAILABLE), displaybind, bindable] void ondataavailable(VARIANT v);
  595.     [propget, id(DISPID_IHTMLELEMENT_ONDATAAVAILABLE), displaybind, bindable] VARIANT ondataavailable();
  596.     [propput, id(DISPID_IHTMLELEMENT_ONDATASETCOMPLETE), displaybind, bindable] void ondatasetcomplete(VARIANT v);
  597.     [propget, id(DISPID_IHTMLELEMENT_ONDATASETCOMPLETE), displaybind, bindable] VARIANT ondatasetcomplete();
  598.     [propput, id(DISPID_IHTMLELEMENT_ONFILTERCHANGE), displaybind, bindable] void onfilterchange(VARIANT v);
  599.     [propget, id(DISPID_IHTMLELEMENT_ONFILTERCHANGE), displaybind, bindable] VARIANT onfilterchange();
  600.     [propget, id(DISPID_IHTMLELEMENT_CHILDREN)] IDispatch* children();
  601.     [propget, id(DISPID_IHTMLELEMENT_ALL)] IDispatch* all();
  602.     [propget, id(DISPID_IHTMLELEMENT2_SCOPENAME)] BSTR scopeName();
  603.     [id(DISPID_IHTMLELEMENT2_SETCAPTURE)] void setCapture([defaultvalue(-1), in] VARIANT_BOOL containerCapture);
  604.     [id(DISPID_IHTMLELEMENT2_RELEASECAPTURE)] void releaseCapture();
  605.     [propput, id(DISPID_IHTMLELEMENT2_ONLOSECAPTURE), displaybind, bindable] void onlosecapture(VARIANT v);
  606.     [propget, id(DISPID_IHTMLELEMENT2_ONLOSECAPTURE), displaybind, bindable] VARIANT onlosecapture();
  607.     [id(DISPID_IHTMLELEMENT2_COMPONENTFROMPOINT)] BSTR componentFromPoint([in] long x,[in] long y);
  608.     [id(DISPID_IHTMLELEMENT2_DOSCROLL)] void doScroll([optional, in] VARIANT component);
  609.     [propput, id(DISPID_IHTMLELEMENT2_ONSCROLL), displaybind, bindable] void onscroll(VARIANT v);
  610.     [propget, id(DISPID_IHTMLELEMENT2_ONSCROLL), displaybind, bindable] VARIANT onscroll();
  611.     [propput, id(DISPID_IHTMLELEMENT2_ONDRAG), displaybind, bindable] void ondrag(VARIANT v);
  612.     [propget, id(DISPID_IHTMLELEMENT2_ONDRAG), displaybind, bindable] VARIANT ondrag();
  613.     [propput, id(DISPID_IHTMLELEMENT2_ONDRAGEND), displaybind, bindable] void ondragend(VARIANT v);
  614.     [propget, id(DISPID_IHTMLELEMENT2_ONDRAGEND), displaybind, bindable] VARIANT ondragend();
  615.     [propput, id(DISPID_IHTMLELEMENT2_ONDRAGENTER), displaybind, bindable] void ondragenter(VARIANT v);
  616.     [propget, id(DISPID_IHTMLELEMENT2_ONDRAGENTER), displaybind, bindable] VARIANT ondragenter();
  617.     [propput, id(DISPID_IHTMLELEMENT2_ONDRAGOVER), displaybind, bindable] void ondragover(VARIANT v);
  618.     [propget, id(DISPID_IHTMLELEMENT2_ONDRAGOVER), displaybind, bindable] VARIANT ondragover();
  619.     [propput, id(DISPID_IHTMLELEMENT2_ONDRAGLEAVE), displaybind, bindable] void ondragleave(VARIANT v);
  620.     [propget, id(DISPID_IHTMLELEMENT2_ONDRAGLEAVE), displaybind, bindable] VARIANT ondragleave();
  621.     [propput, id(DISPID_IHTMLELEMENT2_ONDROP), displaybind, bindable] void ondrop(VARIANT v);
  622.     [propget, id(DISPID_IHTMLELEMENT2_ONDROP), displaybind, bindable] VARIANT ondrop();
  623.     [propput, id(DISPID_IHTMLELEMENT2_ONBEFORECUT), displaybind, bindable] void onbeforecut(VARIANT v);
  624.     [propget, id(DISPID_IHTMLELEMENT2_ONBEFORECUT), displaybind, bindable] VARIANT onbeforecut();
  625.     [propput, id(DISPID_IHTMLELEMENT2_ONCUT), displaybind, bindable] void oncut(VARIANT v);
  626.     [propget, id(DISPID_IHTMLELEMENT2_ONCUT), displaybind, bindable] VARIANT oncut();
  627.     [propput, id(DISPID_IHTMLELEMENT2_ONBEFORECOPY), displaybind, bindable] void onbeforecopy(VARIANT v);
  628.     [propget, id(DISPID_IHTMLELEMENT2_ONBEFORECOPY), displaybind, bindable] VARIANT onbeforecopy();
  629.     [propput, id(DISPID_IHTMLELEMENT2_ONCOPY), displaybind, bindable] void oncopy(VARIANT v);
  630.     [propget, id(DISPID_IHTMLELEMENT2_ONCOPY), displaybind, bindable] VARIANT oncopy();
  631.     [propput, id(DISPID_IHTMLELEMENT2_ONBEFOREPASTE), displaybind, bindable] void onbeforepaste(VARIANT v);
  632.     [propget, id(DISPID_IHTMLELEMENT2_ONBEFOREPASTE), displaybind, bindable] VARIANT onbeforepaste();
  633.     [propput, id(DISPID_IHTMLELEMENT2_ONPASTE), displaybind, bindable] void onpaste(VARIANT v);
  634.     [propget, id(DISPID_IHTMLELEMENT2_ONPASTE), displaybind, bindable] VARIANT onpaste();
  635.     [propget, id(DISPID_IHTMLELEMENT2_CURRENTSTYLE), nonbrowsable] IHTMLCurrentStyle* currentStyle();
  636.     [propput, id(DISPID_IHTMLELEMENT2_ONPROPERTYCHANGE), displaybind, bindable] void onpropertychange(VARIANT v);
  637.     [propget, id(DISPID_IHTMLELEMENT2_ONPROPERTYCHANGE), displaybind, bindable] VARIANT onpropertychange();
  638.     [id(DISPID_IHTMLELEMENT2_GETCLIENTRECTS)] IHTMLRectCollection* getClientRects();
  639.     [id(DISPID_IHTMLELEMENT2_GETBOUNDINGCLIENTRECT)] IHTMLRect* getBoundingClientRect();
  640.     [id(DISPID_IHTMLELEMENT2_SETEXPRESSION)] void setExpression([in] BSTR propname,[in] BSTR expression,[defaultvalue(""), in] BSTR language);
  641.     [id(DISPID_IHTMLELEMENT2_GETEXPRESSION)] VARIANT getExpression([in] BSTR propname);
  642.     [id(DISPID_IHTMLELEMENT2_REMOVEEXPRESSION)] VARIANT_BOOL removeExpression([in] BSTR propname);
  643.     [propput, id(DISPID_IHTMLELEMENT2_TABINDEX), displaybind, bindable] void tabIndex(short v);
  644.     [propget, id(DISPID_IHTMLELEMENT2_TABINDEX), displaybind, bindable] short tabIndex();
  645.     [id(DISPID_IHTMLELEMENT2_FOCUS)] void focus();
  646.     [propput, id(DISPID_IHTMLELEMENT2_ACCESSKEY), displaybind, bindable] void accessKey(BSTR v);
  647.     [propget, id(DISPID_IHTMLELEMENT2_ACCESSKEY), displaybind, bindable] BSTR accessKey();
  648.     [propput, id(DISPID_IHTMLELEMENT2_ONBLUR), displaybind, bindable] void onblur(VARIANT v);
  649.     [propget, id(DISPID_IHTMLELEMENT2_ONBLUR), displaybind, bindable] VARIANT onblur();
  650.     [propput, id(DISPID_IHTMLELEMENT2_ONFOCUS), displaybind, bindable] void onfocus(VARIANT v);
  651.     [propget, id(DISPID_IHTMLELEMENT2_ONFOCUS), displaybind, bindable] VARIANT onfocus();
  652.     [propput, id(DISPID_IHTMLELEMENT2_ONRESIZE), displaybind, bindable] void onresize(VARIANT v);
  653.     [propget, id(DISPID_IHTMLELEMENT2_ONRESIZE), displaybind, bindable] VARIANT onresize();
  654.     [id(DISPID_IHTMLELEMENT2_BLUR)] void blur();
  655.     [id(DISPID_IHTMLELEMENT2_ADDFILTER)] void addFilter([in] IUnknown* pUnk);
  656.     [id(DISPID_IHTMLELEMENT2_REMOVEFILTER)] void removeFilter([in] IUnknown* pUnk);
  657.     [propget, id(DISPID_IHTMLELEMENT2_CLIENTHEIGHT), displaybind, bindable] long clientHeight();
  658.     [propget, id(DISPID_IHTMLELEMENT2_CLIENTWIDTH), displaybind, bindable] long clientWidth();
  659.     [propget, id(DISPID_IHTMLELEMENT2_CLIENTTOP), displaybind, bindable] long clientTop();
  660.     [propget, id(DISPID_IHTMLELEMENT2_CLIENTLEFT), displaybind, bindable] long clientLeft();
  661.     [id(DISPID_IHTMLELEMENT2_ATTACHEVENT)] VARIANT_BOOL attachEvent([in] BSTR event,[in] IDispatch* pDisp);
  662.     [id(DISPID_IHTMLELEMENT2_DETACHEVENT)] void detachEvent([in] BSTR event,[in] IDispatch* pDisp);
  663.     [propget, id(DISPID_IHTMLELEMENT2_READYSTATE)] VARIANT readyState();
  664.     [propput, id(DISPID_IHTMLELEMENT2_ONREADYSTATECHANGE), displaybind, bindable] void onreadystatechange(VARIANT v);
  665.     [propget, id(DISPID_IHTMLELEMENT2_ONREADYSTATECHANGE), displaybind, bindable] VARIANT onreadystatechange();
  666.     [propput, id(DISPID_IHTMLELEMENT2_ONROWSDELETE), displaybind, bindable] void onrowsdelete(VARIANT v);
  667.     [propget, id(DISPID_IHTMLELEMENT2_ONROWSDELETE), displaybind, bindable] VARIANT onrowsdelete();
  668.     [propput, id(DISPID_IHTMLELEMENT2_ONROWSINSERTED), displaybind, bindable] void onrowsinserted(VARIANT v);
  669.     [propget, id(DISPID_IHTMLELEMENT2_ONROWSINSERTED), displaybind, bindable] VARIANT onrowsinserted();
  670.     [propput, id(DISPID_IHTMLELEMENT2_ONCELLCHANGE), displaybind, bindable] void oncellchange(VARIANT v);
  671.     [propget, id(DISPID_IHTMLELEMENT2_ONCELLCHANGE), displaybind, bindable] VARIANT oncellchange();
  672.     [propput, id(DISPID_IHTMLELEMENT2_DIR), displaybind, bindable] void dir(BSTR v);
  673.     [propget, id(DISPID_IHTMLELEMENT2_DIR), displaybind, bindable] BSTR dir();
  674.     [id(DISPID_IHTMLELEMENT2_CREATECONTROLRANGE)] IDispatch* createControlRange();
  675.     [propget, id(DISPID_IHTMLELEMENT2_SCROLLHEIGHT), displaybind, bindable] long scrollHeight();
  676.     [propget, id(DISPID_IHTMLELEMENT2_SCROLLWIDTH), displaybind, bindable] long scrollWidth();
  677.     [propput, id(DISPID_IHTMLELEMENT2_SCROLLTOP), displaybind, bindable] void scrollTop(long v);
  678.     [propget, id(DISPID_IHTMLELEMENT2_SCROLLTOP), displaybind, bindable] long scrollTop();
  679.     [propput, id(DISPID_IHTMLELEMENT2_SCROLLLEFT), displaybind, bindable] void scrollLeft(long v);
  680.     [propget, id(DISPID_IHTMLELEMENT2_SCROLLLEFT), displaybind, bindable] long scrollLeft();
  681.     [id(DISPID_IHTMLELEMENT2_CLEARATTRIBUTES)] void clearAttributes();
  682.     [propput, id(DISPID_IHTMLELEMENT2_ONCONTEXTMENU), displaybind, bindable] void oncontextmenu(VARIANT v);
  683.     [propget, id(DISPID_IHTMLELEMENT2_ONCONTEXTMENU), displaybind, bindable] VARIANT oncontextmenu();
  684.     [id(DISPID_IHTMLELEMENT2_INSERTADJACENTELEMENT)] IHTMLElement* insertAdjacentElement([in] BSTR where,[in] IHTMLElement* insertedElement);
  685.     [id(DISPID_IHTMLELEMENT2_APPLYELEMENT)] IHTMLElement* applyElement([in] IHTMLElement* apply,[in] BSTR where);
  686.     [id(DISPID_IHTMLELEMENT2_GETADJACENTTEXT)] BSTR getAdjacentText([in] BSTR where);
  687.     [id(DISPID_IHTMLELEMENT2_REPLACEADJACENTTEXT)] BSTR replaceAdjacentText([in] BSTR where,[in] BSTR newText);
  688.     [propget, id(DISPID_IHTMLELEMENT2_CANHAVECHILDREN)] VARIANT_BOOL canHaveChildren();
  689.     [id(DISPID_IHTMLELEMENT2_ADDBEHAVIOR)] long addBehavior([in] BSTR bstrUrl,[optional, in] VARIANT* pvarFactory);
  690.     [id(DISPID_IHTMLELEMENT2_REMOVEBEHAVIOR)] VARIANT_BOOL removeBehavior([in] long cookie);
  691.     [propget, id(DISPID_IHTMLELEMENT2_RUNTIMESTYLE), nonbrowsable] IHTMLStyle* runtimeStyle();
  692.     [propget, id(DISPID_IHTMLELEMENT2_BEHAVIORURNS)] IDispatch* behaviorUrns();
  693.     [propput, id(DISPID_IHTMLELEMENT2_TAGURN)] void tagUrn(BSTR v);
  694.     [propget, id(DISPID_IHTMLELEMENT2_TAGURN)] BSTR tagUrn();
  695.     [propput, id(DISPID_IHTMLELEMENT2_ONBEFOREEDITFOCUS), displaybind, bindable] void onbeforeeditfocus(VARIANT v);
  696.     [propget, id(DISPID_IHTMLELEMENT2_ONBEFOREEDITFOCUS), displaybind, bindable] VARIANT onbeforeeditfocus();
  697.     [propget, id(DISPID_IHTMLELEMENT2_READYSTATEVALUE), hidden, restricted] long readyStateValue();
  698.     [id(DISPID_IHTMLELEMENT2_GETELEMENTSBYTAGNAME)] IHTMLElementCollection* getElementsByTagName([in] BSTR v);
  699.     [id(DISPID_IHTMLELEMENT3_MERGEATTRIBUTES)] void mergeAttributes([in] IHTMLElement* mergeThis,[optional, in] VARIANT* pvarFlags);
  700.     [propget, id(DISPID_IHTMLELEMENT3_ISMULTILINE)] VARIANT_BOOL isMultiLine();
  701.     [propget, id(DISPID_IHTMLELEMENT3_CANHAVEHTML)] VARIANT_BOOL canHaveHTML();
  702.     [propput, id(DISPID_IHTMLELEMENT3_ONLAYOUTCOMPLETE), displaybind, bindable] void onlayoutcomplete(VARIANT v);
  703.     [propget, id(DISPID_IHTMLELEMENT3_ONLAYOUTCOMPLETE), displaybind, bindable] VARIANT onlayoutcomplete();
  704.     [propput, id(DISPID_IHTMLELEMENT3_ONPAGE), displaybind, bindable] void onpage(VARIANT v);
  705.     [propget, id(DISPID_IHTMLELEMENT3_ONPAGE), displaybind, bindable] VARIANT onpage();
  706.     [propput, id(DISPID_IHTMLELEMENT3_INFLATEBLOCK), hidden, restricted, nonbrowsable] void inflateBlock(VARIANT_BOOL v);
  707.     [propget, id(DISPID_IHTMLELEMENT3_INFLATEBLOCK), hidden, restricted, nonbrowsable] VARIANT_BOOL inflateBlock();
  708.     [propput, id(DISPID_IHTMLELEMENT3_ONBEFOREDEACTIVATE), displaybind, bindable] void onbeforedeactivate(VARIANT v);
  709.     [propget, id(DISPID_IHTMLELEMENT3_ONBEFOREDEACTIVATE), displaybind, bindable] VARIANT onbeforedeactivate();
  710.     [id(DISPID_IHTMLELEMENT3_SETACTIVE)] void setActive();
  711.     [propput, id(DISPID_IHTMLELEMENT3_CONTENTEDITABLE), displaybind, bindable] void contentEditable(BSTR v);
  712.     [propget, id(DISPID_IHTMLELEMENT3_CONTENTEDITABLE), displaybind, bindable] BSTR contentEditable();
  713.     [propget, id(DISPID_IHTMLELEMENT3_ISCONTENTEDITABLE)] VARIANT_BOOL isContentEditable();
  714.     [propput, id(DISPID_IHTMLELEMENT3_HIDEFOCUS), displaybind, bindable] void hideFocus(VARIANT_BOOL v);
  715.     [propget, id(DISPID_IHTMLELEMENT3_HIDEFOCUS), displaybind, bindable] VARIANT_BOOL hideFocus();
  716.     [propput, id(DISPID_IHTMLELEMENT3_DISABLED), displaybind, bindable] void disabled(VARIANT_BOOL v);
  717.     [propget, id(DISPID_IHTMLELEMENT3_DISABLED), displaybind, bindable] VARIANT_BOOL disabled();
  718.     [propget, id(DISPID_IHTMLELEMENT3_ISDISABLED)] VARIANT_BOOL isDisabled();
  719.     [propput, id(DISPID_IHTMLELEMENT3_ONMOVE), displaybind, bindable] void onmove(VARIANT v);
  720.     [propget, id(DISPID_IHTMLELEMENT3_ONMOVE), displaybind, bindable] VARIANT onmove();
  721.     [propput, id(DISPID_IHTMLELEMENT3_ONCONTROLSELECT), displaybind, bindable] void oncontrolselect(VARIANT v);
  722.     [propget, id(DISPID_IHTMLELEMENT3_ONCONTROLSELECT), displaybind, bindable] VARIANT oncontrolselect();
  723.     [id(DISPID_IHTMLELEMENT3_FIREEVENT)] VARIANT_BOOL fireEvent([in] BSTR bstrEventName,[optional, in] VARIANT* pvarEventObject);
  724.     [propput, id(DISPID_IHTMLELEMENT3_ONRESIZESTART), displaybind, bindable] void onresizestart(VARIANT v);
  725.     [propget, id(DISPID_IHTMLELEMENT3_ONRESIZESTART), displaybind, bindable] VARIANT onresizestart();
  726.     [propput, id(DISPID_IHTMLELEMENT3_ONRESIZEEND), displaybind, bindable] void onresizeend(VARIANT v);
  727.     [propget, id(DISPID_IHTMLELEMENT3_ONRESIZEEND), displaybind, bindable] VARIANT onresizeend();
  728.     [propput, id(DISPID_IHTMLELEMENT3_ONMOVESTART), displaybind, bindable] void onmovestart(VARIANT v);
  729.     [propget, id(DISPID_IHTMLELEMENT3_ONMOVESTART), displaybind, bindable] VARIANT onmovestart();
  730.     [propput, id(DISPID_IHTMLELEMENT3_ONMOVEEND), displaybind, bindable] void onmoveend(VARIANT v);
  731.     [propget, id(DISPID_IHTMLELEMENT3_ONMOVEEND), displaybind, bindable] VARIANT onmoveend();
  732.     [propput, id(DISPID_IHTMLELEMENT3_ONMOUSEENTER), displaybind, bindable] void onmouseenter(VARIANT v);
  733.     [propget, id(DISPID_IHTMLELEMENT3_ONMOUSEENTER), displaybind, bindable] VARIANT onmouseenter();
  734.     [propput, id(DISPID_IHTMLELEMENT3_ONMOUSELEAVE), displaybind, bindable] void onmouseleave(VARIANT v);
  735.     [propget, id(DISPID_IHTMLELEMENT3_ONMOUSELEAVE), displaybind, bindable] VARIANT onmouseleave();
  736.     [propput, id(DISPID_IHTMLELEMENT3_ONACTIVATE), displaybind, bindable] void onactivate(VARIANT v);
  737.     [propget, id(DISPID_IHTMLELEMENT3_ONACTIVATE), displaybind, bindable] VARIANT onactivate();
  738.     [propput, id(DISPID_IHTMLELEMENT3_ONDEACTIVATE), displaybind, bindable] void ondeactivate(VARIANT v);
  739.     [propget, id(DISPID_IHTMLELEMENT3_ONDEACTIVATE), displaybind, bindable] VARIANT ondeactivate();
  740.     [id(DISPID_IHTMLELEMENT3_DRAGDROP)] VARIANT_BOOL dragDrop();
  741.     [propget, id(DISPID_IHTMLELEMENT3_GLYPHMODE), hidden, restricted, nonbrowsable] LONG glyphMode();
  742.     [propput, id(DISPID_IHTMLELEMENT4_ONMOUSEWHEEL), displaybind, bindable] void onmousewheel(VARIANT v);
  743.     [propget, id(DISPID_IHTMLELEMENT4_ONMOUSEWHEEL), displaybind, bindable] VARIANT onmousewheel();
  744.     [id(DISPID_IHTMLELEMENT4_NORMALIZE)] void normalize();
  745.     [id(DISPID_IHTMLELEMENT4_GETATTRIBUTENODE)] IHTMLDOMAttribute* getAttributeNode([in] BSTR bstrname);
  746.     [id(DISPID_IHTMLELEMENT4_SETATTRIBUTENODE)] IHTMLDOMAttribute* setAttributeNode([in] IHTMLDOMAttribute* pattr);
  747.     [id(DISPID_IHTMLELEMENT4_REMOVEATTRIBUTENODE)] IHTMLDOMAttribute* removeAttributeNode([in] IHTMLDOMAttribute* pattr);
  748.     [propput, id(DISPID_IHTMLELEMENT4_ONBEFOREACTIVATE), displaybind, bindable] void onbeforeactivate(VARIANT v);
  749.     [propget, id(DISPID_IHTMLELEMENT4_ONBEFOREACTIVATE), displaybind, bindable] VARIANT onbeforeactivate();
  750.     [propput, id(DISPID_IHTMLELEMENT4_ONFOCUSIN), displaybind, bindable] void onfocusin(VARIANT v);
  751.     [propget, id(DISPID_IHTMLELEMENT4_ONFOCUSIN), displaybind, bindable] VARIANT onfocusin();
  752.     [propput, id(DISPID_IHTMLELEMENT4_ONFOCUSOUT), displaybind, bindable] void onfocusout(VARIANT v);
  753.     [propget, id(DISPID_IHTMLELEMENT4_ONFOCUSOUT), displaybind, bindable] VARIANT onfocusout();
  754.     [propget, id(DISPID_IHTMLUNIQUENAME_UNIQUENUMBER), hidden] long uniqueNumber();
  755.     [propget, id(DISPID_IHTMLUNIQUENAME_UNIQUEID), hidden] BSTR uniqueID();
  756.     [propget, id(DISPID_IHTMLDOMNODE_NODETYPE)] long nodeType();
  757.     [propget, id(DISPID_IHTMLDOMNODE_PARENTNODE)] IHTMLDOMNode* parentNode();
  758.     [id(DISPID_IHTMLDOMNODE_HASCHILDNODES)] VARIANT_BOOL hasChildNodes();
  759.     [propget, id(DISPID_IHTMLDOMNODE_CHILDNODES)] IDispatch* childNodes();
  760.     [propget, id(DISPID_IHTMLDOMNODE_ATTRIBUTES)] IDispatch* attributes();
  761.     [id(DISPID_IHTMLDOMNODE_INSERTBEFORE)] IHTMLDOMNode* insertBefore([in] IHTMLDOMNode* newChild,[optional, in] VARIANT refChild);
  762.     [id(DISPID_IHTMLDOMNODE_REMOVECHILD)] IHTMLDOMNode* removeChild([in] IHTMLDOMNode* oldChild);
  763.     [id(DISPID_IHTMLDOMNODE_REPLACECHILD)] IHTMLDOMNode* replaceChild([in] IHTMLDOMNode* newChild,[in] IHTMLDOMNode* oldChild);
  764.     [id(DISPID_IHTMLDOMNODE_CLONENODE)] IHTMLDOMNode* cloneNode([in] VARIANT_BOOL fDeep);
  765.     [id(DISPID_IHTMLDOMNODE_REMOVENODE)] IHTMLDOMNode* removeNode([defaultvalue(0), in] VARIANT_BOOL fDeep);
  766.     [id(DISPID_IHTMLDOMNODE_SWAPNODE)] IHTMLDOMNode* swapNode([in] IHTMLDOMNode* otherNode);
  767.     [id(DISPID_IHTMLDOMNODE_REPLACENODE)] IHTMLDOMNode* replaceNode([in] IHTMLDOMNode* replacement);
  768.     [id(DISPID_IHTMLDOMNODE_APPENDCHILD)] IHTMLDOMNode* appendChild([in] IHTMLDOMNode* newChild);
  769.     [propget, id(DISPID_IHTMLDOMNODE_NODENAME)] BSTR nodeName();
  770.     [propput, id(DISPID_IHTMLDOMNODE_NODEVALUE)] void nodeValue(VARIANT v);
  771.     [propget, id(DISPID_IHTMLDOMNODE_NODEVALUE)] VARIANT nodeValue();
  772.     [propget, id(DISPID_IHTMLDOMNODE_FIRSTCHILD)] IHTMLDOMNode* firstChild();
  773.     [propget, id(DISPID_IHTMLDOMNODE_LASTCHILD)] IHTMLDOMNode* lastChild();
  774.     [propget, id(DISPID_IHTMLDOMNODE_PREVIOUSSIBLING)] IHTMLDOMNode* previousSibling();
  775.     [propget, id(DISPID_IHTMLDOMNODE_NEXTSIBLING)] IHTMLDOMNode* nextSibling();
  776.     [propget, id(DISPID_IHTMLDOMNODE2_OWNERDOCUMENT)] IDispatch* ownerDocument();
  777. };
  778. [
  779.     uuid(3050f268-98b5-11cf-bb82-00aa00bdce0b)
  780. ]
  781. coclass HTMLUnknownElement
  782. {
  783.     [default]           dispinterface DispHTMLUnknownElement;
  784.     [source, default]   dispinterface HTMLElementEvents;
  785.     [source]            dispinterface HTMLElementEvents2;
  786.                         interface IHTMLElement;
  787.                         interface IHTMLElement2;
  788.                         interface IHTMLElement3;
  789.                         interface IHTMLElement4;
  790.                         interface IHTMLUniqueName;
  791.                         interface IHTMLDOMNode;
  792.                         interface IHTMLDOMNode2;
  793.                         interface IHTMLUnknownElement;
  794. };
  795. cpp_quote("EXTERN_C const GUID CLSID_CUnknownElement;")
  796. [
  797.     odl,
  798.     oleautomation,
  799.     dual,
  800.     uuid(FECEAAA2-8405-11cf-8BA1-00AA00476DA6)
  801. ]
  802. interface IOmHistory : IDispatch
  803. {
  804.     [propget, id(DISPID_IOMHISTORY_LENGTH)] HRESULT length([retval, out] short * p);
  805.     [id(DISPID_IOMHISTORY_BACK)] HRESULT back([optional, in] VARIANT* pvargdistance);
  806.     [id(DISPID_IOMHISTORY_FORWARD)] HRESULT forward([optional, in] VARIANT* pvargdistance);
  807.     [id(DISPID_IOMHISTORY_GO)] HRESULT go([optional, in] VARIANT* pvargdistance);
  808. };
  809. [
  810.     odl,
  811.     oleautomation,
  812.     dual,
  813.     uuid(3050f3fc-98b5-11cf-bb82-00aa00bdce0b)
  814. ]
  815. interface IHTMLMimeTypesCollection : IDispatch
  816. {
  817.     [propget, id(DISPID_IHTMLMIMETYPESCOLLECTION_LENGTH)] HRESULT length([retval, out] long * p);
  818. };
  819. [
  820.     odl,
  821.     oleautomation,
  822.     dual,
  823.     uuid(3050f3fd-98b5-11cf-bb82-00aa00bdce0b)
  824. ]
  825. interface IHTMLPluginsCollection : IDispatch
  826. {
  827.     [propget, id(DISPID_IHTMLPLUGINSCOLLECTION_LENGTH)] HRESULT length([retval, out] long * p);
  828.     [id(DISPID_IHTMLPLUGINSCOLLECTION_REFRESH)] HRESULT refresh([defaultvalue(0), in] VARIANT_BOOL reload);
  829. };
  830. [
  831.     odl,
  832.     oleautomation,
  833.     dual,
  834.     uuid(3050f401-98b5-11cf-bb82-00aa00bdce0b)
  835. ]
  836. interface IHTMLOpsProfile : IDispatch
  837. {
  838.     [id(DISPID_IHTMLOPSPROFILE_ADDREQUEST)] HRESULT addRequest([in] BSTR name,[optional, in] VARIANT reserved,[retval, out] VARIANT_BOOL* success);
  839.     [id(DISPID_IHTMLOPSPROFILE_CLEARREQUEST)] HRESULT clearRequest();
  840.     [id(DISPID_IHTMLOPSPROFILE_DOREQUEST)] HRESULT doRequest([in] VARIANT usage,[optional, in] VARIANT fname,[optional, in] VARIANT domain,[optional, in] VARIANT path,[optional, in] VARIANT expire,[optional, in] VARIANT reserved);
  841.     [id(DISPID_IHTMLOPSPROFILE_GETATTRIBUTE)] HRESULT getAttribute([in] BSTR name,[retval, out] BSTR* value);
  842.     [id(DISPID_IHTMLOPSPROFILE_SETATTRIBUTE)] HRESULT setAttribute([in] BSTR name,[in] BSTR value,[optional, in] VARIANT prefs,[retval, out] VARIANT_BOOL* success);
  843.     [id(DISPID_IHTMLOPSPROFILE_COMMITCHANGES)] HRESULT commitChanges([retval, out] VARIANT_BOOL* success);
  844.     [id(DISPID_IHTMLOPSPROFILE_ADDREADREQUEST)] HRESULT addReadRequest([in] BSTR name,[optional, in] VARIANT reserved,[retval, out] VARIANT_BOOL* success);
  845.     [id(DISPID_IHTMLOPSPROFILE_DOREADREQUEST)] HRESULT doReadRequest([in] VARIANT usage,[optional, in] VARIANT fname,[optional, in] VARIANT domain,[optional, in] VARIANT path,[optional, in] VARIANT expire,[optional, in] VARIANT reserved);
  846.     [id(DISPID_IHTMLOPSPROFILE_DOWRITEREQUEST)] HRESULT doWriteRequest([retval, out] VARIANT_BOOL* success);
  847. };
  848. [
  849.     odl,
  850.     oleautomation,
  851.     dual,
  852.     uuid(FECEAAA5-8405-11cf-8BA1-00AA00476DA6)
  853. ]
  854. interface IOmNavigator : IDispatch
  855. {
  856.     [propget, id(DISPID_IOMNAVIGATOR_APPCODENAME)] HRESULT appCodeName([retval, out] BSTR * p);
  857.     [propget, id(DISPID_IOMNAVIGATOR_APPNAME)] HRESULT appName([retval, out] BSTR * p);
  858.     [propget, id(DISPID_IOMNAVIGATOR_APPVERSION)] HRESULT appVersion([retval, out] BSTR * p);
  859.     [propget, id(DISPID_IOMNAVIGATOR_USERAGENT)] HRESULT userAgent([retval, out] BSTR * p);
  860.     [id(DISPID_IOMNAVIGATOR_JAVAENABLED)] HRESULT javaEnabled([retval, out] VARIANT_BOOL* enabled);
  861.     [id(DISPID_IOMNAVIGATOR_TAINTENABLED)] HRESULT taintEnabled([retval, out] VARIANT_BOOL* enabled);
  862.     [propget, id(DISPID_IOMNAVIGATOR_MIMETYPES)] HRESULT mimeTypes([retval, out] IHTMLMimeTypesCollection* * p);
  863.     [propget, id(DISPID_IOMNAVIGATOR_PLUGINS)] HRESULT plugins([retval, out] IHTMLPluginsCollection* * p);
  864.     [propget, id(DISPID_IOMNAVIGATOR_COOKIEENABLED)] HRESULT cookieEnabled([retval, out] VARIANT_BOOL * p);
  865.     [propget, id(DISPID_IOMNAVIGATOR_OPSPROFILE)] HRESULT opsProfile([retval, out] IHTMLOpsProfile* * p);
  866.     [id(DISPID_IOMNAVIGATOR_TOSTRING)] HRESULT toString([retval, out] BSTR* string);
  867.     [propget, id(DISPID_IOMNAVIGATOR_CPUCLASS)] HRESULT cpuClass([retval, out] BSTR * p);
  868.     [propget, id(DISPID_IOMNAVIGATOR_SYSTEMLANGUAGE)] HRESULT systemLanguage([retval, out] BSTR * p);
  869.     [propget, id(DISPID_IOMNAVIGATOR_BROWSERLANGUAGE), hidden] HRESULT browserLanguage([retval, out] BSTR * p);
  870.     [propget, id(DISPID_IOMNAVIGATOR_USERLANGUAGE)] HRESULT userLanguage([retval, out] BSTR * p);
  871.     [propget, id(DISPID_IOMNAVIGATOR_PLATFORM)] HRESULT platform([retval, out] BSTR * p);
  872.     [propget, id(DISPID_IOMNAVIGATOR_APPMINORVERSION)] HRESULT appMinorVersion([retval, out] BSTR * p);
  873.     [propget, id(DISPID_IOMNAVIGATOR_CONNECTIONSPEED), hidden] HRESULT connectionSpeed([retval, out] long * p);
  874.     [propget, id(DISPID_IOMNAVIGATOR_ONLINE)] HRESULT onLine([retval, out] VARIANT_BOOL * p);
  875.     [propget, id(DISPID_IOMNAVIGATOR_USERPROFILE)] HRESULT userProfile([retval, out] IHTMLOpsProfile* * p);
  876. };
  877. [
  878.     odl,
  879.     oleautomation,
  880.     dual,
  881.     uuid(163BB1E0-6E00-11cf-837A-48DC04C10000)
  882. ]
  883. interface IHTMLLocation : IDispatch
  884. {
  885.     [propput, id(DISPID_IHTMLLOCATION_HREF)] HRESULT href([in] BSTR v);
  886.     [propget, id(DISPID_IHTMLLOCATION_HREF)] HRESULT href([retval, out] BSTR * p);
  887.     [propput, id(DISPID_IHTMLLOCATION_PROTOCOL)] HRESULT protocol([in] BSTR v);
  888.     [propget, id(DISPID_IHTMLLOCATION_PROTOCOL)] HRESULT protocol([retval, out] BSTR * p);
  889.     [propput, id(DISPID_IHTMLLOCATION_HOST)] HRESULT host([in] BSTR v);
  890.     [propget, id(DISPID_IHTMLLOCATION_HOST)] HRESULT host([retval, out] BSTR * p);
  891.     [propput, id(DISPID_IHTMLLOCATION_HOSTNAME)] HRESULT hostname([in] BSTR v);
  892.     [propget, id(DISPID_IHTMLLOCATION_HOSTNAME)] HRESULT hostname([retval, out] BSTR * p);
  893.     [propput, id(DISPID_IHTMLLOCATION_PORT)] HRESULT port([in] BSTR v);
  894.     [propget, id(DISPID_IHTMLLOCATION_PORT)] HRESULT port([retval, out] BSTR * p);
  895.     [propput, id(DISPID_IHTMLLOCATION_PATHNAME)] HRESULT pathname([in] BSTR v);
  896.     [propget, id(DISPID_IHTMLLOCATION_PATHNAME)] HRESULT pathname([retval, out] BSTR * p);
  897.     [propput, id(DISPID_IHTMLLOCATION_SEARCH)] HRESULT search([in] BSTR v);
  898.     [propget, id(DISPID_IHTMLLOCATION_SEARCH)] HRESULT search([retval, out] BSTR * p);
  899.     [propput, id(DISPID_IHTMLLOCATION_HASH)] HRESULT hash([in] BSTR v);
  900.     [propget, id(DISPID_IHTMLLOCATION_HASH)] HRESULT hash([retval, out] BSTR * p);
  901.     [id(DISPID_IHTMLLOCATION_RELOAD)] HRESULT reload([defaultvalue(0), in] VARIANT_BOOL flag);
  902.     [id(DISPID_IHTMLLOCATION_REPLACE)] HRESULT replace([in] BSTR bstr);
  903.     [id(DISPID_IHTMLLOCATION_ASSIGN)] HRESULT assign([in] BSTR bstr);
  904.     [id(DISPID_IHTMLLOCATION_TOSTRING)] HRESULT toString([retval, out] BSTR* string);
  905. };
  906. [
  907.     uuid(FECEAAA3-8405-11cf-8BA1-00AA00476DA6)
  908. ]
  909. coclass HTMLHistory
  910. {
  911.     [default]           interface IOmHistory;
  912. };
  913. cpp_quote("EXTERN_C const GUID CLSID_COmHistory;")
  914. [
  915.     uuid(3050f3fe-98b5-11cf-bb82-00aa00bdce0b)
  916. ]
  917. coclass CMimeTypes
  918. {
  919.     [default]           interface IHTMLMimeTypesCollection;
  920. };
  921. cpp_quote("EXTERN_C const GUID CLSID_CMimeTypes;")
  922. [
  923.     uuid(3050f3ff-98b5-11cf-bb82-00aa00bdce0b)
  924. ]
  925. coclass CPlugins
  926. {
  927.     [default]           interface IHTMLPluginsCollection;
  928. };
  929. cpp_quote("EXTERN_C const GUID CLSID_CPlugins;")
  930. [
  931.     uuid(3050f402-98b5-11cf-bb82-00aa00bdce0b)
  932. ]
  933. coclass COpsProfile
  934. {
  935.     [default]           interface IHTMLOpsProfile;
  936. };
  937. cpp_quote("EXTERN_C const GUID CLSID_COpsProfile;")
  938. [
  939.     uuid(FECEAAA6-8405-11cf-8BA1-00AA00476DA6)
  940. ]
  941. coclass HTMLNavigator
  942. {
  943.     [default]           interface IOmNavigator;
  944. };
  945. cpp_quote("EXTERN_C const GUID CLSID_COmNavigator;")
  946. [
  947.     uuid(163BB1E1-6E00-11cf-837A-48DC04C10000)
  948. ]
  949. coclass HTMLLocation
  950. {
  951.     [default]           interface IHTMLLocation;
  952. };
  953. cpp_quote("EXTERN_C const GUID CLSID_COmLocation;")
  954. [
  955.     odl,
  956.     oleautomation,
  957.     dual,
  958.     uuid(3050f4ce-98b5-11cf-bb82-00aa00bdce0b)
  959. ]
  960. interface IHTMLBookmarkCollection : IDispatch
  961. {
  962.     [propget, id(DISPID_IHTMLBOOKMARKCOLLECTION_LENGTH), hidden] HRESULT length([retval, out] long * p);
  963.     [propget, id(DISPID_IHTMLBOOKMARKCOLLECTION__NEWENUM), hidden, restricted] HRESULT _newEnum([retval, out] IUnknown* * p);
  964.     [id(DISPID_IHTMLBOOKMARKCOLLECTION_ITEM)] HRESULT item([in] long index,[retval, out] VARIANT* pVarBookmark);
  965. };
  966. typedef enum _htmlPersistState
  967. {
  968.     htmlPersistStateNormal = 0,
  969.     htmlPersistStateFavorite = 1,
  970.     htmlPersistStateHistory = 2,
  971.     htmlPersistStateSnapshot = 3,
  972.     htmlPersistStateUserData = 4,
  973.     htmlPersistState_Max = 2147483647L
  974. } htmlPersistState;
  975. typedef enum _htmlDropEffect
  976. {
  977.     htmlDropEffectCopy = 0,
  978.     htmlDropEffectLink = 1,
  979.     htmlDropEffectMove = 2,
  980.     htmlDropEffectNone = 3,
  981.     htmlDropEffect_Max = 2147483647L
  982. } htmlDropEffect;
  983. typedef enum _htmlEffectAllowed
  984. {
  985.     htmlEffectAllowedCopy = 0,
  986.     htmlEffectAllowedLink = 1,
  987.     htmlEffectAllowedMove = 2,
  988.     htmlEffectAllowedCopyLink = 3,
  989.     htmlEffectAllowedCopyMove = 4,
  990.     htmlEffectAllowedLinkMove = 5,
  991.     htmlEffectAllowedAll = 6,
  992.     htmlEffectAllowedNone = 7,
  993.     htmlEffectAllowedUninitialized = 8,
  994.     htmlEffectAllowed_Max = 2147483647L
  995. } htmlEffectAllowed;
  996. [
  997.     odl,
  998.     oleautomation,
  999.     dual,
  1000.     uuid(3050f4b3-98b5-11cf-bb82-00aa00bdce0b)
  1001. ]
  1002. interface IHTMLDataTransfer : IDispatch
  1003. {
  1004.     [id(DISPID_IHTMLDATATRANSFER_SETDATA)] HRESULT setData([in] BSTR format,[in] VARIANT* data,[retval, out] VARIANT_BOOL* pret);
  1005.     [id(DISPID_IHTMLDATATRANSFER_GETDATA)] HRESULT getData([in] BSTR format,[retval, out] VARIANT* pvarRet);
  1006.     [id(DISPID_IHTMLDATATRANSFER_CLEARDATA)] HRESULT clearData([in] BSTR format,[retval, out] VARIANT_BOOL* pret);
  1007.     [propput, id(DISPID_IHTMLDATATRANSFER_DROPEFFECT)] HRESULT dropEffect([in] BSTR v);
  1008.     [propget, id(DISPID_IHTMLDATATRANSFER_DROPEFFECT)] HRESULT dropEffect([retval, out] BSTR * p);
  1009.     [propput, id(DISPID_IHTMLDATATRANSFER_EFFECTALLOWED)] HRESULT effectAllowed([in] BSTR v);
  1010.     [propget, id(DISPID_IHTMLDATATRANSFER_EFFECTALLOWED)] HRESULT effectAllowed([retval, out] BSTR * p);
  1011. };
  1012. [
  1013.     odl,
  1014.     oleautomation,
  1015.     dual,
  1016.     uuid(3050f32d-98b5-11cf-bb82-00aa00bdce0b)
  1017. ]
  1018. interface IHTMLEventObj : IDispatch
  1019. {
  1020.     [propget, id(DISPID_IHTMLEVENTOBJ_SRCELEMENT)] HRESULT srcElement([retval, out] IHTMLElement* * p);
  1021.     [propget, id(DISPID_IHTMLEVENTOBJ_ALTKEY)] HRESULT altKey([retval, out] VARIANT_BOOL * p);
  1022.     [propget, id(DISPID_IHTMLEVENTOBJ_CTRLKEY)] HRESULT ctrlKey([retval, out] VARIANT_BOOL * p);
  1023.     [propget, id(DISPID_IHTMLEVENTOBJ_SHIFTKEY)] HRESULT shiftKey([retval, out] VARIANT_BOOL * p);
  1024.     [propput, id(DISPID_IHTMLEVENTOBJ_RETURNVALUE)] HRESULT returnValue([in] VARIANT v);
  1025.     [propget, id(DISPID_IHTMLEVENTOBJ_RETURNVALUE)] HRESULT returnValue([retval, out] VARIANT * p);
  1026.     [propput, id(DISPID_IHTMLEVENTOBJ_CANCELBUBBLE)] HRESULT cancelBubble([in] VARIANT_BOOL v);
  1027.     [propget, id(DISPID_IHTMLEVENTOBJ_CANCELBUBBLE)] HRESULT cancelBubble([retval, out] VARIANT_BOOL * p);
  1028.     [propget, id(DISPID_IHTMLEVENTOBJ_FROMELEMENT)] HRESULT fromElement([retval, out] IHTMLElement* * p);
  1029.     [propget, id(DISPID_IHTMLEVENTOBJ_TOELEMENT)] HRESULT toElement([retval, out] IHTMLElement* * p);
  1030.     [propput, id(DISPID_IHTMLEVENTOBJ_KEYCODE)] HRESULT keyCode([in] long v);
  1031.     [propget, id(DISPID_IHTMLEVENTOBJ_KEYCODE)] HRESULT keyCode([retval, out] long * p);
  1032.     [propget, id(DISPID_IHTMLEVENTOBJ_BUTTON)] HRESULT button([retval, out] long * p);
  1033.     [propget, id(DISPID_IHTMLEVENTOBJ_TYPE)] HRESULT type([retval, out] BSTR * p);
  1034.     [propget, id(DISPID_IHTMLEVENTOBJ_QUALIFIER)] HRESULT qualifier([retval, out] BSTR * p);
  1035.     [propget, id(DISPID_IHTMLEVENTOBJ_REASON)] HRESULT reason([retval, out] long * p);
  1036.     [propget, id(DISPID_IHTMLEVENTOBJ_X)] HRESULT x([retval, out] long * p);
  1037.     [propget, id(DISPID_IHTMLEVENTOBJ_Y)] HRESULT y([retval, out] long * p);
  1038.     [propget, id(DISPID_IHTMLEVENTOBJ_CLIENTX)] HRESULT clientX([retval, out] long * p);
  1039.     [propget, id(DISPID_IHTMLEVENTOBJ_CLIENTY)] HRESULT clientY([retval, out] long * p);
  1040.     [propget, id(DISPID_IHTMLEVENTOBJ_OFFSETX)] HRESULT offsetX([retval, out] long * p);
  1041.     [propget, id(DISPID_IHTMLEVENTOBJ_OFFSETY)] HRESULT offsetY([retval, out] long * p);
  1042.     [propget, id(DISPID_IHTMLEVENTOBJ_SCREENX)] HRESULT screenX([retval, out] long * p);
  1043.     [propget, id(DISPID_IHTMLEVENTOBJ_SCREENY)] HRESULT screenY([retval, out] long * p);
  1044.     [propget, id(DISPID_IHTMLEVENTOBJ_SRCFILTER)] HRESULT srcFilter([retval, out] IDispatch* * p);
  1045. };
  1046. [
  1047.     odl,
  1048.     oleautomation,
  1049.     dual,
  1050.     uuid(3050f48B-98b5-11cf-bb82-00aa00bdce0b)
  1051. ]
  1052. interface IHTMLEventObj2 : IDispatch
  1053. {
  1054.     [id(DISPID_IHTMLEVENTOBJ2_SETATTRIBUTE)] HRESULT setAttribute([in] BSTR strAttributeName,[in] VARIANT AttributeValue,[defaultvalue(1), in] LONG lFlags);
  1055.     [id(DISPID_IHTMLEVENTOBJ2_GETATTRIBUTE)] HRESULT getAttribute([in] BSTR strAttributeName,[defaultvalue(0), in] LONG lFlags,[retval, out] VARIANT* AttributeValue);
  1056.     [id(DISPID_IHTMLEVENTOBJ2_REMOVEATTRIBUTE)] HRESULT removeAttribute([in] BSTR strAttributeName,[defaultvalue(1), in] LONG lFlags,[retval, out] VARIANT_BOOL* pfSuccess);
  1057.     [propput, id(DISPID_IHTMLEVENTOBJ2_PROPERTYNAME)] HRESULT propertyName([in] BSTR v);
  1058.     [propget, id(DISPID_IHTMLEVENTOBJ2_PROPERTYNAME)] HRESULT propertyName([retval, out] BSTR * p);
  1059.     [propputref, id(DISPID_IHTMLEVENTOBJ2_BOOKMARKS)] HRESULT bookmarks([in] IHTMLBookmarkCollection* v);
  1060.     [propget, id(DISPID_IHTMLEVENTOBJ2_BOOKMARKS)] HRESULT bookmarks([retval, out] IHTMLBookmarkCollection* * p);
  1061.     [propputref, id(DISPID_IHTMLEVENTOBJ2_RECORDSET)] HRESULT recordset([in] IDispatch* v);
  1062.     [propget, id(DISPID_IHTMLEVENTOBJ2_RECORDSET)] HRESULT recordset([retval, out] IDispatch* * p);
  1063.     [propput, id(DISPID_IHTMLEVENTOBJ2_DATAFLD)] HRESULT dataFld([in] BSTR v);
  1064.     [propget, id(DISPID_IHTMLEVENTOBJ2_DATAFLD)] HRESULT dataFld([retval, out] BSTR * p);
  1065.     [propputref, id(DISPID_IHTMLEVENTOBJ2_BOUNDELEMENTS)] HRESULT boundElements([in] IHTMLElementCollection* v);
  1066.     [propget, id(DISPID_IHTMLEVENTOBJ2_BOUNDELEMENTS)] HRESULT boundElements([retval, out] IHTMLElementCollection* * p);
  1067.     [propput, id(DISPID_IHTMLEVENTOBJ2_REPEAT)] HRESULT repeat([in] VARIANT_BOOL v);
  1068.     [propget, id(DISPID_IHTMLEVENTOBJ2_REPEAT)] HRESULT repeat([retval, out] VARIANT_BOOL * p);
  1069.     [propput, id(DISPID_IHTMLEVENTOBJ2_SRCURN)] HRESULT srcUrn([in] BSTR v);
  1070.     [propget, id(DISPID_IHTMLEVENTOBJ2_SRCURN)] HRESULT srcUrn([retval, out] BSTR * p);
  1071.     [propputref, id(DISPID_IHTMLEVENTOBJ2_SRCELEMENT)] HRESULT srcElement([in] IHTMLElement* v);
  1072.     [propget, id(DISPID_IHTMLEVENTOBJ2_SRCELEMENT)] HRESULT srcElement([retval, out] IHTMLElement* * p);
  1073.     [propput, id(DISPID_IHTMLEVENTOBJ2_ALTKEY)] HRESULT altKey([in] VARIANT_BOOL v);
  1074.     [propget, id(DISPID_IHTMLEVENTOBJ2_ALTKEY)] HRESULT altKey([retval, out] VARIANT_BOOL * p);
  1075.     [propput, id(DISPID_IHTMLEVENTOBJ2_CTRLKEY)] HRESULT ctrlKey([in] VARIANT_BOOL v);
  1076.     [propget, id(DISPID_IHTMLEVENTOBJ2_CTRLKEY)] HRESULT ctrlKey([retval, out] VARIANT_BOOL * p);
  1077.     [propput, id(DISPID_IHTMLEVENTOBJ2_SHIFTKEY)] HRESULT shiftKey([in] VARIANT_BOOL v);
  1078.     [propget, id(DISPID_IHTMLEVENTOBJ2_SHIFTKEY)] HRESULT shiftKey([retval, out] VARIANT_BOOL * p);
  1079.     [propputref, id(DISPID_IHTMLEVENTOBJ2_FROMELEMENT)] HRESULT fromElement([in] IHTMLElement* v);
  1080.     [propget, id(DISPID_IHTMLEVENTOBJ2_FROMELEMENT)] HRESULT fromElement([retval, out] IHTMLElement* * p);
  1081.     [propputref, id(DISPID_IHTMLEVENTOBJ2_TOELEMENT)] HRESULT toElement([in] IHTMLElement* v);
  1082.     [propget, id(DISPID_IHTMLEVENTOBJ2_TOELEMENT)] HRESULT toElement([retval, out] IHTMLElement* * p);
  1083.     [propput, id(DISPID_IHTMLEVENTOBJ2_BUTTON)] HRESULT button([in] long v);
  1084.     [propget, id(DISPID_IHTMLEVENTOBJ2_BUTTON)] HRESULT button([retval, out] long * p);
  1085.     [propput, id(DISPID_IHTMLEVENTOBJ2_TYPE)] HRESULT type([in] BSTR v);
  1086.     [propget, id(DISPID_IHTMLEVENTOBJ2_TYPE)] HRESULT type([retval, out] BSTR * p);
  1087.     [propput, id(DISPID_IHTMLEVENTOBJ2_QUALIFIER)] HRESULT qualifier([in] BSTR v);
  1088.     [propget, id(DISPID_IHTMLEVENTOBJ2_QUALIFIER)] HRESULT qualifier([retval, out] BSTR * p);
  1089.     [propput, id(DISPID_IHTMLEVENTOBJ2_REASON)] HRESULT reason([in] long v);
  1090.     [propget, id(DISPID_IHTMLEVENTOBJ2_REASON)] HRESULT reason([retval, out] long * p);
  1091.     [propput, id(DISPID_IHTMLEVENTOBJ2_X)] HRESULT x([in] long v);
  1092.     [propget, id(DISPID_IHTMLEVENTOBJ2_X)] HRESULT x([retval, out] long * p);
  1093.     [propput, id(DISPID_IHTMLEVENTOBJ2_Y)] HRESULT y([in] long v);
  1094.     [propget, id(DISPID_IHTMLEVENTOBJ2_Y)] HRESULT y([retval, out] long * p);
  1095.     [propput, id(DISPID_IHTMLEVENTOBJ2_CLIENTX)] HRESULT clientX([in] long v);
  1096.     [propget, id(DISPID_IHTMLEVENTOBJ2_CLIENTX)] HRESULT clientX([retval, out] long * p);
  1097.     [propput, id(DISPID_IHTMLEVENTOBJ2_CLIENTY)] HRESULT clientY([in] long v);
  1098.     [propget, id(DISPID_IHTMLEVENTOBJ2_CLIENTY)] HRESULT clientY([retval, out] long * p);
  1099.     [propput, id(DISPID_IHTMLEVENTOBJ2_OFFSETX)] HRESULT offsetX([in] long v);
  1100.     [propget, id(DISPID_IHTMLEVENTOBJ2_OFFSETX)] HRESULT offsetX([retval, out] long * p);
  1101.     [propput, id(DISPID_IHTMLEVENTOBJ2_OFFSETY)] HRESULT offsetY([in] long v);
  1102.     [propget, id(DISPID_IHTMLEVENTOBJ2_OFFSETY)] HRESULT offsetY([retval, out] long * p);
  1103.     [propput, id(DISPID_IHTMLEVENTOBJ2_SCREENX)] HRESULT screenX([in] long v);
  1104.     [propget, id(DISPID_IHTMLEVENTOBJ2_SCREENX)] HRESULT screenX([retval, out] long * p);
  1105.     [propput, id(DISPID_IHTMLEVENTOBJ2_SCREENY)] HRESULT screenY([in] long v);
  1106.     [propget, id(DISPID_IHTMLEVENTOBJ2_SCREENY)] HRESULT screenY([retval, out] long * p);
  1107.     [propputref, id(DISPID_IHTMLEVENTOBJ2_SRCFILTER)] HRESULT srcFilter([in] IDispatch* v);
  1108.     [propget, id(DISPID_IHTMLEVENTOBJ2_SRCFILTER)] HRESULT srcFilter([retval, out] IDispatch* * p);
  1109.     [propget, id(DISPID_IHTMLEVENTOBJ2_DATATRANSFER)] HRESULT dataTransfer([retval, out] IHTMLDataTransfer* * p);
  1110. };
  1111. [
  1112.     odl,
  1113.     oleautomation,
  1114.     dual,
  1115.     uuid(3050f680-98b5-11cf-bb82-00aa00bdce0b)
  1116. ]
  1117. interface IHTMLEventObj3 : IDispatch
  1118. {
  1119.     [propget, id(DISPID_IHTMLEVENTOBJ3_CONTENTOVERFLOW)] HRESULT contentOverflow([retval, out] VARIANT_BOOL * p);
  1120.     [propput, id(DISPID_IHTMLEVENTOBJ3_SHIFTLEFT)] HRESULT shiftLeft([in] VARIANT_BOOL v);
  1121.     [propget, id(DISPID_IHTMLEVENTOBJ3_SHIFTLEFT)] HRESULT shiftLeft([retval, out] VARIANT_BOOL * p);
  1122.     [propput, id(DISPID_IHTMLEVENTOBJ3_ALTLEFT)] HRESULT altLeft([in] VARIANT_BOOL v);
  1123.     [propget, id(DISPID_IHTMLEVENTOBJ3_ALTLEFT)] HRESULT altLeft([retval, out] VARIANT_BOOL * p);
  1124.     [propput, id(DISPID_IHTMLEVENTOBJ3_CTRLLEFT)] HRESULT ctrlLeft([in] VARIANT_BOOL v);
  1125.     [propget, id(DISPID_IHTMLEVENTOBJ3_CTRLLEFT)] HRESULT ctrlLeft([retval, out] VARIANT_BOOL * p);
  1126.     [propget, id(DISPID_IHTMLEVENTOBJ3_IMECOMPOSITIONCHANGE), hidden, restricted, nonbrowsable] HRESULT imeCompositionChange([retval, out] LONG_PTR * p);
  1127.     [propget, id(DISPID_IHTMLEVENTOBJ3_IMENOTIFYCOMMAND), hidden, restricted, nonbrowsable] HRESULT imeNotifyCommand([retval, out] LONG_PTR * p);
  1128.     [propget, id(DISPID_IHTMLEVENTOBJ3_IMENOTIFYDATA), hidden, restricted, nonbrowsable] HRESULT imeNotifyData([retval, out] LONG_PTR * p);
  1129.     [propget, id(DISPID_IHTMLEVENTOBJ3_IMEREQUEST), hidden, restricted, nonbrowsable] HRESULT imeRequest([retval, out] LONG_PTR * p);
  1130.     [propget, id(DISPID_IHTMLEVENTOBJ3_IMEREQUESTDATA), hidden, restricted, nonbrowsable] HRESULT imeRequestData([retval, out] LONG_PTR * p);
  1131.     [propget, id(DISPID_IHTMLEVENTOBJ3_KEYBOARDLAYOUT), hidden, restricted, nonbrowsable] HRESULT keyboardLayout([retval, out] LONG_PTR * p);
  1132.     [propget, id(DISPID_IHTMLEVENTOBJ3_BEHAVIORCOOKIE)] HRESULT behaviorCookie([retval, out] long * p);
  1133.     [propget, id(DISPID_IHTMLEVENTOBJ3_BEHAVIORPART)] HRESULT behaviorPart([retval, out] long * p);
  1134.     [propget, id(DISPID_IHTMLEVENTOBJ3_NEXTPAGE)] HRESULT nextPage([retval, out] BSTR * p);
  1135. };
  1136. [
  1137.     odl,
  1138.     oleautomation,
  1139.     dual,
  1140.     uuid(3050f814-98b5-11cf-bb82-00aa00bdce0b)
  1141. ]
  1142. interface IHTMLEventObj4 : IDispatch
  1143. {
  1144.     [propget, id(DISPID_IHTMLEVENTOBJ4_WHEELDELTA)] HRESULT wheelDelta([retval, out] long * p);
  1145. };
  1146. [
  1147.     hidden,
  1148.     uuid(3050f558-98b5-11cf-bb82-00aa00bdce0b)
  1149. ]
  1150. dispinterface DispCEventObj
  1151. {
  1152. properties:
  1153. methods:
  1154.     [propput, id(DISPID_IHTMLEVENTOBJ_RETURNVALUE)] void returnValue(VARIANT v);
  1155.     [propget, id(DISPID_IHTMLEVENTOBJ_RETURNVALUE)] VARIANT returnValue();
  1156.     [propput, id(DISPID_IHTMLEVENTOBJ_CANCELBUBBLE)] void cancelBubble(VARIANT_BOOL v);
  1157.     [propget, id(DISPID_IHTMLEVENTOBJ_CANCELBUBBLE)] VARIANT_BOOL cancelBubble();
  1158.     [propput, id(DISPID_IHTMLEVENTOBJ_KEYCODE)] void keyCode(long v);
  1159.     [propget, id(DISPID_IHTMLEVENTOBJ_KEYCODE)] long keyCode();
  1160.     [id(DISPID_IHTMLEVENTOBJ2_SETATTRIBUTE)] void setAttribute([in] BSTR strAttributeName,[in] VARIANT AttributeValue,[defaultvalue(1), in] LONG lFlags);
  1161.     [id(DISPID_IHTMLEVENTOBJ2_GETATTRIBUTE)] VARIANT getAttribute([in] BSTR strAttributeName,[defaultvalue(0), in] LONG lFlags);
  1162.     [id(DISPID_IHTMLEVENTOBJ2_REMOVEATTRIBUTE)] VARIANT_BOOL removeAttribute([in] BSTR strAttributeName,[defaultvalue(1), in] LONG lFlags);
  1163.     [propput, id(DISPID_IHTMLEVENTOBJ2_PROPERTYNAME)] void propertyName(BSTR v);
  1164.     [propget, id(DISPID_IHTMLEVENTOBJ2_PROPERTYNAME)] BSTR propertyName();
  1165.     [propputref, id(DISPID_IHTMLEVENTOBJ2_BOOKMARKS)] void bookmarks(IHTMLBookmarkCollection* v);
  1166.     [propget, id(DISPID_IHTMLEVENTOBJ2_BOOKMARKS)] IHTMLBookmarkCollection* bookmarks();
  1167.     [propputref, id(DISPID_IHTMLEVENTOBJ2_RECORDSET)] void recordset(IDispatch* v);
  1168.     [propget, id(DISPID_IHTMLEVENTOBJ2_RECORDSET)] IDispatch* recordset();
  1169.     [propput, id(DISPID_IHTMLEVENTOBJ2_DATAFLD)] void dataFld(BSTR v);
  1170.     [propget, id(DISPID_IHTMLEVENTOBJ2_DATAFLD)] BSTR dataFld();
  1171.     [propputref, id(DISPID_IHTMLEVENTOBJ2_BOUNDELEMENTS)] void boundElements(IHTMLElementCollection* v);
  1172.     [propget, id(DISPID_IHTMLEVENTOBJ2_BOUNDELEMENTS)] IHTMLElementCollection* boundElements();
  1173.     [propput, id(DISPID_IHTMLEVENTOBJ2_REPEAT)] void repeat(VARIANT_BOOL v);
  1174.     [propget, id(DISPID_IHTMLEVENTOBJ2_REPEAT)] VARIANT_BOOL repeat();
  1175.     [propput, id(DISPID_IHTMLEVENTOBJ2_SRCURN)] void srcUrn(BSTR v);
  1176.     [propget, id(DISPID_IHTMLEVENTOBJ2_SRCURN)] BSTR srcUrn();
  1177.     [propputref, id(DISPID_IHTMLEVENTOBJ2_SRCELEMENT)] void srcElement(IHTMLElement* v);
  1178.     [propget, id(DISPID_IHTMLEVENTOBJ2_SRCELEMENT)] IHTMLElement* srcElement();
  1179.     [propput, id(DISPID_IHTMLEVENTOBJ2_ALTKEY)] void altKey(VARIANT_BOOL v);
  1180.     [propget, id(DISPID_IHTMLEVENTOBJ2_ALTKEY)] VARIANT_BOOL altKey();
  1181.     [propput, id(DISPID_IHTMLEVENTOBJ2_CTRLKEY)] void ctrlKey(VARIANT_BOOL v);
  1182.     [propget, id(DISPID_IHTMLEVENTOBJ2_CTRLKEY)] VARIANT_BOOL ctrlKey();
  1183.     [propput, id(DISPID_IHTMLEVENTOBJ2_SHIFTKEY)] void shiftKey(VARIANT_BOOL v);
  1184.     [propget, id(DISPID_IHTMLEVENTOBJ2_SHIFTKEY)] VARIANT_BOOL shiftKey();
  1185.     [propputref, id(DISPID_IHTMLEVENTOBJ2_FROMELEMENT)] void fromElement(IHTMLElement* v);
  1186.     [propget, id(DISPID_IHTMLEVENTOBJ2_FROMELEMENT)] IHTMLElement* fromElement();
  1187.     [propputref, id(DISPID_IHTMLEVENTOBJ2_TOELEMENT)] void toElement(IHTMLElement* v);
  1188.     [propget, id(DISPID_IHTMLEVENTOBJ2_TOELEMENT)] IHTMLElement* toElement();
  1189.     [propput, id(DISPID_IHTMLEVENTOBJ2_BUTTON)] void button(long v);
  1190.     [propget, id(DISPID_IHTMLEVENTOBJ2_BUTTON)] long button();
  1191.     [propput, id(DISPID_IHTMLEVENTOBJ2_TYPE)] void type(BSTR v);
  1192.     [propget, id(DISPID_IHTMLEVENTOBJ2_TYPE)] BSTR type();
  1193.     [propput, id(DISPID_IHTMLEVENTOBJ2_QUALIFIER)] void qualifier(BSTR v);
  1194.     [propget, id(DISPID_IHTMLEVENTOBJ2_QUALIFIER)] BSTR qualifier();
  1195.     [propput, id(DISPID_IHTMLEVENTOBJ2_REASON)] void reason(long v);
  1196.     [propget, id(DISPID_IHTMLEVENTOBJ2_REASON)] long reason();
  1197.     [propput, id(DISPID_IHTMLEVENTOBJ2_X)] void x(long v);
  1198.     [propget, id(DISPID_IHTMLEVENTOBJ2_X)] long x();
  1199.     [propput, id(DISPID_IHTMLEVENTOBJ2_Y)] void y(long v);
  1200.     [propget, id(DISPID_IHTMLEVENTOBJ2_Y)] long y();
  1201.     [propput, id(DISPID_IHTMLEVENTOBJ2_CLIENTX)] void clientX(long v);
  1202.     [propget, id(DISPID_IHTMLEVENTOBJ2_CLIENTX)] long clientX();
  1203.     [propput, id(DISPID_IHTMLEVENTOBJ2_CLIENTY)] void clientY(long v);
  1204.     [propget, id(DISPID_IHTMLEVENTOBJ2_CLIENTY)] long clientY();
  1205.     [propput, id(DISPID_IHTMLEVENTOBJ2_OFFSETX)] void offsetX(long v);
  1206.     [propget, id(DISPID_IHTMLEVENTOBJ2_OFFSETX)] long offsetX();
  1207.     [propput, id(DISPID_IHTMLEVENTOBJ2_OFFSETY)] void offsetY(long v);
  1208.     [propget, id(DISPID_IHTMLEVENTOBJ2_OFFSETY)] long offsetY();
  1209.     [propput, id(DISPID_IHTMLEVENTOBJ2_SCREENX)] void screenX(long v);
  1210.     [propget, id(DISPID_IHTMLEVENTOBJ2_SCREENX)] long screenX();
  1211.     [propput, id(DISPID_IHTMLEVENTOBJ2_SCREENY)] void screenY(long v);
  1212.     [propget, id(DISPID_IHTMLEVENTOBJ2_SCREENY)] long screenY();
  1213.     [propputref, id(DISPID_IHTMLEVENTOBJ2_SRCFILTER)] void srcFilter(IDispatch* v);
  1214.     [propget, id(DISPID_IHTMLEVENTOBJ2_SRCFILTER)] IDispatch* srcFilter();
  1215.     [propget, id(DISPID_IHTMLEVENTOBJ2_DATATRANSFER)] IHTMLDataTransfer* dataTransfer();
  1216.     [propget, id(DISPID_IHTMLEVENTOBJ3_CONTENTOVERFLOW)] VARIANT_BOOL contentOverflow();
  1217.     [propput, id(DISPID_IHTMLEVENTOBJ3_SHIFTLEFT)] void shiftLeft(VARIANT_BOOL v);
  1218.     [propget, id(DISPID_IHTMLEVENTOBJ3_SHIFTLEFT)] VARIANT_BOOL shiftLeft();
  1219.     [propput, id(DISPID_IHTMLEVENTOBJ3_ALTLEFT)] void altLeft(VARIANT_BOOL v);
  1220.     [propget, id(DISPID_IHTMLEVENTOBJ3_ALTLEFT)] VARIANT_BOOL altLeft();
  1221.     [propput, id(DISPID_IHTMLEVENTOBJ3_CTRLLEFT)] void ctrlLeft(VARIANT_BOOL v);
  1222.     [propget, id(DISPID_IHTMLEVENTOBJ3_CTRLLEFT)] VARIANT_BOOL ctrlLeft();
  1223.     [propget, id(DISPID_IHTMLEVENTOBJ3_IMECOMPOSITIONCHANGE), hidden, restricted, nonbrowsable] LONG_PTR imeCompositionChange();
  1224.     [propget, id(DISPID_IHTMLEVENTOBJ3_IMENOTIFYCOMMAND), hidden, restricted, nonbrowsable] LONG_PTR imeNotifyCommand();
  1225.     [propget, id(DISPID_IHTMLEVENTOBJ3_IMENOTIFYDATA), hidden, restricted, nonbrowsable] LONG_PTR imeNotifyData();
  1226.     [propget, id(DISPID_IHTMLEVENTOBJ3_IMEREQUEST), hidden, restricted, nonbrowsable] LONG_PTR imeRequest();
  1227.     [propget, id(DISPID_IHTMLEVENTOBJ3_IMEREQUESTDATA), hidden, restricted, nonbrowsable] LONG_PTR imeRequestData();
  1228.     [propget, id(DISPID_IHTMLEVENTOBJ3_KEYBOARDLAYOUT), hidden, restricted, nonbrowsable] LONG_PTR keyboardLayout();
  1229.     [propget, id(DISPID_IHTMLEVENTOBJ3_BEHAVIORCOOKIE)] long behaviorCookie();
  1230.     [propget, id(DISPID_IHTMLEVENTOBJ3_BEHAVIORPART)] long behaviorPart();
  1231.     [propget, id(DISPID_IHTMLEVENTOBJ3_NEXTPAGE)] BSTR nextPage();
  1232.     [propget, id(DISPID_IHTMLEVENTOBJ4_WHEELDELTA)] long wheelDelta();
  1233. };
  1234. [
  1235.     uuid(3050f48A-98b5-11cf-bb82-00aa00bdce0b)
  1236. ]
  1237. coclass CEventObj
  1238. {
  1239.     [default]           dispinterface DispCEventObj;
  1240.                         interface IHTMLEventObj;
  1241.                         interface IHTMLEventObj2;
  1242.                         interface IHTMLEventObj3;
  1243.                         interface IHTMLEventObj4;
  1244. };
  1245. cpp_quote("EXTERN_C const GUID CLSID_CEventObj;")
  1246. [
  1247.     hidden,
  1248.     uuid(3050f625-98b5-11cf-bb82-00aa00bdce0b)
  1249. ]
  1250. dispinterface HTMLWindowEvents2
  1251. {
  1252. properties:
  1253. methods:
  1254.     [id(DISPID_HTMLWINDOWEVENTS2_ONLOAD)] void onload([in] IHTMLEventObj* pEvtObj);
  1255.     [id(DISPID_HTMLWINDOWEVENTS2_ONUNLOAD)] void onunload([in] IHTMLEventObj* pEvtObj);
  1256.     [id(DISPID_HTMLWINDOWEVENTS2_ONHELP)] VARIANT_BOOL onhelp([in] IHTMLEventObj* pEvtObj);
  1257.     [id(DISPID_HTMLWINDOWEVENTS2_ONFOCUS)] void onfocus([in] IHTMLEventObj* pEvtObj);
  1258.     [id(DISPID_HTMLWINDOWEVENTS2_ONBLUR)] void onblur([in] IHTMLEventObj* pEvtObj);
  1259.     [id(DISPID_HTMLWINDOWEVENTS2_ONERROR)] void onerror([in] BSTR description,[in] BSTR url,[in] long line);
  1260.     [id(DISPID_HTMLWINDOWEVENTS2_ONRESIZE)] void onresize([in] IHTMLEventObj* pEvtObj);
  1261.     [id(DISPID_HTMLWINDOWEVENTS2_ONSCROLL)] void onscroll([in] IHTMLEventObj* pEvtObj);
  1262.     [id(DISPID_HTMLWINDOWEVENTS2_ONBEFOREUNLOAD)] void onbeforeunload([in] IHTMLEventObj* pEvtObj);
  1263.     [id(DISPID_HTMLWINDOWEVENTS2_ONBEFOREPRINT)] void onbeforeprint([in] IHTMLEventObj* pEvtObj);
  1264.     [id(DISPID_HTMLWINDOWEVENTS2_ONAFTERPRINT)] void onafterprint([in] IHTMLEventObj* pEvtObj);
  1265. };
  1266. [
  1267.     hidden,
  1268.     uuid(96A0A4E0-D062-11cf-94B6-00AA0060275C)
  1269. ]
  1270. dispinterface HTMLWindowEvents
  1271. {
  1272. properties:
  1273. methods:
  1274.     [id(DISPID_HTMLWINDOWEVENTS_ONLOAD)] void onload();
  1275.     [id(DISPID_HTMLWINDOWEVENTS_ONUNLOAD)] void onunload();
  1276.     [id(DISPID_HTMLWINDOWEVENTS_ONHELP)] VARIANT_BOOL onhelp();
  1277.     [id(DISPID_HTMLWINDOWEVENTS_ONFOCUS)] void onfocus();
  1278.     [id(DISPID_HTMLWINDOWEVENTS_ONBLUR)] void onblur();
  1279.     [id(DISPID_HTMLWINDOWEVENTS_ONERROR)] void onerror([in] BSTR description,[in] BSTR url,[in] long line);
  1280.     [id(DISPID_HTMLWINDOWEVENTS_ONRESIZE)] void onresize();
  1281.     [id(DISPID_HTMLWINDOWEVENTS_ONSCROLL)] void onscroll();
  1282.     [id(DISPID_HTMLWINDOWEVENTS_ONBEFOREUNLOAD)] void onbeforeunload();
  1283.     [id(DISPID_HTMLWINDOWEVENTS_ONBEFOREPRINT)] void onbeforeprint();
  1284.     [id(DISPID_HTMLWINDOWEVENTS_ONAFTERPRINT)] void onafterprint();
  1285. };
  1286. interface IHTMLDocument;
  1287. interface IHTMLDocument2;
  1288. interface IHTMLFramesCollection2;
  1289. interface IHTMLWindow2;
  1290. interface IHTMLWindow3;
  1291. interface IHTMLFrameBase;
  1292. [
  1293.     odl,
  1294.     oleautomation,
  1295.     dual,
  1296.     uuid(332c4426-26cb-11d0-b483-00c04fd90119)
  1297. ]
  1298. interface IHTMLFramesCollection2 : IDispatch
  1299. {
  1300.     [id(DISPID_IHTMLFRAMESCOLLECTION2_ITEM)] HRESULT item([in] VARIANT* pvarIndex,[retval, out] VARIANT* pvarResult);
  1301.     [propget, id(DISPID_IHTMLFRAMESCOLLECTION2_LENGTH)] HRESULT length([retval, out] long * p);
  1302. };
  1303. [
  1304.     odl,
  1305.     oleautomation,
  1306.     dual,
  1307.     uuid(3050f35c-98b5-11cf-bb82-00aa00bdce0b)
  1308. ]
  1309. interface IHTMLScreen : IDispatch
  1310. {
  1311.     [propget, id(DISPID_IHTMLSCREEN_COLORDEPTH)] HRESULT colorDepth([retval, out] long * p);
  1312.     [propput, id(DISPID_IHTMLSCREEN_BUFFERDEPTH)] HRESULT bufferDepth([in] long v);
  1313.     [propget, id(DISPID_IHTMLSCREEN_BUFFERDEPTH)] HRESULT bufferDepth([retval, out] long * p);
  1314.     [propget, id(DISPID_IHTMLSCREEN_WIDTH)] HRESULT width([retval, out] long * p);
  1315.     [propget, id(DISPID_IHTMLSCREEN_HEIGHT)] HRESULT height([retval, out] long * p);
  1316.     [propput, id(DISPID_IHTMLSCREEN_UPDATEINTERVAL)] HRESULT updateInterval([in] long v);
  1317.     [propget, id(DISPID_IHTMLSCREEN_UPDATEINTERVAL)] HRESULT updateInterval([retval, out] long * p);
  1318.     [propget, id(DISPID_IHTMLSCREEN_AVAILHEIGHT)] HRESULT availHeight([retval, out] long * p);
  1319.     [propget, id(DISPID_IHTMLSCREEN_AVAILWIDTH)] HRESULT availWidth([retval, out] long * p);
  1320.     [propget, id(DISPID_IHTMLSCREEN_FONTSMOOTHINGENABLED)] HRESULT fontSmoothingEnabled([retval, out] VARIANT_BOOL * p);
  1321. };
  1322. [
  1323.     odl,
  1324.     oleautomation,
  1325.     dual,
  1326.     uuid(3050f84a-98b5-11cf-bb82-00aa00bdce0b)
  1327. ]
  1328. interface IHTMLScreen2 : IDispatch
  1329. {
  1330.     [propget, id(DISPID_IHTMLSCREEN2_LOGICALXDPI)] HRESULT logicalXDPI([retval, out] long * p);
  1331.     [propget, id(DISPID_IHTMLSCREEN2_LOGICALYDPI)] HRESULT logicalYDPI([retval, out] long * p);
  1332.     [propget, id(DISPID_IHTMLSCREEN2_DEVICEXDPI)] HRESULT deviceXDPI([retval, out] long * p);
  1333.     [propget, id(DISPID_IHTMLSCREEN2_DEVICEYDPI)] HRESULT deviceYDPI([retval, out] long * p);
  1334. };
  1335. [
  1336.     odl,
  1337.     oleautomation,
  1338.     dual,
  1339.     uuid(332c4427-26cb-11d0-b483-00c04fd90119)
  1340. ]
  1341. interface IHTMLWindow2 : IHTMLFramesCollection2
  1342. {
  1343.     [propget, id(DISPID_IHTMLWINDOW2_FRAMES)] HRESULT frames([retval, out] IHTMLFramesCollection2* * p);
  1344.     [propput, id(DISPID_IHTMLWINDOW2_DEFAULTSTATUS)] HRESULT defaultStatus([in] BSTR v);
  1345.     [propget, id(DISPID_IHTMLWINDOW2_DEFAULTSTATUS)] HRESULT defaultStatus([retval, out] BSTR * p);
  1346.     [propput, id(DISPID_IHTMLWINDOW2_STATUS)] HRESULT status([in] BSTR v);
  1347.     [propget, id(DISPID_IHTMLWINDOW2_STATUS)] HRESULT status([retval, out] BSTR * p);
  1348.     [id(DISPID_IHTMLWINDOW2_SETTIMEOUT)] HRESULT setTimeout([in] BSTR expression,[in] long msec,[optional, in] VARIANT* language,[retval, out] long* timerID);
  1349.     [id(DISPID_IHTMLWINDOW2_CLEARTIMEOUT)] HRESULT clearTimeout([in] long timerID);
  1350.     [id(DISPID_IHTMLWINDOW2_ALERT)] HRESULT alert([defaultvalue(""), in] BSTR message);
  1351.     [id(DISPID_IHTMLWINDOW2_CONFIRM)] HRESULT confirm([defaultvalue(""), in] BSTR message,[retval, out] VARIANT_BOOL* confirmed);
  1352.     [id(DISPID_IHTMLWINDOW2_PROMPT)] HRESULT prompt([defaultvalue(""), in] BSTR message,[defaultvalue("undefined"), in] BSTR defstr,[retval, out] VARIANT* textdata);
  1353.     [propget, id(DISPID_IHTMLWINDOW2_IMAGE)] HRESULT Image([retval, out] IHTMLImageElementFactory* * p);
  1354.     [propget, id(DISPID_IHTMLWINDOW2_LOCATION)] HRESULT location([retval, out] IHTMLLocation* * p);
  1355.     [propget, id(DISPID_IHTMLWINDOW2_HISTORY)] HRESULT history([retval, out] IOmHistory* * p);
  1356.     [id(DISPID_IHTMLWINDOW2_CLOSE)] HRESULT close();
  1357.     [propput, id(DISPID_IHTMLWINDOW2_OPENER)] HRESULT opener([in] VARIANT v);
  1358.     [propget, id(DISPID_IHTMLWINDOW2_OPENER)] HRESULT opener([retval, out] VARIANT * p);
  1359.     [propget, id(DISPID_IHTMLWINDOW2_NAVIGATOR)] HRESULT navigator([retval, out] IOmNavigator* * p);
  1360.     [propput, id(DISPID_IHTMLWINDOW2_NAME)] HRESULT name([in] BSTR v);
  1361.     [propget, id(DISPID_IHTMLWINDOW2_NAME)] HRESULT name([retval, out] BSTR * p);
  1362.     [propget, id(DISPID_IHTMLWINDOW2_PARENT)] HRESULT parent([retval, out] IHTMLWindow2* * p);
  1363.     [id(DISPID_IHTMLWINDOW2_OPEN)] HRESULT open([defaultvalue(""), in] BSTR url,[defaultvalue(""), in] BSTR name,[defaultvalue(""), in] BSTR features,[defaultvalue(0), in] VARIANT_BOOL replace,[retval, out] IHTMLWindow2** pomWindowResult);
  1364.     [propget, id(DISPID_IHTMLWINDOW2_SELF)] HRESULT self([retval, out] IHTMLWindow2* * p);
  1365.     [propget, id(DISPID_IHTMLWINDOW2_TOP)] HRESULT top([retval, out] IHTMLWindow2* * p);
  1366.     [propget, id(DISPID_IHTMLWINDOW2_WINDOW)] HRESULT window([retval, out] IHTMLWindow2* * p);
  1367.     [id(DISPID_IHTMLWINDOW2_NAVIGATE)] HRESULT navigate([in] BSTR url);
  1368.     [propput, id(DISPID_IHTMLWINDOW2_ONFOCUS), displaybind, bindable] HRESULT onfocus([in] VARIANT v);
  1369.     [propget, id(DISPID_IHTMLWINDOW2_ONFOCUS), displaybind, bindable] HRESULT onfocus([retval, out] VARIANT * p);
  1370.     [propput, id(DISPID_IHTMLWINDOW2_ONBLUR), displaybind, bindable] HRESULT onblur([in] VARIANT v);
  1371.     [propget, id(DISPID_IHTMLWINDOW2_ONBLUR), displaybind, bindable] HRESULT onblur([retval, out] VARIANT * p);
  1372.     [propput, id(DISPID_IHTMLWINDOW2_ONLOAD), displaybind, bindable] HRESULT onload([in] VARIANT v);
  1373.     [propget, id(DISPID_IHTMLWINDOW2_ONLOAD), displaybind, bindable] HRESULT onload([retval, out] VARIANT * p);
  1374.     [propput, id(DISPID_IHTMLWINDOW2_ONBEFOREUNLOAD), displaybind, bindable] HRESULT onbeforeunload([in] VARIANT v);
  1375.     [propget, id(DISPID_IHTMLWINDOW2_ONBEFOREUNLOAD), displaybind, bindable] HRESULT onbeforeunload([retval, out] VARIANT * p);
  1376.     [propput, id(DISPID_IHTMLWINDOW2_ONUNLOAD), displaybind, bindable] HRESULT onunload([in] VARIANT v);
  1377.     [propget, id(DISPID_IHTMLWINDOW2_ONUNLOAD), displaybind, bindable] HRESULT onunload([retval, out] VARIANT * p);
  1378.     [propput, id(DISPID_IHTMLWINDOW2_ONHELP), displaybind, bindable] HRESULT onhelp([in] VARIANT v);
  1379.     [propget, id(DISPID_IHTMLWINDOW2_ONHELP), displaybind, bindable] HRESULT onhelp([retval, out] VARIANT * p);
  1380.     [propput, id(DISPID_IHTMLWINDOW2_ONERROR), displaybind, bindable] HRESULT onerror([in] VARIANT v);
  1381.     [propget, id(DISPID_IHTMLWINDOW2_ONERROR), displaybind, bindable] HRESULT onerror([retval, out] VARIANT * p);
  1382.     [propput, id(DISPID_IHTMLWINDOW2_ONRESIZE), displaybind, bindable] HRESULT onresize([in] VARIANT v);
  1383.     [propget, id(DISPID_IHTMLWINDOW2_ONRESIZE), displaybind, bindable] HRESULT onresize([retval, out] VARIANT * p);
  1384.     [propput, id(DISPID_IHTMLWINDOW2_ONSCROLL), displaybind, bindable] HRESULT onscroll([in] VARIANT v);
  1385.     [propget, id(DISPID_IHTMLWINDOW2_ONSCROLL), displaybind, bindable] HRESULT onscroll([retval, out] VARIANT * p);
  1386.     [propget, id(DISPID_IHTMLWINDOW2_DOCUMENT), source] HRESULT document([retval, out] IHTMLDocument2* * p);
  1387.     [propget, id(DISPID_IHTMLWINDOW2_EVENT)] HRESULT event([retval, out] IHTMLEventObj* * p);
  1388.     [propget, id(DISPID_IHTMLWINDOW2__NEWENUM), hidden, restricted] HRESULT _newEnum([retval, out] IUnknown* * p);
  1389.     [id(DISPID_IHTMLWINDOW2_SHOWMODALDIALOG)] HRESULT showModalDialog([in] BSTR dialog,[optional, in] VARIANT* varArgIn,[optional, in] VARIANT* varOptions,[retval, out] VARIANT* varArgOut);
  1390.     [id(DISPID_IHTMLWINDOW2_SHOWHELP)] HRESULT showHelp([in] BSTR helpURL,[optional, in] VARIANT helpArg,[defaultvalue(""), in] BSTR features);
  1391.     [propget, id(DISPID_IHTMLWINDOW2_SCREEN)] HRESULT screen([retval, out] IHTMLScreen* * p);
  1392.     [propget, id(DISPID_IHTMLWINDOW2_OPTION)] HRESULT Option([retval, out] IHTMLOptionElementFactory* * p);
  1393.     [id(DISPID_IHTMLWINDOW2_FOCUS)] HRESULT focus();
  1394.     [propget, id(DISPID_IHTMLWINDOW2_CLOSED)] HRESULT closed([retval, out] VARIANT_BOOL * p);
  1395.     [id(DISPID_IHTMLWINDOW2_BLUR)] HRESULT blur();
  1396.     [id(DISPID_IHTMLWINDOW2_SCROLL)] HRESULT scroll([in] long x,[in] long y);
  1397.     [propget, id(DISPID_IHTMLWINDOW2_CLIENTINFORMATION)] HRESULT clientInformation([retval, out] IOmNavigator* * p);
  1398.     [id(DISPID_IHTMLWINDOW2_SETINTERVAL)] HRESULT setInterval([in] BSTR expression,[in] long msec,[optional, in] VARIANT* language,[retval, out] long* timerID);
  1399.     [id(DISPID_IHTMLWINDOW2_CLEARINTERVAL)] HRESULT clearInterval([in] long timerID);
  1400.     [propput, id(DISPID_IHTMLWINDOW2_OFFSCREENBUFFERING)] HRESULT offscreenBuffering([in] VARIANT v);
  1401.     [propget, id(DISPID_IHTMLWINDOW2_OFFSCREENBUFFERING)] HRESULT offscreenBuffering([retval, out] VARIANT * p);
  1402.     [id(DISPID_IHTMLWINDOW2_EXECSCRIPT)] HRESULT execScript([in] BSTR code,[defaultvalue("JScript"), in] BSTR language,[retval, out] VARIANT* pvarRet);
  1403.     [id(DISPID_IHTMLWINDOW2_TOSTRING)] HRESULT toString([retval, out] BSTR* String);
  1404.     [id(DISPID_IHTMLWINDOW2_SCROLLBY)] HRESULT scrollBy([in] long x,[in] long y);
  1405.     [id(DISPID_IHTMLWINDOW2_SCROLLTO)] HRESULT scrollTo([in] long x,[in] long y);
  1406.     [id(DISPID_IHTMLWINDOW2_MOVETO)] HRESULT moveTo([in] long x,[in] long y);
  1407.     [id(DISPID_IHTMLWINDOW2_MOVEBY)] HRESULT moveBy([in] long x,[in] long y);
  1408.     [id(DISPID_IHTMLWINDOW2_RESIZETO)] HRESULT resizeTo([in] long x,[in] long y);
  1409.     [id(DISPID_IHTMLWINDOW2_RESIZEBY)] HRESULT resizeBy([in] long x,[in] long y);
  1410.     [propget, id(DISPID_IHTMLWINDOW2_EXTERNAL)] HRESULT external([retval, out] IDispatch* * p);
  1411. };
  1412. [
  1413.     odl,
  1414.     oleautomation,
  1415.     dual,
  1416.     uuid(3050f4ae-98b5-11cf-bb82-00aa00bdce0b)
  1417. ]
  1418. interface IHTMLWindow3 : IDispatch
  1419. {
  1420.     [propget, id(DISPID_IHTMLWINDOW3_SCREENLEFT)] HRESULT screenLeft([retval, out] long * p);
  1421.     [propget, id(DISPID_IHTMLWINDOW3_SCREENTOP)] HRESULT screenTop([retval, out] long * p);
  1422.     [id(DISPID_IHTMLWINDOW3_ATTACHEVENT)] HRESULT attachEvent([in] BSTR event,[in] IDispatch* pDisp,[retval, out] VARIANT_BOOL* pfResult);
  1423.     [id(DISPID_IHTMLWINDOW3_DETACHEVENT)] HRESULT detachEvent([in] BSTR event,[in] IDispatch* pDisp);
  1424.     [id(DISPID_IHTMLWINDOW3_SETTIMEOUT)] HRESULT setTimeout([in] VARIANT* expression,[in] long msec,[optional, in] VARIANT* language,[retval, out] long* timerID);
  1425.     [id(DISPID_IHTMLWINDOW3_SETINTERVAL)] HRESULT setInterval([in] VARIANT* expression,[in] long msec,[optional, in] VARIANT* language,[retval, out] long* timerID);
  1426.     [id(DISPID_IHTMLWINDOW3_PRINT)] HRESULT print();
  1427.     [propput, id(DISPID_IHTMLWINDOW3_ONBEFOREPRINT), displaybind, bindable] HRESULT onbeforeprint([in] VARIANT v);
  1428.     [propget, id(DISPID_IHTMLWINDOW3_ONBEFOREPRINT), displaybind, bindable] HRESULT onbeforeprint([retval, out] VARIANT * p);
  1429.     [propput, id(DISPID_IHTMLWINDOW3_ONAFTERPRINT), displaybind, bindable] HRESULT onafterprint([in] VARIANT v);
  1430.     [propget, id(DISPID_IHTMLWINDOW3_ONAFTERPRINT), displaybind, bindable] HRESULT onafterprint([retval, out] VARIANT * p);
  1431.     [propget, id(DISPID_IHTMLWINDOW3_CLIPBOARDDATA)] HRESULT clipboardData([retval, out] IHTMLDataTransfer* * p);
  1432.     [id(DISPID_IHTMLWINDOW3_SHOWMODELESSDIALOG)] HRESULT showModelessDialog([defaultvalue(""), in] BSTR url,[optional, in] VARIANT* varArgIn,[optional, in] VARIANT* options,[retval, out] IHTMLWindow2** pDialog);
  1433. };
  1434. [
  1435.     odl,
  1436.     oleautomation,
  1437.     dual,
  1438.     uuid(3050f6cf-98b5-11cf-bb82-00aa00bdce0b)
  1439. ]
  1440. interface IHTMLWindow4 : IDispatch
  1441. {
  1442.     [id(DISPID_IHTMLWINDOW4_CREATEPOPUP)] HRESULT createPopup([optional, in] VARIANT* varArgIn,[retval, out] IDispatch** ppPopup);
  1443.     [propget, id(DISPID_IHTMLWINDOW4_FRAMEELEMENT)] HRESULT frameElement([retval, out] IHTMLFrameBase* * p);
  1444. };
  1445. [
  1446.     uuid(3050f7f6-98b5-11cf-bb82-00aa00bdce0b)
  1447. ]
  1448. coclass FramesCollection
  1449. {
  1450.     [default]           interface IHTMLFramesCollection2;
  1451. };
  1452. cpp_quote("EXTERN_C const GUID CLSID_CFramesCollection;")
  1453. [
  1454.     hidden,
  1455.     uuid(3050f591-98b5-11cf-bb82-00aa00bdce0b)
  1456. ]
  1457. dispinterface DispHTMLScreen
  1458. {
  1459. properties:
  1460. methods:
  1461.     [propget, id(DISPID_IHTMLSCREEN_COLORDEPTH)] long colorDepth();
  1462.     [propput, id(DISPID_IHTMLSCREEN_BUFFERDEPTH)] void bufferDepth(long v);
  1463.     [propget, id(DISPID_IHTMLSCREEN_BUFFERDEPTH)] long bufferDepth();
  1464.     [propget, id(DISPID_IHTMLSCREEN_WIDTH)] long width();
  1465.     [propget, id(DISPID_IHTMLSCREEN_HEIGHT)] long height();
  1466.     [propput, id(DISPID_IHTMLSCREEN_UPDATEINTERVAL)] void updateInterval(long v);
  1467.     [propget, id(DISPID_IHTMLSCREEN_UPDATEINTERVAL)] long updateInterval();
  1468.     [propget, id(DISPID_IHTMLSCREEN_AVAILHEIGHT)] long availHeight();
  1469.     [propget, id(DISPID_IHTMLSCREEN_AVAILWIDTH)] long availWidth();
  1470.     [propget, id(DISPID_IHTMLSCREEN_FONTSMOOTHINGENABLED)] VARIANT_BOOL fontSmoothingEnabled();
  1471.     [propget, id(DISPID_IHTMLSCREEN2_LOGICALXDPI)] long logicalXDPI();
  1472.     [propget, id(DISPID_IHTMLSCREEN2_LOGICALYDPI)] long logicalYDPI();
  1473.     [propget, id(DISPID_IHTMLSCREEN2_DEVICEXDPI)] long deviceXDPI();
  1474.     [propget, id(DISPID_IHTMLSCREEN2_DEVICEYDPI)] long deviceYDPI();
  1475. };
  1476. [
  1477.     uuid(3050f35d-98b5-11cf-bb82-00aa00bdce0b)
  1478. ]
  1479. coclass HTMLScreen
  1480. {
  1481.     [default]           dispinterface DispHTMLScreen;
  1482.                         interface IHTMLScreen;
  1483.                         interface IHTMLScreen2;
  1484. };
  1485. cpp_quote("EXTERN_C const GUID CLSID_CScreen;")
  1486. [
  1487.     hidden,
  1488.     uuid(3050f55d-98b5-11cf-bb82-00aa00bdce0b)
  1489. ]
  1490. dispinterface DispHTMLWindow2
  1491. {
  1492. properties:
  1493. methods:
  1494.     [id(DISPID_IHTMLFRAMESCOLLECTION2_ITEM)] VARIANT item([in] VARIANT* pvarIndex);
  1495.     [propget, id(DISPID_IHTMLFRAMESCOLLECTION2_LENGTH)] long length();
  1496.     [propget, id(DISPID_IHTMLWINDOW2_FRAMES)] IHTMLFramesCollection2* frames();
  1497.     [propput, id(DISPID_IHTMLWINDOW2_DEFAULTSTATUS)] void defaultStatus(BSTR v);
  1498.     [propget, id(DISPID_IHTMLWINDOW2_DEFAULTSTATUS)] BSTR defaultStatus();
  1499.     [propput, id(DISPID_IHTMLWINDOW2_STATUS)] void status(BSTR v);
  1500.     [propget, id(DISPID_IHTMLWINDOW2_STATUS)] BSTR status();
  1501.     [id(DISPID_IHTMLWINDOW2_CLEARTIMEOUT)] void clearTimeout([in] long timerID);
  1502.     [id(DISPID_IHTMLWINDOW2_ALERT)] void alert([defaultvalue(""), in] BSTR message);
  1503.     [id(DISPID_IHTMLWINDOW2_CONFIRM)] VARIANT_BOOL confirm([defaultvalue(""), in] BSTR message);
  1504.     [id(DISPID_IHTMLWINDOW2_PROMPT)] VARIANT prompt([defaultvalue(""), in] BSTR message,[defaultvalue("undefined"), in] BSTR defstr);
  1505.     [propget, id(DISPID_IHTMLWINDOW2_IMAGE)] IHTMLImageElementFactory* Image();
  1506.     [propget, id(DISPID_IHTMLWINDOW2_LOCATION)] IHTMLLocation* location();
  1507.     [propget, id(DISPID_IHTMLWINDOW2_HISTORY)] IOmHistory* history();
  1508.     [id(DISPID_IHTMLWINDOW2_CLOSE)] void close();
  1509.     [propput, id(DISPID_IHTMLWINDOW2_OPENER)] void opener(VARIANT v);
  1510.     [propget, id(DISPID_IHTMLWINDOW2_OPENER)] VARIANT opener();
  1511.     [propget, id(DISPID_IHTMLWINDOW2_NAVIGATOR)] IOmNavigator* navigator();
  1512.     [propput, id(DISPID_IHTMLWINDOW2_NAME)] void name(BSTR v);
  1513.     [propget, id(DISPID_IHTMLWINDOW2_NAME)] BSTR name();
  1514.     [propget, id(DISPID_IHTMLWINDOW2_PARENT)] IHTMLWindow2* parent();
  1515.     [id(DISPID_IHTMLWINDOW2_OPEN)] IHTMLWindow2* open([defaultvalue(""), in] BSTR url,[defaultvalue(""), in] BSTR name,[defaultvalue(""), in] BSTR features,[defaultvalue(0), in] VARIANT_BOOL replace);
  1516.     [propget, id(DISPID_IHTMLWINDOW2_SELF)] IHTMLWindow2* self();
  1517.     [propget, id(DISPID_IHTMLWINDOW2_TOP)] IHTMLWindow2* top();
  1518.     [propget, id(DISPID_IHTMLWINDOW2_WINDOW)] IHTMLWindow2* window();
  1519.     [id(DISPID_IHTMLWINDOW2_NAVIGATE)] void navigate([in] BSTR url);
  1520.     [propput, id(DISPID_IHTMLWINDOW2_ONFOCUS), displaybind, bindable] void onfocus(VARIANT v);
  1521.     [propget, id(DISPID_IHTMLWINDOW2_ONFOCUS), displaybind, bindable] VARIANT onfocus();
  1522.     [propput, id(DISPID_IHTMLWINDOW2_ONBLUR), displaybind, bindable] void onblur(VARIANT v);
  1523.     [propget, id(DISPID_IHTMLWINDOW2_ONBLUR), displaybind, bindable] VARIANT onblur();
  1524.     [propput, id(DISPID_IHTMLWINDOW2_ONLOAD), displaybind, bindable] void onload(VARIANT v);
  1525.     [propget, id(DISPID_IHTMLWINDOW2_ONLOAD), displaybind, bindable] VARIANT onload();
  1526.     [propput, id(DISPID_IHTMLWINDOW2_ONBEFOREUNLOAD), displaybind, bindable] void onbeforeunload(VARIANT v);
  1527.     [propget, id(DISPID_IHTMLWINDOW2_ONBEFOREUNLOAD), displaybind, bindable] VARIANT onbeforeunload();
  1528.     [propput, id(DISPID_IHTMLWINDOW2_ONUNLOAD), displaybind, bindable] void onunload(VARIANT v);
  1529.     [propget, id(DISPID_IHTMLWINDOW2_ONUNLOAD), displaybind, bindable] VARIANT onunload();
  1530.     [propput, id(DISPID_IHTMLWINDOW2_ONHELP), displaybind, bindable] void onhelp(VARIANT v);
  1531.     [propget, id(DISPID_IHTMLWINDOW2_ONHELP), displaybind, bindable] VARIANT onhelp();
  1532.     [propput, id(DISPID_IHTMLWINDOW2_ONERROR), displaybind, bindable] void onerror(VARIANT v);
  1533.     [propget, id(DISPID_IHTMLWINDOW2_ONERROR), displaybind, bindable] VARIANT onerror();
  1534.     [propput, id(DISPID_IHTMLWINDOW2_ONRESIZE), displaybind, bindable] void onresize(VARIANT v);
  1535.     [propget, id(DISPID_IHTMLWINDOW2_ONRESIZE), displaybind, bindable] VARIANT onresize();
  1536.     [propput, id(DISPID_IHTMLWINDOW2_ONSCROLL), displaybind, bindable] void onscroll(VARIANT v);
  1537.     [propget, id(DISPID_IHTMLWINDOW2_ONSCROLL), displaybind, bindable] VARIANT onscroll();
  1538.     [propget, id(DISPID_IHTMLWINDOW2_DOCUMENT), source] IHTMLDocument2* document();
  1539.     [propget, id(DISPID_IHTMLWINDOW2_EVENT)] IHTMLEventObj* event();
  1540.     [propget, id(DISPID_IHTMLWINDOW2__NEWENUM), hidden, restricted] IUnknown* _newEnum();
  1541.     [id(DISPID_IHTMLWINDOW2_SHOWMODALDIALOG)] VARIANT showModalDialog([in] BSTR dialog,[optional, in] VARIANT* varArgIn,[optional, in] VARIANT* varOptions);
  1542.     [id(DISPID_IHTMLWINDOW2_SHOWHELP)] void showHelp([in] BSTR helpURL,[optional, in] VARIANT helpArg,[defaultvalue(""), in] BSTR features);
  1543.     [propget, id(DISPID_IHTMLWINDOW2_SCREEN)] IHTMLScreen* screen();
  1544.     [propget, id(DISPID_IHTMLWINDOW2_OPTION)] IHTMLOptionElementFactory* Option();
  1545.     [id(DISPID_IHTMLWINDOW2_FOCUS)] void focus();
  1546.     [propget, id(DISPID_IHTMLWINDOW2_CLOSED)] VARIANT_BOOL closed();
  1547.     [id(DISPID_IHTMLWINDOW2_BLUR)] void blur();
  1548.     [id(DISPID_IHTMLWINDOW2_SCROLL)] void scroll([in] long x,[in] long y);
  1549.     [propget, id(DISPID_IHTMLWINDOW2_CLIENTINFORMATION)] IOmNavigator* clientInformation();
  1550.     [id(DISPID_IHTMLWINDOW2_CLEARINTERVAL)] void clearInterval([in] long timerID);
  1551.     [propput, id(DISPID_IHTMLWINDOW2_OFFSCREENBUFFERING)] void offscreenBuffering(VARIANT v);
  1552.     [propget, id(DISPID_IHTMLWINDOW2_OFFSCREENBUFFERING)] VARIANT offscreenBuffering();
  1553.     [id(DISPID_IHTMLWINDOW2_EXECSCRIPT)] VARIANT execScript([in] BSTR code,[defaultvalue("JScript"), in] BSTR language);
  1554.     [id(DISPID_IHTMLWINDOW2_TOSTRING)] BSTR toString();
  1555.     [id(DISPID_IHTMLWINDOW2_SCROLLBY)] void scrollBy([in] long x,[in] long y);
  1556.     [id(DISPID_IHTMLWINDOW2_SCROLLTO)] void scrollTo([in] long x,[in] long y);
  1557.     [id(DISPID_IHTMLWINDOW2_MOVETO)] void moveTo([in] long x,[in] long y);
  1558.     [id(DISPID_IHTMLWINDOW2_MOVEBY)] void moveBy([in] long x,[in] long y);
  1559.     [id(DISPID_IHTMLWINDOW2_RESIZETO)] void resizeTo([in] long x,[in] long y);
  1560.     [id(DISPID_IHTMLWINDOW2_RESIZEBY)] void resizeBy([in] long x,[in] long y);
  1561.     [propget, id(DISPID_IHTMLWINDOW2_EXTERNAL)] IDispatch* external();
  1562.     [propget, id(DISPID_IHTMLWINDOW3_SCREENLEFT)] long screenLeft();
  1563.     [propget, id(DISPID_IHTMLWINDOW3_SCREENTOP)] long screenTop();
  1564.     [id(DISPID_IHTMLWINDOW3_ATTACHEVENT)] VARIANT_BOOL attachEvent([in] BSTR event,[in] IDispatch* pDisp);
  1565.     [id(DISPID_IHTMLWINDOW3_DETACHEVENT)] void detachEvent([in] BSTR event,[in] IDispatch* pDisp);
  1566.     [id(DISPID_IHTMLWINDOW3_SETTIMEOUT)] long setTimeout([in] VARIANT* expression,[in] long msec,[optional, in] VARIANT* language);
  1567.     [id(DISPID_IHTMLWINDOW3_SETINTERVAL)] long setInterval([in] VARIANT* expression,[in] long msec,[optional, in] VARIANT* language);
  1568.     [id(DISPID_IHTMLWINDOW3_PRINT)] void print();
  1569.     [propput, id(DISPID_IHTMLWINDOW3_ONBEFOREPRINT), displaybind, bindable] void onbeforeprint(VARIANT v);
  1570.     [propget, id(DISPID_IHTMLWINDOW3_ONBEFOREPRINT), displaybind, bindable] VARIANT onbeforeprint();
  1571.     [propput, id(DISPID_IHTMLWINDOW3_ONAFTERPRINT), displaybind, bindable] void onafterprint(VARIANT v);
  1572.     [propget, id(DISPID_IHTMLWINDOW3_ONAFTERPRINT), displaybind, bindable] VARIANT onafterprint();
  1573.     [propget, id(DISPID_IHTMLWINDOW3_CLIPBOARDDATA)] IHTMLDataTransfer* clipboardData();
  1574.     [id(DISPID_IHTMLWINDOW3_SHOWMODELESSDIALOG)] IHTMLWindow2* showModelessDialog([defaultvalue(""), in] BSTR url,[optional, in] VARIANT* varArgIn,[optional, in] VARIANT* options);
  1575.     [id(DISPID_IHTMLWINDOW4_CREATEPOPUP)] IDispatch* createPopup([optional, in] VARIANT* varArgIn);
  1576.     [propget, id(DISPID_IHTMLWINDOW4_FRAMEELEMENT)] IHTMLFrameBase* frameElement();
  1577. };
  1578. [
  1579.     uuid(D48A6EC6-6A4A-11cf-94A7-444553540000)
  1580. ]
  1581. coclass HTMLWindow2
  1582. {
  1583.     [default]           dispinterface DispHTMLWindow2;
  1584.     [source, default]   dispinterface HTMLWindowEvents;
  1585.     [source]            dispinterface HTMLWindowEvents2;
  1586.                         interface IHTMLWindow2;
  1587.                         interface IHTMLWindow3;
  1588.                         interface IHTMLWindow4;
  1589. };
  1590. cpp_quote("EXTERN_C const GUID CLSID_CWindow;")
  1591. [
  1592.     hidden,
  1593.     uuid(3050f55e-98b5-11cf-bb82-00aa00bdce0b)
  1594. ]
  1595. dispinterface DispHTMLWindowProxy
  1596. {
  1597. properties:
  1598. methods:
  1599.     [id(DISPID_IHTMLFRAMESCOLLECTION2_ITEM)] VARIANT item([in] VARIANT* pvarIndex);
  1600.     [propget, id(DISPID_IHTMLFRAMESCOLLECTION2_LENGTH)] long length();
  1601.     [propget, id(DISPID_IHTMLWINDOW2_FRAMES)] IHTMLFramesCollection2* frames();
  1602.     [propput, id(DISPID_IHTMLWINDOW2_DEFAULTSTATUS)] void defaultStatus(BSTR v);
  1603.     [propget, id(DISPID_IHTMLWINDOW2_DEFAULTSTATUS)] BSTR defaultStatus();
  1604.     [propput, id(DISPID_IHTMLWINDOW2_STATUS)] void status(BSTR v);
  1605.     [propget, id(DISPID_IHTMLWINDOW2_STATUS)] BSTR status();
  1606.     [id(DISPID_IHTMLWINDOW2_CLEARTIMEOUT)] void clearTimeout([in] long timerID);
  1607.     [id(DISPID_IHTMLWINDOW2_ALERT)] void alert([defaultvalue(""), in] BSTR message);
  1608.     [id(DISPID_IHTMLWINDOW2_CONFIRM)] VARIANT_BOOL confirm([defaultvalue(""), in] BSTR message);
  1609.     [id(DISPID_IHTMLWINDOW2_PROMPT)] VARIANT prompt([defaultvalue(""), in] BSTR message,[defaultvalue("undefined"), in] BSTR defstr);
  1610.     [propget, id(DISPID_IHTMLWINDOW2_IMAGE)] IHTMLImageElementFactory* Image();
  1611.     [propget, id(DISPID_IHTMLWINDOW2_LOCATION)] IHTMLLocation* location();
  1612.     [propget, id(DISPID_IHTMLWINDOW2_HISTORY)] IOmHistory* history();
  1613.     [id(DISPID_IHTMLWINDOW2_CLOSE)] void close();
  1614.     [propput, id(DISPID_IHTMLWINDOW2_OPENER)] void opener(VARIANT v);
  1615.     [propget, id(DISPID_IHTMLWINDOW2_OPENER)] VARIANT opener();
  1616.     [propget, id(DISPID_IHTMLWINDOW2_NAVIGATOR)] IOmNavigator* navigator();
  1617.     [propput, id(DISPID_IHTMLWINDOW2_NAME)] void name(BSTR v);
  1618.     [propget, id(DISPID_IHTMLWINDOW2_NAME)] BSTR name();
  1619.     [propget, id(DISPID_IHTMLWINDOW2_PARENT)] IHTMLWindow2* parent();
  1620.     [id(DISPID_IHTMLWINDOW2_OPEN)] IHTMLWindow2* open([defaultvalue(""), in] BSTR url,[defaultvalue(""), in] BSTR name,[defaultvalue(""), in] BSTR features,[defaultvalue(0), in] VARIANT_BOOL replace);
  1621.     [propget, id(DISPID_IHTMLWINDOW2_SELF)] IHTMLWindow2* self();
  1622.     [propget, id(DISPID_IHTMLWINDOW2_TOP)] IHTMLWindow2* top();
  1623.     [propget, id(DISPID_IHTMLWINDOW2_WINDOW)] IHTMLWindow2* window();
  1624.     [id(DISPID_IHTMLWINDOW2_NAVIGATE)] void navigate([in] BSTR url);
  1625.     [propput, id(DISPID_IHTMLWINDOW2_ONFOCUS), displaybind, bindable] void onfocus(VARIANT v);
  1626.     [propget, id(DISPID_IHTMLWINDOW2_ONFOCUS), displaybind, bindable] VARIANT onfocus();
  1627.     [propput, id(DISPID_IHTMLWINDOW2_ONBLUR), displaybind, bindable] void onblur(VARIANT v);
  1628.     [propget, id(DISPID_IHTMLWINDOW2_ONBLUR), displaybind, bindable] VARIANT onblur();
  1629.     [propput, id(DISPID_IHTMLWINDOW2_ONLOAD), displaybind, bindable] void onload(VARIANT v);
  1630.     [propget, id(DISPID_IHTMLWINDOW2_ONLOAD), displaybind, bindable] VARIANT onload();
  1631.     [propput, id(DISPID_IHTMLWINDOW2_ONBEFOREUNLOAD), displaybind, bindable] void onbeforeunload(VARIANT v);
  1632.     [propget, id(DISPID_IHTMLWINDOW2_ONBEFOREUNLOAD), displaybind, bindable] VARIANT onbeforeunload();
  1633.     [propput, id(DISPID_IHTMLWINDOW2_ONUNLOAD), displaybind, bindable] void onunload(VARIANT v);
  1634.     [propget, id(DISPID_IHTMLWINDOW2_ONUNLOAD), displaybind, bindable] VARIANT onunload();
  1635.     [propput, id(DISPID_IHTMLWINDOW2_ONHELP), displaybind, bindable] void onhelp(VARIANT v);
  1636.     [propget, id(DISPID_IHTMLWINDOW2_ONHELP), displaybind, bindable] VARIANT onhelp();
  1637.     [propput, id(DISPID_IHTMLWINDOW2_ONERROR), displaybind, bindable] void onerror(VARIANT v);