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

模拟服务器

开发平台:

C/C++

  1.     [propget, id(DISPID_IHTMLWINDOW2_ONERROR), displaybind, bindable] VARIANT onerror();
  2.     [propput, id(DISPID_IHTMLWINDOW2_ONRESIZE), displaybind, bindable] void onresize(VARIANT v);
  3.     [propget, id(DISPID_IHTMLWINDOW2_ONRESIZE), displaybind, bindable] VARIANT onresize();
  4.     [propput, id(DISPID_IHTMLWINDOW2_ONSCROLL), displaybind, bindable] void onscroll(VARIANT v);
  5.     [propget, id(DISPID_IHTMLWINDOW2_ONSCROLL), displaybind, bindable] VARIANT onscroll();
  6.     [propget, id(DISPID_IHTMLWINDOW2_DOCUMENT), source] IHTMLDocument2* document();
  7.     [propget, id(DISPID_IHTMLWINDOW2_EVENT)] IHTMLEventObj* event();
  8.     [propget, id(DISPID_IHTMLWINDOW2__NEWENUM), hidden, restricted] IUnknown* _newEnum();
  9.     [id(DISPID_IHTMLWINDOW2_SHOWMODALDIALOG)] VARIANT showModalDialog([in] BSTR dialog,[optional, in] VARIANT* varArgIn,[optional, in] VARIANT* varOptions);
  10.     [id(DISPID_IHTMLWINDOW2_SHOWHELP)] void showHelp([in] BSTR helpURL,[optional, in] VARIANT helpArg,[defaultvalue(""), in] BSTR features);
  11.     [propget, id(DISPID_IHTMLWINDOW2_SCREEN)] IHTMLScreen* screen();
  12.     [propget, id(DISPID_IHTMLWINDOW2_OPTION)] IHTMLOptionElementFactory* Option();
  13.     [id(DISPID_IHTMLWINDOW2_FOCUS)] void focus();
  14.     [propget, id(DISPID_IHTMLWINDOW2_CLOSED)] VARIANT_BOOL closed();
  15.     [id(DISPID_IHTMLWINDOW2_BLUR)] void blur();
  16.     [id(DISPID_IHTMLWINDOW2_SCROLL)] void scroll([in] long x,[in] long y);
  17.     [propget, id(DISPID_IHTMLWINDOW2_CLIENTINFORMATION)] IOmNavigator* clientInformation();
  18.     [id(DISPID_IHTMLWINDOW2_CLEARINTERVAL)] void clearInterval([in] long timerID);
  19.     [propput, id(DISPID_IHTMLWINDOW2_OFFSCREENBUFFERING)] void offscreenBuffering(VARIANT v);
  20.     [propget, id(DISPID_IHTMLWINDOW2_OFFSCREENBUFFERING)] VARIANT offscreenBuffering();
  21.     [id(DISPID_IHTMLWINDOW2_EXECSCRIPT)] VARIANT execScript([in] BSTR code,[defaultvalue("JScript"), in] BSTR language);
  22.     [id(DISPID_IHTMLWINDOW2_TOSTRING)] BSTR toString();
  23.     [id(DISPID_IHTMLWINDOW2_SCROLLBY)] void scrollBy([in] long x,[in] long y);
  24.     [id(DISPID_IHTMLWINDOW2_SCROLLTO)] void scrollTo([in] long x,[in] long y);
  25.     [id(DISPID_IHTMLWINDOW2_MOVETO)] void moveTo([in] long x,[in] long y);
  26.     [id(DISPID_IHTMLWINDOW2_MOVEBY)] void moveBy([in] long x,[in] long y);
  27.     [id(DISPID_IHTMLWINDOW2_RESIZETO)] void resizeTo([in] long x,[in] long y);
  28.     [id(DISPID_IHTMLWINDOW2_RESIZEBY)] void resizeBy([in] long x,[in] long y);
  29.     [propget, id(DISPID_IHTMLWINDOW2_EXTERNAL)] IDispatch* external();
  30.     [propget, id(DISPID_IHTMLWINDOW3_SCREENLEFT)] long screenLeft();
  31.     [propget, id(DISPID_IHTMLWINDOW3_SCREENTOP)] long screenTop();
  32.     [id(DISPID_IHTMLWINDOW3_ATTACHEVENT)] VARIANT_BOOL attachEvent([in] BSTR event,[in] IDispatch* pDisp);
  33.     [id(DISPID_IHTMLWINDOW3_DETACHEVENT)] void detachEvent([in] BSTR event,[in] IDispatch* pDisp);
  34.     [id(DISPID_IHTMLWINDOW3_SETTIMEOUT)] long setTimeout([in] VARIANT* expression,[in] long msec,[optional, in] VARIANT* language);
  35.     [id(DISPID_IHTMLWINDOW3_SETINTERVAL)] long setInterval([in] VARIANT* expression,[in] long msec,[optional, in] VARIANT* language);
  36.     [id(DISPID_IHTMLWINDOW3_PRINT)] void print();
  37.     [propput, id(DISPID_IHTMLWINDOW3_ONBEFOREPRINT), displaybind, bindable] void onbeforeprint(VARIANT v);
  38.     [propget, id(DISPID_IHTMLWINDOW3_ONBEFOREPRINT), displaybind, bindable] VARIANT onbeforeprint();
  39.     [propput, id(DISPID_IHTMLWINDOW3_ONAFTERPRINT), displaybind, bindable] void onafterprint(VARIANT v);
  40.     [propget, id(DISPID_IHTMLWINDOW3_ONAFTERPRINT), displaybind, bindable] VARIANT onafterprint();
  41.     [propget, id(DISPID_IHTMLWINDOW3_CLIPBOARDDATA)] IHTMLDataTransfer* clipboardData();
  42.     [id(DISPID_IHTMLWINDOW3_SHOWMODELESSDIALOG)] IHTMLWindow2* showModelessDialog([defaultvalue(""), in] BSTR url,[optional, in] VARIANT* varArgIn,[optional, in] VARIANT* options);
  43.     [id(DISPID_IHTMLWINDOW4_CREATEPOPUP)] IDispatch* createPopup([optional, in] VARIANT* varArgIn);
  44.     [propget, id(DISPID_IHTMLWINDOW4_FRAMEELEMENT)] IHTMLFrameBase* frameElement();
  45. };
  46. [
  47.     uuid(3050f391-98b5-11cf-bb82-00aa00bdce0b)
  48. ]
  49. coclass HTMLWindowProxy
  50. {
  51.     [default]           dispinterface DispHTMLWindowProxy;
  52.     [source, default]   dispinterface HTMLWindowEvents;
  53.     [source]            dispinterface HTMLWindowEvents2;
  54.                         interface IHTMLWindow2;
  55.                         interface IHTMLWindow3;
  56.                         interface IHTMLWindow4;
  57. };
  58. cpp_quote("EXTERN_C const GUID CLSID_COmWindowProxy;")
  59. [
  60.     hidden,
  61.     uuid(3050f613-98b5-11cf-bb82-00aa00bdce0b)
  62. ]
  63. dispinterface HTMLDocumentEvents2
  64. {
  65. properties:
  66. methods:
  67.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONHELP)] VARIANT_BOOL onhelp([in] IHTMLEventObj* pEvtObj);
  68.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONCLICK)] VARIANT_BOOL onclick([in] IHTMLEventObj* pEvtObj);
  69.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONDBLCLICK)] VARIANT_BOOL ondblclick([in] IHTMLEventObj* pEvtObj);
  70.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONKEYDOWN)] void onkeydown([in] IHTMLEventObj* pEvtObj);
  71.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONKEYUP)] void onkeyup([in] IHTMLEventObj* pEvtObj);
  72.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONKEYPRESS)] VARIANT_BOOL onkeypress([in] IHTMLEventObj* pEvtObj);
  73.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEDOWN)] void onmousedown([in] IHTMLEventObj* pEvtObj);
  74.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEMOVE)] void onmousemove([in] IHTMLEventObj* pEvtObj);
  75.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEUP)] void onmouseup([in] IHTMLEventObj* pEvtObj);
  76.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEOUT)] void onmouseout([in] IHTMLEventObj* pEvtObj);
  77.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEOVER)] void onmouseover([in] IHTMLEventObj* pEvtObj);
  78.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONREADYSTATECHANGE)] void onreadystatechange([in] IHTMLEventObj* pEvtObj);
  79.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREUPDATE)] VARIANT_BOOL onbeforeupdate([in] IHTMLEventObj* pEvtObj);
  80.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONAFTERUPDATE)] void onafterupdate([in] IHTMLEventObj* pEvtObj);
  81.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONROWEXIT)] VARIANT_BOOL onrowexit([in] IHTMLEventObj* pEvtObj);
  82.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONROWENTER)] void onrowenter([in] IHTMLEventObj* pEvtObj);
  83.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONDRAGSTART)] VARIANT_BOOL ondragstart([in] IHTMLEventObj* pEvtObj);
  84.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONSELECTSTART)] VARIANT_BOOL onselectstart([in] IHTMLEventObj* pEvtObj);
  85.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONERRORUPDATE)] VARIANT_BOOL onerrorupdate([in] IHTMLEventObj* pEvtObj);
  86.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONCONTEXTMENU)] VARIANT_BOOL oncontextmenu([in] IHTMLEventObj* pEvtObj);
  87.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONSTOP)] VARIANT_BOOL onstop([in] IHTMLEventObj* pEvtObj);
  88.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONROWSDELETE)] void onrowsdelete([in] IHTMLEventObj* pEvtObj);
  89.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONROWSINSERTED)] void onrowsinserted([in] IHTMLEventObj* pEvtObj);
  90.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONCELLCHANGE)] void oncellchange([in] IHTMLEventObj* pEvtObj);
  91.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONPROPERTYCHANGE)] void onpropertychange([in] IHTMLEventObj* pEvtObj);
  92.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONDATASETCHANGED)] void ondatasetchanged([in] IHTMLEventObj* pEvtObj);
  93.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONDATAAVAILABLE)] void ondataavailable([in] IHTMLEventObj* pEvtObj);
  94.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONDATASETCOMPLETE)] void ondatasetcomplete([in] IHTMLEventObj* pEvtObj);
  95.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREEDITFOCUS)] void onbeforeeditfocus([in] IHTMLEventObj* pEvtObj);
  96.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONSELECTIONCHANGE)] void onselectionchange([in] IHTMLEventObj* pEvtObj);
  97.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONCONTROLSELECT)] VARIANT_BOOL oncontrolselect([in] IHTMLEventObj* pEvtObj);
  98.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEWHEEL)] VARIANT_BOOL onmousewheel([in] IHTMLEventObj* pEvtObj);
  99.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONFOCUSIN)] void onfocusin([in] IHTMLEventObj* pEvtObj);
  100.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONFOCUSOUT)] void onfocusout([in] IHTMLEventObj* pEvtObj);
  101.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONACTIVATE)] void onactivate([in] IHTMLEventObj* pEvtObj);
  102.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONDEACTIVATE)] void ondeactivate([in] IHTMLEventObj* pEvtObj);
  103.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREACTIVATE)] VARIANT_BOOL onbeforeactivate([in] IHTMLEventObj* pEvtObj);
  104.     [id(DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREDEACTIVATE)] VARIANT_BOOL onbeforedeactivate([in] IHTMLEventObj* pEvtObj);
  105. };
  106. [
  107.     hidden,
  108.     uuid(3050f260-98b5-11cf-bb82-00aa00bdce0b)
  109. ]
  110. dispinterface HTMLDocumentEvents
  111. {
  112. properties:
  113. methods:
  114.     [id(DISPID_HTMLDOCUMENTEVENTS_ONHELP)] VARIANT_BOOL onhelp();
  115.     [id(DISPID_HTMLDOCUMENTEVENTS_ONCLICK)] VARIANT_BOOL onclick();
  116.     [id(DISPID_HTMLDOCUMENTEVENTS_ONDBLCLICK)] VARIANT_BOOL ondblclick();
  117.     [id(DISPID_HTMLDOCUMENTEVENTS_ONKEYDOWN)] void onkeydown();
  118.     [id(DISPID_HTMLDOCUMENTEVENTS_ONKEYUP)] void onkeyup();
  119.     [id(DISPID_HTMLDOCUMENTEVENTS_ONKEYPRESS)] VARIANT_BOOL onkeypress();
  120.     [id(DISPID_HTMLDOCUMENTEVENTS_ONMOUSEDOWN)] void onmousedown();
  121.     [id(DISPID_HTMLDOCUMENTEVENTS_ONMOUSEMOVE)] void onmousemove();
  122.     [id(DISPID_HTMLDOCUMENTEVENTS_ONMOUSEUP)] void onmouseup();
  123.     [id(DISPID_HTMLDOCUMENTEVENTS_ONMOUSEOUT)] void onmouseout();
  124.     [id(DISPID_HTMLDOCUMENTEVENTS_ONMOUSEOVER)] void onmouseover();
  125.     [id(DISPID_HTMLDOCUMENTEVENTS_ONREADYSTATECHANGE)] void onreadystatechange();
  126.     [id(DISPID_HTMLDOCUMENTEVENTS_ONBEFOREUPDATE)] VARIANT_BOOL onbeforeupdate();
  127.     [id(DISPID_HTMLDOCUMENTEVENTS_ONAFTERUPDATE)] void onafterupdate();
  128.     [id(DISPID_HTMLDOCUMENTEVENTS_ONROWEXIT)] VARIANT_BOOL onrowexit();
  129.     [id(DISPID_HTMLDOCUMENTEVENTS_ONROWENTER)] void onrowenter();
  130.     [id(DISPID_HTMLDOCUMENTEVENTS_ONDRAGSTART)] VARIANT_BOOL ondragstart();
  131.     [id(DISPID_HTMLDOCUMENTEVENTS_ONSELECTSTART)] VARIANT_BOOL onselectstart();
  132.     [id(DISPID_HTMLDOCUMENTEVENTS_ONERRORUPDATE)] VARIANT_BOOL onerrorupdate();
  133.     [id(DISPID_HTMLDOCUMENTEVENTS_ONCONTEXTMENU)] VARIANT_BOOL oncontextmenu();
  134.     [id(DISPID_HTMLDOCUMENTEVENTS_ONSTOP)] VARIANT_BOOL onstop();
  135.     [id(DISPID_HTMLDOCUMENTEVENTS_ONROWSDELETE)] void onrowsdelete();
  136.     [id(DISPID_HTMLDOCUMENTEVENTS_ONROWSINSERTED)] void onrowsinserted();
  137.     [id(DISPID_HTMLDOCUMENTEVENTS_ONCELLCHANGE)] void oncellchange();
  138.     [id(DISPID_HTMLDOCUMENTEVENTS_ONPROPERTYCHANGE)] void onpropertychange();
  139.     [id(DISPID_HTMLDOCUMENTEVENTS_ONDATASETCHANGED)] void ondatasetchanged();
  140.     [id(DISPID_HTMLDOCUMENTEVENTS_ONDATAAVAILABLE)] void ondataavailable();
  141.     [id(DISPID_HTMLDOCUMENTEVENTS_ONDATASETCOMPLETE)] void ondatasetcomplete();
  142.     [id(DISPID_HTMLDOCUMENTEVENTS_ONBEFOREEDITFOCUS)] void onbeforeeditfocus();
  143.     [id(DISPID_HTMLDOCUMENTEVENTS_ONSELECTIONCHANGE)] void onselectionchange();
  144.     [id(DISPID_HTMLDOCUMENTEVENTS_ONCONTROLSELECT)] VARIANT_BOOL oncontrolselect();
  145.     [id(DISPID_HTMLDOCUMENTEVENTS_ONMOUSEWHEEL)] VARIANT_BOOL onmousewheel();
  146.     [id(DISPID_HTMLDOCUMENTEVENTS_ONFOCUSIN)] void onfocusin();
  147.     [id(DISPID_HTMLDOCUMENTEVENTS_ONFOCUSOUT)] void onfocusout();
  148.     [id(DISPID_HTMLDOCUMENTEVENTS_ONACTIVATE)] void onactivate();
  149.     [id(DISPID_HTMLDOCUMENTEVENTS_ONDEACTIVATE)] void ondeactivate();
  150.     [id(DISPID_HTMLDOCUMENTEVENTS_ONBEFOREACTIVATE)] VARIANT_BOOL onbeforeactivate();
  151.     [id(DISPID_HTMLDOCUMENTEVENTS_ONBEFOREDEACTIVATE)] VARIANT_BOOL onbeforedeactivate();
  152. };
  153. typedef enum _htmlCompatMode
  154. {
  155.     htmlCompatModeBackCompat = 0,
  156.     htmlCompatModeCSS1Compat = 1,
  157.     htmlCompatMode_Max = 2147483647L
  158. } htmlCompatMode;
  159. [
  160.     odl,
  161.     oleautomation,
  162.     dual,
  163.     uuid(626FC520-A41E-11cf-A731-00A0C9082637)
  164. ]
  165. interface IHTMLDocument : IDispatch
  166. {
  167.     [propget, id(DISPID_IHTMLDOCUMENT_SCRIPT), hidden, nonbrowsable] HRESULT Script([retval, out] IDispatch* * p);
  168. };
  169. [
  170.     odl,
  171.     oleautomation,
  172.     dual,
  173.     uuid(332c4425-26cb-11d0-b483-00c04fd90119)
  174. ]
  175. interface IHTMLDocument2 : IHTMLDocument
  176. {
  177.     [propget, id(DISPID_IHTMLDOCUMENT2_ALL)] HRESULT all([retval, out] IHTMLElementCollection* * p);
  178.     [propget, id(DISPID_IHTMLDOCUMENT2_BODY)] HRESULT body([retval, out] IHTMLElement* * p);
  179.     [propget, id(DISPID_IHTMLDOCUMENT2_ACTIVEELEMENT)] HRESULT activeElement([retval, out] IHTMLElement* * p);
  180.     [propget, id(DISPID_IHTMLDOCUMENT2_IMAGES)] HRESULT images([retval, out] IHTMLElementCollection* * p);
  181.     [propget, id(DISPID_IHTMLDOCUMENT2_APPLETS)] HRESULT applets([retval, out] IHTMLElementCollection* * p);
  182.     [propget, id(DISPID_IHTMLDOCUMENT2_LINKS)] HRESULT links([retval, out] IHTMLElementCollection* * p);
  183.     [propget, id(DISPID_IHTMLDOCUMENT2_FORMS)] HRESULT forms([retval, out] IHTMLElementCollection* * p);
  184.     [propget, id(DISPID_IHTMLDOCUMENT2_ANCHORS)] HRESULT anchors([retval, out] IHTMLElementCollection* * p);
  185.     [propput, id(DISPID_IHTMLDOCUMENT2_TITLE)] HRESULT title([in] BSTR v);
  186.     [propget, id(DISPID_IHTMLDOCUMENT2_TITLE)] HRESULT title([retval, out] BSTR * p);
  187.     [propget, id(DISPID_IHTMLDOCUMENT2_SCRIPTS)] HRESULT scripts([retval, out] IHTMLElementCollection* * p);
  188.     [propput, id(DISPID_IHTMLDOCUMENT2_DESIGNMODE), hidden] HRESULT designMode([in] BSTR v);
  189.     [propget, id(DISPID_IHTMLDOCUMENT2_DESIGNMODE), hidden] HRESULT designMode([retval, out] BSTR * p);
  190.     [propget, id(DISPID_IHTMLDOCUMENT2_SELECTION)] HRESULT selection([retval, out] IHTMLSelectionObject* * p);
  191.     [propget, id(DISPID_IHTMLDOCUMENT2_READYSTATE), bindable] HRESULT readyState([retval, out] BSTR * p);
  192.     [propget, id(DISPID_IHTMLDOCUMENT2_FRAMES)] HRESULT frames([retval, out] IHTMLFramesCollection2* * p);
  193.     [propget, id(DISPID_IHTMLDOCUMENT2_EMBEDS)] HRESULT embeds([retval, out] IHTMLElementCollection* * p);
  194.     [propget, id(DISPID_IHTMLDOCUMENT2_PLUGINS)] HRESULT plugins([retval, out] IHTMLElementCollection* * p);
  195.     [propput, id(DISPID_IHTMLDOCUMENT2_ALINKCOLOR)] HRESULT alinkColor([in] VARIANT v);
  196.     [propget, id(DISPID_IHTMLDOCUMENT2_ALINKCOLOR)] HRESULT alinkColor([retval, out] VARIANT * p);
  197.     [propput, id(DISPID_IHTMLDOCUMENT2_BGCOLOR)] HRESULT bgColor([in] VARIANT v);
  198.     [propget, id(DISPID_IHTMLDOCUMENT2_BGCOLOR)] HRESULT bgColor([retval, out] VARIANT * p);
  199.     [propput, id(DISPID_IHTMLDOCUMENT2_FGCOLOR)] HRESULT fgColor([in] VARIANT v);
  200.     [propget, id(DISPID_IHTMLDOCUMENT2_FGCOLOR)] HRESULT fgColor([retval, out] VARIANT * p);
  201.     [propput, id(DISPID_IHTMLDOCUMENT2_LINKCOLOR)] HRESULT linkColor([in] VARIANT v);
  202.     [propget, id(DISPID_IHTMLDOCUMENT2_LINKCOLOR)] HRESULT linkColor([retval, out] VARIANT * p);
  203.     [propput, id(DISPID_IHTMLDOCUMENT2_VLINKCOLOR)] HRESULT vlinkColor([in] VARIANT v);
  204.     [propget, id(DISPID_IHTMLDOCUMENT2_VLINKCOLOR)] HRESULT vlinkColor([retval, out] VARIANT * p);
  205.     [propget, id(DISPID_IHTMLDOCUMENT2_REFERRER)] HRESULT referrer([retval, out] BSTR * p);
  206.     [propget, id(DISPID_IHTMLDOCUMENT2_LOCATION)] HRESULT location([retval, out] IHTMLLocation* * p);
  207.     [propget, id(DISPID_IHTMLDOCUMENT2_LASTMODIFIED)] HRESULT lastModified([retval, out] BSTR * p);
  208.     [propput, id(DISPID_IHTMLDOCUMENT2_URL)] HRESULT URL([in] BSTR v);
  209.     [propget, id(DISPID_IHTMLDOCUMENT2_URL)] HRESULT URL([retval, out] BSTR * p);
  210.     [propput, id(DISPID_IHTMLDOCUMENT2_DOMAIN)] HRESULT domain([in] BSTR v);
  211.     [propget, id(DISPID_IHTMLDOCUMENT2_DOMAIN)] HRESULT domain([retval, out] BSTR * p);
  212.     [propput, id(DISPID_IHTMLDOCUMENT2_COOKIE)] HRESULT cookie([in] BSTR v);
  213.     [propget, id(DISPID_IHTMLDOCUMENT2_COOKIE)] HRESULT cookie([retval, out] BSTR * p);
  214.     [propput, id(DISPID_IHTMLDOCUMENT2_EXPANDO), bindable, hidden] HRESULT expando([in] VARIANT_BOOL v);
  215.     [propget, id(DISPID_IHTMLDOCUMENT2_EXPANDO), bindable, hidden] HRESULT expando([retval, out] VARIANT_BOOL * p);
  216.     [propput, id(DISPID_IHTMLDOCUMENT2_CHARSET), hidden] HRESULT charset([in] BSTR v);
  217.     [propget, id(DISPID_IHTMLDOCUMENT2_CHARSET), hidden] HRESULT charset([retval, out] BSTR * p);
  218.     [propput, id(DISPID_IHTMLDOCUMENT2_DEFAULTCHARSET)] HRESULT defaultCharset([in] BSTR v);
  219.     [propget, id(DISPID_IHTMLDOCUMENT2_DEFAULTCHARSET)] HRESULT defaultCharset([retval, out] BSTR * p);
  220.     [propget, id(DISPID_IHTMLDOCUMENT2_MIMETYPE)] HRESULT mimeType([retval, out] BSTR * p);
  221.     [propget, id(DISPID_IHTMLDOCUMENT2_FILESIZE)] HRESULT fileSize([retval, out] BSTR * p);
  222.     [propget, id(DISPID_IHTMLDOCUMENT2_FILECREATEDDATE)] HRESULT fileCreatedDate([retval, out] BSTR * p);
  223.     [propget, id(DISPID_IHTMLDOCUMENT2_FILEMODIFIEDDATE)] HRESULT fileModifiedDate([retval, out] BSTR * p);
  224.     [propget, id(DISPID_IHTMLDOCUMENT2_FILEUPDATEDDATE)] HRESULT fileUpdatedDate([retval, out] BSTR * p);
  225.     [propget, id(DISPID_IHTMLDOCUMENT2_SECURITY)] HRESULT security([retval, out] BSTR * p);
  226.     [propget, id(DISPID_IHTMLDOCUMENT2_PROTOCOL)] HRESULT protocol([retval, out] BSTR * p);
  227.     [propget, id(DISPID_IHTMLDOCUMENT2_NAMEPROP)] HRESULT nameProp([retval, out] BSTR * p);
  228.     [vararg,id(DISPID_IHTMLDOCUMENT2_WRITE)] HRESULT write([in] SAFEARRAY(VARIANT) psarray);
  229.     [vararg,id(DISPID_IHTMLDOCUMENT2_WRITELN)] HRESULT writeln([in] SAFEARRAY(VARIANT) psarray);
  230.     [id(DISPID_IHTMLDOCUMENT2_OPEN)] HRESULT open([defaultvalue("text/html"), in] BSTR url,[optional, in] VARIANT name,[optional, in] VARIANT features,[optional, in] VARIANT replace,[retval, out] IDispatch** pomWindowResult);
  231.     [id(DISPID_IHTMLDOCUMENT2_CLOSE)] HRESULT close();
  232.     [id(DISPID_IHTMLDOCUMENT2_CLEAR)] HRESULT clear();
  233.     [id(DISPID_IHTMLDOCUMENT2_QUERYCOMMANDSUPPORTED)] HRESULT queryCommandSupported([in] BSTR cmdID,[retval, out] VARIANT_BOOL* pfRet);
  234.     [id(DISPID_IHTMLDOCUMENT2_QUERYCOMMANDENABLED)] HRESULT queryCommandEnabled([in] BSTR cmdID,[retval, out] VARIANT_BOOL* pfRet);
  235.     [id(DISPID_IHTMLDOCUMENT2_QUERYCOMMANDSTATE)] HRESULT queryCommandState([in] BSTR cmdID,[retval, out] VARIANT_BOOL* pfRet);
  236.     [id(DISPID_IHTMLDOCUMENT2_QUERYCOMMANDINDETERM)] HRESULT queryCommandIndeterm([in] BSTR cmdID,[retval, out] VARIANT_BOOL* pfRet);
  237.     [id(DISPID_IHTMLDOCUMENT2_QUERYCOMMANDTEXT)] HRESULT queryCommandText([in] BSTR cmdID,[retval, out] BSTR* pcmdText);
  238.     [id(DISPID_IHTMLDOCUMENT2_QUERYCOMMANDVALUE)] HRESULT queryCommandValue([in] BSTR cmdID,[retval, out] VARIANT* pcmdValue);
  239.     [id(DISPID_IHTMLDOCUMENT2_EXECCOMMAND)] HRESULT execCommand([in] BSTR cmdID,[defaultvalue(0), in] VARIANT_BOOL showUI,[optional, in] VARIANT value,[retval, out] VARIANT_BOOL* pfRet);
  240.     [id(DISPID_IHTMLDOCUMENT2_EXECCOMMANDSHOWHELP)] HRESULT execCommandShowHelp([in] BSTR cmdID,[retval, out] VARIANT_BOOL* pfRet);
  241.     [id(DISPID_IHTMLDOCUMENT2_CREATEELEMENT)] HRESULT createElement([in] BSTR eTag,[retval, out] IHTMLElement** newElem);
  242.     [propput, id(DISPID_IHTMLDOCUMENT2_ONHELP), displaybind, bindable] HRESULT onhelp([in] VARIANT v);
  243.     [propget, id(DISPID_IHTMLDOCUMENT2_ONHELP), displaybind, bindable] HRESULT onhelp([retval, out] VARIANT * p);
  244.     [propput, id(DISPID_IHTMLDOCUMENT2_ONCLICK), displaybind, bindable] HRESULT onclick([in] VARIANT v);
  245.     [propget, id(DISPID_IHTMLDOCUMENT2_ONCLICK), displaybind, bindable] HRESULT onclick([retval, out] VARIANT * p);
  246.     [propput, id(DISPID_IHTMLDOCUMENT2_ONDBLCLICK), displaybind, bindable] HRESULT ondblclick([in] VARIANT v);
  247.     [propget, id(DISPID_IHTMLDOCUMENT2_ONDBLCLICK), displaybind, bindable] HRESULT ondblclick([retval, out] VARIANT * p);
  248.     [propput, id(DISPID_IHTMLDOCUMENT2_ONKEYUP), displaybind, bindable] HRESULT onkeyup([in] VARIANT v);
  249.     [propget, id(DISPID_IHTMLDOCUMENT2_ONKEYUP), displaybind, bindable] HRESULT onkeyup([retval, out] VARIANT * p);
  250.     [propput, id(DISPID_IHTMLDOCUMENT2_ONKEYDOWN), displaybind, bindable] HRESULT onkeydown([in] VARIANT v);
  251.     [propget, id(DISPID_IHTMLDOCUMENT2_ONKEYDOWN), displaybind, bindable] HRESULT onkeydown([retval, out] VARIANT * p);
  252.     [propput, id(DISPID_IHTMLDOCUMENT2_ONKEYPRESS), displaybind, bindable] HRESULT onkeypress([in] VARIANT v);
  253.     [propget, id(DISPID_IHTMLDOCUMENT2_ONKEYPRESS), displaybind, bindable] HRESULT onkeypress([retval, out] VARIANT * p);
  254.     [propput, id(DISPID_IHTMLDOCUMENT2_ONMOUSEUP), displaybind, bindable] HRESULT onmouseup([in] VARIANT v);
  255.     [propget, id(DISPID_IHTMLDOCUMENT2_ONMOUSEUP), displaybind, bindable] HRESULT onmouseup([retval, out] VARIANT * p);
  256.     [propput, id(DISPID_IHTMLDOCUMENT2_ONMOUSEDOWN), displaybind, bindable] HRESULT onmousedown([in] VARIANT v);
  257.     [propget, id(DISPID_IHTMLDOCUMENT2_ONMOUSEDOWN), displaybind, bindable] HRESULT onmousedown([retval, out] VARIANT * p);
  258.     [propput, id(DISPID_IHTMLDOCUMENT2_ONMOUSEMOVE), displaybind, bindable] HRESULT onmousemove([in] VARIANT v);
  259.     [propget, id(DISPID_IHTMLDOCUMENT2_ONMOUSEMOVE), displaybind, bindable] HRESULT onmousemove([retval, out] VARIANT * p);
  260.     [propput, id(DISPID_IHTMLDOCUMENT2_ONMOUSEOUT), displaybind, bindable] HRESULT onmouseout([in] VARIANT v);
  261.     [propget, id(DISPID_IHTMLDOCUMENT2_ONMOUSEOUT), displaybind, bindable] HRESULT onmouseout([retval, out] VARIANT * p);
  262.     [propput, id(DISPID_IHTMLDOCUMENT2_ONMOUSEOVER), displaybind, bindable] HRESULT onmouseover([in] VARIANT v);
  263.     [propget, id(DISPID_IHTMLDOCUMENT2_ONMOUSEOVER), displaybind, bindable] HRESULT onmouseover([retval, out] VARIANT * p);
  264.     [propput, id(DISPID_IHTMLDOCUMENT2_ONREADYSTATECHANGE), displaybind, bindable] HRESULT onreadystatechange([in] VARIANT v);
  265.     [propget, id(DISPID_IHTMLDOCUMENT2_ONREADYSTATECHANGE), displaybind, bindable] HRESULT onreadystatechange([retval, out] VARIANT * p);
  266.     [propput, id(DISPID_IHTMLDOCUMENT2_ONAFTERUPDATE), displaybind, bindable] HRESULT onafterupdate([in] VARIANT v);
  267.     [propget, id(DISPID_IHTMLDOCUMENT2_ONAFTERUPDATE), displaybind, bindable] HRESULT onafterupdate([retval, out] VARIANT * p);
  268.     [propput, id(DISPID_IHTMLDOCUMENT2_ONROWEXIT), displaybind, bindable] HRESULT onrowexit([in] VARIANT v);
  269.     [propget, id(DISPID_IHTMLDOCUMENT2_ONROWEXIT), displaybind, bindable] HRESULT onrowexit([retval, out] VARIANT * p);
  270.     [propput, id(DISPID_IHTMLDOCUMENT2_ONROWENTER), displaybind, bindable] HRESULT onrowenter([in] VARIANT v);
  271.     [propget, id(DISPID_IHTMLDOCUMENT2_ONROWENTER), displaybind, bindable] HRESULT onrowenter([retval, out] VARIANT * p);
  272.     [propput, id(DISPID_IHTMLDOCUMENT2_ONDRAGSTART), displaybind, bindable] HRESULT ondragstart([in] VARIANT v);
  273.     [propget, id(DISPID_IHTMLDOCUMENT2_ONDRAGSTART), displaybind, bindable] HRESULT ondragstart([retval, out] VARIANT * p);
  274.     [propput, id(DISPID_IHTMLDOCUMENT2_ONSELECTSTART), displaybind, bindable] HRESULT onselectstart([in] VARIANT v);
  275.     [propget, id(DISPID_IHTMLDOCUMENT2_ONSELECTSTART), displaybind, bindable] HRESULT onselectstart([retval, out] VARIANT * p);
  276.     [id(DISPID_IHTMLDOCUMENT2_ELEMENTFROMPOINT)] HRESULT elementFromPoint([in] long x,[in] long y,[retval, out] IHTMLElement** elementHit);
  277.     [propget, id(DISPID_IHTMLDOCUMENT2_PARENTWINDOW)] HRESULT parentWindow([retval, out] IHTMLWindow2* * p);
  278.     [propget, id(DISPID_IHTMLDOCUMENT2_STYLESHEETS)] HRESULT styleSheets([retval, out] IHTMLStyleSheetsCollection* * p);
  279.     [propput, id(DISPID_IHTMLDOCUMENT2_ONBEFOREUPDATE), displaybind, bindable] HRESULT onbeforeupdate([in] VARIANT v);
  280.     [propget, id(DISPID_IHTMLDOCUMENT2_ONBEFOREUPDATE), displaybind, bindable] HRESULT onbeforeupdate([retval, out] VARIANT * p);
  281.     [propput, id(DISPID_IHTMLDOCUMENT2_ONERRORUPDATE), displaybind, bindable] HRESULT onerrorupdate([in] VARIANT v);
  282.     [propget, id(DISPID_IHTMLDOCUMENT2_ONERRORUPDATE), displaybind, bindable] HRESULT onerrorupdate([retval, out] VARIANT * p);
  283.     [id(DISPID_IHTMLDOCUMENT2_TOSTRING)] HRESULT toString([retval, out] BSTR* String);
  284.     [id(DISPID_IHTMLDOCUMENT2_CREATESTYLESHEET)] HRESULT createStyleSheet([defaultvalue(""), in] BSTR bstrHref,[defaultvalue(-1), in] long lIndex,[retval, out] IHTMLStyleSheet** ppnewStyleSheet);
  285. };
  286. [
  287.     odl,
  288.     oleautomation,
  289.     dual,
  290.     uuid(3050f485-98b5-11cf-bb82-00aa00bdce0b)
  291. ]
  292. interface IHTMLDocument3 : IDispatch
  293. {
  294.     [id(DISPID_IHTMLDOCUMENT3_RELEASECAPTURE)] HRESULT releaseCapture();
  295.     [id(DISPID_IHTMLDOCUMENT3_RECALC)] HRESULT recalc([defaultvalue(0), in] VARIANT_BOOL fForce);
  296.     [id(DISPID_IHTMLDOCUMENT3_CREATETEXTNODE)] HRESULT createTextNode([in] BSTR text,[retval, out] IHTMLDOMNode** newTextNode);
  297.     [propget, id(DISPID_IHTMLDOCUMENT3_DOCUMENTELEMENT)] HRESULT documentElement([retval, out] IHTMLElement* * p);
  298.     [propget, id(DISPID_IHTMLDOCUMENT3_UNIQUEID), hidden] HRESULT uniqueID([retval, out] BSTR * p);
  299.     [id(DISPID_IHTMLDOCUMENT3_ATTACHEVENT)] HRESULT attachEvent([in] BSTR event,[in] IDispatch* pDisp,[retval, out] VARIANT_BOOL* pfResult);
  300.     [id(DISPID_IHTMLDOCUMENT3_DETACHEVENT)] HRESULT detachEvent([in] BSTR event,[in] IDispatch* pDisp);
  301.     [propput, id(DISPID_IHTMLDOCUMENT3_ONROWSDELETE), displaybind, bindable] HRESULT onrowsdelete([in] VARIANT v);
  302.     [propget, id(DISPID_IHTMLDOCUMENT3_ONROWSDELETE), displaybind, bindable] HRESULT onrowsdelete([retval, out] VARIANT * p);
  303.     [propput, id(DISPID_IHTMLDOCUMENT3_ONROWSINSERTED), displaybind, bindable] HRESULT onrowsinserted([in] VARIANT v);
  304.     [propget, id(DISPID_IHTMLDOCUMENT3_ONROWSINSERTED), displaybind, bindable] HRESULT onrowsinserted([retval, out] VARIANT * p);
  305.     [propput, id(DISPID_IHTMLDOCUMENT3_ONCELLCHANGE), displaybind, bindable] HRESULT oncellchange([in] VARIANT v);
  306.     [propget, id(DISPID_IHTMLDOCUMENT3_ONCELLCHANGE), displaybind, bindable] HRESULT oncellchange([retval, out] VARIANT * p);
  307.     [propput, id(DISPID_IHTMLDOCUMENT3_ONDATASETCHANGED), displaybind, bindable] HRESULT ondatasetchanged([in] VARIANT v);
  308.     [propget, id(DISPID_IHTMLDOCUMENT3_ONDATASETCHANGED), displaybind, bindable] HRESULT ondatasetchanged([retval, out] VARIANT * p);
  309.     [propput, id(DISPID_IHTMLDOCUMENT3_ONDATAAVAILABLE), displaybind, bindable] HRESULT ondataavailable([in] VARIANT v);
  310.     [propget, id(DISPID_IHTMLDOCUMENT3_ONDATAAVAILABLE), displaybind, bindable] HRESULT ondataavailable([retval, out] VARIANT * p);
  311.     [propput, id(DISPID_IHTMLDOCUMENT3_ONDATASETCOMPLETE), displaybind, bindable] HRESULT ondatasetcomplete([in] VARIANT v);
  312.     [propget, id(DISPID_IHTMLDOCUMENT3_ONDATASETCOMPLETE), displaybind, bindable] HRESULT ondatasetcomplete([retval, out] VARIANT * p);
  313.     [propput, id(DISPID_IHTMLDOCUMENT3_ONPROPERTYCHANGE), displaybind, bindable] HRESULT onpropertychange([in] VARIANT v);
  314.     [propget, id(DISPID_IHTMLDOCUMENT3_ONPROPERTYCHANGE), displaybind, bindable] HRESULT onpropertychange([retval, out] VARIANT * p);
  315.     [propput, id(DISPID_IHTMLDOCUMENT3_DIR)] HRESULT dir([in] BSTR v);
  316.     [propget, id(DISPID_IHTMLDOCUMENT3_DIR)] HRESULT dir([retval, out] BSTR * p);
  317.     [propput, id(DISPID_IHTMLDOCUMENT3_ONCONTEXTMENU), displaybind, bindable] HRESULT oncontextmenu([in] VARIANT v);
  318.     [propget, id(DISPID_IHTMLDOCUMENT3_ONCONTEXTMENU), displaybind, bindable] HRESULT oncontextmenu([retval, out] VARIANT * p);
  319.     [propput, id(DISPID_IHTMLDOCUMENT3_ONSTOP), displaybind, bindable] HRESULT onstop([in] VARIANT v);
  320.     [propget, id(DISPID_IHTMLDOCUMENT3_ONSTOP), displaybind, bindable] HRESULT onstop([retval, out] VARIANT * p);
  321.     [id(DISPID_IHTMLDOCUMENT3_CREATEDOCUMENTFRAGMENT)] HRESULT createDocumentFragment([retval, out] IHTMLDocument2** pNewDoc);
  322.     [propget, id(DISPID_IHTMLDOCUMENT3_PARENTDOCUMENT), hidden, restricted] HRESULT parentDocument([retval, out] IHTMLDocument2* * p);
  323.     [propput, id(DISPID_IHTMLDOCUMENT3_ENABLEDOWNLOAD), hidden, restricted] HRESULT enableDownload([in] VARIANT_BOOL v);
  324.     [propget, id(DISPID_IHTMLDOCUMENT3_ENABLEDOWNLOAD), hidden, restricted] HRESULT enableDownload([retval, out] VARIANT_BOOL * p);
  325.     [propput, id(DISPID_IHTMLDOCUMENT3_BASEURL), hidden, restricted] HRESULT baseUrl([in] BSTR v);
  326.     [propget, id(DISPID_IHTMLDOCUMENT3_BASEURL), hidden, restricted] HRESULT baseUrl([retval, out] BSTR * p);
  327.     [propget, id(DISPID_IHTMLDOCUMENT3_CHILDNODES)] HRESULT childNodes([retval, out] IDispatch* * p);
  328.     [propput, id(DISPID_IHTMLDOCUMENT3_INHERITSTYLESHEETS), hidden, restricted] HRESULT inheritStyleSheets([in] VARIANT_BOOL v);
  329.     [propget, id(DISPID_IHTMLDOCUMENT3_INHERITSTYLESHEETS), hidden, restricted] HRESULT inheritStyleSheets([retval, out] VARIANT_BOOL * p);
  330.     [propput, id(DISPID_IHTMLDOCUMENT3_ONBEFOREEDITFOCUS), displaybind, bindable] HRESULT onbeforeeditfocus([in] VARIANT v);
  331.     [propget, id(DISPID_IHTMLDOCUMENT3_ONBEFOREEDITFOCUS), displaybind, bindable] HRESULT onbeforeeditfocus([retval, out] VARIANT * p);
  332.     [id(DISPID_IHTMLDOCUMENT3_GETELEMENTSBYNAME)] HRESULT getElementsByName([in] BSTR v,[retval, out] IHTMLElementCollection** pelColl);
  333.     [id(DISPID_IHTMLDOCUMENT3_GETELEMENTBYID)] HRESULT getElementById([in] BSTR v,[retval, out] IHTMLElement** pel);
  334.     [id(DISPID_IHTMLDOCUMENT3_GETELEMENTSBYTAGNAME)] HRESULT getElementsByTagName([in] BSTR v,[retval, out] IHTMLElementCollection** pelColl);
  335. };
  336. [
  337.     odl,
  338.     oleautomation,
  339.     dual,
  340.     uuid(3050f69a-98b5-11cf-bb82-00aa00bdce0b)
  341. ]
  342. interface IHTMLDocument4 : IDispatch
  343. {
  344.     [id(DISPID_IHTMLDOCUMENT4_FOCUS)] HRESULT focus();
  345.     [id(DISPID_IHTMLDOCUMENT4_HASFOCUS)] HRESULT hasFocus([retval, out] VARIANT_BOOL* pfFocus);
  346.     [propput, id(DISPID_IHTMLDOCUMENT4_ONSELECTIONCHANGE), displaybind, bindable] HRESULT onselectionchange([in] VARIANT v);
  347.     [propget, id(DISPID_IHTMLDOCUMENT4_ONSELECTIONCHANGE), displaybind, bindable] HRESULT onselectionchange([retval, out] VARIANT * p);
  348.     [propget, id(DISPID_IHTMLDOCUMENT4_NAMESPACES)] HRESULT namespaces([retval, out] IDispatch* * p);
  349.     [id(DISPID_IHTMLDOCUMENT4_CREATEDOCUMENTFROMURL)] HRESULT createDocumentFromUrl([in] BSTR bstrUrl,[in] BSTR bstrOptions,[retval, out] IHTMLDocument2** newDoc);
  350.     [propput, id(DISPID_IHTMLDOCUMENT4_MEDIA)] HRESULT media([in] BSTR v);
  351.     [propget, id(DISPID_IHTMLDOCUMENT4_MEDIA)] HRESULT media([retval, out] BSTR * p);
  352.     [id(DISPID_IHTMLDOCUMENT4_CREATEEVENTOBJECT)] HRESULT createEventObject([optional, in] VARIANT* pvarEventObject,[retval, out] IHTMLEventObj** ppEventObj);
  353.     [id(DISPID_IHTMLDOCUMENT4_FIREEVENT)] HRESULT fireEvent([in] BSTR bstrEventName,[optional, in] VARIANT* pvarEventObject,[retval, out] VARIANT_BOOL* pfCancelled);
  354.     [id(DISPID_IHTMLDOCUMENT4_CREATERENDERSTYLE)] HRESULT createRenderStyle([in] BSTR v,[retval, out] IHTMLRenderStyle** ppIHTMLRenderStyle);
  355.     [propput, id(DISPID_IHTMLDOCUMENT4_ONCONTROLSELECT), displaybind, bindable] HRESULT oncontrolselect([in] VARIANT v);
  356.     [propget, id(DISPID_IHTMLDOCUMENT4_ONCONTROLSELECT), displaybind, bindable] HRESULT oncontrolselect([retval, out] VARIANT * p);
  357.     [propget, id(DISPID_IHTMLDOCUMENT4_URLUNENCODED)] HRESULT URLUnencoded([retval, out] BSTR * p);
  358. };
  359. [
  360.     odl,
  361.     oleautomation,
  362.     dual,
  363.     uuid(3050f80c-98b5-11cf-bb82-00aa00bdce0b)
  364. ]
  365. interface IHTMLDocument5 : IDispatch
  366. {
  367.     [propput, id(DISPID_IHTMLDOCUMENT5_ONMOUSEWHEEL), displaybind, bindable] HRESULT onmousewheel([in] VARIANT v);
  368.     [propget, id(DISPID_IHTMLDOCUMENT5_ONMOUSEWHEEL), displaybind, bindable] HRESULT onmousewheel([retval, out] VARIANT * p);
  369.     [propget, id(DISPID_IHTMLDOCUMENT5_DOCTYPE)] HRESULT doctype([retval, out] IHTMLDOMNode* * p);
  370.     [propget, id(DISPID_IHTMLDOCUMENT5_IMPLEMENTATION)] HRESULT implementation([retval, out] IHTMLDOMImplementation* * p);
  371.     [id(DISPID_IHTMLDOCUMENT5_CREATEATTRIBUTE)] HRESULT createAttribute([in] BSTR bstrattrName,[retval, out] IHTMLDOMAttribute** ppattribute);
  372.     [id(DISPID_IHTMLDOCUMENT5_CREATECOMMENT)] HRESULT createComment([in] BSTR bstrdata,[retval, out] IHTMLDOMNode** ppRetNode);
  373.     [propput, id(DISPID_IHTMLDOCUMENT5_ONFOCUSIN), displaybind, bindable] HRESULT onfocusin([in] VARIANT v);
  374.     [propget, id(DISPID_IHTMLDOCUMENT5_ONFOCUSIN), displaybind, bindable] HRESULT onfocusin([retval, out] VARIANT * p);
  375.     [propput, id(DISPID_IHTMLDOCUMENT5_ONFOCUSOUT), displaybind, bindable] HRESULT onfocusout([in] VARIANT v);
  376.     [propget, id(DISPID_IHTMLDOCUMENT5_ONFOCUSOUT), displaybind, bindable] HRESULT onfocusout([retval, out] VARIANT * p);
  377.     [propput, id(DISPID_IHTMLDOCUMENT5_ONACTIVATE), displaybind, bindable] HRESULT onactivate([in] VARIANT v);
  378.     [propget, id(DISPID_IHTMLDOCUMENT5_ONACTIVATE), displaybind, bindable] HRESULT onactivate([retval, out] VARIANT * p);
  379.     [propput, id(DISPID_IHTMLDOCUMENT5_ONDEACTIVATE), displaybind, bindable] HRESULT ondeactivate([in] VARIANT v);
  380.     [propget, id(DISPID_IHTMLDOCUMENT5_ONDEACTIVATE), displaybind, bindable] HRESULT ondeactivate([retval, out] VARIANT * p);
  381.     [propput, id(DISPID_IHTMLDOCUMENT5_ONBEFOREACTIVATE), displaybind, bindable] HRESULT onbeforeactivate([in] VARIANT v);
  382.     [propget, id(DISPID_IHTMLDOCUMENT5_ONBEFOREACTIVATE), displaybind, bindable] HRESULT onbeforeactivate([retval, out] VARIANT * p);
  383.     [propput, id(DISPID_IHTMLDOCUMENT5_ONBEFOREDEACTIVATE), displaybind, bindable] HRESULT onbeforedeactivate([in] VARIANT v);
  384.     [propget, id(DISPID_IHTMLDOCUMENT5_ONBEFOREDEACTIVATE), displaybind, bindable] HRESULT onbeforedeactivate([retval, out] VARIANT * p);
  385.     [propget, id(DISPID_IHTMLDOCUMENT5_COMPATMODE)] HRESULT compatMode([retval, out] BSTR * p);
  386. };
  387. [
  388.     hidden,
  389.     uuid(3050f55f-98b5-11cf-bb82-00aa00bdce0b)
  390. ]
  391. dispinterface DispHTMLDocument
  392. {
  393. properties:
  394. methods:
  395.     [propget, id(DISPID_IHTMLDOCUMENT_SCRIPT), hidden, nonbrowsable] IDispatch* Script();
  396.     [propget, id(DISPID_IHTMLDOCUMENT2_ALL)] IHTMLElementCollection* all();
  397.     [propget, id(DISPID_IHTMLDOCUMENT2_BODY)] IHTMLElement* body();
  398.     [propget, id(DISPID_IHTMLDOCUMENT2_ACTIVEELEMENT)] IHTMLElement* activeElement();
  399.     [propget, id(DISPID_IHTMLDOCUMENT2_IMAGES)] IHTMLElementCollection* images();
  400.     [propget, id(DISPID_IHTMLDOCUMENT2_APPLETS)] IHTMLElementCollection* applets();
  401.     [propget, id(DISPID_IHTMLDOCUMENT2_LINKS)] IHTMLElementCollection* links();
  402.     [propget, id(DISPID_IHTMLDOCUMENT2_FORMS)] IHTMLElementCollection* forms();
  403.     [propget, id(DISPID_IHTMLDOCUMENT2_ANCHORS)] IHTMLElementCollection* anchors();
  404.     [propput, id(DISPID_IHTMLDOCUMENT2_TITLE)] void title(BSTR v);
  405.     [propget, id(DISPID_IHTMLDOCUMENT2_TITLE)] BSTR title();
  406.     [propget, id(DISPID_IHTMLDOCUMENT2_SCRIPTS)] IHTMLElementCollection* scripts();
  407.     [propput, id(DISPID_IHTMLDOCUMENT2_DESIGNMODE), hidden] void designMode(BSTR v);
  408.     [propget, id(DISPID_IHTMLDOCUMENT2_DESIGNMODE), hidden] BSTR designMode();
  409.     [propget, id(DISPID_IHTMLDOCUMENT2_SELECTION)] IHTMLSelectionObject* selection();
  410.     [propget, id(DISPID_IHTMLDOCUMENT2_READYSTATE), bindable] BSTR readyState();
  411.     [propget, id(DISPID_IHTMLDOCUMENT2_FRAMES)] IHTMLFramesCollection2* frames();
  412.     [propget, id(DISPID_IHTMLDOCUMENT2_EMBEDS)] IHTMLElementCollection* embeds();
  413.     [propget, id(DISPID_IHTMLDOCUMENT2_PLUGINS)] IHTMLElementCollection* plugins();
  414.     [propput, id(DISPID_IHTMLDOCUMENT2_ALINKCOLOR)] void alinkColor(VARIANT v);
  415.     [propget, id(DISPID_IHTMLDOCUMENT2_ALINKCOLOR)] VARIANT alinkColor();
  416.     [propput, id(DISPID_IHTMLDOCUMENT2_BGCOLOR)] void bgColor(VARIANT v);
  417.     [propget, id(DISPID_IHTMLDOCUMENT2_BGCOLOR)] VARIANT bgColor();
  418.     [propput, id(DISPID_IHTMLDOCUMENT2_FGCOLOR)] void fgColor(VARIANT v);
  419.     [propget, id(DISPID_IHTMLDOCUMENT2_FGCOLOR)] VARIANT fgColor();
  420.     [propput, id(DISPID_IHTMLDOCUMENT2_LINKCOLOR)] void linkColor(VARIANT v);
  421.     [propget, id(DISPID_IHTMLDOCUMENT2_LINKCOLOR)] VARIANT linkColor();
  422.     [propput, id(DISPID_IHTMLDOCUMENT2_VLINKCOLOR)] void vlinkColor(VARIANT v);
  423.     [propget, id(DISPID_IHTMLDOCUMENT2_VLINKCOLOR)] VARIANT vlinkColor();
  424.     [propget, id(DISPID_IHTMLDOCUMENT2_REFERRER)] BSTR referrer();
  425.     [propget, id(DISPID_IHTMLDOCUMENT2_LOCATION)] IHTMLLocation* location();
  426.     [propget, id(DISPID_IHTMLDOCUMENT2_LASTMODIFIED)] BSTR lastModified();
  427.     [propput, id(DISPID_IHTMLDOCUMENT2_URL)] void URL(BSTR v);
  428.     [propget, id(DISPID_IHTMLDOCUMENT2_URL)] BSTR URL();
  429.     [propput, id(DISPID_IHTMLDOCUMENT2_DOMAIN)] void domain(BSTR v);
  430.     [propget, id(DISPID_IHTMLDOCUMENT2_DOMAIN)] BSTR domain();
  431.     [propput, id(DISPID_IHTMLDOCUMENT2_COOKIE)] void cookie(BSTR v);
  432.     [propget, id(DISPID_IHTMLDOCUMENT2_COOKIE)] BSTR cookie();
  433.     [propput, id(DISPID_IHTMLDOCUMENT2_EXPANDO), bindable, hidden] void expando(VARIANT_BOOL v);
  434.     [propget, id(DISPID_IHTMLDOCUMENT2_EXPANDO), bindable, hidden] VARIANT_BOOL expando();
  435.     [propput, id(DISPID_IHTMLDOCUMENT2_CHARSET), hidden] void charset(BSTR v);
  436.     [propget, id(DISPID_IHTMLDOCUMENT2_CHARSET), hidden] BSTR charset();
  437.     [propput, id(DISPID_IHTMLDOCUMENT2_DEFAULTCHARSET)] void defaultCharset(BSTR v);
  438.     [propget, id(DISPID_IHTMLDOCUMENT2_DEFAULTCHARSET)] BSTR defaultCharset();
  439.     [propget, id(DISPID_IHTMLDOCUMENT2_MIMETYPE)] BSTR mimeType();
  440.     [propget, id(DISPID_IHTMLDOCUMENT2_FILESIZE)] BSTR fileSize();
  441.     [propget, id(DISPID_IHTMLDOCUMENT2_FILECREATEDDATE)] BSTR fileCreatedDate();
  442.     [propget, id(DISPID_IHTMLDOCUMENT2_FILEMODIFIEDDATE)] BSTR fileModifiedDate();
  443.     [propget, id(DISPID_IHTMLDOCUMENT2_FILEUPDATEDDATE)] BSTR fileUpdatedDate();
  444.     [propget, id(DISPID_IHTMLDOCUMENT2_SECURITY)] BSTR security();
  445.     [propget, id(DISPID_IHTMLDOCUMENT2_PROTOCOL)] BSTR protocol();
  446.     [propget, id(DISPID_IHTMLDOCUMENT2_NAMEPROP)] BSTR nameProp();
  447.     [vararg,id(DISPID_IHTMLDOCUMENT2_WRITE)] void write([in] SAFEARRAY(VARIANT) psarray);
  448.     [vararg,id(DISPID_IHTMLDOCUMENT2_WRITELN)] void writeln([in] SAFEARRAY(VARIANT) psarray);
  449.     [id(DISPID_IHTMLDOCUMENT2_OPEN)] IDispatch* open([defaultvalue("text/html"), in] BSTR url,[optional, in] VARIANT name,[optional, in] VARIANT features,[optional, in] VARIANT replace);
  450.     [id(DISPID_IHTMLDOCUMENT2_CLOSE)] void close();
  451.     [id(DISPID_IHTMLDOCUMENT2_CLEAR)] void clear();
  452.     [id(DISPID_IHTMLDOCUMENT2_QUERYCOMMANDSUPPORTED)] VARIANT_BOOL queryCommandSupported([in] BSTR cmdID);
  453.     [id(DISPID_IHTMLDOCUMENT2_QUERYCOMMANDENABLED)] VARIANT_BOOL queryCommandEnabled([in] BSTR cmdID);
  454.     [id(DISPID_IHTMLDOCUMENT2_QUERYCOMMANDSTATE)] VARIANT_BOOL queryCommandState([in] BSTR cmdID);
  455.     [id(DISPID_IHTMLDOCUMENT2_QUERYCOMMANDINDETERM)] VARIANT_BOOL queryCommandIndeterm([in] BSTR cmdID);
  456.     [id(DISPID_IHTMLDOCUMENT2_QUERYCOMMANDTEXT)] BSTR queryCommandText([in] BSTR cmdID);
  457.     [id(DISPID_IHTMLDOCUMENT2_QUERYCOMMANDVALUE)] VARIANT queryCommandValue([in] BSTR cmdID);
  458.     [id(DISPID_IHTMLDOCUMENT2_EXECCOMMAND)] VARIANT_BOOL execCommand([in] BSTR cmdID,[defaultvalue(0), in] VARIANT_BOOL showUI,[optional, in] VARIANT value);
  459.     [id(DISPID_IHTMLDOCUMENT2_EXECCOMMANDSHOWHELP)] VARIANT_BOOL execCommandShowHelp([in] BSTR cmdID);
  460.     [id(DISPID_IHTMLDOCUMENT2_CREATEELEMENT)] IHTMLElement* createElement([in] BSTR eTag);
  461.     [propput, id(DISPID_IHTMLDOCUMENT2_ONHELP), displaybind, bindable] void onhelp(VARIANT v);
  462.     [propget, id(DISPID_IHTMLDOCUMENT2_ONHELP), displaybind, bindable] VARIANT onhelp();
  463.     [propput, id(DISPID_IHTMLDOCUMENT2_ONCLICK), displaybind, bindable] void onclick(VARIANT v);
  464.     [propget, id(DISPID_IHTMLDOCUMENT2_ONCLICK), displaybind, bindable] VARIANT onclick();
  465.     [propput, id(DISPID_IHTMLDOCUMENT2_ONDBLCLICK), displaybind, bindable] void ondblclick(VARIANT v);
  466.     [propget, id(DISPID_IHTMLDOCUMENT2_ONDBLCLICK), displaybind, bindable] VARIANT ondblclick();
  467.     [propput, id(DISPID_IHTMLDOCUMENT2_ONKEYUP), displaybind, bindable] void onkeyup(VARIANT v);
  468.     [propget, id(DISPID_IHTMLDOCUMENT2_ONKEYUP), displaybind, bindable] VARIANT onkeyup();
  469.     [propput, id(DISPID_IHTMLDOCUMENT2_ONKEYDOWN), displaybind, bindable] void onkeydown(VARIANT v);
  470.     [propget, id(DISPID_IHTMLDOCUMENT2_ONKEYDOWN), displaybind, bindable] VARIANT onkeydown();
  471.     [propput, id(DISPID_IHTMLDOCUMENT2_ONKEYPRESS), displaybind, bindable] void onkeypress(VARIANT v);
  472.     [propget, id(DISPID_IHTMLDOCUMENT2_ONKEYPRESS), displaybind, bindable] VARIANT onkeypress();
  473.     [propput, id(DISPID_IHTMLDOCUMENT2_ONMOUSEUP), displaybind, bindable] void onmouseup(VARIANT v);
  474.     [propget, id(DISPID_IHTMLDOCUMENT2_ONMOUSEUP), displaybind, bindable] VARIANT onmouseup();
  475.     [propput, id(DISPID_IHTMLDOCUMENT2_ONMOUSEDOWN), displaybind, bindable] void onmousedown(VARIANT v);
  476.     [propget, id(DISPID_IHTMLDOCUMENT2_ONMOUSEDOWN), displaybind, bindable] VARIANT onmousedown();
  477.     [propput, id(DISPID_IHTMLDOCUMENT2_ONMOUSEMOVE), displaybind, bindable] void onmousemove(VARIANT v);
  478.     [propget, id(DISPID_IHTMLDOCUMENT2_ONMOUSEMOVE), displaybind, bindable] VARIANT onmousemove();
  479.     [propput, id(DISPID_IHTMLDOCUMENT2_ONMOUSEOUT), displaybind, bindable] void onmouseout(VARIANT v);
  480.     [propget, id(DISPID_IHTMLDOCUMENT2_ONMOUSEOUT), displaybind, bindable] VARIANT onmouseout();
  481.     [propput, id(DISPID_IHTMLDOCUMENT2_ONMOUSEOVER), displaybind, bindable] void onmouseover(VARIANT v);
  482.     [propget, id(DISPID_IHTMLDOCUMENT2_ONMOUSEOVER), displaybind, bindable] VARIANT onmouseover();
  483.     [propput, id(DISPID_IHTMLDOCUMENT2_ONREADYSTATECHANGE), displaybind, bindable] void onreadystatechange(VARIANT v);
  484.     [propget, id(DISPID_IHTMLDOCUMENT2_ONREADYSTATECHANGE), displaybind, bindable] VARIANT onreadystatechange();
  485.     [propput, id(DISPID_IHTMLDOCUMENT2_ONAFTERUPDATE), displaybind, bindable] void onafterupdate(VARIANT v);
  486.     [propget, id(DISPID_IHTMLDOCUMENT2_ONAFTERUPDATE), displaybind, bindable] VARIANT onafterupdate();
  487.     [propput, id(DISPID_IHTMLDOCUMENT2_ONROWEXIT), displaybind, bindable] void onrowexit(VARIANT v);
  488.     [propget, id(DISPID_IHTMLDOCUMENT2_ONROWEXIT), displaybind, bindable] VARIANT onrowexit();
  489.     [propput, id(DISPID_IHTMLDOCUMENT2_ONROWENTER), displaybind, bindable] void onrowenter(VARIANT v);
  490.     [propget, id(DISPID_IHTMLDOCUMENT2_ONROWENTER), displaybind, bindable] VARIANT onrowenter();
  491.     [propput, id(DISPID_IHTMLDOCUMENT2_ONDRAGSTART), displaybind, bindable] void ondragstart(VARIANT v);
  492.     [propget, id(DISPID_IHTMLDOCUMENT2_ONDRAGSTART), displaybind, bindable] VARIANT ondragstart();
  493.     [propput, id(DISPID_IHTMLDOCUMENT2_ONSELECTSTART), displaybind, bindable] void onselectstart(VARIANT v);
  494.     [propget, id(DISPID_IHTMLDOCUMENT2_ONSELECTSTART), displaybind, bindable] VARIANT onselectstart();
  495.     [id(DISPID_IHTMLDOCUMENT2_ELEMENTFROMPOINT)] IHTMLElement* elementFromPoint([in] long x,[in] long y);
  496.     [propget, id(DISPID_IHTMLDOCUMENT2_PARENTWINDOW)] IHTMLWindow2* parentWindow();
  497.     [propget, id(DISPID_IHTMLDOCUMENT2_STYLESHEETS)] IHTMLStyleSheetsCollection* styleSheets();
  498.     [propput, id(DISPID_IHTMLDOCUMENT2_ONBEFOREUPDATE), displaybind, bindable] void onbeforeupdate(VARIANT v);
  499.     [propget, id(DISPID_IHTMLDOCUMENT2_ONBEFOREUPDATE), displaybind, bindable] VARIANT onbeforeupdate();
  500.     [propput, id(DISPID_IHTMLDOCUMENT2_ONERRORUPDATE), displaybind, bindable] void onerrorupdate(VARIANT v);
  501.     [propget, id(DISPID_IHTMLDOCUMENT2_ONERRORUPDATE), displaybind, bindable] VARIANT onerrorupdate();
  502.     [id(DISPID_IHTMLDOCUMENT2_TOSTRING)] BSTR toString();
  503.     [id(DISPID_IHTMLDOCUMENT2_CREATESTYLESHEET)] IHTMLStyleSheet* createStyleSheet([defaultvalue(""), in] BSTR bstrHref,[defaultvalue(-1), in] long lIndex);
  504.     [id(DISPID_IHTMLDOCUMENT3_RELEASECAPTURE)] void releaseCapture();
  505.     [id(DISPID_IHTMLDOCUMENT3_RECALC)] void recalc([defaultvalue(0), in] VARIANT_BOOL fForce);
  506.     [id(DISPID_IHTMLDOCUMENT3_CREATETEXTNODE)] IHTMLDOMNode* createTextNode([in] BSTR text);
  507.     [propget, id(DISPID_IHTMLDOCUMENT3_DOCUMENTELEMENT)] IHTMLElement* documentElement();
  508.     [propget, id(DISPID_IHTMLDOCUMENT3_UNIQUEID), hidden] BSTR uniqueID();
  509.     [id(DISPID_IHTMLDOCUMENT3_ATTACHEVENT)] VARIANT_BOOL attachEvent([in] BSTR event,[in] IDispatch* pDisp);
  510.     [id(DISPID_IHTMLDOCUMENT3_DETACHEVENT)] void detachEvent([in] BSTR event,[in] IDispatch* pDisp);
  511.     [propput, id(DISPID_IHTMLDOCUMENT3_ONROWSDELETE), displaybind, bindable] void onrowsdelete(VARIANT v);
  512.     [propget, id(DISPID_IHTMLDOCUMENT3_ONROWSDELETE), displaybind, bindable] VARIANT onrowsdelete();
  513.     [propput, id(DISPID_IHTMLDOCUMENT3_ONROWSINSERTED), displaybind, bindable] void onrowsinserted(VARIANT v);
  514.     [propget, id(DISPID_IHTMLDOCUMENT3_ONROWSINSERTED), displaybind, bindable] VARIANT onrowsinserted();
  515.     [propput, id(DISPID_IHTMLDOCUMENT3_ONCELLCHANGE), displaybind, bindable] void oncellchange(VARIANT v);
  516.     [propget, id(DISPID_IHTMLDOCUMENT3_ONCELLCHANGE), displaybind, bindable] VARIANT oncellchange();
  517.     [propput, id(DISPID_IHTMLDOCUMENT3_ONDATASETCHANGED), displaybind, bindable] void ondatasetchanged(VARIANT v);
  518.     [propget, id(DISPID_IHTMLDOCUMENT3_ONDATASETCHANGED), displaybind, bindable] VARIANT ondatasetchanged();
  519.     [propput, id(DISPID_IHTMLDOCUMENT3_ONDATAAVAILABLE), displaybind, bindable] void ondataavailable(VARIANT v);
  520.     [propget, id(DISPID_IHTMLDOCUMENT3_ONDATAAVAILABLE), displaybind, bindable] VARIANT ondataavailable();
  521.     [propput, id(DISPID_IHTMLDOCUMENT3_ONDATASETCOMPLETE), displaybind, bindable] void ondatasetcomplete(VARIANT v);
  522.     [propget, id(DISPID_IHTMLDOCUMENT3_ONDATASETCOMPLETE), displaybind, bindable] VARIANT ondatasetcomplete();
  523.     [propput, id(DISPID_IHTMLDOCUMENT3_ONPROPERTYCHANGE), displaybind, bindable] void onpropertychange(VARIANT v);
  524.     [propget, id(DISPID_IHTMLDOCUMENT3_ONPROPERTYCHANGE), displaybind, bindable] VARIANT onpropertychange();
  525.     [propput, id(DISPID_IHTMLDOCUMENT3_DIR)] void dir(BSTR v);
  526.     [propget, id(DISPID_IHTMLDOCUMENT3_DIR)] BSTR dir();
  527.     [propput, id(DISPID_IHTMLDOCUMENT3_ONCONTEXTMENU), displaybind, bindable] void oncontextmenu(VARIANT v);
  528.     [propget, id(DISPID_IHTMLDOCUMENT3_ONCONTEXTMENU), displaybind, bindable] VARIANT oncontextmenu();
  529.     [propput, id(DISPID_IHTMLDOCUMENT3_ONSTOP), displaybind, bindable] void onstop(VARIANT v);
  530.     [propget, id(DISPID_IHTMLDOCUMENT3_ONSTOP), displaybind, bindable] VARIANT onstop();
  531.     [id(DISPID_IHTMLDOCUMENT3_CREATEDOCUMENTFRAGMENT)] IHTMLDocument2* createDocumentFragment();
  532.     [propget, id(DISPID_IHTMLDOCUMENT3_PARENTDOCUMENT), hidden, restricted] IHTMLDocument2* parentDocument();
  533.     [propput, id(DISPID_IHTMLDOCUMENT3_ENABLEDOWNLOAD), hidden, restricted] void enableDownload(VARIANT_BOOL v);
  534.     [propget, id(DISPID_IHTMLDOCUMENT3_ENABLEDOWNLOAD), hidden, restricted] VARIANT_BOOL enableDownload();
  535.     [propput, id(DISPID_IHTMLDOCUMENT3_BASEURL), hidden, restricted] void baseUrl(BSTR v);
  536.     [propget, id(DISPID_IHTMLDOCUMENT3_BASEURL), hidden, restricted] BSTR baseUrl();
  537.     [propput, id(DISPID_IHTMLDOCUMENT3_INHERITSTYLESHEETS), hidden, restricted] void inheritStyleSheets(VARIANT_BOOL v);
  538.     [propget, id(DISPID_IHTMLDOCUMENT3_INHERITSTYLESHEETS), hidden, restricted] VARIANT_BOOL inheritStyleSheets();
  539.     [propput, id(DISPID_IHTMLDOCUMENT3_ONBEFOREEDITFOCUS), displaybind, bindable] void onbeforeeditfocus(VARIANT v);
  540.     [propget, id(DISPID_IHTMLDOCUMENT3_ONBEFOREEDITFOCUS), displaybind, bindable] VARIANT onbeforeeditfocus();
  541.     [id(DISPID_IHTMLDOCUMENT3_GETELEMENTSBYNAME)] IHTMLElementCollection* getElementsByName([in] BSTR v);
  542.     [id(DISPID_IHTMLDOCUMENT3_GETELEMENTBYID)] IHTMLElement* getElementById([in] BSTR v);
  543.     [id(DISPID_IHTMLDOCUMENT3_GETELEMENTSBYTAGNAME)] IHTMLElementCollection* getElementsByTagName([in] BSTR v);
  544.     [id(DISPID_IHTMLDOCUMENT4_FOCUS)] void focus();
  545.     [id(DISPID_IHTMLDOCUMENT4_HASFOCUS)] VARIANT_BOOL hasFocus();
  546.     [propput, id(DISPID_IHTMLDOCUMENT4_ONSELECTIONCHANGE), displaybind, bindable] void onselectionchange(VARIANT v);
  547.     [propget, id(DISPID_IHTMLDOCUMENT4_ONSELECTIONCHANGE), displaybind, bindable] VARIANT onselectionchange();
  548.     [propget, id(DISPID_IHTMLDOCUMENT4_NAMESPACES)] IDispatch* namespaces();
  549.     [id(DISPID_IHTMLDOCUMENT4_CREATEDOCUMENTFROMURL)] IHTMLDocument2* createDocumentFromUrl([in] BSTR bstrUrl,[in] BSTR bstrOptions);
  550.     [propput, id(DISPID_IHTMLDOCUMENT4_MEDIA)] void media(BSTR v);
  551.     [propget, id(DISPID_IHTMLDOCUMENT4_MEDIA)] BSTR media();
  552.     [id(DISPID_IHTMLDOCUMENT4_CREATEEVENTOBJECT)] IHTMLEventObj* createEventObject([optional, in] VARIANT* pvarEventObject);
  553.     [id(DISPID_IHTMLDOCUMENT4_FIREEVENT)] VARIANT_BOOL fireEvent([in] BSTR bstrEventName,[optional, in] VARIANT* pvarEventObject);
  554.     [id(DISPID_IHTMLDOCUMENT4_CREATERENDERSTYLE)] IHTMLRenderStyle* createRenderStyle([in] BSTR v);
  555.     [propput, id(DISPID_IHTMLDOCUMENT4_ONCONTROLSELECT), displaybind, bindable] void oncontrolselect(VARIANT v);
  556.     [propget, id(DISPID_IHTMLDOCUMENT4_ONCONTROLSELECT), displaybind, bindable] VARIANT oncontrolselect();
  557.     [propget, id(DISPID_IHTMLDOCUMENT4_URLUNENCODED)] BSTR URLUnencoded();
  558.     [propput, id(DISPID_IHTMLDOCUMENT5_ONMOUSEWHEEL), displaybind, bindable] void onmousewheel(VARIANT v);
  559.     [propget, id(DISPID_IHTMLDOCUMENT5_ONMOUSEWHEEL), displaybind, bindable] VARIANT onmousewheel();
  560.     [propget, id(DISPID_IHTMLDOCUMENT5_DOCTYPE)] IHTMLDOMNode* doctype();
  561.     [propget, id(DISPID_IHTMLDOCUMENT5_IMPLEMENTATION)] IHTMLDOMImplementation* implementation();
  562.     [id(DISPID_IHTMLDOCUMENT5_CREATEATTRIBUTE)] IHTMLDOMAttribute* createAttribute([in] BSTR bstrattrName);
  563.     [id(DISPID_IHTMLDOCUMENT5_CREATECOMMENT)] IHTMLDOMNode* createComment([in] BSTR bstrdata);
  564.     [propput, id(DISPID_IHTMLDOCUMENT5_ONFOCUSIN), displaybind, bindable] void onfocusin(VARIANT v);
  565.     [propget, id(DISPID_IHTMLDOCUMENT5_ONFOCUSIN), displaybind, bindable] VARIANT onfocusin();
  566.     [propput, id(DISPID_IHTMLDOCUMENT5_ONFOCUSOUT), displaybind, bindable] void onfocusout(VARIANT v);
  567.     [propget, id(DISPID_IHTMLDOCUMENT5_ONFOCUSOUT), displaybind, bindable] VARIANT onfocusout();
  568.     [propput, id(DISPID_IHTMLDOCUMENT5_ONACTIVATE), displaybind, bindable] void onactivate(VARIANT v);
  569.     [propget, id(DISPID_IHTMLDOCUMENT5_ONACTIVATE), displaybind, bindable] VARIANT onactivate();
  570.     [propput, id(DISPID_IHTMLDOCUMENT5_ONDEACTIVATE), displaybind, bindable] void ondeactivate(VARIANT v);
  571.     [propget, id(DISPID_IHTMLDOCUMENT5_ONDEACTIVATE), displaybind, bindable] VARIANT ondeactivate();
  572.     [propput, id(DISPID_IHTMLDOCUMENT5_ONBEFOREACTIVATE), displaybind, bindable] void onbeforeactivate(VARIANT v);
  573.     [propget, id(DISPID_IHTMLDOCUMENT5_ONBEFOREACTIVATE), displaybind, bindable] VARIANT onbeforeactivate();
  574.     [propput, id(DISPID_IHTMLDOCUMENT5_ONBEFOREDEACTIVATE), displaybind, bindable] void onbeforedeactivate(VARIANT v);
  575.     [propget, id(DISPID_IHTMLDOCUMENT5_ONBEFOREDEACTIVATE), displaybind, bindable] VARIANT onbeforedeactivate();
  576.     [propget, id(DISPID_IHTMLDOCUMENT5_COMPATMODE)] BSTR compatMode();
  577.     [propget, id(DISPID_IHTMLDOMNODE_NODETYPE)] long nodeType();
  578.     [propget, id(DISPID_IHTMLDOMNODE_PARENTNODE)] IHTMLDOMNode* parentNode();
  579.     [id(DISPID_IHTMLDOMNODE_HASCHILDNODES)] VARIANT_BOOL hasChildNodes();
  580.     [propget, id(DISPID_IHTMLDOMNODE_CHILDNODES)] IDispatch* childNodes();
  581.     [propget, id(DISPID_IHTMLDOMNODE_ATTRIBUTES)] IDispatch* attributes();
  582.     [id(DISPID_IHTMLDOMNODE_INSERTBEFORE)] IHTMLDOMNode* insertBefore([in] IHTMLDOMNode* newChild,[optional, in] VARIANT refChild);
  583.     [id(DISPID_IHTMLDOMNODE_REMOVECHILD)] IHTMLDOMNode* removeChild([in] IHTMLDOMNode* oldChild);
  584.     [id(DISPID_IHTMLDOMNODE_REPLACECHILD)] IHTMLDOMNode* replaceChild([in] IHTMLDOMNode* newChild,[in] IHTMLDOMNode* oldChild);
  585.     [id(DISPID_IHTMLDOMNODE_CLONENODE)] IHTMLDOMNode* cloneNode([in] VARIANT_BOOL fDeep);
  586.     [id(DISPID_IHTMLDOMNODE_REMOVENODE)] IHTMLDOMNode* removeNode([defaultvalue(0), in] VARIANT_BOOL fDeep);
  587.     [id(DISPID_IHTMLDOMNODE_SWAPNODE)] IHTMLDOMNode* swapNode([in] IHTMLDOMNode* otherNode);
  588.     [id(DISPID_IHTMLDOMNODE_REPLACENODE)] IHTMLDOMNode* replaceNode([in] IHTMLDOMNode* replacement);
  589.     [id(DISPID_IHTMLDOMNODE_APPENDCHILD)] IHTMLDOMNode* appendChild([in] IHTMLDOMNode* newChild);
  590.     [propget, id(DISPID_IHTMLDOMNODE_NODENAME)] BSTR nodeName();
  591.     [propput, id(DISPID_IHTMLDOMNODE_NODEVALUE)] void nodeValue(VARIANT v);
  592.     [propget, id(DISPID_IHTMLDOMNODE_NODEVALUE)] VARIANT nodeValue();
  593.     [propget, id(DISPID_IHTMLDOMNODE_FIRSTCHILD)] IHTMLDOMNode* firstChild();
  594.     [propget, id(DISPID_IHTMLDOMNODE_LASTCHILD)] IHTMLDOMNode* lastChild();
  595.     [propget, id(DISPID_IHTMLDOMNODE_PREVIOUSSIBLING)] IHTMLDOMNode* previousSibling();
  596.     [propget, id(DISPID_IHTMLDOMNODE_NEXTSIBLING)] IHTMLDOMNode* nextSibling();
  597.     [propget, id(DISPID_IHTMLDOMNODE2_OWNERDOCUMENT)] IDispatch* ownerDocument();
  598. };
  599. [
  600.     uuid(25336920-03F9-11cf-8FD0-00AA00686F13)
  601. ]
  602. coclass HTMLDocument
  603. {
  604.     [default]           dispinterface DispHTMLDocument;
  605.     [source, default]   dispinterface HTMLDocumentEvents;
  606.     [source]            dispinterface HTMLDocumentEvents2;
  607.                         interface IHTMLDocument2;
  608.                         interface IHTMLDocument3;
  609.                         interface IHTMLDocument4;
  610.                         interface IHTMLDocument5;
  611.                         interface IHTMLDOMNode;
  612.                         interface IHTMLDOMNode2;
  613. };
  614. cpp_quote("EXTERN_C const GUID CLSID_CDocument;")
  615. [
  616.     hidden,
  617.     uuid(A6D897FF-0A95-11d1-B0BA-006008166E11)
  618. ]
  619. dispinterface DWebBridgeEvents
  620. {
  621. properties:
  622. methods:
  623.     [id(DISPID_DWEBBRIDGEEVENTS_ONSCRIPTLETEVENT)] void onscriptletevent([in] BSTR name,[in] VARIANT eventData);
  624.     [id(DISPID_DWEBBRIDGEEVENTS_ONREADYSTATECHANGE)] void onreadystatechange();
  625.     [id(DISPID_DWEBBRIDGEEVENTS_ONCLICK)] VARIANT_BOOL onclick();
  626.     [id(DISPID_DWEBBRIDGEEVENTS_ONDBLCLICK)] VARIANT_BOOL ondblclick();
  627.     [id(DISPID_DWEBBRIDGEEVENTS_ONKEYDOWN)] void onkeydown();
  628.     [id(DISPID_DWEBBRIDGEEVENTS_ONKEYUP)] void onkeyup();
  629.     [id(DISPID_DWEBBRIDGEEVENTS_ONKEYPRESS)] VARIANT_BOOL onkeypress();
  630.     [id(DISPID_DWEBBRIDGEEVENTS_ONMOUSEDOWN)] void onmousedown();
  631.     [id(DISPID_DWEBBRIDGEEVENTS_ONMOUSEMOVE)] void onmousemove();
  632.     [id(DISPID_DWEBBRIDGEEVENTS_ONMOUSEUP)] void onmouseup();
  633. };
  634. [
  635.     odl,
  636.     oleautomation,
  637.     dual,
  638.     uuid(AE24FDAD-03C6-11D1-8B76-0080C744F389)
  639. ]
  640. interface IWebBridge : IDispatch
  641. {
  642.     [propput, id(DISPID_IWEBBRIDGE_URL)] HRESULT URL([in] BSTR v);
  643.     [propget, id(DISPID_IWEBBRIDGE_URL)] HRESULT URL([retval, out] BSTR * p);
  644.     [propput, id(DISPID_IWEBBRIDGE_SCROLLBAR)] HRESULT Scrollbar([in] VARIANT_BOOL v);
  645.     [propget, id(DISPID_IWEBBRIDGE_SCROLLBAR)] HRESULT Scrollbar([retval, out] VARIANT_BOOL * p);
  646.     [propput, id(DISPID_IWEBBRIDGE_EMBED)] HRESULT embed([in] VARIANT_BOOL v);
  647.     [propget, id(DISPID_IWEBBRIDGE_EMBED)] HRESULT embed([retval, out] VARIANT_BOOL * p);
  648.     [propget, id(DISPID_IWEBBRIDGE_EVENT)] HRESULT event([retval, out] IDispatch* * p);
  649.     [propget, id(DISPID_IWEBBRIDGE_READYSTATE)] HRESULT readyState([retval, out] long * p);
  650.     [id(DISPID_IWEBBRIDGE_ABOUTBOX)] HRESULT AboutBox();
  651. };
  652. [
  653.     odl,
  654.     oleautomation,
  655.     dual,
  656.     uuid(A5170870-0CF8-11D1-8B91-0080C744F389)
  657. ]
  658. interface IWBScriptControl : IDispatch
  659. {
  660.     [id(DISPID_IWBSCRIPTCONTROL_RAISEEVENT)] HRESULT raiseEvent([in] BSTR name,[in] VARIANT eventData);
  661.     [id(DISPID_IWBSCRIPTCONTROL_BUBBLEEVENT)] HRESULT bubbleEvent();
  662.     [id(DISPID_IWBSCRIPTCONTROL_SETCONTEXTMENU)] HRESULT setContextMenu([in] VARIANT menuItemPairs);
  663.     [propput, id(DISPID_IWBSCRIPTCONTROL_SELECTABLECONTENT)] HRESULT selectableContent([in] VARIANT_BOOL v);
  664.     [propget, id(DISPID_IWBSCRIPTCONTROL_SELECTABLECONTENT)] HRESULT selectableContent([retval, out] VARIANT_BOOL * p);
  665.     [propget, id(DISPID_IWBSCRIPTCONTROL_FROZEN)] HRESULT frozen([retval, out] VARIANT_BOOL * p);
  666.     [propput, id(DISPID_IWBSCRIPTCONTROL_SCROLLBAR)] HRESULT scrollbar([in] VARIANT_BOOL v);
  667.     [propget, id(DISPID_IWBSCRIPTCONTROL_SCROLLBAR)] HRESULT scrollbar([retval, out] VARIANT_BOOL * p);
  668.     [propget, id(DISPID_IWBSCRIPTCONTROL_VERSION)] HRESULT version([retval, out] BSTR * p);
  669.     [propget, id(DISPID_IWBSCRIPTCONTROL_VISIBILITY)] HRESULT visibility([retval, out] VARIANT_BOOL * p);
  670.     [propput, id(DISPID_IWBSCRIPTCONTROL_ONVISIBILITYCHANGE)] HRESULT onvisibilitychange([in] VARIANT v);
  671.     [propget, id(DISPID_IWBSCRIPTCONTROL_ONVISIBILITYCHANGE)] HRESULT onvisibilitychange([retval, out] VARIANT * p);
  672. };
  673. [
  674.     control,
  675.     uuid(AE24FDAE-03C6-11D1-8B76-0080C744F389)
  676. ]
  677. coclass Scriptlet
  678. {
  679.     [default]           interface IWebBridge;
  680.     [source, default]   dispinterface DWebBridgeEvents;
  681. };
  682. cpp_quote("EXTERN_C const GUID CLSID_CScriptlet;")
  683. typedef enum _BoolValue
  684. {
  685.     True = 1,
  686.     False = 0,
  687.     BoolValue_Max = 2147483647L
  688. } BoolValue;
  689. [
  690.     odl,
  691.     oleautomation,
  692.     dual,
  693.     uuid(3050f25f-98b5-11cf-bb82-00aa00bdce0b)
  694. ]
  695. interface IHTMLEmbedElement : IDispatch
  696. {
  697.     [propput, id(DISPID_IHTMLEMBEDELEMENT_HIDDEN)] HRESULT hidden([in] BSTR v);
  698.     [propget, id(DISPID_IHTMLEMBEDELEMENT_HIDDEN)] HRESULT hidden([retval, out] BSTR * p);
  699.     [propget, id(DISPID_IHTMLEMBEDELEMENT_PALETTE)] HRESULT palette([retval, out] BSTR * p);
  700.     [propget, id(DISPID_IHTMLEMBEDELEMENT_PLUGINSPAGE)] HRESULT pluginspage([retval, out] BSTR * p);
  701.     [propput, id(DISPID_IHTMLEMBEDELEMENT_SRC)] HRESULT src([in] BSTR v);
  702.     [propget, id(DISPID_IHTMLEMBEDELEMENT_SRC)] HRESULT src([retval, out] BSTR * p);
  703.     [propput, id(DISPID_IHTMLEMBEDELEMENT_UNITS)] HRESULT units([in] BSTR v);
  704.     [propget, id(DISPID_IHTMLEMBEDELEMENT_UNITS)] HRESULT units([retval, out] BSTR * p);
  705.     [propput, id(DISPID_IHTMLEMBEDELEMENT_NAME), displaybind, bindable] HRESULT name([in] BSTR v);
  706.     [propget, id(DISPID_IHTMLEMBEDELEMENT_NAME), displaybind, bindable] HRESULT name([retval, out] BSTR * p);
  707.     [propput, id(DISPID_IHTMLEMBEDELEMENT_WIDTH)] HRESULT width([in] VARIANT v);
  708.     [propget, id(DISPID_IHTMLEMBEDELEMENT_WIDTH)] HRESULT width([retval, out] VARIANT * p);
  709.     [propput, id(DISPID_IHTMLEMBEDELEMENT_HEIGHT)] HRESULT height([in] VARIANT v);
  710.     [propget, id(DISPID_IHTMLEMBEDELEMENT_HEIGHT)] HRESULT height([retval, out] VARIANT * p);
  711. };
  712. [
  713.     hidden,
  714.     uuid(3050f52e-98b5-11cf-bb82-00aa00bdce0b)
  715. ]
  716. dispinterface DispHTMLEmbed
  717. {
  718. properties:
  719. methods:
  720.     [id(DISPID_IHTMLELEMENT_SETATTRIBUTE)] void setAttribute([in] BSTR strAttributeName,[in] VARIANT AttributeValue,[defaultvalue(1), in] LONG lFlags);
  721.     [id(DISPID_IHTMLELEMENT_GETATTRIBUTE)] VARIANT getAttribute([in] BSTR strAttributeName,[defaultvalue(0), in] LONG lFlags);
  722.     [id(DISPID_IHTMLELEMENT_REMOVEATTRIBUTE)] VARIANT_BOOL removeAttribute([in] BSTR strAttributeName,[defaultvalue(1), in] LONG lFlags);
  723.     [propput, id(DISPID_IHTMLELEMENT_CLASSNAME), bindable] void className(BSTR v);
  724.     [propget, id(DISPID_IHTMLELEMENT_CLASSNAME), bindable] BSTR className();
  725.     [propput, id(DISPID_IHTMLELEMENT_ID), bindable] void id(BSTR v);
  726.     [propget, id(DISPID_IHTMLELEMENT_ID), bindable] BSTR id();
  727.     [propget, id(DISPID_IHTMLELEMENT_TAGNAME)] BSTR tagName();
  728.     [propget, id(DISPID_IHTMLELEMENT_PARENTELEMENT)] IHTMLElement* parentElement();
  729.     [propget, id(DISPID_IHTMLELEMENT_STYLE), nonbrowsable] IHTMLStyle* style();
  730.     [propput, id(DISPID_IHTMLELEMENT_ONHELP), displaybind, bindable] void onhelp(VARIANT v);
  731.     [propget, id(DISPID_IHTMLELEMENT_ONHELP), displaybind, bindable] VARIANT onhelp();
  732.     [propput, id(DISPID_IHTMLELEMENT_ONCLICK), displaybind, bindable] void onclick(VARIANT v);
  733.     [propget, id(DISPID_IHTMLELEMENT_ONCLICK), displaybind, bindable] VARIANT onclick();
  734.     [propput, id(DISPID_IHTMLELEMENT_ONDBLCLICK), displaybind, bindable] void ondblclick(VARIANT v);
  735.     [propget, id(DISPID_IHTMLELEMENT_ONDBLCLICK), displaybind, bindable] VARIANT ondblclick();
  736.     [propput, id(DISPID_IHTMLELEMENT_ONKEYDOWN), displaybind, bindable] void onkeydown(VARIANT v);
  737.     [propget, id(DISPID_IHTMLELEMENT_ONKEYDOWN), displaybind, bindable] VARIANT onkeydown();
  738.     [propput, id(DISPID_IHTMLELEMENT_ONKEYUP), displaybind, bindable] void onkeyup(VARIANT v);
  739.     [propget, id(DISPID_IHTMLELEMENT_ONKEYUP), displaybind, bindable] VARIANT onkeyup();
  740.     [propput, id(DISPID_IHTMLELEMENT_ONKEYPRESS), displaybind, bindable] void onkeypress(VARIANT v);
  741.     [propget, id(DISPID_IHTMLELEMENT_ONKEYPRESS), displaybind, bindable] VARIANT onkeypress();
  742.     [propput, id(DISPID_IHTMLELEMENT_ONMOUSEOUT), displaybind, bindable] void onmouseout(VARIANT v);
  743.     [propget, id(DISPID_IHTMLELEMENT_ONMOUSEOUT), displaybind, bindable] VARIANT onmouseout();
  744.     [propput, id(DISPID_IHTMLELEMENT_ONMOUSEOVER), displaybind, bindable] void onmouseover(VARIANT v);
  745.     [propget, id(DISPID_IHTMLELEMENT_ONMOUSEOVER), displaybind, bindable] VARIANT onmouseover();
  746.     [propput, id(DISPID_IHTMLELEMENT_ONMOUSEMOVE), displaybind, bindable] void onmousemove(VARIANT v);
  747.     [propget, id(DISPID_IHTMLELEMENT_ONMOUSEMOVE), displaybind, bindable] VARIANT onmousemove();
  748.     [propput, id(DISPID_IHTMLELEMENT_ONMOUSEDOWN), displaybind, bindable] void onmousedown(VARIANT v);
  749.     [propget, id(DISPID_IHTMLELEMENT_ONMOUSEDOWN), displaybind, bindable] VARIANT onmousedown();
  750.     [propput, id(DISPID_IHTMLELEMENT_ONMOUSEUP), displaybind, bindable] void onmouseup(VARIANT v);
  751.     [propget, id(DISPID_IHTMLELEMENT_ONMOUSEUP), displaybind, bindable] VARIANT onmouseup();
  752.     [propget, id(DISPID_IHTMLELEMENT_DOCUMENT)] IDispatch* document();
  753.     [propput, id(DISPID_IHTMLELEMENT_TITLE), displaybind, bindable] void title(BSTR v);
  754.     [propget, id(DISPID_IHTMLELEMENT_TITLE), displaybind, bindable] BSTR title();
  755.     [propput, id(DISPID_IHTMLELEMENT_LANGUAGE), displaybind, bindable] void language(BSTR v);
  756.     [propget, id(DISPID_IHTMLELEMENT_LANGUAGE), displaybind, bindable] BSTR language();
  757.     [propput, id(DISPID_IHTMLELEMENT_ONSELECTSTART), displaybind, bindable] void onselectstart(VARIANT v);
  758.     [propget, id(DISPID_IHTMLELEMENT_ONSELECTSTART), displaybind, bindable] VARIANT onselectstart();
  759.     [id(DISPID_IHTMLELEMENT_SCROLLINTOVIEW)] void scrollIntoView([optional, in] VARIANT varargStart);
  760.     [id(DISPID_IHTMLELEMENT_CONTAINS)] VARIANT_BOOL contains([in] IHTMLElement* pChild);
  761.     [propget, id(DISPID_IHTMLELEMENT_SOURCEINDEX), bindable] long sourceIndex();
  762.     [propget, id(DISPID_IHTMLELEMENT_RECORDNUMBER)] VARIANT recordNumber();
  763.     [propput, id(DISPID_IHTMLELEMENT_LANG)] void lang(BSTR v);
  764.     [propget, id(DISPID_IHTMLELEMENT_LANG)] BSTR lang();
  765.     [propget, id(DISPID_IHTMLELEMENT_OFFSETLEFT)] long offsetLeft();
  766.     [propget, id(DISPID_IHTMLELEMENT_OFFSETTOP)] long offsetTop();
  767.     [propget, id(DISPID_IHTMLELEMENT_OFFSETWIDTH)] long offsetWidth();
  768.     [propget, id(DISPID_IHTMLELEMENT_OFFSETHEIGHT)] long offsetHeight();
  769.     [propget, id(DISPID_IHTMLELEMENT_OFFSETPARENT)] IHTMLElement* offsetParent();
  770.     [propput, id(DISPID_IHTMLELEMENT_INNERHTML)] void innerHTML(BSTR v);
  771.     [propget, id(DISPID_IHTMLELEMENT_INNERHTML)] BSTR innerHTML();
  772.     [propput, id(DISPID_IHTMLELEMENT_INNERTEXT)] void innerText(BSTR v);
  773.     [propget, id(DISPID_IHTMLELEMENT_INNERTEXT)] BSTR innerText();
  774.     [propput, id(DISPID_IHTMLELEMENT_OUTERHTML)] void outerHTML(BSTR v);
  775.     [propget, id(DISPID_IHTMLELEMENT_OUTERHTML)] BSTR outerHTML();
  776.     [propput, id(DISPID_IHTMLELEMENT_OUTERTEXT)] void outerText(BSTR v);
  777.     [propget, id(DISPID_IHTMLELEMENT_OUTERTEXT)] BSTR outerText();
  778.     [id(DISPID_IHTMLELEMENT_INSERTADJACENTHTML)] void insertAdjacentHTML([in] BSTR where,[in] BSTR html);
  779.     [id(DISPID_IHTMLELEMENT_INSERTADJACENTTEXT)] void insertAdjacentText([in] BSTR where,[in] BSTR text);
  780.     [propget, id(DISPID_IHTMLELEMENT_PARENTTEXTEDIT)] IHTMLElement* parentTextEdit();
  781.     [propget, id(DISPID_IHTMLELEMENT_ISTEXTEDIT)] VARIANT_BOOL isTextEdit();
  782.     [id(DISPID_IHTMLELEMENT_CLICK)] void click();
  783.     [propget, id(DISPID_IHTMLELEMENT_FILTERS)] IHTMLFiltersCollection* filters();
  784.     [propput, id(DISPID_IHTMLELEMENT_ONDRAGSTART), displaybind, bindable] void ondragstart(VARIANT v);
  785.     [propget, id(DISPID_IHTMLELEMENT_ONDRAGSTART), displaybind, bindable] VARIANT ondragstart();
  786.     [id(DISPID_IHTMLELEMENT_TOSTRING)] BSTR toString();
  787.     [propput, id(DISPID_IHTMLELEMENT_ONBEFOREUPDATE), displaybind, bindable] void onbeforeupdate(VARIANT v);
  788.     [propget, id(DISPID_IHTMLELEMENT_ONBEFOREUPDATE), displaybind, bindable] VARIANT onbeforeupdate();
  789.     [propput, id(DISPID_IHTMLELEMENT_ONAFTERUPDATE), displaybind, bindable] void onafterupdate(VARIANT v);
  790.     [propget, id(DISPID_IHTMLELEMENT_ONAFTERUPDATE), displaybind, bindable] VARIANT onafterupdate();
  791.     [propput, id(DISPID_IHTMLELEMENT_ONERRORUPDATE), displaybind, bindable] void onerrorupdate(VARIANT v);
  792.     [propget, id(DISPID_IHTMLELEMENT_ONERRORUPDATE), displaybind, bindable] VARIANT onerrorupdate();
  793.     [propput, id(DISPID_IHTMLELEMENT_ONROWEXIT), displaybind, bindable] void onrowexit(VARIANT v);
  794.     [propget, id(DISPID_IHTMLELEMENT_ONROWEXIT), displaybind, bindable] VARIANT onrowexit();
  795.     [propput, id(DISPID_IHTMLELEMENT_ONROWENTER), displaybind, bindable] void onrowenter(VARIANT v);
  796.     [propget, id(DISPID_IHTMLELEMENT_ONROWENTER), displaybind, bindable] VARIANT onrowenter();
  797.     [propput, id(DISPID_IHTMLELEMENT_ONDATASETCHANGED), displaybind, bindable] void ondatasetchanged(VARIANT v);
  798.     [propget, id(DISPID_IHTMLELEMENT_ONDATASETCHANGED), displaybind, bindable] VARIANT ondatasetchanged();
  799.     [propput, id(DISPID_IHTMLELEMENT_ONDATAAVAILABLE), displaybind, bindable] void ondataavailable(VARIANT v);
  800.     [propget, id(DISPID_IHTMLELEMENT_ONDATAAVAILABLE), displaybind, bindable] VARIANT ondataavailable();
  801.     [propput, id(DISPID_IHTMLELEMENT_ONDATASETCOMPLETE), displaybind, bindable] void ondatasetcomplete(VARIANT v);
  802.     [propget, id(DISPID_IHTMLELEMENT_ONDATASETCOMPLETE), displaybind, bindable] VARIANT ondatasetcomplete();
  803.     [propput, id(DISPID_IHTMLELEMENT_ONFILTERCHANGE), displaybind, bindable] void onfilterchange(VARIANT v);
  804.     [propget, id(DISPID_IHTMLELEMENT_ONFILTERCHANGE), displaybind, bindable] VARIANT onfilterchange();
  805.     [propget, id(DISPID_IHTMLELEMENT_CHILDREN)] IDispatch* children();
  806.     [propget, id(DISPID_IHTMLELEMENT_ALL)] IDispatch* all();
  807.     [propget, id(DISPID_IHTMLELEMENT2_SCOPENAME)] BSTR scopeName();
  808.     [id(DISPID_IHTMLELEMENT2_SETCAPTURE)] void setCapture([defaultvalue(-1), in] VARIANT_BOOL containerCapture);
  809.     [id(DISPID_IHTMLELEMENT2_RELEASECAPTURE)] void releaseCapture();
  810.     [propput, id(DISPID_IHTMLELEMENT2_ONLOSECAPTURE), displaybind, bindable] void onlosecapture(VARIANT v);
  811.     [propget, id(DISPID_IHTMLELEMENT2_ONLOSECAPTURE), displaybind, bindable] VARIANT onlosecapture();
  812.     [id(DISPID_IHTMLELEMENT2_COMPONENTFROMPOINT)] BSTR componentFromPoint([in] long x,[in] long y);
  813.     [id(DISPID_IHTMLELEMENT2_DOSCROLL)] void doScroll([optional, in] VARIANT component);
  814.     [propput, id(DISPID_IHTMLELEMENT2_ONSCROLL), displaybind, bindable] void onscroll(VARIANT v);
  815.     [propget, id(DISPID_IHTMLELEMENT2_ONSCROLL), displaybind, bindable] VARIANT onscroll();
  816.     [propput, id(DISPID_IHTMLELEMENT2_ONDRAG), displaybind, bindable] void ondrag(VARIANT v);
  817.     [propget, id(DISPID_IHTMLELEMENT2_ONDRAG), displaybind, bindable] VARIANT ondrag();
  818.     [propput, id(DISPID_IHTMLELEMENT2_ONDRAGEND), displaybind, bindable] void ondragend(VARIANT v);
  819.     [propget, id(DISPID_IHTMLELEMENT2_ONDRAGEND), displaybind, bindable] VARIANT ondragend();
  820.     [propput, id(DISPID_IHTMLELEMENT2_ONDRAGENTER), displaybind, bindable] void ondragenter(VARIANT v);
  821.     [propget, id(DISPID_IHTMLELEMENT2_ONDRAGENTER), displaybind, bindable] VARIANT ondragenter();
  822.     [propput, id(DISPID_IHTMLELEMENT2_ONDRAGOVER), displaybind, bindable] void ondragover(VARIANT v);
  823.     [propget, id(DISPID_IHTMLELEMENT2_ONDRAGOVER), displaybind, bindable] VARIANT ondragover();
  824.     [propput, id(DISPID_IHTMLELEMENT2_ONDRAGLEAVE), displaybind, bindable] void ondragleave(VARIANT v);
  825.     [propget, id(DISPID_IHTMLELEMENT2_ONDRAGLEAVE), displaybind, bindable] VARIANT ondragleave();
  826.     [propput, id(DISPID_IHTMLELEMENT2_ONDROP), displaybind, bindable] void ondrop(VARIANT v);
  827.     [propget, id(DISPID_IHTMLELEMENT2_ONDROP), displaybind, bindable] VARIANT ondrop();
  828.     [propput, id(DISPID_IHTMLELEMENT2_ONBEFORECUT), displaybind, bindable] void onbeforecut(VARIANT v);
  829.     [propget, id(DISPID_IHTMLELEMENT2_ONBEFORECUT), displaybind, bindable] VARIANT onbeforecut();
  830.     [propput, id(DISPID_IHTMLELEMENT2_ONCUT), displaybind, bindable] void oncut(VARIANT v);
  831.     [propget, id(DISPID_IHTMLELEMENT2_ONCUT), displaybind, bindable] VARIANT oncut();
  832.     [propput, id(DISPID_IHTMLELEMENT2_ONBEFORECOPY), displaybind, bindable] void onbeforecopy(VARIANT v);
  833.     [propget, id(DISPID_IHTMLELEMENT2_ONBEFORECOPY), displaybind, bindable] VARIANT onbeforecopy();
  834.     [propput, id(DISPID_IHTMLELEMENT2_ONCOPY), displaybind, bindable] void oncopy(VARIANT v);
  835.     [propget, id(DISPID_IHTMLELEMENT2_ONCOPY), displaybind, bindable] VARIANT oncopy();
  836.     [propput, id(DISPID_IHTMLELEMENT2_ONBEFOREPASTE), displaybind, bindable] void onbeforepaste(VARIANT v);
  837.     [propget, id(DISPID_IHTMLELEMENT2_ONBEFOREPASTE), displaybind, bindable] VARIANT onbeforepaste();
  838.     [propput, id(DISPID_IHTMLELEMENT2_ONPASTE), displaybind, bindable] void onpaste(VARIANT v);
  839.     [propget, id(DISPID_IHTMLELEMENT2_ONPASTE), displaybind, bindable] VARIANT onpaste();
  840.     [propget, id(DISPID_IHTMLELEMENT2_CURRENTSTYLE), nonbrowsable] IHTMLCurrentStyle* currentStyle();
  841.     [propput, id(DISPID_IHTMLELEMENT2_ONPROPERTYCHANGE), displaybind, bindable] void onpropertychange(VARIANT v);
  842.     [propget, id(DISPID_IHTMLELEMENT2_ONPROPERTYCHANGE), displaybind, bindable] VARIANT onpropertychange();
  843.     [id(DISPID_IHTMLELEMENT2_GETCLIENTRECTS)] IHTMLRectCollection* getClientRects();
  844.     [id(DISPID_IHTMLELEMENT2_GETBOUNDINGCLIENTRECT)] IHTMLRect* getBoundingClientRect();
  845.     [id(DISPID_IHTMLELEMENT2_SETEXPRESSION)] void setExpression([in] BSTR propname,[in] BSTR expression,[defaultvalue(""), in] BSTR language);
  846.     [id(DISPID_IHTMLELEMENT2_GETEXPRESSION)] VARIANT getExpression([in] BSTR propname);
  847.     [id(DISPID_IHTMLELEMENT2_REMOVEEXPRESSION)] VARIANT_BOOL removeExpression([in] BSTR propname);
  848.     [propput, id(DISPID_IHTMLELEMENT2_TABINDEX), displaybind, bindable] void tabIndex(short v);
  849.     [propget, id(DISPID_IHTMLELEMENT2_TABINDEX), displaybind, bindable] short tabIndex();
  850.     [id(DISPID_IHTMLELEMENT2_FOCUS)] void focus();
  851.     [propput, id(DISPID_IHTMLELEMENT2_ACCESSKEY), displaybind, bindable] void accessKey(BSTR v);
  852.     [propget, id(DISPID_IHTMLELEMENT2_ACCESSKEY), displaybind, bindable] BSTR accessKey();
  853.     [propput, id(DISPID_IHTMLELEMENT2_ONBLUR), displaybind, bindable] void onblur(VARIANT v);
  854.     [propget, id(DISPID_IHTMLELEMENT2_ONBLUR), displaybind, bindable] VARIANT onblur();
  855.     [propput, id(DISPID_IHTMLELEMENT2_ONFOCUS), displaybind, bindable] void onfocus(VARIANT v);
  856.     [propget, id(DISPID_IHTMLELEMENT2_ONFOCUS), displaybind, bindable] VARIANT onfocus();
  857.     [propput, id(DISPID_IHTMLELEMENT2_ONRESIZE), displaybind, bindable] void onresize(VARIANT v);
  858.     [propget, id(DISPID_IHTMLELEMENT2_ONRESIZE), displaybind, bindable] VARIANT onresize();
  859.     [id(DISPID_IHTMLELEMENT2_BLUR)] void blur();
  860.     [id(DISPID_IHTMLELEMENT2_ADDFILTER)] void addFilter([in] IUnknown* pUnk);
  861.     [id(DISPID_IHTMLELEMENT2_REMOVEFILTER)] void removeFilter([in] IUnknown* pUnk);
  862.     [propget, id(DISPID_IHTMLELEMENT2_CLIENTHEIGHT), displaybind, bindable] long clientHeight();
  863.     [propget, id(DISPID_IHTMLELEMENT2_CLIENTWIDTH), displaybind, bindable] long clientWidth();
  864.     [propget, id(DISPID_IHTMLELEMENT2_CLIENTTOP), displaybind, bindable] long clientTop();
  865.     [propget, id(DISPID_IHTMLELEMENT2_CLIENTLEFT), displaybind, bindable] long clientLeft();
  866.     [id(DISPID_IHTMLELEMENT2_ATTACHEVENT)] VARIANT_BOOL attachEvent([in] BSTR event,[in] IDispatch* pDisp);
  867.     [id(DISPID_IHTMLELEMENT2_DETACHEVENT)] void detachEvent([in] BSTR event,[in] IDispatch* pDisp);
  868.     [propget, id(DISPID_IHTMLELEMENT2_READYSTATE)] VARIANT readyState();
  869.     [propput, id(DISPID_IHTMLELEMENT2_ONREADYSTATECHANGE), displaybind, bindable] void onreadystatechange(VARIANT v);
  870.     [propget, id(DISPID_IHTMLELEMENT2_ONREADYSTATECHANGE), displaybind, bindable] VARIANT onreadystatechange();
  871.     [propput, id(DISPID_IHTMLELEMENT2_ONROWSDELETE), displaybind, bindable] void onrowsdelete(VARIANT v);
  872.     [propget, id(DISPID_IHTMLELEMENT2_ONROWSDELETE), displaybind, bindable] VARIANT onrowsdelete();
  873.     [propput, id(DISPID_IHTMLELEMENT2_ONROWSINSERTED), displaybind, bindable] void onrowsinserted(VARIANT v);
  874.     [propget, id(DISPID_IHTMLELEMENT2_ONROWSINSERTED), displaybind, bindable] VARIANT onrowsinserted();
  875.     [propput, id(DISPID_IHTMLELEMENT2_ONCELLCHANGE), displaybind, bindable] void oncellchange(VARIANT v);
  876.     [propget, id(DISPID_IHTMLELEMENT2_ONCELLCHANGE), displaybind, bindable] VARIANT oncellchange();
  877.     [propput, id(DISPID_IHTMLELEMENT2_DIR), displaybind, bindable] void dir(BSTR v);
  878.     [propget, id(DISPID_IHTMLELEMENT2_DIR), displaybind, bindable] BSTR dir();
  879.     [id(DISPID_IHTMLELEMENT2_CREATECONTROLRANGE)] IDispatch* createControlRange();
  880.     [propget, id(DISPID_IHTMLELEMENT2_SCROLLHEIGHT), displaybind, bindable] long scrollHeight();
  881.     [propget, id(DISPID_IHTMLELEMENT2_SCROLLWIDTH), displaybind, bindable] long scrollWidth();
  882.     [propput, id(DISPID_IHTMLELEMENT2_SCROLLTOP), displaybind, bindable] void scrollTop(long v);
  883.     [propget, id(DISPID_IHTMLELEMENT2_SCROLLTOP), displaybind, bindable] long scrollTop();
  884.     [propput, id(DISPID_IHTMLELEMENT2_SCROLLLEFT), displaybind, bindable] void scrollLeft(long v);
  885.     [propget, id(DISPID_IHTMLELEMENT2_SCROLLLEFT), displaybind, bindable] long scrollLeft();
  886.     [id(DISPID_IHTMLELEMENT2_CLEARATTRIBUTES)] void clearAttributes();
  887.     [propput, id(DISPID_IHTMLELEMENT2_ONCONTEXTMENU), displaybind, bindable] void oncontextmenu(VARIANT v);
  888.     [propget, id(DISPID_IHTMLELEMENT2_ONCONTEXTMENU), displaybind, bindable] VARIANT oncontextmenu();
  889.     [id(DISPID_IHTMLELEMENT2_INSERTADJACENTELEMENT)] IHTMLElement* insertAdjacentElement([in] BSTR where,[in] IHTMLElement* insertedElement);
  890.     [id(DISPID_IHTMLELEMENT2_APPLYELEMENT)] IHTMLElement* applyElement([in] IHTMLElement* apply,[in] BSTR where);
  891.     [id(DISPID_IHTMLELEMENT2_GETADJACENTTEXT)] BSTR getAdjacentText([in] BSTR where);
  892.     [id(DISPID_IHTMLELEMENT2_REPLACEADJACENTTEXT)] BSTR replaceAdjacentText([in] BSTR where,[in] BSTR newText);
  893.     [propget, id(DISPID_IHTMLELEMENT2_CANHAVECHILDREN)] VARIANT_BOOL canHaveChildren();
  894.     [id(DISPID_IHTMLELEMENT2_ADDBEHAVIOR)] long addBehavior([in] BSTR bstrUrl,[optional, in] VARIANT* pvarFactory);
  895.     [id(DISPID_IHTMLELEMENT2_REMOVEBEHAVIOR)] VARIANT_BOOL removeBehavior([in] long cookie);
  896.     [propget, id(DISPID_IHTMLELEMENT2_RUNTIMESTYLE), nonbrowsable] IHTMLStyle* runtimeStyle();
  897.     [propget, id(DISPID_IHTMLELEMENT2_BEHAVIORURNS)] IDispatch* behaviorUrns();
  898.     [propput, id(DISPID_IHTMLELEMENT2_TAGURN)] void tagUrn(BSTR v);
  899.     [propget, id(DISPID_IHTMLELEMENT2_TAGURN)] BSTR tagUrn();
  900.     [propput, id(DISPID_IHTMLELEMENT2_ONBEFOREEDITFOCUS), displaybind, bindable] void onbeforeeditfocus(VARIANT v);
  901.     [propget, id(DISPID_IHTMLELEMENT2_ONBEFOREEDITFOCUS), displaybind, bindable] VARIANT onbeforeeditfocus();
  902.     [propget, id(DISPID_IHTMLELEMENT2_READYSTATEVALUE), hidden, restricted] long readyStateValue();
  903.     [id(DISPID_IHTMLELEMENT2_GETELEMENTSBYTAGNAME)] IHTMLElementCollection* getElementsByTagName([in] BSTR v);
  904.     [id(DISPID_IHTMLELEMENT3_MERGEATTRIBUTES)] void mergeAttributes([in] IHTMLElement* mergeThis,[optional, in] VARIANT* pvarFlags);
  905.     [propget, id(DISPID_IHTMLELEMENT3_ISMULTILINE)] VARIANT_BOOL isMultiLine();
  906.     [propget, id(DISPID_IHTMLELEMENT3_CANHAVEHTML)] VARIANT_BOOL canHaveHTML();
  907.     [propput, id(DISPID_IHTMLELEMENT3_ONLAYOUTCOMPLETE), displaybind, bindable] void onlayoutcomplete(VARIANT v);
  908.     [propget, id(DISPID_IHTMLELEMENT3_ONLAYOUTCOMPLETE), displaybind, bindable] VARIANT onlayoutcomplete();
  909.     [propput, id(DISPID_IHTMLELEMENT3_ONPAGE), displaybind, bindable] void onpage(VARIANT v);
  910.     [propget, id(DISPID_IHTMLELEMENT3_ONPAGE), displaybind, bindable] VARIANT onpage();
  911.     [propput, id(DISPID_IHTMLELEMENT3_INFLATEBLOCK), hidden, restricted, nonbrowsable] void inflateBlock(VARIANT_BOOL v);
  912.     [propget, id(DISPID_IHTMLELEMENT3_INFLATEBLOCK), hidden, restricted, nonbrowsable] VARIANT_BOOL inflateBlock();
  913.     [propput, id(DISPID_IHTMLELEMENT3_ONBEFOREDEACTIVATE), displaybind, bindable] void onbeforedeactivate(VARIANT v);
  914.     [propget, id(DISPID_IHTMLELEMENT3_ONBEFOREDEACTIVATE), displaybind, bindable] VARIANT onbeforedeactivate();
  915.     [id(DISPID_IHTMLELEMENT3_SETACTIVE)] void setActive();
  916.     [propput, id(DISPID_IHTMLELEMENT3_CONTENTEDITABLE), displaybind, bindable] void contentEditable(BSTR v);
  917.     [propget, id(DISPID_IHTMLELEMENT3_CONTENTEDITABLE), displaybind, bindable] BSTR contentEditable();
  918.     [propget, id(DISPID_IHTMLELEMENT3_ISCONTENTEDITABLE)] VARIANT_BOOL isContentEditable();
  919.     [propput, id(DISPID_IHTMLELEMENT3_HIDEFOCUS), displaybind, bindable] void hideFocus(VARIANT_BOOL v);
  920.     [propget, id(DISPID_IHTMLELEMENT3_HIDEFOCUS), displaybind, bindable] VARIANT_BOOL hideFocus();
  921.     [propput, id(DISPID_IHTMLELEMENT3_DISABLED), displaybind, bindable] void disabled(VARIANT_BOOL v);
  922.     [propget, id(DISPID_IHTMLELEMENT3_DISABLED), displaybind, bindable] VARIANT_BOOL disabled();
  923.     [propget, id(DISPID_IHTMLELEMENT3_ISDISABLED)] VARIANT_BOOL isDisabled();
  924.     [propput, id(DISPID_IHTMLELEMENT3_ONMOVE), displaybind, bindable] void onmove(VARIANT v);
  925.     [propget, id(DISPID_IHTMLELEMENT3_ONMOVE), displaybind, bindable] VARIANT onmove();
  926.     [propput, id(DISPID_IHTMLELEMENT3_ONCONTROLSELECT), displaybind, bindable] void oncontrolselect(VARIANT v);
  927.     [propget, id(DISPID_IHTMLELEMENT3_ONCONTROLSELECT), displaybind, bindable] VARIANT oncontrolselect();
  928.     [id(DISPID_IHTMLELEMENT3_FIREEVENT)] VARIANT_BOOL fireEvent([in] BSTR bstrEventName,[optional, in] VARIANT* pvarEventObject);
  929.     [propput, id(DISPID_IHTMLELEMENT3_ONRESIZESTART), displaybind, bindable] void onresizestart(VARIANT v);
  930.     [propget, id(DISPID_IHTMLELEMENT3_ONRESIZESTART), displaybind, bindable] VARIANT onresizestart();
  931.     [propput, id(DISPID_IHTMLELEMENT3_ONRESIZEEND), displaybind, bindable] void onresizeend(VARIANT v);
  932.     [propget, id(DISPID_IHTMLELEMENT3_ONRESIZEEND), displaybind, bindable] VARIANT onresizeend();
  933.     [propput, id(DISPID_IHTMLELEMENT3_ONMOVESTART), displaybind, bindable] void onmovestart(VARIANT v);
  934.     [propget, id(DISPID_IHTMLELEMENT3_ONMOVESTART), displaybind, bindable] VARIANT onmovestart();
  935.     [propput, id(DISPID_IHTMLELEMENT3_ONMOVEEND), displaybind, bindable] void onmoveend(VARIANT v);
  936.     [propget, id(DISPID_IHTMLELEMENT3_ONMOVEEND), displaybind, bindable] VARIANT onmoveend();
  937.     [propput, id(DISPID_IHTMLELEMENT3_ONMOUSEENTER), displaybind, bindable] void onmouseenter(VARIANT v);
  938.     [propget, id(DISPID_IHTMLELEMENT3_ONMOUSEENTER), displaybind, bindable] VARIANT onmouseenter();
  939.     [propput, id(DISPID_IHTMLELEMENT3_ONMOUSELEAVE), displaybind, bindable] void onmouseleave(VARIANT v);
  940.     [propget, id(DISPID_IHTMLELEMENT3_ONMOUSELEAVE), displaybind, bindable] VARIANT onmouseleave();
  941.     [propput, id(DISPID_IHTMLELEMENT3_ONACTIVATE), displaybind, bindable] void onactivate(VARIANT v);
  942.     [propget, id(DISPID_IHTMLELEMENT3_ONACTIVATE), displaybind, bindable] VARIANT onactivate();
  943.     [propput, id(DISPID_IHTMLELEMENT3_ONDEACTIVATE), displaybind, bindable] void ondeactivate(VARIANT v);
  944.     [propget, id(DISPID_IHTMLELEMENT3_ONDEACTIVATE), displaybind, bindable] VARIANT ondeactivate();
  945.     [id(DISPID_IHTMLELEMENT3_DRAGDROP)] VARIANT_BOOL dragDrop();
  946.     [propget, id(DISPID_IHTMLELEMENT3_GLYPHMODE), hidden, restricted, nonbrowsable] LONG glyphMode();
  947.     [propput, id(DISPID_IHTMLELEMENT4_ONMOUSEWHEEL), displaybind, bindable] void onmousewheel(VARIANT v);
  948.     [propget, id(DISPID_IHTMLELEMENT4_ONMOUSEWHEEL), displaybind, bindable] VARIANT onmousewheel();
  949.     [id(DISPID_IHTMLELEMENT4_NORMALIZE)] void normalize();
  950.     [id(DISPID_IHTMLELEMENT4_GETATTRIBUTENODE)] IHTMLDOMAttribute* getAttributeNode([in] BSTR bstrname);
  951.     [id(DISPID_IHTMLELEMENT4_SETATTRIBUTENODE)] IHTMLDOMAttribute* setAttributeNode([in] IHTMLDOMAttribute* pattr);
  952.     [id(DISPID_IHTMLELEMENT4_REMOVEATTRIBUTENODE)] IHTMLDOMAttribute* removeAttributeNode([in] IHTMLDOMAttribute* pattr);
  953.     [propput, id(DISPID_IHTMLELEMENT4_ONBEFOREACTIVATE), displaybind, bindable] void onbeforeactivate(VARIANT v);
  954.     [propget, id(DISPID_IHTMLELEMENT4_ONBEFOREACTIVATE), displaybind, bindable] VARIANT onbeforeactivate();
  955.     [propput, id(DISPID_IHTMLELEMENT4_ONFOCUSIN), displaybind, bindable] void onfocusin(VARIANT v);
  956.     [propget, id(DISPID_IHTMLELEMENT4_ONFOCUSIN), displaybind, bindable] VARIANT onfocusin();
  957.     [propput, id(DISPID_IHTMLELEMENT4_ONFOCUSOUT), displaybind, bindable] void onfocusout(VARIANT v);
  958.     [propget, id(DISPID_IHTMLELEMENT4_ONFOCUSOUT), displaybind, bindable] VARIANT onfocusout();
  959.     [propget, id(DISPID_IHTMLUNIQUENAME_UNIQUENUMBER), hidden] long uniqueNumber();
  960.     [propget, id(DISPID_IHTMLUNIQUENAME_UNIQUEID), hidden] BSTR uniqueID();
  961.     [propget, id(DISPID_IHTMLDOMNODE_NODETYPE)] long nodeType();
  962.     [propget, id(DISPID_IHTMLDOMNODE_PARENTNODE)] IHTMLDOMNode* parentNode();
  963.     [id(DISPID_IHTMLDOMNODE_HASCHILDNODES)] VARIANT_BOOL hasChildNodes();
  964.     [propget, id(DISPID_IHTMLDOMNODE_CHILDNODES)] IDispatch* childNodes();
  965.     [propget, id(DISPID_IHTMLDOMNODE_ATTRIBUTES)] IDispatch* attributes();
  966.     [id(DISPID_IHTMLDOMNODE_INSERTBEFORE)] IHTMLDOMNode* insertBefore([in] IHTMLDOMNode* newChild,[optional, in] VARIANT refChild);
  967.     [id(DISPID_IHTMLDOMNODE_REMOVECHILD)] IHTMLDOMNode* removeChild([in] IHTMLDOMNode* oldChild);
  968.     [id(DISPID_IHTMLDOMNODE_REPLACECHILD)] IHTMLDOMNode* replaceChild([in] IHTMLDOMNode* newChild,[in] IHTMLDOMNode* oldChild);
  969.     [id(DISPID_IHTMLDOMNODE_CLONENODE)] IHTMLDOMNode* cloneNode([in] VARIANT_BOOL fDeep);
  970.     [id(DISPID_IHTMLDOMNODE_REMOVENODE)] IHTMLDOMNode* removeNode([defaultvalue(0), in] VARIANT_BOOL fDeep);
  971.     [id(DISPID_IHTMLDOMNODE_SWAPNODE)] IHTMLDOMNode* swapNode([in] IHTMLDOMNode* otherNode);
  972.     [id(DISPID_IHTMLDOMNODE_REPLACENODE)] IHTMLDOMNode* replaceNode([in] IHTMLDOMNode* replacement);
  973.     [id(DISPID_IHTMLDOMNODE_APPENDCHILD)] IHTMLDOMNode* appendChild([in] IHTMLDOMNode* newChild);
  974.     [propget, id(DISPID_IHTMLDOMNODE_NODENAME)] BSTR nodeName();
  975.     [propput, id(DISPID_IHTMLDOMNODE_NODEVALUE)] void nodeValue(VARIANT v);
  976.     [propget, id(DISPID_IHTMLDOMNODE_NODEVALUE)] VARIANT nodeValue();
  977.     [propget, id(DISPID_IHTMLDOMNODE_FIRSTCHILD)] IHTMLDOMNode* firstChild();
  978.     [propget, id(DISPID_IHTMLDOMNODE_LASTCHILD)] IHTMLDOMNode* lastChild();
  979.     [propget, id(DISPID_IHTMLDOMNODE_PREVIOUSSIBLING)] IHTMLDOMNode* previousSibling();
  980.     [propget, id(DISPID_IHTMLDOMNODE_NEXTSIBLING)] IHTMLDOMNode* nextSibling();
  981.     [propget, id(DISPID_IHTMLDOMNODE2_OWNERDOCUMENT)] IDispatch* ownerDocument();
  982.     [propput, id(DISPID_IHTMLEMBEDELEMENT_HIDDEN)] void hidden(BSTR v);
  983.     [propget, id(DISPID_IHTMLEMBEDELEMENT_HIDDEN)] BSTR hidden();
  984.     [propget, id(DISPID_IHTMLEMBEDELEMENT_PALETTE)] BSTR palette();
  985.     [propget, id(DISPID_IHTMLEMBEDELEMENT_PLUGINSPAGE)] BSTR pluginspage();
  986.     [propput, id(DISPID_IHTMLEMBEDELEMENT_SRC)] void src(BSTR v);
  987.     [propget, id(DISPID_IHTMLEMBEDELEMENT_SRC)] BSTR src();
  988.     [propput, id(DISPID_IHTMLEMBEDELEMENT_UNITS)] void units(BSTR v);
  989.     [propget, id(DISPID_IHTMLEMBEDELEMENT_UNITS)] BSTR units();
  990.     [propput, id(DISPID_IHTMLEMBEDELEMENT_NAME), displaybind, bindable] void name(BSTR v);
  991.     [propget, id(DISPID_IHTMLEMBEDELEMENT_NAME), displaybind, bindable] BSTR name();
  992.     [propput, id(DISPID_IHTMLEMBEDELEMENT_WIDTH)] void width(VARIANT v);
  993.     [propget, id(DISPID_IHTMLEMBEDELEMENT_WIDTH)] VARIANT width();
  994.     [propput, id(DISPID_IHTMLEMBEDELEMENT_HEIGHT)] void height(VARIANT v);
  995.     [propget, id(DISPID_IHTMLEMBEDELEMENT_HEIGHT)] VARIANT height();
  996. };
  997. [
  998.     uuid(3050f25d-98b5-11cf-bb82-00aa00bdce0b)
  999. ]
  1000. coclass HTMLEmbed
  1001. {
  1002.     [default]           dispinterface DispHTMLEmbed;
  1003.     [source, default]   dispinterface HTMLControlElementEvents;
  1004.     [source]            dispinterface HTMLControlElementEvents2;
  1005.                         interface IHTMLElement;
  1006.                         interface IHTMLElement2;
  1007.                         interface IHTMLElement3;
  1008.                         interface IHTMLElement4;
  1009.                         interface IHTMLUniqueName;
  1010.                         interface IHTMLDOMNode;
  1011.                         interface IHTMLDOMNode2;
  1012.                         interface IHTMLControlElement;
  1013.                         interface IHTMLEmbedElement;
  1014. };
  1015. cpp_quote("EXTERN_C const GUID CLSID_CPluginSite;")
  1016. [
  1017.     hidden,
  1018.     uuid(3050f61e-98b5-11cf-bb82-00aa00bdce0b)
  1019. ]
  1020. dispinterface HTMLMapEvents2
  1021. {
  1022. properties:
  1023. methods:
  1024.     [id(DISPID_HTMLELEMENTEVENTS2_ONHELP)] VARIANT_BOOL onhelp([in] IHTMLEventObj* pEvtObj);
  1025.     [id(DISPID_HTMLELEMENTEVENTS2_ONCLICK)] VARIANT_BOOL onclick([in] IHTMLEventObj* pEvtObj);
  1026.     [id(DISPID_HTMLELEMENTEVENTS2_ONDBLCLICK)] VARIANT_BOOL ondblclick([in] IHTMLEventObj* pEvtObj);
  1027.     [id(DISPID_HTMLELEMENTEVENTS2_ONKEYPRESS)] VARIANT_BOOL onkeypress([in] IHTMLEventObj* pEvtObj);
  1028.     [id(DISPID_HTMLELEMENTEVENTS2_ONKEYDOWN)] void onkeydown([in] IHTMLEventObj* pEvtObj);
  1029.     [id(DISPID_HTMLELEMENTEVENTS2_ONKEYUP)] void onkeyup([in] IHTMLEventObj* pEvtObj);
  1030.     [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEOUT)] void onmouseout([in] IHTMLEventObj* pEvtObj);
  1031.     [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEOVER)] void onmouseover([in] IHTMLEventObj* pEvtObj);
  1032.     [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEMOVE)] void onmousemove([in] IHTMLEventObj* pEvtObj);
  1033.     [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEDOWN)] void onmousedown([in] IHTMLEventObj* pEvtObj);
  1034.     [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEUP)] void onmouseup([in] IHTMLEventObj* pEvtObj);
  1035.     [id(DISPID_HTMLELEMENTEVENTS2_ONSELECTSTART)] VARIANT_BOOL onselectstart([in] IHTMLEventObj* pEvtObj);
  1036.     [id(DISPID_HTMLELEMENTEVENTS2_ONFILTERCHANGE)] void onfilterchange([in] IHTMLEventObj* pEvtObj);
  1037.     [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGSTART)] VARIANT_BOOL ondragstart([in] IHTMLEventObj* pEvtObj);
  1038.     [id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREUPDATE)] VARIANT_BOOL onbeforeupdate([in] IHTMLEventObj* pEvtObj);
  1039.     [id(DISPID_HTMLELEMENTEVENTS2_ONAFTERUPDATE)] void onafterupdate([in] IHTMLEventObj* pEvtObj);
  1040.     [id(DISPID_HTMLELEMENTEVENTS2_ONERRORUPDATE)] VARIANT_BOOL onerrorupdate([in] IHTMLEventObj* pEvtObj);
  1041.     [id(DISPID_HTMLELEMENTEVENTS2_ONROWEXIT)] VARIANT_BOOL onrowexit([in] IHTMLEventObj* pEvtObj);
  1042.     [id(DISPID_HTMLELEMENTEVENTS2_ONROWENTER)] void onrowenter([in] IHTMLEventObj* pEvtObj);
  1043.     [id(DISPID_HTMLELEMENTEVENTS2_ONDATASETCHANGED)] void ondatasetchanged([in] IHTMLEventObj* pEvtObj);
  1044.     [id(DISPID_HTMLELEMENTEVENTS2_ONDATAAVAILABLE)] void ondataavailable([in] IHTMLEventObj* pEvtObj);
  1045.     [id(DISPID_HTMLELEMENTEVENTS2_ONDATASETCOMPLETE)] void ondatasetcomplete([in] IHTMLEventObj* pEvtObj);
  1046.     [id(DISPID_HTMLELEMENTEVENTS2_ONLOSECAPTURE)] void onlosecapture([in] IHTMLEventObj* pEvtObj);
  1047.     [id(DISPID_HTMLELEMENTEVENTS2_ONPROPERTYCHANGE)] void onpropertychange([in] IHTMLEventObj* pEvtObj);
  1048.     [id(DISPID_HTMLELEMENTEVENTS2_ONSCROLL)] void onscroll([in] IHTMLEventObj* pEvtObj);
  1049.     [id(DISPID_HTMLELEMENTEVENTS2_ONFOCUS)] void onfocus([in] IHTMLEventObj* pEvtObj);
  1050.     [id(DISPID_HTMLELEMENTEVENTS2_ONBLUR)] void onblur([in] IHTMLEventObj* pEvtObj);
  1051.     [id(DISPID_HTMLELEMENTEVENTS2_ONRESIZE)] void onresize([in] IHTMLEventObj* pEvtObj);
  1052.     [id(DISPID_HTMLELEMENTEVENTS2_ONDRAG)] VARIANT_BOOL ondrag([in] IHTMLEventObj* pEvtObj);
  1053.     [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGEND)] void ondragend([in] IHTMLEventObj* pEvtObj);
  1054.     [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGENTER)] VARIANT_BOOL ondragenter([in] IHTMLEventObj* pEvtObj);
  1055.     [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGOVER)] VARIANT_BOOL ondragover([in] IHTMLEventObj* pEvtObj);
  1056.     [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGLEAVE)] void ondragleave([in] IHTMLEventObj* pEvtObj);
  1057.     [id(DISPID_HTMLELEMENTEVENTS2_ONDROP)] VARIANT_BOOL ondrop([in] IHTMLEventObj* pEvtObj);
  1058.     [id(DISPID_HTMLELEMENTEVENTS2_ONBEFORECUT)] VARIANT_BOOL onbeforecut([in] IHTMLEventObj* pEvtObj);
  1059.     [id(DISPID_HTMLELEMENTEVENTS2_ONCUT)] VARIANT_BOOL oncut([in] IHTMLEventObj* pEvtObj);
  1060.     [id(DISPID_HTMLELEMENTEVENTS2_ONBEFORECOPY)] VARIANT_BOOL onbeforecopy([in] IHTMLEventObj* pEvtObj);
  1061.     [id(DISPID_HTMLELEMENTEVENTS2_ONCOPY)] VARIANT_BOOL oncopy([in] IHTMLEventObj* pEvtObj);
  1062.     [id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREPASTE)] VARIANT_BOOL onbeforepaste([in] IHTMLEventObj* pEvtObj);
  1063.     [id(DISPID_HTMLELEMENTEVENTS2_ONPASTE)] VARIANT_BOOL onpaste([in] IHTMLEventObj* pEvtObj);
  1064.     [id(DISPID_HTMLELEMENTEVENTS2_ONCONTEXTMENU)] VARIANT_BOOL oncontextmenu([in] IHTMLEventObj* pEvtObj);
  1065.     [id(DISPID_HTMLELEMENTEVENTS2_ONROWSDELETE)] void onrowsdelete([in] IHTMLEventObj* pEvtObj);
  1066.     [id(DISPID_HTMLELEMENTEVENTS2_ONROWSINSERTED)] void onrowsinserted([in] IHTMLEventObj* pEvtObj);
  1067.     [id(DISPID_HTMLELEMENTEVENTS2_ONCELLCHANGE)] void oncellchange([in] IHTMLEventObj* pEvtObj);
  1068.     [id(DISPID_HTMLELEMENTEVENTS2_ONREADYSTATECHANGE)] void onreadystatechange([in] IHTMLEventObj* pEvtObj);
  1069.     [id(DISPID_HTMLELEMENTEVENTS2_ONLAYOUTCOMPLETE)] void onlayoutcomplete([in] IHTMLEventObj* pEvtObj);
  1070.     [id(DISPID_HTMLELEMENTEVENTS2_ONPAGE)] void onpage([in] IHTMLEventObj* pEvtObj);
  1071.     [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEENTER)] void onmouseenter([in] IHTMLEventObj* pEvtObj);
  1072.     [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSELEAVE)] void onmouseleave([in] IHTMLEventObj* pEvtObj);
  1073.     [id(DISPID_HTMLELEMENTEVENTS2_ONACTIVATE)] void onactivate([in] IHTMLEventObj* pEvtObj);
  1074.     [id(DISPID_HTMLELEMENTEVENTS2_ONDEACTIVATE)] void ondeactivate([in] IHTMLEventObj* pEvtObj);
  1075.     [id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREDEACTIVATE)] VARIANT_BOOL onbeforedeactivate([in] IHTMLEventObj* pEvtObj);
  1076.     [id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREACTIVATE)] VARIANT_BOOL onbeforeactivate([in] IHTMLEventObj* pEvtObj);
  1077.     [id(DISPID_HTMLELEMENTEVENTS2_ONFOCUSIN)] void onfocusin([in] IHTMLEventObj* pEvtObj);
  1078.     [id(DISPID_HTMLELEMENTEVENTS2_ONFOCUSOUT)] void onfocusout([in] IHTMLEventObj* pEvtObj);
  1079.     [id(DISPID_HTMLELEMENTEVENTS2_ONMOVE)] void onmove([in] IHTMLEventObj* pEvtObj);
  1080.     [id(DISPID_HTMLELEMENTEVENTS2_ONCONTROLSELECT)] VARIANT_BOOL oncontrolselect([in] IHTMLEventObj* pEvtObj);
  1081.     [id(DISPID_HTMLELEMENTEVENTS2_ONMOVESTART)] VARIANT_BOOL onmovestart([in] IHTMLEventObj* pEvtObj);
  1082.     [id(DISPID_HTMLELEMENTEVENTS2_ONMOVEEND)] void onmoveend([in] IHTMLEventObj* pEvtObj);
  1083.     [id(DISPID_HTMLELEMENTEVENTS2_ONRESIZESTART)] VARIANT_BOOL onresizestart([in] IHTMLEventObj* pEvtObj);
  1084.     [id(DISPID_HTMLELEMENTEVENTS2_ONRESIZEEND)] void onresizeend([in] IHTMLEventObj* pEvtObj);
  1085.     [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEWHEEL)] VARIANT_BOOL onmousewheel([in] IHTMLEventObj* pEvtObj);
  1086. };
  1087. [
  1088.     hidden,
  1089.     uuid(3050f3ba-98b5-11cf-bb82-00aa00bdce0b)
  1090. ]
  1091. dispinterface HTMLMapEvents
  1092. {
  1093. properties:
  1094. methods:
  1095.     [id(DISPID_HTMLELEMENTEVENTS_ONHELP)] VARIANT_BOOL onhelp();
  1096.     [id(DISPID_HTMLELEMENTEVENTS_ONCLICK)] VARIANT_BOOL onclick();
  1097.     [id(DISPID_HTMLELEMENTEVENTS_ONDBLCLICK)] VARIANT_BOOL ondblclick();
  1098.     [id(DISPID_HTMLELEMENTEVENTS_ONKEYPRESS)] VARIANT_BOOL onkeypress();
  1099.     [id(DISPID_HTMLELEMENTEVENTS_ONKEYDOWN)] void onkeydown();
  1100.     [id(DISPID_HTMLELEMENTEVENTS_ONKEYUP)] void onkeyup();
  1101.     [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEOUT)] void onmouseout();
  1102.     [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEOVER)] void onmouseover();
  1103.     [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEMOVE)] void onmousemove();
  1104.     [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEDOWN)] void onmousedown();
  1105.     [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEUP)] void onmouseup();
  1106.     [id(DISPID_HTMLELEMENTEVENTS_ONSELECTSTART)] VARIANT_BOOL onselectstart();
  1107.     [id(DISPID_HTMLELEMENTEVENTS_ONFILTERCHANGE)] void onfilterchange();
  1108.     [id(DISPID_HTMLELEMENTEVENTS_ONDRAGSTART)] VARIANT_BOOL ondragstart();
  1109.     [id(DISPID_HTMLELEMENTEVENTS_ONBEFOREUPDATE)] VARIANT_BOOL onbeforeupdate();
  1110.     [id(DISPID_HTMLELEMENTEVENTS_ONAFTERUPDATE)] void onafterupdate();
  1111.     [id(DISPID_HTMLELEMENTEVENTS_ONERRORUPDATE)] VARIANT_BOOL onerrorupdate();
  1112.     [id(DISPID_HTMLELEMENTEVENTS_ONROWEXIT)] VARIANT_BOOL onrowexit();
  1113.     [id(DISPID_HTMLELEMENTEVENTS_ONROWENTER)] void onrowenter();
  1114.     [id(DISPID_HTMLELEMENTEVENTS_ONDATASETCHANGED)] void ondatasetchanged();
  1115.     [id(DISPID_HTMLELEMENTEVENTS_ONDATAAVAILABLE)] void ondataavailable();
  1116.     [id(DISPID_HTMLELEMENTEVENTS_ONDATASETCOMPLETE)] void ondatasetcomplete();
  1117.     [id(DISPID_HTMLELEMENTEVENTS_ONLOSECAPTURE)] void onlosecapture();
  1118.     [id(DISPID_HTMLELEMENTEVENTS_ONPROPERTYCHANGE)] void onpropertychange();
  1119.     [id(DISPID_HTMLELEMENTEVENTS_ONSCROLL)] void onscroll();
  1120.     [id(DISPID_HTMLELEMENTEVENTS_ONFOCUS)] void onfocus();
  1121.     [id(DISPID_HTMLELEMENTEVENTS_ONBLUR)] void onblur();
  1122.     [id(DISPID_HTMLELEMENTEVENTS_ONRESIZE)] void onresize();
  1123.     [id(DISPID_HTMLELEMENTEVENTS_ONDRAG)] VARIANT_BOOL ondrag();
  1124.     [id(DISPID_HTMLELEMENTEVENTS_ONDRAGEND)] void ondragend();
  1125.     [id(DISPID_HTMLELEMENTEVENTS_ONDRAGENTER)] VARIANT_BOOL ondragenter();
  1126.     [id(DISPID_HTMLELEMENTEVENTS_ONDRAGOVER)] VARIANT_BOOL ondragover();
  1127.     [id(DISPID_HTMLELEMENTEVENTS_ONDRAGLEAVE)] void ondragleave();
  1128.     [id(DISPID_HTMLELEMENTEVENTS_ONDROP)] VARIANT_BOOL ondrop();
  1129.     [id(DISPID_HTMLELEMENTEVENTS_ONBEFORECUT)] VARIANT_BOOL onbeforecut();
  1130.     [id(DISPID_HTMLELEMENTEVENTS_ONCUT)] VARIANT_BOOL oncut();
  1131.     [id(DISPID_HTMLELEMENTEVENTS_ONBEFORECOPY)] VARIANT_BOOL onbeforecopy();
  1132.     [id(DISPID_HTMLELEMENTEVENTS_ONCOPY)] VARIANT_BOOL oncopy();
  1133.     [id(DISPID_HTMLELEMENTEVENTS_ONBEFOREPASTE)] VARIANT_BOOL onbeforepaste();
  1134.     [id(DISPID_HTMLELEMENTEVENTS_ONPASTE)] VARIANT_BOOL onpaste();
  1135.     [id(DISPID_HTMLELEMENTEVENTS_ONCONTEXTMENU)] VARIANT_BOOL oncontextmenu();
  1136.     [id(DISPID_HTMLELEMENTEVENTS_ONROWSDELETE)] void onrowsdelete();
  1137.     [id(DISPID_HTMLELEMENTEVENTS_ONROWSINSERTED)] void onrowsinserted();
  1138.     [id(DISPID_HTMLELEMENTEVENTS_ONCELLCHANGE)] void oncellchange();
  1139.     [id(DISPID_HTMLELEMENTEVENTS_ONREADYSTATECHANGE)] void onreadystatechange();
  1140.     [id(DISPID_HTMLELEMENTEVENTS_ONBEFOREEDITFOCUS)] void onbeforeeditfocus();
  1141.     [id(DISPID_HTMLELEMENTEVENTS_ONLAYOUTCOMPLETE)] void onlayoutcomplete();
  1142.     [id(DISPID_HTMLELEMENTEVENTS_ONPAGE)] void onpage();
  1143.     [id(DISPID_HTMLELEMENTEVENTS_ONBEFOREDEACTIVATE)] VARIANT_BOOL onbeforedeactivate();
  1144.     [id(DISPID_HTMLELEMENTEVENTS_ONBEFOREACTIVATE)] VARIANT_BOOL onbeforeactivate();
  1145.     [id(DISPID_HTMLELEMENTEVENTS_ONMOVE)] void onmove();
  1146.     [id(DISPID_HTMLELEMENTEVENTS_ONCONTROLSELECT)] VARIANT_BOOL oncontrolselect();
  1147.     [id(DISPID_HTMLELEMENTEVENTS_ONMOVESTART)] VARIANT_BOOL onmovestart();
  1148.     [id(DISPID_HTMLELEMENTEVENTS_ONMOVEEND)] void onmoveend();
  1149.     [id(DISPID_HTMLELEMENTEVENTS_ONRESIZESTART)] VARIANT_BOOL onresizestart();
  1150.     [id(DISPID_HTMLELEMENTEVENTS_ONRESIZEEND)] void onresizeend();
  1151.     [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEENTER)] void onmouseenter();
  1152.     [id(DISPID_HTMLELEMENTEVENTS_ONMOUSELEAVE)] void onmouseleave();
  1153.     [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEWHEEL)] VARIANT_BOOL onmousewheel();
  1154.     [id(DISPID_HTMLELEMENTEVENTS_ONACTIVATE)] void onactivate();
  1155.     [id(DISPID_HTMLELEMENTEVENTS_ONDEACTIVATE)] void ondeactivate();
  1156.     [id(DISPID_HTMLELEMENTEVENTS_ONFOCUSIN)] void onfocusin();
  1157.     [id(DISPID_HTMLELEMENTEVENTS_ONFOCUSOUT)] void onfocusout();
  1158. };
  1159. [
  1160.     odl,
  1161.     oleautomation,
  1162.     dual,
  1163.     uuid(3050f383-98b5-11cf-bb82-00aa00bdce0b)
  1164. ]
  1165. interface IHTMLAreasCollection : IDispatch
  1166. {
  1167.     [propput, id(DISPID_IHTMLAREASCOLLECTION_LENGTH)] HRESULT length([in] long v);
  1168.     [propget, id(DISPID_IHTMLAREASCOLLECTION_LENGTH)] HRESULT length([retval, out] long * p);
  1169.     [propget, id(DISPID_IHTMLAREASCOLLECTION__NEWENUM), hidden, restricted] HRESULT _newEnum([retval, out] IUnknown* * p);
  1170.     [id(DISPID_IHTMLAREASCOLLECTION_ITEM)] HRESULT item([optional, in] VARIANT name,[optional, in] VARIANT index,[retval, out] IDispatch** pdisp);
  1171.     [id(DISPID_IHTMLAREASCOLLECTION_TAGS)] HRESULT tags([in] VARIANT tagName,[retval, out] IDispatch** pdisp);
  1172.     [id(DISPID_IHTMLAREASCOLLECTION_ADD)] HRESULT add([in] IHTMLElement* element,[optional, in] VARIANT before);
  1173.     [id(DISPID_IHTMLAREASCOLLECTION_REMOVE)] HRESULT remove([defaultvalue(-1), in] long index);
  1174. };
  1175. [
  1176.     odl,
  1177.     oleautomation,
  1178.     dual,
  1179.     uuid(3050f5ec-98b5-11cf-bb82-00aa00bdce0b)
  1180. ]
  1181. interface IHTMLAreasCollection2 : IDispatch
  1182. {
  1183.     [id(DISPID_IHTMLAREASCOLLECTION2_URNS)] HRESULT urns([in] VARIANT urn,[retval, out] IDispatch** pdisp);
  1184. };
  1185. [
  1186.     odl,
  1187.     oleautomation,
  1188.     dual,
  1189.     uuid(3050f837-98b5-11cf-bb82-00aa00bdce0b)
  1190. ]
  1191. interface IHTMLAreasCollection3 : IDispatch
  1192. {
  1193.     [id(DISPID_IHTMLAREASCOLLECTION3_NAMEDITEM)] HRESULT namedItem([in] BSTR name,[retval, out] IDispatch** pdisp);
  1194. };
  1195. [
  1196.     odl,
  1197.     oleautomation,
  1198.     dual,
  1199.     uuid(3050f266-98b5-11cf-bb82-00aa00bdce0b)
  1200. ]
  1201. interface IHTMLMapElement : IDispatch
  1202. {
  1203.     [propget, id(DISPID_IHTMLMAPELEMENT_AREAS)] HRESULT areas([retval, out] IHTMLAreasCollection* * p);
  1204.     [propput, id(DISPID_IHTMLMAPELEMENT_NAME)] HRESULT name([in] BSTR v);
  1205.     [propget, id(DISPID_IHTMLMAPELEMENT_NAME)] HRESULT name([retval, out] BSTR * p);
  1206. };
  1207. [
  1208.     hidden,
  1209.     uuid(3050f56a-98b5-11cf-bb82-00aa00bdce0b)
  1210. ]
  1211. dispinterface DispHTMLAreasCollection
  1212. {
  1213. properties:
  1214. methods:
  1215.     [propput, id(DISPID_IHTMLAREASCOLLECTION_LENGTH)] void length(long v);
  1216.     [propget, id(DISPID_IHTMLAREASCOLLECTION_LENGTH)] long length();
  1217.     [propget, id(DISPID_IHTMLAREASCOLLECTION__NEWENUM), hidden, restricted] IUnknown* _newEnum();
  1218.     [id(DISPID_IHTMLAREASCOLLECTION_ITEM)] IDispatch* item([optional, in] VARIANT name,[optional, in] VARIANT index);
  1219.     [id(DISPID_IHTMLAREASCOLLECTION_TAGS)] IDispatch* tags([in] VARIANT tagName);
  1220.     [id(DISPID_IHTMLAREASCOLLECTION_ADD)] void add([in] IHTMLElement* element,[optional, in] VARIANT before);
  1221.     [id(DISPID_IHTMLAREASCOLLECTION_REMOVE)] void remove([defaultvalue(-1), in] long index);
  1222.     [id(DISPID_IHTMLAREASCOLLECTION2_URNS)] IDispatch* urns([in] VARIANT urn);
  1223.     [id(DISPID_IHTMLAREASCOLLECTION3_NAMEDITEM)] IDispatch* namedItem([in] BSTR name);
  1224. };
  1225. [
  1226.     uuid(3050f4ca-98b5-11cf-bb82-00aa00bdce0b)
  1227. ]
  1228. coclass HTMLAreasCollection
  1229. {
  1230.     [default]           dispinterface DispHTMLAreasCollection;
  1231.                         interface IHTMLAreasCollection;
  1232.                         interface IHTMLAreasCollection2;
  1233.                         interface IHTMLAreasCollection3;
  1234. };
  1235. cpp_quote("EXTERN_C const GUID CLSID_CAreasCollection;")
  1236. [
  1237.     hidden,
  1238.     uuid(3050f526-98b5-11cf-bb82-00aa00bdce0b)
  1239. ]
  1240. dispinterface DispHTMLMapElement
  1241. {
  1242. properties:
  1243. methods:
  1244.     [id(DISPID_IHTMLELEMENT_SETATTRIBUTE)] void setAttribute([in] BSTR strAttributeName,[in] VARIANT AttributeValue,[defaultvalue(1), in] LONG lFlags);
  1245.     [id(DISPID_IHTMLELEMENT_GETATTRIBUTE)] VARIANT getAttribute([in] BSTR strAttributeName,[defaultvalue(0), in] LONG lFlags);
  1246.     [id(DISPID_IHTMLELEMENT_REMOVEATTRIBUTE)] VARIANT_BOOL removeAttribute([in] BSTR strAttributeName,[defaultvalue(1), in] LONG lFlags);
  1247.     [propput, id(DISPID_IHTMLELEMENT_CLASSNAME), bindable] void className(BSTR v);
  1248.     [propget, id(DISPID_IHTMLELEMENT_CLASSNAME), bindable] BSTR className();
  1249.     [propput, id(DISPID_IHTMLELEMENT_ID), bindable] void id(BSTR v);
  1250.     [propget, id(DISPID_IHTMLELEMENT_ID), bindable] BSTR id();
  1251.     [propget, id(DISPID_IHTMLELEMENT_TAGNAME)] BSTR tagName();
  1252.     [propget, id(DISPID_IHTMLELEMENT_PARENTELEMENT)] IHTMLElement* parentElement();
  1253.     [propget, id(DISPID_IHTMLELEMENT_STYLE), nonbrowsable] IHTMLStyle* style();
  1254.     [propput, id(DISPID_IHTMLELEMENT_ONHELP), displaybind, bindable] void onhelp(VARIANT v);
  1255.     [propget, id(DISPID_IHTMLELEMENT_ONHELP), displaybind, bindable] VARIANT onhelp();
  1256.     [propput, id(DISPID_IHTMLELEMENT_ONCLICK), displaybind, bindable] void onclick(VARIANT v);
  1257.     [propget, id(DISPID_IHTMLELEMENT_ONCLICK), displaybind, bindable] VARIANT onclick();
  1258.     [propput, id(DISPID_IHTMLELEMENT_ONDBLCLICK), displaybind, bindable] void ondblclick(VARIANT v);
  1259.     [propget, id(DISPID_IHTMLELEMENT_ONDBLCLICK), displaybind, bindable] VARIANT ondblclick();
  1260.     [propput, id(DISPID_IHTMLELEMENT_ONKEYDOWN), displaybind, bindable] void onkeydown(VARIANT v);
  1261.     [propget, id(DISPID_IHTMLELEMENT_ONKEYDOWN), displaybind, bindable] VARIANT onkeydown();
  1262.     [propput, id(DISPID_IHTMLELEMENT_ONKEYUP), displaybind, bindable] void onkeyup(VARIANT v);
  1263.     [propget, id(DISPID_IHTMLELEMENT_ONKEYUP), displaybind, bindable] VARIANT onkeyup();
  1264.     [propput, id(DISPID_IHTMLELEMENT_ONKEYPRESS), displaybind, bindable] void onkeypress(VARIANT v);
  1265.     [propget, id(DISPID_IHTMLELEMENT_ONKEYPRESS), displaybind, bindable] VARIANT onkeypress();
  1266.     [propput, id(DISPID_IHTMLELEMENT_ONMOUSEOUT), displaybind, bindable] void onmouseout(VARIANT v);
  1267.     [propget, id(DISPID_IHTMLELEMENT_ONMOUSEOUT), displaybind, bindable] VARIANT onmouseout();
  1268.     [propput, id(DISPID_IHTMLELEMENT_ONMOUSEOVER), displaybind, bindable] void onmouseover(VARIANT v);
  1269.     [propget, id(DISPID_IHTMLELEMENT_ONMOUSEOVER), displaybind, bindable] VARIANT onmouseover();
  1270.     [propput, id(DISPID_IHTMLELEMENT_ONMOUSEMOVE), displaybind, bindable] void onmousemove(VARIANT v);
  1271.     [propget, id(DISPID_IHTMLELEMENT_ONMOUSEMOVE), displaybind, bindable] VARIANT onmousemove();
  1272.     [propput, id(DISPID_IHTMLELEMENT_ONMOUSEDOWN), displaybind, bindable] void onmousedown(VARIANT v);
  1273.     [propget, id(DISPID_IHTMLELEMENT_ONMOUSEDOWN), displaybind, bindable] VARIANT onmousedown();
  1274.     [propput, id(DISPID_IHTMLELEMENT_ONMOUSEUP), displaybind, bindable] void onmouseup(VARIANT v);
  1275.     [propget, id(DISPID_IHTMLELEMENT_ONMOUSEUP), displaybind, bindable] VARIANT onmouseup();
  1276.     [propget, id(DISPID_IHTMLELEMENT_DOCUMENT)] IDispatch* document();
  1277.     [propput, id(DISPID_IHTMLELEMENT_TITLE), displaybind, bindable] void title(BSTR v);
  1278.     [propget, id(DISPID_IHTMLELEMENT_TITLE), displaybind, bindable] BSTR title();
  1279.     [propput, id(DISPID_IHTMLELEMENT_LANGUAGE), displaybind, bindable] void language(BSTR v);
  1280.     [propget, id(DISPID_IHTMLELEMENT_LANGUAGE), displaybind, bindable] BSTR language();
  1281.     [propput, id(DISPID_IHTMLELEMENT_ONSELECTSTART), displaybind, bindable] void onselectstart(VARIANT v);
  1282.     [propget, id(DISPID_IHTMLELEMENT_ONSELECTSTART), displaybind, bindable] VARIANT onselectstart();
  1283.     [id(DISPID_IHTMLELEMENT_SCROLLINTOVIEW)] void scrollIntoView([optional, in] VARIANT varargStart);
  1284.     [id(DISPID_IHTMLELEMENT_CONTAINS)] VARIANT_BOOL contains([in] IHTMLElement* pChild);
  1285.     [propget, id(DISPID_IHTMLELEMENT_SOURCEINDEX), bindable] long sourceIndex();
  1286.     [propget, id(DISPID_IHTMLELEMENT_RECORDNUMBER)] VARIANT recordNumber();
  1287.     [propput, id(DISPID_IHTMLELEMENT_LANG)] void lang(BSTR v);
  1288.     [propget, id(DISPID_IHTMLELEMENT_LANG)] BSTR lang();
  1289.     [propget, id(DISPID_IHTMLELEMENT_OFFSETLEFT)] long offsetLeft();
  1290.     [propget, id(DISPID_IHTMLELEMENT_OFFSETTOP)] long offsetTop();
  1291.     [propget, id(DISPID_IHTMLELEMENT_OFFSETWIDTH)] long offsetWidth();
  1292.     [propget, id(DISPID_IHTMLELEMENT_OFFSETHEIGHT)] long offsetHeight();
  1293.     [propget, id(DISPID_IHTMLELEMENT_OFFSETPARENT)] IHTMLElement* offsetParent();
  1294.     [propput, id(DISPID_IHTMLELEMENT_INNERHTML)] void innerHTML(BSTR v);
  1295.     [propget, id(DISPID_IHTMLELEMENT_INNERHTML)] BSTR innerHTML();
  1296.     [propput, id(DISPID_IHTMLELEMENT_INNERTEXT)] void innerText(BSTR v);
  1297.     [propget, id(DISPID_IHTMLELEMENT_INNERTEXT)] BSTR innerText();
  1298.     [propput, id(DISPID_IHTMLELEMENT_OUTERHTML)] void outerHTML(BSTR v);
  1299.     [propget, id(DISPID_IHTMLELEMENT_OUTERHTML)] BSTR outerHTML();
  1300.     [propput, id(DISPID_IHTMLELEMENT_OUTERTEXT)] void outerText(BSTR v);
  1301.     [propget, id(DISPID_IHTMLELEMENT_OUTERTEXT)] BSTR outerText();
  1302.     [id(DISPID_IHTMLELEMENT_INSERTADJACENTHTML)] void insertAdjacentHTML([in] BSTR where,[in] BSTR html);
  1303.     [id(DISPID_IHTMLELEMENT_INSERTADJACENTTEXT)] void insertAdjacentText([in] BSTR where,[in] BSTR text);
  1304.     [propget, id(DISPID_IHTMLELEMENT_PARENTTEXTEDIT)] IHTMLElement* parentTextEdit();
  1305.     [propget, id(DISPID_IHTMLELEMENT_ISTEXTEDIT)] VARIANT_BOOL isTextEdit();
  1306.     [id(DISPID_IHTMLELEMENT_CLICK)] void click();
  1307.     [propget, id(DISPID_IHTMLELEMENT_FILTERS)] IHTMLFiltersCollection* filters();
  1308.     [propput, id(DISPID_IHTMLELEMENT_ONDRAGSTART), displaybind, bindable] void ondragstart(VARIANT v);
  1309.     [propget, id(DISPID_IHTMLELEMENT_ONDRAGSTART), displaybind, bindable] VARIANT ondragstart();
  1310.     [id(DISPID_IHTMLELEMENT_TOSTRING)] BSTR toString();
  1311.     [propput, id(DISPID_IHTMLELEMENT_ONBEFOREUPDATE), displaybind, bindable] void onbeforeupdate(VARIANT v);
  1312.     [propget, id(DISPID_IHTMLELEMENT_ONBEFOREUPDATE), displaybind, bindable] VARIANT onbeforeupdate();
  1313.     [propput, id(DISPID_IHTMLELEMENT_ONAFTERUPDATE), displaybind, bindable] void onafterupdate(VARIANT v);
  1314.     [propget, id(DISPID_IHTMLELEMENT_ONAFTERUPDATE), displaybind, bindable] VARIANT onafterupdate();
  1315.     [propput, id(DISPID_IHTMLELEMENT_ONERRORUPDATE), displaybind, bindable] void onerrorupdate(VARIANT v);
  1316.     [propget, id(DISPID_IHTMLELEMENT_ONERRORUPDATE), displaybind, bindable] VARIANT onerrorupdate();
  1317.     [propput, id(DISPID_IHTMLELEMENT_ONROWEXIT), displaybind, bindable] void onrowexit(VARIANT v);
  1318.     [propget, id(DISPID_IHTMLELEMENT_ONROWEXIT), displaybind, bindable] VARIANT onrowexit();
  1319.     [propput, id(DISPID_IHTMLELEMENT_ONROWENTER), displaybind, bindable] void onrowenter(VARIANT v);
  1320.     [propget, id(DISPID_IHTMLELEMENT_ONROWENTER), displaybind, bindable] VARIANT onrowenter();
  1321.     [propput, id(DISPID_IHTMLELEMENT_ONDATASETCHANGED), displaybind, bindable] void ondatasetchanged(VARIANT v);
  1322.     [propget, id(DISPID_IHTMLELEMENT_ONDATASETCHANGED), displaybind, bindable] VARIANT ondatasetchanged();
  1323.     [propput, id(DISPID_IHTMLELEMENT_ONDATAAVAILABLE), displaybind, bindable] void ondataavailable(VARIANT v);
  1324.     [propget, id(DISPID_IHTMLELEMENT_ONDATAAVAILABLE), displaybind, bindable] VARIANT ondataavailable();
  1325.     [propput, id(DISPID_IHTMLELEMENT_ONDATASETCOMPLETE), displaybind, bindable] void ondatasetcomplete(VARIANT v);
  1326.     [propget, id(DISPID_IHTMLELEMENT_ONDATASETCOMPLETE), displaybind, bindable] VARIANT ondatasetcomplete();
  1327.     [propput, id(DISPID_IHTMLELEMENT_ONFILTERCHANGE), displaybind, bindable] void onfilterchange(VARIANT v);
  1328.     [propget, id(DISPID_IHTMLELEMENT_ONFILTERCHANGE), displaybind, bindable] VARIANT onfilterchange();
  1329.     [propget, id(DISPID_IHTMLELEMENT_CHILDREN)] IDispatch* children();
  1330.     [propget, id(DISPID_IHTMLELEMENT_ALL)] IDispatch* all();
  1331.     [propget, id(DISPID_IHTMLELEMENT2_SCOPENAME)] BSTR scopeName();
  1332.     [id(DISPID_IHTMLELEMENT2_SETCAPTURE)] void setCapture([defaultvalue(-1), in] VARIANT_BOOL containerCapture);
  1333.     [id(DISPID_IHTMLELEMENT2_RELEASECAPTURE)] void releaseCapture();
  1334.     [propput, id(DISPID_IHTMLELEMENT2_ONLOSECAPTURE), displaybind, bindable] void onlosecapture(VARIANT v);
  1335.     [propget, id(DISPID_IHTMLELEMENT2_ONLOSECAPTURE), displaybind, bindable] VARIANT onlosecapture();
  1336.     [id(DISPID_IHTMLELEMENT2_COMPONENTFROMPOINT)] BSTR componentFromPoint([in] long x,[in] long y);
  1337.     [id(DISPID_IHTMLELEMENT2_DOSCROLL)] void doScroll([optional, in] VARIANT component);
  1338.     [propput, id(DISPID_IHTMLELEMENT2_ONSCROLL), displaybind, bindable] void onscroll(VARIANT v);
  1339.     [propget, id(DISPID_IHTMLELEMENT2_ONSCROLL), displaybind, bindable] VARIANT onscroll();
  1340.     [propput, id(DISPID_IHTMLELEMENT2_ONDRAG), displaybind, bindable] void ondrag(VARIANT v);
  1341.     [propget, id(DISPID_IHTMLELEMENT2_ONDRAG), displaybind, bindable] VARIANT ondrag();
  1342.     [propput, id(DISPID_IHTMLELEMENT2_ONDRAGEND), displaybind, bindable] void ondragend(VARIANT v);
  1343.     [propget, id(DISPID_IHTMLELEMENT2_ONDRAGEND), displaybind, bindable] VARIANT ondragend();
  1344.     [propput, id(DISPID_IHTMLELEMENT2_ONDRAGENTER), displaybind, bindable] void ondragenter(VARIANT v);
  1345.     [propget, id(DISPID_IHTMLELEMENT2_ONDRAGENTER), displaybind, bindable] VARIANT ondragenter();
  1346.     [propput, id(DISPID_IHTMLELEMENT2_ONDRAGOVER), displaybind, bindable] void ondragover(VARIANT v);
  1347.     [propget, id(DISPID_IHTMLELEMENT2_ONDRAGOVER), displaybind, bindable] VARIANT ondragover();
  1348.     [propput, id(DISPID_IHTMLELEMENT2_ONDRAGLEAVE), displaybind, bindable] void ondragleave(VARIANT v);
  1349.     [propget, id(DISPID_IHTMLELEMENT2_ONDRAGLEAVE), displaybind, bindable] VARIANT ondragleave();
  1350.     [propput, id(DISPID_IHTMLELEMENT2_ONDROP), displaybind, bindable] void ondrop(VARIANT v);
  1351.     [propget, id(DISPID_IHTMLELEMENT2_ONDROP), displaybind, bindable] VARIANT ondrop();
  1352.     [propput, id(DISPID_IHTMLELEMENT2_ONBEFORECUT), displaybind, bindable] void onbeforecut(VARIANT v);
  1353.     [propget, id(DISPID_IHTMLELEMENT2_ONBEFORECUT), displaybind, bindable] VARIANT onbeforecut();
  1354.     [propput, id(DISPID_IHTMLELEMENT2_ONCUT), displaybind, bindable] void oncut(VARIANT v);
  1355.     [propget, id(DISPID_IHTMLELEMENT2_ONCUT), displaybind, bindable] VARIANT oncut();
  1356.     [propput, id(DISPID_IHTMLELEMENT2_ONBEFORECOPY), displaybind, bindable] void onbeforecopy(VARIANT v);
  1357.     [propget, id(DISPID_IHTMLELEMENT2_ONBEFORECOPY), displaybind, bindable] VARIANT onbeforecopy();
  1358.     [propput, id(DISPID_IHTMLELEMENT2_ONCOPY), displaybind, bindable] void oncopy(VARIANT v);
  1359.     [propget, id(DISPID_IHTMLELEMENT2_ONCOPY), displaybind, bindable] VARIANT oncopy();
  1360.     [propput, id(DISPID_IHTMLELEMENT2_ONBEFOREPASTE), displaybind, bindable] void onbeforepaste(VARIANT v);
  1361.     [propget, id(DISPID_IHTMLELEMENT2_ONBEFOREPASTE), displaybind, bindable] VARIANT onbeforepaste();
  1362.     [propput, id(DISPID_IHTMLELEMENT2_ONPASTE), displaybind, bindable] void onpaste(VARIANT v);
  1363.     [propget, id(DISPID_IHTMLELEMENT2_ONPASTE), displaybind, bindable] VARIANT onpaste();
  1364.     [propget, id(DISPID_IHTMLELEMENT2_CURRENTSTYLE), nonbrowsable] IHTMLCurrentStyle* currentStyle();
  1365.     [propput, id(DISPID_IHTMLELEMENT2_ONPROPERTYCHANGE), displaybind, bindable] void onpropertychange(VARIANT v);
  1366.     [propget, id(DISPID_IHTMLELEMENT2_ONPROPERTYCHANGE), displaybind, bindable] VARIANT onpropertychange();
  1367.     [id(DISPID_IHTMLELEMENT2_GETCLIENTRECTS)] IHTMLRectCollection* getClientRects();
  1368.     [id(DISPID_IHTMLELEMENT2_GETBOUNDINGCLIENTRECT)] IHTMLRect* getBoundingClientRect();
  1369.     [id(DISPID_IHTMLELEMENT2_SETEXPRESSION)] void setExpression([in] BSTR propname,[in] BSTR expression,[defaultvalue(""), in] BSTR language);
  1370.     [id(DISPID_IHTMLELEMENT2_GETEXPRESSION)] VARIANT getExpression([in] BSTR propname);
  1371.     [id(DISPID_IHTMLELEMENT2_REMOVEEXPRESSION)] VARIANT_BOOL removeExpression([in] BSTR propname);
  1372.     [propput, id(DISPID_IHTMLELEMENT2_TABINDEX), displaybind, bindable] void tabIndex(short v);
  1373.     [propget, id(DISPID_IHTMLELEMENT2_TABINDEX), displaybind, bindable] short tabIndex();
  1374.     [id(DISPID_IHTMLELEMENT2_FOCUS)] void focus();
  1375.     [propput, id(DISPID_IHTMLELEMENT2_ACCESSKEY), displaybind, bindable] void accessKey(BSTR v);
  1376.     [propget, id(DISPID_IHTMLELEMENT2_ACCESSKEY), displaybind, bindable] BSTR accessKey();
  1377.     [propput, id(DISPID_IHTMLELEMENT2_ONBLUR), displaybind, bindable] void onblur(VARIANT v);
  1378.     [propget, id(DISPID_IHTMLELEMENT2_ONBLUR), displaybind, bindable] VARIANT onblur();
  1379.     [propput, id(DISPID_IHTMLELEMENT2_ONFOCUS), displaybind, bindable] void onfocus(VARIANT v);
  1380.     [propget, id(DISPID_IHTMLELEMENT2_ONFOCUS), displaybind, bindable] VARIANT onfocus();
  1381.     [propput, id(DISPID_IHTMLELEMENT2_ONRESIZE), displaybind, bindable] void onresize(VARIANT v);
  1382.     [propget, id(DISPID_IHTMLELEMENT2_ONRESIZE), displaybind, bindable] VARIANT onresize();
  1383.     [id(DISPID_IHTMLELEMENT2_BLUR)] void blur();
  1384.     [id(DISPID_IHTMLELEMENT2_ADDFILTER)] void addFilter([in] IUnknown* pUnk);
  1385.     [id(DISPID_IHTMLELEMENT2_REMOVEFILTER)] void removeFilter([in] IUnknown* pUnk);
  1386.     [propget, id(DISPID_IHTMLELEMENT2_CLIENTHEIGHT), displaybind, bindable] long clientHeight();
  1387.     [propget, id(DISPID_IHTMLELEMENT2_CLIENTWIDTH), displaybind, bindable] long clientWidth();
  1388.     [propget, id(DISPID_IHTMLELEMENT2_CLIENTTOP), displaybind, bindable] long clientTop();
  1389.     [propget, id(DISPID_IHTMLELEMENT2_CLIENTLEFT), displaybind, bindable] long clientLeft();
  1390.     [id(DISPID_IHTMLELEMENT2_ATTACHEVENT)] VARIANT_BOOL attachEvent([in] BSTR event,[in] IDispatch* pDisp);
  1391.     [id(DISPID_IHTMLELEMENT2_DETACHEVENT)] void detachEvent([in] BSTR event,[in] IDispatch* pDisp);
  1392.     [propget, id(DISPID_IHTMLELEMENT2_READYSTATE)] VARIANT readyState();
  1393.     [propput, id(DISPID_IHTMLELEMENT2_ONREADYSTATECHANGE), displaybind, bindable] void onreadystatechange(VARIANT v);
  1394.     [propget, id(DISPID_IHTMLELEMENT2_ONREADYSTATECHANGE), displaybind, bindable] VARIANT onreadystatechange();
  1395.     [propput, id(DISPID_IHTMLELEMENT2_ONROWSDELETE), displaybind, bindable] void onrowsdelete(VARIANT v);
  1396.     [propget, id(DISPID_IHTMLELEMENT2_ONROWSDELETE), displaybind, bindable] VARIANT onrowsdelete();
  1397.     [propput, id(DISPID_IHTMLELEMENT2_ONROWSINSERTED), displaybind, bindable] void onrowsinserted(VARIANT v);
  1398.     [propget, id(DISPID_IHTMLELEMENT2_ONROWSINSERTED), displaybind, bindable] VARIANT onrowsinserted();
  1399.     [propput, id(DISPID_IHTMLELEMENT2_ONCELLCHANGE), displaybind, bindable] void oncellchange(VARIANT v);
  1400.     [propget, id(DISPID_IHTMLELEMENT2_ONCELLCHANGE), displaybind, bindable] VARIANT oncellchange();
  1401.     [propput, id(DISPID_IHTMLELEMENT2_DIR), displaybind, bindable] void dir(BSTR v);
  1402.     [propget, id(DISPID_IHTMLELEMENT2_DIR), displaybind, bindable] BSTR dir();
  1403.     [id(DISPID_IHTMLELEMENT2_CREATECONTROLRANGE)] IDispatch* createControlRange();
  1404.     [propget, id(DISPID_IHTMLELEMENT2_SCROLLHEIGHT), displaybind, bindable] long scrollHeight();
  1405.     [propget, id(DISPID_IHTMLELEMENT2_SCROLLWIDTH), displaybind, bindable] long scrollWidth();
  1406.     [propput, id(DISPID_IHTMLELEMENT2_SCROLLTOP), displaybind, bindable] void scrollTop(long v);
  1407.     [propget, id(DISPID_IHTMLELEMENT2_SCROLLTOP), displaybind, bindable] long scrollTop();
  1408.     [propput, id(DISPID_IHTMLELEMENT2_SCROLLLEFT), displaybind, bindable] void scrollLeft(long v);
  1409.     [propget, id(DISPID_IHTMLELEMENT2_SCROLLLEFT), displaybind, bindable] long scrollLeft();
  1410.     [id(DISPID_IHTMLELEMENT2_CLEARATTRIBUTES)] void clearAttributes();
  1411.     [propput, id(DISPID_IHTMLELEMENT2_ONCONTEXTMENU), displaybind, bindable] void oncontextmenu(VARIANT v);
  1412.     [propget, id(DISPID_IHTMLELEMENT2_ONCONTEXTMENU), displaybind, bindable] VARIANT oncontextmenu();
  1413.     [id(DISPID_IHTMLELEMENT2_INSERTADJACENTELEMENT)] IHTMLElement* insertAdjacentElement([in] BSTR where,[in] IHTMLElement* insertedElement);
  1414.     [id(DISPID_IHTMLELEMENT2_APPLYELEMENT)] IHTMLElement* applyElement([in] IHTMLElement* apply,[in] BSTR where);
  1415.     [id(DISPID_IHTMLELEMENT2_GETADJACENTTEXT)] BSTR getAdjacentText([in] BSTR where);
  1416.     [id(DISPID_IHTMLELEMENT2_REPLACEADJACENTTEXT)] BSTR replaceAdjacentText([in] BSTR where,[in] BSTR newText);
  1417.     [propget, id(DISPID_IHTMLELEMENT2_CANHAVECHILDREN)] VARIANT_BOOL canHaveChildren();
  1418.     [id(DISPID_IHTMLELEMENT2_ADDBEHAVIOR)] long addBehavior([in] BSTR bstrUrl,[optional, in] VARIANT* pvarFactory);
  1419.     [id(DISPID_IHTMLELEMENT2_REMOVEBEHAVIOR)] VARIANT_BOOL removeBehavior([in] long cookie);
  1420.     [propget, id(DISPID_IHTMLELEMENT2_RUNTIMESTYLE), nonbrowsable] IHTMLStyle* runtimeStyle();
  1421.     [propget, id(DISPID_IHTMLELEMENT2_BEHAVIORURNS)] IDispatch* behaviorUrns();
  1422.     [propput, id(DISPID_IHTMLELEMENT2_TAGURN)] void tagUrn(BSTR v);
  1423.     [propget, id(DISPID_IHTMLELEMENT2_TAGURN)] BSTR tagUrn();
  1424.     [propput, id(DISPID_IHTMLELEMENT2_ONBEFOREEDITFOCUS), displaybind, bindable] void onbeforeeditfocus(VARIANT v);
  1425.     [propget, id(DISPID_IHTMLELEMENT2_ONBEFOREEDITFOCUS), displaybind, bindable] VARIANT onbeforeeditfocus();
  1426.     [propget, id(DISPID_IHTMLELEMENT2_READYSTATEVALUE), hidden, restricted] long readyStateValue();
  1427.     [id(DISPID_IHTMLELEMENT2_GETELEMENTSBYTAGNAME)] IHTMLElementCollection* getElementsByTagName([in] BSTR v);
  1428.     [id(DISPID_IHTMLELEMENT3_MERGEATTRIBUTES)] void mergeAttributes([in] IHTMLElement* mergeThis,[optional, in] VARIANT* pvarFlags);
  1429.     [propget, id(DISPID_IHTMLELEMENT3_ISMULTILINE)] VARIANT_BOOL isMultiLine();
  1430.     [propget, id(DISPID_IHTMLELEMENT3_CANHAVEHTML)] VARIANT_BOOL canHaveHTML();
  1431.     [propput, id(DISPID_IHTMLELEMENT3_ONLAYOUTCOMPLETE), displaybind, bindable] void onlayoutcomplete(VARIANT v);
  1432.     [propget, id(DISPID_IHTMLELEMENT3_ONLAYOUTCOMPLETE), displaybind, bindable] VARIANT onlayoutcomplete();
  1433.     [propput, id(DISPID_IHTMLELEMENT3_ONPAGE), displaybind, bindable] void onpage(VARIANT v);
  1434.     [propget, id(DISPID_IHTMLELEMENT3_ONPAGE), displaybind, bindable] VARIANT onpage();
  1435.     [propput, id(DISPID_IHTMLELEMENT3_INFLATEBLOCK), hidden, restricted, nonbrowsable] void inflateBlock(VARIANT_BOOL v);
  1436.     [propget, id(DISPID_IHTMLELEMENT3_INFLATEBLOCK), hidden, restricted, nonbrowsable] VARIANT_BOOL inflateBlock();
  1437.     [propput, id(DISPID_IHTMLELEMENT3_ONBEFOREDEACTIVATE), displaybind, bindable] void onbeforedeactivate(VARIANT v);
  1438.     [propget, id(DISPID_IHTMLELEMENT3_ONBEFOREDEACTIVATE), displaybind, bindable] VARIANT onbeforedeactivate();
  1439.     [id(DISPID_IHTMLELEMENT3_SETACTIVE)] void setActive();
  1440.     [propput, id(DISPID_IHTMLELEMENT3_CONTENTEDITABLE), displaybind, bindable] void contentEditable(BSTR v);
  1441.     [propget, id(DISPID_IHTMLELEMENT3_CONTENTEDITABLE), displaybind, bindable] BSTR contentEditable();
  1442.     [propget, id(DISPID_IHTMLELEMENT3_ISCONTENTEDITABLE)] VARIANT_BOOL isContentEditable();
  1443.     [propput, id(DISPID_IHTMLELEMENT3_HIDEFOCUS), displaybind, bindable] void hideFocus(VARIANT_BOOL v);
  1444.     [propget, id(DISPID_IHTMLELEMENT3_HIDEFOCUS), displaybind, bindable] VARIANT_BOOL hideFocus();
  1445.     [propput, id(DISPID_IHTMLELEMENT3_DISABLED), displaybind, bindable] void disabled(VARIANT_BOOL v);
  1446.     [propget, id(DISPID_IHTMLELEMENT3_DISABLED), displaybind, bindable] VARIANT_BOOL disabled();
  1447.     [propget, id(DISPID_IHTMLELEMENT3_ISDISABLED)] VARIANT_BOOL isDisabled();
  1448.     [propput, id(DISPID_IHTMLELEMENT3_ONMOVE), displaybind, bindable] void onmove(VARIANT v);
  1449.     [propget, id(DISPID_IHTMLELEMENT3_ONMOVE), displaybind, bindable] VARIANT onmove();
  1450.     [propput, id(DISPID_IHTMLELEMENT3_ONCONTROLSELECT), displaybind, bindable] void oncontrolselect(VARIANT v);
  1451.     [propget, id(DISPID_IHTMLELEMENT3_ONCONTROLSELECT), displaybind, bindable] VARIANT oncontrolselect();
  1452.     [id(DISPID_IHTMLELEMENT3_FIREEVENT)] VARIANT_BOOL fireEvent([in] BSTR bstrEventName,[optional, in] VARIANT* pvarEventObject);
  1453.     [propput, id(DISPID_IHTMLELEMENT3_ONRESIZESTART), displaybind, bindable] void onresizestart(VARIANT v);
  1454.     [propget, id(DISPID_IHTMLELEMENT3_ONRESIZESTART), displaybind, bindable] VARIANT onresizestart();
  1455.     [propput, id(DISPID_IHTMLELEMENT3_ONRESIZEEND), displaybind, bindable] void onresizeend(VARIANT v);
  1456.     [propget, id(DISPID_IHTMLELEMENT3_ONRESIZEEND), displaybind, bindable] VARIANT onresizeend();
  1457.     [propput, id(DISPID_IHTMLELEMENT3_ONMOVESTART), displaybind, bindable] void onmovestart(VARIANT v);
  1458.     [propget, id(DISPID_IHTMLELEMENT3_ONMOVESTART), displaybind, bindable] VARIANT onmovestart();
  1459.     [propput, id(DISPID_IHTMLELEMENT3_ONMOVEEND), displaybind, bindable] void onmoveend(VARIANT v);
  1460.     [propget, id(DISPID_IHTMLELEMENT3_ONMOVEEND), displaybind, bindable] VARIANT onmoveend();
  1461.     [propput, id(DISPID_IHTMLELEMENT3_ONMOUSEENTER), displaybind, bindable] void onmouseenter(VARIANT v);
  1462.     [propget, id(DISPID_IHTMLELEMENT3_ONMOUSEENTER), displaybind, bindable] VARIANT onmouseenter();
  1463.     [propput, id(DISPID_IHTMLELEMENT3_ONMOUSELEAVE), displaybind, bindable] void onmouseleave(VARIANT v);
  1464.     [propget, id(DISPID_IHTMLELEMENT3_ONMOUSELEAVE), displaybind, bindable] VARIANT onmouseleave();
  1465.     [propput, id(DISPID_IHTMLELEMENT3_ONACTIVATE), displaybind, bindable] void onactivate(VARIANT v);
  1466.     [propget, id(DISPID_IHTMLELEMENT3_ONACTIVATE), displaybind, bindable] VARIANT onactivate();
  1467.     [propput, id(DISPID_IHTMLELEMENT3_ONDEACTIVATE), displaybind, bindable] void ondeactivate(VARIANT v);
  1468.     [propget, id(DISPID_IHTMLELEMENT3_ONDEACTIVATE), displaybind, bindable] VARIANT ondeactivate();
  1469.     [id(DISPID_IHTMLELEMENT3_DRAGDROP)] VARIANT_BOOL dragDrop();
  1470.     [propget, id(DISPID_IHTMLELEMENT3_GLYPHMODE), hidden, restricted, nonbrowsable] LONG glyphMode();
  1471.     [propput, id(DISPID_IHTMLELEMENT4_ONMOUSEWHEEL), displaybind, bindable] void onmousewheel(VARIANT v);
  1472.     [propget, id(DISPID_IHTMLELEMENT4_ONMOUSEWHEEL), displaybind, bindable] VARIANT onmousewheel();
  1473.     [id(DISPID_IHTMLELEMENT4_NORMALIZE)] void normalize();
  1474.     [id(DISPID_IHTMLELEMENT4_GETATTRIBUTENODE)] IHTMLDOMAttribute* getAttributeNode([in] BSTR bstrname);
  1475.     [id(DISPID_IHTMLELEMENT4_SETATTRIBUTENODE)] IHTMLDOMAttribute* setAttributeNode([in] IHTMLDOMAttribute* pattr);
  1476.     [id(DISPID_IHTMLELEMENT4_REMOVEATTRIBUTENODE)] IHTMLDOMAttribute* removeAttributeNode([in] IHTMLDOMAttribute* pattr);
  1477.     [propput, id(DISPID_IHTMLELEMENT4_ONBEFOREACTIVATE), displaybind, bindable] void onbeforeactivate(VARIANT v);
  1478.     [propget, id(DISPID_IHTMLELEMENT4_ONBEFOREACTIVATE), displaybind, bindable] VARIANT onbeforeactivate();
  1479.     [propput, id(DISPID_IHTMLELEMENT4_ONFOCUSIN), displaybind, bindable] void onfocusin(VARIANT v);
  1480.     [propget, id(DISPID_IHTMLELEMENT4_ONFOCUSIN), displaybind, bindable] VARIANT onfocusin();
  1481.     [propput, id(DISPID_IHTMLELEMENT4_ONFOCUSOUT), displaybind, bindable] void onfocusout(VARIANT v);
  1482.     [propget, id(DISPID_IHTMLELEMENT4_ONFOCUSOUT), displaybind, bindable] VARIANT onfocusout();
  1483.     [propget, id(DISPID_IHTMLUNIQUENAME_UNIQUENUMBER), hidden] long uniqueNumber();
  1484.     [propget, id(DISPID_IHTMLUNIQUENAME_UNIQUEID), hidden] BSTR uniqueID();
  1485.     [propget, id(DISPID_IHTMLDOMNODE_NODETYPE)] long nodeType();
  1486.     [propget, id(DISPID_IHTMLDOMNODE_PARENTNODE)] IHTMLDOMNode* parentNode();
  1487.     [id(DISPID_IHTMLDOMNODE_HASCHILDNODES)] VARIANT_BOOL hasChildNodes();
  1488.     [propget, id(DISPID_IHTMLDOMNODE_CHILDNODES)] IDispatch* childNodes();
  1489.     [propget, id(DISPID_IHTMLDOMNODE_ATTRIBUTES)] IDispatch* attributes();
  1490.     [id(DISPID_IHTMLDOMNODE_INSERTBEFORE)] IHTMLDOMNode* insertBefore([in] IHTMLDOMNode* newChild,[optional, in] VARIANT refChild);
  1491.     [id(DISPID_IHTMLDOMNODE_REMOVECHILD)] IHTMLDOMNode* removeChild([in] IHTMLDOMNode* oldChild);
  1492.     [id(DISPID_IHTMLDOMNODE_REPLACECHILD)] IHTMLDOMNode* replaceChild([in] IHTMLDOMNode* newChild,[in] IHTMLDOMNode* oldChild);
  1493.     [id(DISPID_IHTMLDOMNODE_CLONENODE)] IHTMLDOMNode* cloneNode([in] VARIANT_BOOL fDeep);
  1494.     [id(DISPID_IHTMLDOMNODE_REMOVENODE)] IHTMLDOMNode* removeNode([defaultvalue(0), in] VARIANT_BOOL fDeep);
  1495.     [id(DISPID_IHTMLDOMNODE_SWAPNODE)] IHTMLDOMNode* swapNode([in] IHTMLDOMNode* otherNode);
  1496.     [id(DISPID_IHTMLDOMNODE_REPLACENODE)] IHTMLDOMNode* replaceNode([in] IHTMLDOMNode* replacement);
  1497.     [id(DISPID_IHTMLDOMNODE_APPENDCHILD)] IHTMLDOMNode* appendChild([in] IHTMLDOMNode* newChild);
  1498.     [propget, id(DISPID_IHTMLDOMNODE_NODENAME)] BSTR nodeName();
  1499.     [propput, id(DISPID_IHTMLDOMNODE_NODEVALUE)] void nodeValue(VARIANT v);
  1500.     [propget, id(DISPID_IHTMLDOMNODE_NODEVALUE)] VARIANT nodeValue();
  1501.     [propget, id(DISPID_IHTMLDOMNODE_FIRSTCHILD)] IHTMLDOMNode* firstChild();
  1502.     [propget, id(DISPID_IHTMLDOMNODE_LASTCHILD)] IHTMLDOMNode* lastChild();
  1503.     [propget, id(DISPID_IHTMLDOMNODE_PREVIOUSSIBLING)] IHTMLDOMNode* previousSibling();
  1504.     [propget, id(DISPID_IHTMLDOMNODE_NEXTSIBLING)] IHTMLDOMNode* nextSibling();
  1505.     [propget, id(DISPID_IHTMLDOMNODE2_OWNERDOCUMENT)] IDispatch* ownerDocument();
  1506.     [propget, id(DISPID_IHTMLMAPELEMENT_AREAS)] IHTMLAreasCollection* areas();
  1507.     [propput, id(DISPID_IHTMLMAPELEMENT_NAME)] void name(BSTR v);
  1508.     [propget, id(DISPID_IHTMLMAPELEMENT_NAME)] BSTR name();
  1509. };
  1510. [
  1511.     uuid(3050f271-98b5-11cf-bb82-00aa00bdce0b)
  1512. ]
  1513. coclass HTMLMapElement
  1514. {
  1515.     [default]           dispinterface DispHTMLMapElement;
  1516.     [source, default]   dispinterface HTMLMapEvents;
  1517.     [source]            dispinterface HTMLMapEvents2;
  1518.                         interface IHTMLElement;
  1519.                         interface IHTMLElement2;
  1520.                         interface IHTMLElement3;
  1521.                         interface IHTMLElement4;
  1522.                         interface IHTMLUniqueName;
  1523.                         interface IHTMLDOMNode;
  1524.                         interface IHTMLDOMNode2;
  1525.                         interface IHTMLMapElement;
  1526. };
  1527. cpp_quote("EXTERN_C const GUID CLSID_CMapElement;")
  1528. [
  1529.     hidden,
  1530.     uuid(3050f611-98b5-11cf-bb82-00aa00bdce0b)
  1531. ]
  1532. dispinterface HTMLAreaEvents2
  1533. {
  1534. properties:
  1535. methods:
  1536.     [id(DISPID_HTMLELEMENTEVENTS2_ONHELP)] VARIANT_BOOL onhelp([in] IHTMLEventObj* pEvtObj);
  1537.     [id(DISPID_HTMLELEMENTEVENTS2_ONCLICK)] VARIANT_BOOL onclick([in] IHTMLEventObj* pEvtObj);
  1538.     [id(DISPID_HTMLELEMENTEVENTS2_ONDBLCLICK)] VARIANT_BOOL ondblclick([in] IHTMLEventObj* pEvtObj);
  1539.     [id(DISPID_HTMLELEMENTEVENTS2_ONKEYPRESS)] VARIANT_BOOL onkeypress([in] IHTMLEventObj* pEvtObj);
  1540.     [id(DISPID_HTMLELEMENTEVENTS2_ONKEYDOWN)] void onkeydown([in] IHTMLEventObj* pEvtObj);
  1541.     [id(DISPID_HTMLELEMENTEVENTS2_ONKEYUP)] void onkeyup([in] IHTMLEventObj* pEvtObj);
  1542.     [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEOUT)] void onmouseout([in] IHTMLEventObj* pEvtObj);
  1543.     [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEOVER)] void onmouseover([in] IHTMLEventObj* pEvtObj);
  1544.     [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEMOVE)] void onmousemove([in] IHTMLEventObj* pEvtObj);
  1545.     [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEDOWN)] void onmousedown([in] IHTMLEventObj* pEvtObj);
  1546.     [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEUP)] void onmouseup([in] IHTMLEventObj* pEvtObj);
  1547.     [id(DISPID_HTMLELEMENTEVENTS2_ONSELECTSTART)] VARIANT_BOOL onselectstart([in] IHTMLEventObj* pEvtObj);
  1548.     [id(DISPID_HTMLELEMENTEVENTS2_ONFILTERCHANGE)] void onfilterchange([in] IHTMLEventObj* pEvtObj);
  1549.     [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGSTART)] VARIANT_BOOL ondragstart([in] IHTMLEventObj* pEvtObj);
  1550.     [id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREUPDATE)] VARIANT_BOOL onbeforeupdate([in] IHTMLEventObj* pEvtObj);
  1551.     [id(DISPID_HTMLELEMENTEVENTS2_ONAFTERUPDATE)] void onafterupdate([in] IHTMLEventObj* pEvtObj);
  1552.     [id(DISPID_HTMLELEMENTEVENTS2_ONERRORUPDATE)] VARIANT_BOOL onerrorupdate([in] IHTMLEventObj* pEvtObj);
  1553.     [id(DISPID_HTMLELEMENTEVENTS2_ONROWEXIT)] VARIANT_BOOL onrowexit([in] IHTMLEventObj* pEvtObj);
  1554.     [id(DISPID_HTMLELEMENTEVENTS2_ONROWENTER)] void onrowenter([in] IHTMLEventObj* pEvtObj);
  1555.     [id(DISPID_HTMLELEMENTEVENTS2_ONDATASETCHANGED)] void ondatasetchanged([in] IHTMLEventObj* pEvtObj);
  1556.     [id(DISPID_HTMLELEMENTEVENTS2_ONDATAAVAILABLE)] void ondataavailable([in] IHTMLEventObj* pEvtObj);
  1557.     [id(DISPID_HTMLELEMENTEVENTS2_ONDATASETCOMPLETE)] void ondatasetcomplete([in] IHTMLEventObj* pEvtObj);
  1558.     [id(DISPID_HTMLELEMENTEVENTS2_ONLOSECAPTURE)] void onlosecapture([in] IHTMLEventObj* pEvtObj);
  1559.     [id(DISPID_HTMLELEMENTEVENTS2_ONPROPERTYCHANGE)] void onpropertychange([in] IHTMLEventObj* pEvtObj);
  1560.     [id(DISPID_HTMLELEMENTEVENTS2_ONSCROLL)] void onscroll([in] IHTMLEventObj* pEvtObj);
  1561.     [id(DISPID_HTMLELEMENTEVENTS2_ONFOCUS)] void onfocus([in] IHTMLEventObj* pEvtObj);
  1562.     [id(DISPID_HTMLELEMENTEVENTS2_ONBLUR)] void onblur([in] IHTMLEventObj* pEvtObj);
  1563.     [id(DISPID_HTMLELEMENTEVENTS2_ONRESIZE)] void onresize([in] IHTMLEventObj* pEvtObj);
  1564.     [id(DISPID_HTMLELEMENTEVENTS2_ONDRAG)] VARIANT_BOOL ondrag([in] IHTMLEventObj* pEvtObj);
  1565.     [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGEND)] void ondragend([in] IHTMLEventObj* pEvtObj);
  1566.     [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGENTER)] VARIANT_BOOL ondragenter([in] IHTMLEventObj* pEvtObj);
  1567.     [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGOVER)] VARIANT_BOOL ondragover([in] IHTMLEventObj* pEvtObj);
  1568.     [id(DISPID_HTMLELEMENTEVENTS2_ONDRAGLEAVE)] void ondragleave([in] IHTMLEventObj* pEvtObj);
  1569.     [id(DISPID_HTMLELEMENTEVENTS2_ONDROP)] VARIANT_BOOL ondrop([in] IHTMLEventObj* pEvtObj);
  1570.     [id(DISPID_HTMLELEMENTEVENTS2_ONBEFORECUT)] VARIANT_BOOL onbeforecut([in] IHTMLEventObj* pEvtObj);
  1571.     [id(DISPID_HTMLELEMENTEVENTS2_ONCUT)] VARIANT_BOOL oncut([in] IHTMLEventObj* pEvtObj);
  1572.     [id(DISPID_HTMLELEMENTEVENTS2_ONBEFORECOPY)] VARIANT_BOOL onbeforecopy([in] IHTMLEventObj* pEvtObj);
  1573.     [id(DISPID_HTMLELEMENTEVENTS2_ONCOPY)] VARIANT_BOOL oncopy([in] IHTMLEventObj* pEvtObj);
  1574.     [id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREPASTE)] VARIANT_BOOL onbeforepaste([in] IHTMLEventObj* pEvtObj);
  1575.     [id(DISPID_HTMLELEMENTEVENTS2_ONPASTE)] VARIANT_BOOL onpaste([in] IHTMLEventObj* pEvtObj);
  1576.     [id(DISPID_HTMLELEMENTEVENTS2_ONCONTEXTMENU)] VARIANT_BOOL oncontextmenu([in] IHTMLEventObj* pEvtObj);
  1577.     [id(DISPID_HTMLELEMENTEVENTS2_ONROWSDELETE)] void onrowsdelete([in] IHTMLEventObj* pEvtObj);
  1578.     [id(DISPID_HTMLELEMENTEVENTS2_ONROWSINSERTED)] void onrowsinserted([in] IHTMLEventObj* pEvtObj);
  1579.     [id(DISPID_HTMLELEMENTEVENTS2_ONCELLCHANGE)] void oncellchange([in] IHTMLEventObj* pEvtObj);
  1580.     [id(DISPID_HTMLELEMENTEVENTS2_ONREADYSTATECHANGE)] void onreadystatechange([in] IHTMLEventObj* pEvtObj);
  1581.     [id(DISPID_HTMLELEMENTEVENTS2_ONLAYOUTCOMPLETE)] void onlayoutcomplete([in] IHTMLEventObj* pEvtObj);
  1582.     [id(DISPID_HTMLELEMENTEVENTS2_ONPAGE)] void onpage([in] IHTMLEventObj* pEvtObj);
  1583.     [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEENTER)] void onmouseenter([in] IHTMLEventObj* pEvtObj);
  1584.     [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSELEAVE)] void onmouseleave([in] IHTMLEventObj* pEvtObj);
  1585.     [id(DISPID_HTMLELEMENTEVENTS2_ONACTIVATE)] void onactivate([in] IHTMLEventObj* pEvtObj);
  1586.     [id(DISPID_HTMLELEMENTEVENTS2_ONDEACTIVATE)] void ondeactivate([in] IHTMLEventObj* pEvtObj);
  1587.     [id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREDEACTIVATE)] VARIANT_BOOL onbeforedeactivate([in] IHTMLEventObj* pEvtObj);
  1588.     [id(DISPID_HTMLELEMENTEVENTS2_ONBEFOREACTIVATE)] VARIANT_BOOL onbeforeactivate([in] IHTMLEventObj* pEvtObj);
  1589.     [id(DISPID_HTMLELEMENTEVENTS2_ONFOCUSIN)] void onfocusin([in] IHTMLEventObj* pEvtObj);
  1590.     [id(DISPID_HTMLELEMENTEVENTS2_ONFOCUSOUT)] void onfocusout([in] IHTMLEventObj* pEvtObj);
  1591.     [id(DISPID_HTMLELEMENTEVENTS2_ONMOVE)] void onmove([in] IHTMLEventObj* pEvtObj);
  1592.     [id(DISPID_HTMLELEMENTEVENTS2_ONCONTROLSELECT)] VARIANT_BOOL oncontrolselect([in] IHTMLEventObj* pEvtObj);
  1593.     [id(DISPID_HTMLELEMENTEVENTS2_ONMOVESTART)] VARIANT_BOOL onmovestart([in] IHTMLEventObj* pEvtObj);
  1594.     [id(DISPID_HTMLELEMENTEVENTS2_ONMOVEEND)] void onmoveend([in] IHTMLEventObj* pEvtObj);
  1595.     [id(DISPID_HTMLELEMENTEVENTS2_ONRESIZESTART)] VARIANT_BOOL onresizestart([in] IHTMLEventObj* pEvtObj);
  1596.     [id(DISPID_HTMLELEMENTEVENTS2_ONRESIZEEND)] void onresizeend([in] IHTMLEventObj* pEvtObj);
  1597.     [id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEWHEEL)] VARIANT_BOOL onmousewheel([in] IHTMLEventObj* pEvtObj);
  1598. };
  1599. [
  1600.     hidden,
  1601.     uuid(3050f366-98b5-11cf-bb82-00aa00bdce0b)
  1602. ]
  1603. dispinterface HTMLAreaEvents
  1604. {
  1605. properties:
  1606. methods:
  1607.     [id(DISPID_HTMLELEMENTEVENTS_ONHELP)] VARIANT_BOOL onhelp();
  1608.     [id(DISPID_HTMLELEMENTEVENTS_ONCLICK)] VARIANT_BOOL onclick();
  1609.     [id(DISPID_HTMLELEMENTEVENTS_ONDBLCLICK)] VARIANT_BOOL ondblclick();
  1610.     [id(DISPID_HTMLELEMENTEVENTS_ONKEYPRESS)] VARIANT_BOOL onkeypress();
  1611.     [id(DISPID_HTMLELEMENTEVENTS_ONKEYDOWN)] void onkeydown();
  1612.     [id(DISPID_HTMLELEMENTEVENTS_ONKEYUP)] void onkeyup();
  1613.     [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEOUT)] void onmouseout();
  1614.     [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEOVER)] void onmouseover();
  1615.     [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEMOVE)] void onmousemove();
  1616.     [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEDOWN)] void onmousedown();
  1617.     [id(DISPID_HTMLELEMENTEVENTS_ONMOUSEUP)] void onmouseup();
  1618.     [id(DISPID_HTMLELEMENTEVENTS_ONSELECTSTART)] VARIANT_BOOL onselectstart();
  1619.     [id(DISPID_HTMLELEMENTEVENTS_ONFILTERCHANGE)] void onfilterchange();
  1620.     [id(DISPID_HTMLELEMENTEVENTS_ONDRAGSTART)] VARIANT_BOOL ondragstart();
  1621.     [id(DISPID_HTMLELEMENTEVENTS_ONBEFOREUPDATE)] VARIANT_BOOL onbeforeupdate();
  1622.     [id(DISPID_HTMLELEMENTEVENTS_ONAFTERUPDATE)] void onafterupdate();
  1623.     [id(DISPID_HTMLELEMENTEVENTS_ONERRORUPDATE)] VARIANT_BOOL onerrorupdate();
  1624.     [id(DISPID_HTMLELEMENTEVENTS_ONROWEXIT)] VARIANT_BOOL onrowexit();
  1625.     [id(DISPID_HTMLELEMENTEVENTS_ONROWENTER)] void onrowenter();
  1626.     [id(DISPID_HTMLELEMENTEVENTS_ONDATASETCHANGED)] void ondatasetchanged();
  1627.     [id(DISPID_HTMLELEMENTEVENTS_ONDATAAVAILABLE)] void ondataavailable();
  1628.     [id(DISPID_HTMLELEMENTEVENTS_ONDATASETCOMPLETE)] void ondatasetcomplete();
  1629.     [id(DISPID_HTMLELEMENTEVENTS_ONLOSECAPTURE)] void onlosecapture();
  1630.     [id(DISPID_HTMLELEMENTEVENTS_ONPROPERTYCHANGE)] void onpropertychange();
  1631.     [id(DISPID_HTMLELEMENTEVENTS_ONSCROLL)] void onscroll();
  1632.     [id(DISPID_HTMLELEMENTEVENTS_ONFOCUS)] void onfocus();
  1633.     [id(DISPID_HTMLELEMENTEVENTS_ONBLUR)] void onblur();
  1634.     [id(DISPID_HTMLELEMENTEVENTS_ONRESIZE)] void onresize();
  1635.     [id(DISPID_HTMLELEMENTEVENTS_ONDRAG)] VARIANT_BOOL ondrag();
  1636.     [id(DISPID_HTMLELEMENTEVENTS_ONDRAGEND)] void ondragend();
  1637.     [id(DISPID_HTMLELEMENTEVENTS_ONDRAGENTER)] VARIANT_BOOL ondragenter();
  1638.     [id(DISPID_HTMLELEMENTEVENTS_ONDRAGOVER)] VARIANT_BOOL ondragover();