home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 April / PCWorld_2008-04_cd.bin / temacd / devc++ / devcpp-4.9.9.2_setup.exe / mshtml.h < prev    next >
C/C++ Source or Header  |  2005-01-29  |  31KB  |  705 lines

  1. #ifndef _MSHTML_H
  2. #define _MSHTML_H
  3. #if __GNUC__ >=3
  4. #pragma GCC system_header
  5. #endif
  6.  
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10.  
  11. typedef interface IHTMLElementCollection *LPHTMLELEMENTCOLLECTION;
  12. typedef interface IHTMLElement *LPHTMLELEMENT;
  13. typedef interface IHTMLSelectionObject *LPHTMLSELECTIONOBJECT;
  14. typedef interface IHTMLFramesCollection *LPHTMLFRAMESCOLLECTION;
  15. typedef interface IHTMLLocation *LPHTMLLOCATION;
  16. typedef interface IHTMLWindow2 *LPHTMLWINDOW2;
  17. typedef interface IHTMLStyleSheetsCollection *LPHTMLSTYLESHEETSCOLLECTION;
  18. typedef interface IHTMLStyleSheet *LPHTMLSTYLESHEET;
  19. typedef interface IHTMLStyle *LPHTMLSTYLE;
  20. typedef interface IHTMLFiltersCollection *LPHTMLFILTERSCOLLECTION;
  21. typedef interface IHTMLLinkElement *LPHTMLLINKELEMENT;
  22. typedef interface IHTMLImgElement *LPHTMLIMGELEMENT;
  23. typedef interface IHTMLImageElementFactory *LPHTMLIMAGEELEMENTFACTORY;
  24. typedef interface IHTMLEventObj *LPHTMLEVENTOBJ;
  25. typedef interface IHTMLScreen *LPHTMLSCREEN;
  26. typedef interface IHTMLOptionElementFactory *LPHTMLOPTIONELEMENTFACTORY;
  27. typedef interface IOmHistory *LPOMHISTORY;
  28. typedef interface IOmNavigator *LPOMNAVIGATOR;
  29.  
  30. EXTERN_C const IID IID_IHTMLLinkElement;
  31. #undef INTERFACE
  32. #define INTERFACE IHTMLLinkElement
  33. DECLARE_INTERFACE_(IHTMLLinkElement,IDispatch)
  34. {
  35.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  36.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  37.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  38.     STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
  39.     STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
  40.     STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
  41.     STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
  42.  
  43.     STDMETHOD(put_href)(THIS_ BSTR) PURE;
  44.     STDMETHOD(get_href)(THIS_ BSTR*) PURE;
  45.     STDMETHOD(put_rel)(THIS_ BSTR) PURE;
  46.     STDMETHOD(get_rel)(THIS_ BSTR*) PURE;
  47.     STDMETHOD(put_rev)(THIS_ BSTR) PURE;
  48.     STDMETHOD(get_rev)(THIS_ BSTR*) PURE;
  49.     STDMETHOD(put_type)(THIS_ BSTR) PURE;
  50.     STDMETHOD(get_type)(THIS_ BSTR*) PURE;
  51.     STDMETHOD(get_readyState)(THIS_ BSTR*) PURE;
  52.     STDMETHOD(put_onreadystatechange)(THIS_ VARIANT) PURE;
  53.     STDMETHOD(get_onreadystatechange)(THIS_ VARIANT*) PURE;
  54.     STDMETHOD(put_onload)(THIS_ VARIANT) PURE;
  55.     STDMETHOD(get_onload)(THIS_ VARIANT*) PURE;
  56.     STDMETHOD(put_onerror)(THIS_ VARIANT) PURE;
  57.     STDMETHOD(get_onerror)(THIS_ VARIANT*) PURE;
  58.     STDMETHOD(get_styleSheet)(THIS_ LPHTMLSTYLESHEET*) PURE;
  59.     STDMETHOD(put_disabled)(THIS_ VARIANT_BOOL) PURE;
  60.     STDMETHOD(get_disabled)(THIS_ VARIANT_BOOL*) PURE;
  61.     STDMETHOD(put_media)(THIS_ BSTR) PURE;
  62.     STDMETHOD(get_media)(THIS_ BSTR*) PURE;
  63. };
  64.  
  65. EXTERN_C const IID IID_IHTMLImgElement;
  66. #undef INTERFACE
  67. #define INTERFACE IHTMLImgElement
  68. DECLARE_INTERFACE_(IHTMLImgElement,IDispatch)
  69. {
  70.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  71.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  72.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  73.     STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
  74.     STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
  75.     STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
  76.     STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
  77.  
  78.     STDMETHOD(put_isMap)(THIS_ VARIANT_BOOL) PURE;
  79.     STDMETHOD(get_isMap)(THIS_ VARIANT_BOOL*) PURE;
  80.     STDMETHOD(put_useMap)(THIS_ BSTR) PURE;
  81.     STDMETHOD(get_useMap)(THIS_ BSTR*) PURE;
  82.     STDMETHOD(get_mimeType)(THIS_ BSTR*) PURE;
  83.     STDMETHOD(get_fileSize)(THIS_ BSTR*) PURE;
  84.     STDMETHOD(get_fileCreatedDate)(THIS_ BSTR*) PURE;
  85.     STDMETHOD(get_fileModifiedDate)(THIS_ BSTR*) PURE;
  86.     STDMETHOD(get_fileUpdatedDate)(THIS_ BSTR*) PURE;
  87.     STDMETHOD(get_protocol)(THIS_ BSTR*) PURE;
  88.     STDMETHOD(get_href)(THIS_ BSTR*) PURE;
  89.     STDMETHOD(get_nameProp)(THIS_ BSTR*) PURE;
  90.     STDMETHOD(put_border)(THIS_ VARIANT) PURE;
  91.     STDMETHOD(get_border)(THIS_ VARIANT*) PURE;
  92.     STDMETHOD(put_vspace)(THIS_ long) PURE;
  93.     STDMETHOD(get_vspace)(THIS_ long*) PURE;
  94.     STDMETHOD(put_hspace)(THIS_ long) PURE;
  95.     STDMETHOD(get_hspace)(THIS_ long*) PURE;
  96.     STDMETHOD(put_alt)(THIS_ BSTR) PURE;
  97.     STDMETHOD(get_alt)(THIS_ BSTR*) PURE;
  98.     STDMETHOD(put_src)(THIS_ BSTR) PURE;
  99.     STDMETHOD(get_src)(THIS_ BSTR*) PURE;
  100.     STDMETHOD(put_lowsrc)(THIS_ BSTR) PURE;
  101.     STDMETHOD(get_lowsrc)(THIS_ BSTR*) PURE;
  102.     STDMETHOD(put_vrml)(THIS_ BSTR) PURE;
  103.     STDMETHOD(get_vrml)(THIS_ BSTR*) PURE;
  104.     STDMETHOD(put_dynsrc)(THIS_ BSTR) PURE;
  105.     STDMETHOD(get_dynsrc)(THIS_ BSTR*) PURE;
  106.     STDMETHOD(get_readyState)(THIS_ BSTR*) PURE;
  107.     STDMETHOD(get_complete)(THIS_ VARIANT_BOOL*) PURE;
  108.     STDMETHOD(put_loop)(THIS_ VARIANT) PURE;
  109.     STDMETHOD(get_loop)(THIS_ VARIANT*) PURE;
  110.     STDMETHOD(put_align)(THIS_ BSTR) PURE;
  111.     STDMETHOD(get_align)(THIS_ BSTR*) PURE;
  112.     STDMETHOD(put_onload)(THIS_ VARIANT) PURE;
  113.     STDMETHOD(get_onload)(THIS_ VARIANT*) PURE;
  114.     STDMETHOD(put_onerror)(THIS_ VARIANT) PURE;
  115.     STDMETHOD(get_onerror)(THIS_ VARIANT*) PURE;
  116.     STDMETHOD(put_onabort)(THIS_ VARIANT) PURE;
  117.     STDMETHOD(get_onabort)(THIS_ VARIANT*) PURE;
  118.     STDMETHOD(put_name)(THIS_ BSTR) PURE;
  119.     STDMETHOD(get_name)(THIS_ BSTR*) PURE;
  120.     STDMETHOD(put_width)(THIS_ long) PURE;
  121.     STDMETHOD(get_width)(THIS_ long*) PURE;
  122.     STDMETHOD(put_height)(THIS_ long) PURE;
  123.     STDMETHOD(get_height)(THIS_ long*) PURE;
  124.     STDMETHOD(put_start)(THIS_ BSTR) PURE;
  125.     STDMETHOD(get_start)(THIS_ BSTR*) PURE;
  126. };
  127.  
  128. EXTERN_C const IID IID_IHTMLElementCollection;
  129. #undef INTERFACE
  130. #define INTERFACE IHTMLElementCollection
  131. DECLARE_INTERFACE_(IHTMLElementCollection,IDispatch)
  132. {
  133.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  134.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  135.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  136.     STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
  137.     STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
  138.     STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
  139.     STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
  140.  
  141.     STDMETHOD(toString)(THIS_ BSTR*) PURE;
  142.     STDMETHOD(put_length)(THIS_ long) PURE;
  143.     STDMETHOD(get_length)(THIS_ long*) PURE;
  144.     STDMETHOD(get__newEnum)(THIS_ IUnknown**) PURE;
  145.     STDMETHOD(item)(THIS_ VARIANT,VARIANT,IDispatch**) PURE;
  146.     STDMETHOD(tags)(THIS_ VARIANT,IDispatch**) PURE;
  147. };
  148.  
  149.  
  150. EXTERN_C const IID IID_IHTMLDocument;
  151. #undef INTERFACE
  152. #define INTERFACE IHTMLDocument
  153. DECLARE_INTERFACE_(IHTMLDocument,IDispatch)
  154. {
  155.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  156.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  157.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  158.     STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
  159.     STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
  160.     STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
  161.     STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
  162.  
  163.     STDMETHOD(get_Script)(THIS_ IDispatch**) PURE;
  164. };
  165.  
  166. EXTERN_C const IID IID_IHTMLDocument2;
  167. #undef INTERFACE
  168. #define INTERFACE IHTMLDocument2
  169. DECLARE_INTERFACE_(IHTMLDocument2,IHTMLDocument)
  170. {
  171.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  172.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  173.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  174.     STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
  175.     STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
  176.     STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
  177.     STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
  178.  
  179.     STDMETHOD(get_Script)(THIS_ IDispatch**) PURE;
  180.  
  181.     STDMETHOD(get_all)(THIS_ LPHTMLELEMENTCOLLECTION*) PURE;
  182.     STDMETHOD(get_body)(THIS_ LPHTMLELEMENT*) PURE;
  183.     STDMETHOD(get_activeElement)(THIS_ LPHTMLELEMENT*) PURE;
  184.     STDMETHOD(get_images)(THIS_ LPHTMLELEMENTCOLLECTION*) PURE;
  185.     STDMETHOD(get_applets)(THIS_ LPHTMLELEMENTCOLLECTION*) PURE;
  186.     STDMETHOD(get_links)(THIS_ LPHTMLELEMENTCOLLECTION*) PURE;
  187.     STDMETHOD(get_forms)(THIS_ LPHTMLELEMENTCOLLECTION*) PURE;
  188.     STDMETHOD(get_anchors)(THIS_ LPHTMLELEMENTCOLLECTION*) PURE;
  189.     STDMETHOD(put_title)(THIS_ BSTR) PURE;
  190.     STDMETHOD(get_title)(THIS_ BSTR*) PURE;
  191.     STDMETHOD(get_scripts)(THIS_ LPHTMLELEMENTCOLLECTION*) PURE;
  192.     STDMETHOD(put_designMode)(THIS_ BSTR) PURE;
  193.     STDMETHOD(get_designMode)(THIS_ BSTR*) PURE;
  194.     STDMETHOD(get_selection)(THIS_ LPHTMLSELECTIONOBJECT*) PURE;
  195.     STDMETHOD(get_readyState)(THIS_ BSTR*) PURE;
  196.     STDMETHOD(get_frames)(THIS_ LPHTMLFRAMESCOLLECTION*) PURE;
  197.     STDMETHOD(get_embeds)(THIS_ LPHTMLELEMENTCOLLECTION*) PURE;
  198.     STDMETHOD(get_plugins)(THIS_ LPHTMLELEMENTCOLLECTION*) PURE;
  199.     STDMETHOD(put_alinkColor)(THIS_ VARIANT) PURE;
  200.     STDMETHOD(get_alinkColor)(THIS_ VARIANT*) PURE;
  201.     STDMETHOD(put_bgColor)(THIS_ VARIANT) PURE;
  202.     STDMETHOD(get_bgColor)(THIS_ VARIANT*) PURE;
  203.     STDMETHOD(put_fgColor)(THIS_ VARIANT) PURE;
  204.     STDMETHOD(get_fgColor)(THIS_ VARIANT*) PURE;
  205.     STDMETHOD(put_linkColor)(THIS_ VARIANT) PURE;
  206.     STDMETHOD(get_linkColor)(THIS_ VARIANT*) PURE;
  207.     STDMETHOD(put_vlinkColor)(THIS_ VARIANT) PURE;
  208.     STDMETHOD(get_vlinkColor)(THIS_ VARIANT*) PURE;
  209.     STDMETHOD(get_referrer)(THIS_ BSTR*) PURE;
  210.     STDMETHOD(get_location)(THIS_ LPHTMLLOCATION*) PURE;
  211.     STDMETHOD(get_lastModified)(THIS_ BSTR*) PURE;
  212.     STDMETHOD(put_url)(THIS_ BSTR) PURE;
  213.     STDMETHOD(get_url)(THIS_ BSTR*) PURE;
  214.     STDMETHOD(put_domain)(THIS_ BSTR) PURE;
  215.     STDMETHOD(get_domain)(THIS_ BSTR*) PURE;
  216.     STDMETHOD(put_cookie)(THIS_ BSTR) PURE;
  217.     STDMETHOD(get_cookie)(THIS_ BSTR*) PURE;
  218.     STDMETHOD(put_expands)(THIS_ VARIANT_BOOL) PURE;
  219.     STDMETHOD(get_expands)(THIS_ VARIANT_BOOL*) PURE;
  220.     STDMETHOD(put_charset)(THIS_ BSTR) PURE;
  221.     STDMETHOD(get_charset)(THIS_ BSTR*) PURE;
  222.     STDMETHOD(put_defaultCharset)(THIS_ BSTR) PURE;
  223.     STDMETHOD(get_defaultCharset)(THIS_ BSTR*) PURE;
  224.     STDMETHOD(get_mimeType)(THIS_ BSTR*) PURE;
  225.     STDMETHOD(get_fileSize)(THIS_ BSTR*) PURE;
  226.     STDMETHOD(get_fileCreatedDate)(THIS_ BSTR*) PURE;
  227.     STDMETHOD(get_fileModifiedDate)(THIS_ BSTR*) PURE;
  228.     STDMETHOD(get_fileUpdatedDate)(THIS_ BSTR*) PURE;
  229.     STDMETHOD(get_security)(THIS_ BSTR*) PURE;
  230.     STDMETHOD(get_protocol)(THIS_ BSTR*) PURE;
  231.     STDMETHOD(get_nameProp)(THIS_ BSTR*) PURE;
  232.     STDMETHOD(write)(THIS_ SAFEARRAY*) PURE;
  233.     STDMETHOD(writeln)(THIS_ SAFEARRAY*) PURE;
  234.     STDMETHOD(open)(THIS_ BSTR,VARIANT,VARIANT,VARIANT,IDispatch**) PURE;
  235.     STDMETHOD(close)(THIS) PURE;
  236.     STDMETHOD(clear)(THIS) PURE;
  237.     STDMETHOD(queryCommandSupported)(THIS_ BSTR,VARIANT_BOOL*) PURE;
  238.     STDMETHOD(queryCommandEnabled)(THIS_ BSTR,VARIANT_BOOL*) PURE;
  239.     STDMETHOD(queryCommandState)(THIS_ BSTR,VARIANT_BOOL*) PURE;
  240.     STDMETHOD(queryCommandIndeterm)(THIS_ BSTR,VARIANT_BOOL*) PURE;
  241.     STDMETHOD(queryCommandText)(THIS_ BSTR,BSTR*) PURE;
  242.     STDMETHOD(queryCommandValue)(THIS_ BSTR,VARIANT*) PURE;
  243.     STDMETHOD(execCommand)(THIS_ BSTR,VARIANT_BOOL,VARIANT,VARIANT_BOOL*) PURE;
  244.     STDMETHOD(execCommandShowHelp)(THIS_ BSTR,VARIANT_BOOL*) PURE;
  245.     STDMETHOD(createElement)(THIS_ BSTR,LPHTMLELEMENT*) PURE;
  246.     STDMETHOD(put_onhelp)(THIS_ VARIANT) PURE;
  247.     STDMETHOD(get_onhelp)(THIS_ VARIANT*) PURE;
  248.     STDMETHOD(put_onclick)(THIS_ VARIANT) PURE;
  249.     STDMETHOD(get_onclick)(THIS_ VARIANT*) PURE;
  250.     STDMETHOD(put_ondblclick)(THIS_ VARIANT) PURE;
  251.     STDMETHOD(get_ondblclick)(THIS_ VARIANT*) PURE;
  252.     STDMETHOD(put_onkeyup)(THIS_ VARIANT) PURE;
  253.     STDMETHOD(get_onkeyup)(THIS_ VARIANT*) PURE;
  254.     STDMETHOD(put_onkeydown)(THIS_ VARIANT) PURE;
  255.     STDMETHOD(get_onkeydown)(THIS_ VARIANT*) PURE;
  256.     STDMETHOD(put_onkeypress)(THIS_ VARIANT) PURE;
  257.     STDMETHOD(get_onkeypress)(THIS_ VARIANT*) PURE;
  258.     STDMETHOD(put_onmouseup)(THIS_ VARIANT) PURE;
  259.     STDMETHOD(get_onmouseup)(THIS_ VARIANT*) PURE;
  260.     STDMETHOD(put_onmousedown)(THIS_ VARIANT) PURE;
  261.     STDMETHOD(get_onmousedown)(THIS_ VARIANT*) PURE;
  262.     STDMETHOD(put_onmousemove)(THIS_ VARIANT) PURE;
  263.     STDMETHOD(get_onmousemove)(THIS_ VARIANT*) PURE;
  264.     STDMETHOD(put_onmouseout)(THIS_ VARIANT) PURE;
  265.     STDMETHOD(get_onmouseout)(THIS_ VARIANT*) PURE;
  266.     STDMETHOD(put_onmouseover)(THIS_ VARIANT) PURE;
  267.     STDMETHOD(get_onmouseover)(THIS_ VARIANT*) PURE;
  268.     STDMETHOD(put_onreadystatechange)(THIS_ VARIANT) PURE;
  269.     STDMETHOD(get_onreadystatechange)(THIS_ VARIANT*) PURE;
  270.     STDMETHOD(put_onafterupdate)(THIS_ VARIANT) PURE;
  271.     STDMETHOD(get_onafterupdate)(THIS_ VARIANT*) PURE;
  272.     STDMETHOD(put_onrowexit)(THIS_ VARIANT) PURE;
  273.     STDMETHOD(get_onrowexit)(THIS_ VARIANT*) PURE;
  274.     STDMETHOD(put_onrowenter)(THIS_ VARIANT) PURE;
  275.     STDMETHOD(get_onrowenter)(THIS_ VARIANT*) PURE;
  276.     STDMETHOD(put_ondragstart)(THIS_ VARIANT) PURE;
  277.     STDMETHOD(get_ondragstart)(THIS_ VARIANT*) PURE;
  278.     STDMETHOD(put_onselectstart)(THIS_ VARIANT) PURE;
  279.     STDMETHOD(get_onselectstart)(THIS_ VARIANT*) PURE;
  280.     STDMETHOD(elementFromPoint)(THIS_ long,long,LPHTMLELEMENT*) PURE;
  281.     STDMETHOD(get_parentWindow)(THIS_ LPHTMLWINDOW2*) PURE;
  282.     STDMETHOD(get_styleSheets)(THIS_ LPHTMLSTYLESHEETSCOLLECTION*) PURE;
  283.     STDMETHOD(put_onbeforeupdate)(THIS_ VARIANT) PURE;
  284.     STDMETHOD(get_onbeforeupdate)(THIS_ VARIANT*) PURE;
  285.     STDMETHOD(put_onerrorupdate)(THIS_ VARIANT) PURE;
  286.     STDMETHOD(get_onerrorupdate)(THIS_ VARIANT*) PURE;
  287.     STDMETHOD(toString)(THIS_ BSTR*) PURE;
  288.     STDMETHOD(createStyleSheet)(THIS_ BSTR,long,LPHTMLSTYLESHEET*) PURE;
  289. };
  290.  
  291. EXTERN_C const IID IID_IHTMLSelectionObject;
  292. #undef INTERFACE
  293. #define INTERFACE IHTMLSelectionObject
  294. DECLARE_INTERFACE_(IHTMLSelectionObject,IDispatch)
  295. {
  296.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  297.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  298.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  299.     STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
  300.     STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
  301.     STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
  302.     STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
  303.  
  304.     STDMETHOD(createRange)(THIS_ IDispatch**) PURE;
  305.     STDMETHOD(empty)(THIS) PURE;
  306.     STDMETHOD(clear)(THIS) PURE;
  307.     STDMETHOD(get_type)(THIS_ BSTR*) PURE;
  308. };
  309.  
  310. EXTERN_C const IID IID_IHTMLTxtRange;
  311. #undef INTERFACE
  312. #define INTERFACE IHTMLTxtRange
  313. DECLARE_INTERFACE_(IHTMLTxtRange,IDispatch)
  314. {
  315.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  316.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  317.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  318.     STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
  319.     STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
  320.     STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
  321.     STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
  322.  
  323.     STDMETHOD(get_htmlText)(THIS_ BSTR*) PURE;
  324.     STDMETHOD(put_text)(THIS_ BSTR) PURE;
  325.     STDMETHOD(get_text)(THIS_ BSTR*) PURE;
  326.     STDMETHOD(parentElement)(THIS_ LPHTMLELEMENT*) PURE;
  327.     STDMETHOD(duplicate)(THIS_ IHTMLTxtRange**) PURE;
  328.     STDMETHOD(inRange)(THIS_ IHTMLTxtRange*,VARIANT_BOOL*) PURE;
  329.     STDMETHOD(isEqual)(THIS_ IHTMLTxtRange*,VARIANT_BOOL*) PURE;
  330.     STDMETHOD(scrollIntoView)(THIS_ VARIANT_BOOL) PURE;
  331.     STDMETHOD(collapse)(THIS_ VARIANT_BOOL) PURE;
  332.     STDMETHOD(expand)(THIS_ BSTR,VARIANT_BOOL*) PURE;
  333.     STDMETHOD(move)(THIS_ BSTR,long,long*) PURE;
  334.     STDMETHOD(moveStart)(THIS_ BSTR,long,long*) PURE;
  335.     STDMETHOD(moveEnd)(THIS_ BSTR,long,long*) PURE;
  336.     STDMETHOD(select)(THIS) PURE;
  337.     STDMETHOD(pasteHTML)(THIS_ BSTR) PURE;
  338.     STDMETHOD(moveToElementText)(THIS_ LPHTMLELEMENT) PURE;
  339.     STDMETHOD(setEndPoint)(THIS_ BSTR,IHTMLTxtRange*) PURE;
  340.     STDMETHOD(compareEndPoints)(THIS_ BSTR,IHTMLTxtRange*,long*) PURE;
  341.     STDMETHOD(findText)(THIS_ BSTR,long,long,VARIANT_BOOL*) PURE;
  342.     STDMETHOD(moveToPoint)(THIS_ long,long) PURE;
  343.     STDMETHOD(getBookmark)(THIS_ BSTR*) PURE;
  344.     STDMETHOD(moveToBookbark)(THIS_ BSTR,VARIANT_BOOL*) PURE;
  345.     STDMETHOD(queryCommandSupported)(THIS_ BSTR,VARIANT_BOOL*) PURE;
  346.     STDMETHOD(queryCommandEnabled)(THIS_ BSTR,VARIANT_BOOL*) PURE;
  347.     STDMETHOD(queryCommandState)(THIS_ BSTR,VARIANT_BOOL*) PURE;
  348.     STDMETHOD(queryCommandIndeterm)(THIS_ BSTR,VARIANT_BOOL*) PURE;
  349.     STDMETHOD(queryCommandText)(THIS_ BSTR,BSTR*) PURE;
  350.     STDMETHOD(queryCommandValue)(THIS_ BSTR,VARIANT*) PURE;
  351.     STDMETHOD(execCommand)(THIS_ BSTR,VARIANT_BOOL,VARIANT,VARIANT_BOOL*) PURE;
  352.     STDMETHOD(execCommandShowHelp)(THIS_ BSTR,VARIANT_BOOL*) PURE;
  353. };
  354.  
  355. EXTERN_C const IID IID_IHTMLElement;
  356. #undef INTERFACE
  357. #define INTERFACE IHTMLElement
  358. DECLARE_INTERFACE_(IHTMLElement,IDispatch)
  359. {
  360.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  361.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  362.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  363.     STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
  364.     STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
  365.     STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
  366.     STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
  367.  
  368.     STDMETHOD(setAttribute)(THIS_ BSTR,VARIANT,long) PURE;
  369.     STDMETHOD(getAttribute)(THIS_ BSTR,long,VARIANT*) PURE;
  370.     STDMETHOD(removeAttribute)(THIS_ BSTR,long,VARIANT_BOOL*) PURE;
  371.     STDMETHOD(put_className)(THIS_ BSTR) PURE;
  372.     STDMETHOD(get_className)(THIS_ BSTR*) PURE;
  373.     STDMETHOD(put_id)(THIS_ BSTR) PURE;
  374.     STDMETHOD(get_id)(THIS_ BSTR*) PURE;
  375.     STDMETHOD(get_tagName)(THIS_ BSTR*) PURE;
  376.     STDMETHOD(get_parentElement)(THIS_ LPHTMLELEMENT*) PURE;
  377.     STDMETHOD(get_style)(THIS_ LPHTMLSTYLE*) PURE;
  378.     STDMETHOD(put_onhelp)(THIS_ VARIANT) PURE;
  379.     STDMETHOD(get_onhelp)(THIS_ VARIANT*) PURE;
  380.     STDMETHOD(put_onclick)(THIS_ VARIANT) PURE;
  381.     STDMETHOD(get_onclick)(THIS_ VARIANT*) PURE;
  382.     STDMETHOD(put_ondblclick)(THIS_ VARIANT) PURE;
  383.     STDMETHOD(get_ondblclick)(THIS_ VARIANT*) PURE;
  384.     STDMETHOD(put_onkeydown)(THIS_ VARIANT) PURE;
  385.     STDMETHOD(get_onkeydown)(THIS_ VARIANT*) PURE;
  386.     STDMETHOD(put_onkeyup)(THIS_ VARIANT) PURE;
  387.     STDMETHOD(get_onkeyup)(THIS_ VARIANT*) PURE;
  388.     STDMETHOD(put_onkeypress)(THIS_ VARIANT) PURE;
  389.     STDMETHOD(get_onkeypress)(THIS_ VARIANT*) PURE;
  390.     STDMETHOD(put_onmouseout)(THIS_ VARIANT) PURE;
  391.     STDMETHOD(get_onmouseout)(THIS_ VARIANT*) PURE;
  392.     STDMETHOD(put_onmouseover)(THIS_ VARIANT) PURE;
  393.     STDMETHOD(get_onmouseover)(THIS_ VARIANT*) PURE;
  394.     STDMETHOD(put_onmousemove)(THIS_ VARIANT) PURE;
  395.     STDMETHOD(get_onmousemove)(THIS_ VARIANT*) PURE;
  396.     STDMETHOD(put_onmousedown)(THIS_ VARIANT) PURE;
  397.     STDMETHOD(get_onmousedown)(THIS_ VARIANT*) PURE;
  398.     STDMETHOD(put_onmouseup)(THIS_ VARIANT) PURE;
  399.     STDMETHOD(get_onmouseup)(THIS_ VARIANT*) PURE;
  400.     STDMETHOD(get_document)(THIS_ IDispatch**) PURE;
  401.     STDMETHOD(put_title)(THIS_ BSTR) PURE;
  402.     STDMETHOD(get_title)(THIS_ BSTR*) PURE;
  403.     STDMETHOD(put_language)(THIS_ BSTR) PURE;
  404.     STDMETHOD(get_language)(THIS_ BSTR*) PURE;
  405.     STDMETHOD(put_onselectstart)(THIS_ VARIANT) PURE;
  406.     STDMETHOD(get_onselectstart)(THIS_ VARIANT*) PURE;
  407.     STDMETHOD(scrollIntoView)(THIS_ VARIANT) PURE;
  408.     STDMETHOD(contains)(THIS_ LPHTMLELEMENT,VARIANT_BOOL*) PURE;
  409.     STDMETHOD(get_source3Index)(THIS_ long*) PURE;
  410.     STDMETHOD(get_recordNumber)(THIS_ VARIANT*) PURE;
  411.     STDMETHOD(put_lang)(THIS_ BSTR) PURE;
  412.     STDMETHOD(get_lang)(THIS_ BSTR*) PURE;
  413.     STDMETHOD(get_offsetLeft)(THIS_ long*) PURE;
  414.     STDMETHOD(get_offsetTop)(THIS_ long*) PURE;
  415.     STDMETHOD(get_offsetWidth)(THIS_ long*) PURE;
  416.     STDMETHOD(get_offsetHeight)(THIS_ long*) PURE;
  417.     STDMETHOD(get_offsetParent)(THIS_ LPHTMLELEMENT*) PURE;
  418.     STDMETHOD(put_innerHTML)(THIS_ BSTR) PURE;
  419.     STDMETHOD(get_innerHTML)(THIS_ BSTR*) PURE;
  420.     STDMETHOD(put_innerText)(THIS_ BSTR) PURE;
  421.     STDMETHOD(get_innerText)(THIS_ BSTR*) PURE;
  422.     STDMETHOD(put_outerHTML)(THIS_ BSTR) PURE;
  423.     STDMETHOD(get_outerHTML)(THIS_ BSTR*) PURE;
  424.     STDMETHOD(put_outerText)(THIS_ BSTR) PURE;
  425.     STDMETHOD(get_outerText)(THIS_ BSTR*) PURE;
  426.     STDMETHOD(insertAdjacentHTML)(THIS_ BSTR,BSTR) PURE;
  427.     STDMETHOD(insertAdjacentText)(THIS_ BSTR,BSTR) PURE;
  428.     STDMETHOD(get_parentTextEdit)(THIS_ LPHTMLELEMENT*) PURE;
  429.     STDMETHOD(isTextEdit)(THIS_ VARIANT_BOOL*) PURE;
  430.     STDMETHOD(click)(THIS) PURE;
  431.     STDMETHOD(get_filters)(THIS_ LPHTMLFILTERSCOLLECTION*) PURE;
  432.     STDMETHOD(put_ondragstart)(THIS_ VARIANT) PURE;
  433.     STDMETHOD(get_ondragstart)(THIS_ VARIANT*) PURE;
  434.     STDMETHOD(toString)(THIS_ BSTR*) PURE;
  435.     STDMETHOD(put_onbeforeupdate)(THIS_ VARIANT) PURE;
  436.     STDMETHOD(get_onbeforeupdate)(THIS_ VARIANT*) PURE;
  437.     STDMETHOD(put_onafterupdate)(THIS_ VARIANT) PURE;
  438.     STDMETHOD(get_onafterupdate)(THIS_ VARIANT*) PURE;
  439.     STDMETHOD(put_onerrorupdate)(THIS_ VARIANT) PURE;
  440.     STDMETHOD(get_onerrorupdate)(THIS_ VARIANT*) PURE;
  441.     STDMETHOD(put_onrowexit)(THIS_ VARIANT) PURE;
  442.     STDMETHOD(get_onrowexit)(THIS_ VARIANT*) PURE;
  443.     STDMETHOD(put_onrowenter)(THIS_ VARIANT) PURE;
  444.     STDMETHOD(get_onrowenter)(THIS_ VARIANT*) PURE;
  445.     STDMETHOD(put_ondatasetchanged)(THIS_ VARIANT) PURE;
  446.     STDMETHOD(get_ondatasetchanged)(THIS_ VARIANT*) PURE;
  447.     STDMETHOD(put_ondataavailable)(THIS_ VARIANT) PURE;
  448.     STDMETHOD(get_ondataavailable)(THIS_ VARIANT*) PURE;
  449.     STDMETHOD(put_ondatasetcomplete)(THIS_ VARIANT) PURE;
  450.     STDMETHOD(get_ondatasetcomplete)(THIS_ VARIANT*) PURE;
  451.     STDMETHOD(put_onfilterchange)(THIS_ VARIANT) PURE;
  452.     STDMETHOD(get_onfilterchange)(THIS_ VARIANT*) PURE;
  453.     STDMETHOD(get_children)(THIS_ IDispatch**) PURE;
  454.     STDMETHOD(get_all)(THIS_ IDispatch**) PURE;
  455. };
  456.  
  457. EXTERN_C const IID IID_IHTMLFramesCollection2;
  458. #undef INTERFACE
  459. #define INTERFACE IHTMLFramesCollection2
  460. DECLARE_INTERFACE_(IHTMLFramesCollection2,IDispatch)
  461. {
  462.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  463.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  464.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  465.     STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
  466.     STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
  467.     STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
  468.     STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
  469.  
  470.     STDMETHOD(item)(THIS_ VARIANT*,VARIANT*) PURE;
  471.     STDMETHOD(get_length)(THIS_ long*) PURE;
  472. };
  473.  
  474. EXTERN_C const IID IID_IHTMLWindow2;
  475. #undef INTERFACE
  476. #define INTERFACE IHTMLWindow2
  477. DECLARE_INTERFACE_(IHTMLWindow2,IHTMLFramesCollection2)
  478. {
  479.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  480.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  481.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  482.     STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
  483.     STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
  484.     STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
  485.     STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
  486.     STDMETHOD(item)(THIS_ VARIANT*,VARIANT*) PURE;
  487.     STDMETHOD(get_length)(THIS_ long*) PURE;
  488.  
  489.     STDMETHOD(get_frames)(THIS_ IHTMLFramesCollection2**) PURE;
  490.     STDMETHOD(put_defaultStatus)(THIS_ BSTR) PURE;
  491.     STDMETHOD(get_defaultStatus)(THIS_ BSTR*) PURE;
  492.     STDMETHOD(put_status)(THIS_ BSTR) PURE;
  493.     STDMETHOD(get_status)(THIS_ BSTR*) PURE;
  494.     STDMETHOD(setTimeout)(THIS_ BSTR,long,VARIANT*,long*) PURE;
  495.     STDMETHOD(clearTimeout)(THIS_ long) PURE;
  496.     STDMETHOD(alert)(THIS_ BSTR) PURE;
  497.     STDMETHOD(confirm)(THIS_ BSTR,VARIANT_BOOL*) PURE;
  498.     STDMETHOD(prompt)(THIS_ BSTR,BSTR,VARIANT*) PURE;
  499.     STDMETHOD(get_Image)(THIS_ LPHTMLIMAGEELEMENTFACTORY*) PURE;
  500.     STDMETHOD(get_location)(THIS_ LPHTMLLOCATION*) PURE;
  501.     STDMETHOD(get_history)(THIS_ LPOMHISTORY*) PURE;
  502.     STDMETHOD(close)(THIS) PURE;
  503.     STDMETHOD(put_opener)(THIS_ VARIANT) PURE;
  504.     STDMETHOD(get_opener)(THIS_ VARIANT*) PURE;
  505.     STDMETHOD(get_navigator)(THIS_ LPOMNAVIGATOR*) PURE;
  506.     STDMETHOD(put_name)(THIS_ BSTR) PURE;
  507.     STDMETHOD(get_name)(THIS_ BSTR*) PURE;
  508.     STDMETHOD(get_parent)(THIS_ LPHTMLWINDOW2*) PURE;
  509.     STDMETHOD(open)(THIS_ BSTR,BSTR,BSTR,VARIANT_BOOL,LPHTMLWINDOW2*) PURE;
  510.     STDMETHOD(get_self)(THIS_ LPHTMLWINDOW2*) PURE;
  511.     STDMETHOD(get_top)(THIS_ LPHTMLWINDOW2*) PURE;
  512.     STDMETHOD(get_window)(THIS_ LPHTMLWINDOW2*) PURE;
  513.     STDMETHOD(navigate)(THIS_ BSTR) PURE;
  514.     STDMETHOD(put_onfocus)(THIS_ VARIANT) PURE;
  515.     STDMETHOD(get_onfocus)(THIS_ VARIANT*) PURE;
  516.     STDMETHOD(put_onblur)(THIS_ VARIANT) PURE;
  517.     STDMETHOD(get_onblur)(THIS_ VARIANT*) PURE;
  518.     STDMETHOD(put_onload)(THIS_ VARIANT) PURE;
  519.     STDMETHOD(get_onload)(THIS_ VARIANT*) PURE;
  520.     STDMETHOD(put_onbeforeunload)(THIS_ VARIANT) PURE;
  521.     STDMETHOD(get_onbeforeunload)(THIS_ VARIANT*) PURE;
  522.     STDMETHOD(put_onunload)(THIS_ VARIANT) PURE;
  523.     STDMETHOD(get_onunload)(THIS_ VARIANT*) PURE;
  524.     STDMETHOD(put_onhelp)(THIS_ VARIANT) PURE;
  525.     STDMETHOD(get_onhelp)(THIS_ VARIANT*) PURE;
  526.     STDMETHOD(put_onerror)(THIS_ VARIANT) PURE;
  527.     STDMETHOD(get_onerror)(THIS_ VARIANT*) PURE;
  528.     STDMETHOD(put_onresize)(THIS_ VARIANT) PURE;
  529.     STDMETHOD(get_onresize)(THIS_ VARIANT*) PURE;
  530.     STDMETHOD(put_onscroll)(THIS_ VARIANT) PURE;
  531.     STDMETHOD(get_onscroll)(THIS_ VARIANT*) PURE;
  532.     STDMETHOD(get_document)(THIS_ IHTMLDocument2**) PURE;
  533.     STDMETHOD(get_event)(THIS_ LPHTMLEVENTOBJ*) PURE;
  534.     STDMETHOD(get__newEnum)(THIS_ IUnknown**) PURE;
  535.     STDMETHOD(showModalDialog)(THIS_ BSTR,VARIANT*,VARIANT*,VARIANT*) PURE;
  536.     STDMETHOD(showHelp)(THIS_ BSTR,VARIANT,BSTR) PURE;
  537.     STDMETHOD(get_screen)(THIS_ LPHTMLSCREEN*) PURE;
  538.     STDMETHOD(get_Option)(THIS_ LPHTMLOPTIONELEMENTFACTORY*) PURE;
  539.     STDMETHOD(focus)(THIS) PURE;
  540.     STDMETHOD(get_closed)(THIS_ VARIANT_BOOL*) PURE;
  541.     STDMETHOD(blur)(THIS) PURE;
  542.     STDMETHOD(scroll)(THIS_ long,long) PURE;
  543.     STDMETHOD(get_clientInformation)(THIS_ LPOMNAVIGATOR*) PURE;
  544.     STDMETHOD(setInterval)(THIS_ BSTR,long,VARIANT*,long*) PURE;
  545.     STDMETHOD(clearInterval)(THIS_ long) PURE;
  546.     STDMETHOD(put_offscreenBuffering)(THIS_ VARIANT) PURE;
  547.     STDMETHOD(get_offscreenBuffering)(THIS_ VARIANT*) PURE;
  548.     STDMETHOD(execScript)(THIS_ BSTR,BSTR,VARIANT*) PURE;
  549.     STDMETHOD(toString)(THIS_ BSTR*) PURE;
  550.     STDMETHOD(scrollBy)(THIS_ long,long) PURE;
  551.     STDMETHOD(scrollTo)(THIS_ long,long) PURE;
  552.     STDMETHOD(moveTo)(THIS_ long,long) PURE;
  553.     STDMETHOD(moveBy)(THIS_ long,long) PURE;
  554.     STDMETHOD(resizeTo)(THIS_ long,long) PURE;
  555.     STDMETHOD(resizeBy)(THIS_ long,long) PURE;
  556.     STDMETHOD(get_external)(THIS_ IDispatch**) PURE;
  557. };
  558.  
  559. EXTERN_C const IID IID_IHTMLFrameBase;
  560. #undef INTERFACE
  561. #define INTERFACE IHTMLFrameBase
  562. DECLARE_INTERFACE_(IHTMLFrameBase,IDispatch)
  563. {
  564.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  565.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  566.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  567.     STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
  568.     STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
  569.     STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
  570.     STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
  571.  
  572.     STDMETHOD(put_src)(THIS_ BSTR) PURE;
  573.     STDMETHOD(get_src)(THIS_ BSTR*) PURE;
  574.     STDMETHOD(put_name)(THIS_ BSTR) PURE;
  575.     STDMETHOD(get_name)(THIS_ BSTR*) PURE;
  576.     STDMETHOD(put_border)(THIS_ VARIANT) PURE;
  577.     STDMETHOD(get_border)(THIS_ VARIANT*) PURE;
  578.     STDMETHOD(put_frameBorder)(THIS_ BSTR) PURE;
  579.     STDMETHOD(get_frameBorder)(THIS_ BSTR*) PURE;
  580.     STDMETHOD(put_frameSpacing)(THIS_ VARIANT) PURE;
  581.     STDMETHOD(get_frameSpacing)(THIS_ VARIANT*) PURE;
  582.     STDMETHOD(put_marginWidth)(THIS_ VARIANT) PURE;
  583.     STDMETHOD(get_marginWidth)(THIS_ VARIANT*) PURE;
  584.     STDMETHOD(put_marginHeight)(THIS_ VARIANT) PURE;
  585.     STDMETHOD(get_marginHeight)(THIS_ VARIANT*) PURE;
  586.     STDMETHOD(put_noResize)(THIS_ VARIANT_BOOL) PURE;
  587.     STDMETHOD(get_noResize)(THIS_ VARIANT_BOOL*) PURE;
  588.     STDMETHOD(put_scrolling)(THIS_ BSTR) PURE;
  589.     STDMETHOD(get_scrolling)(THIS_ BSTR*) PURE;
  590. };
  591.  
  592. EXTERN_C const IID IID_IHTMLFrameBase2;
  593. #undef INTERFACE
  594. #define INTERFACE IHTMLFrameBase2
  595. DECLARE_INTERFACE_(IHTMLFrameBase2,IDispatch)
  596. {
  597.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  598.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  599.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  600.     STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
  601.     STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
  602.     STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
  603.     STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
  604.  
  605.     STDMETHOD(get_contentWindow)(THIS_ IHTMLWindow2 **) PURE;
  606.     STDMETHOD(put_onload)(THIS_ VARIANT) PURE;
  607.     STDMETHOD(get_onload)(THIS_ VARIANT*) PURE;
  608.     STDMETHOD(put_onreadystatechange)(THIS_ VARIANT) PURE;
  609.     STDMETHOD(get_onreadystatechange)(THIS_ VARIANT*) PURE;
  610.     STDMETHOD(get_readyState)(THIS_ BSTR*) PURE;
  611.     STDMETHOD(put_allowTransparency)(THIS_ VARIANT_BOOL) PURE;
  612.     STDMETHOD(get_allowTransparency)(THIS_ VARIANT_BOOL*) PURE;
  613. };
  614.  
  615. EXTERN_C const IID IID_IHTMLFrameBase3;
  616. #undef INTERFACE
  617. #define INTERFACE IHTMLFrameBase3
  618. DECLARE_INTERFACE_(IHTMLFrameBase3,IDispatch)
  619. {
  620.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  621.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  622.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  623.     STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
  624.     STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
  625.     STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
  626.     STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
  627.  
  628.     STDMETHOD(put_longDesc)(THIS_ BSTR) PURE;
  629.     STDMETHOD(get_longDesc)(THIS_ BSTR*) PURE;
  630. };
  631.  
  632. EXTERN_C const IID IID_IHTMLBodyElement;
  633. #undef INTERFACE
  634. #define INTERFACE IHTMLBodyElement
  635. DECLARE_INTERFACE_(IHTMLBodyElement,IDispatch)
  636. {
  637.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  638.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  639.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  640.     STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
  641.     STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
  642.     STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
  643.     STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
  644.  
  645.     STDMETHOD(put_background)(THIS_ BSTR) PURE;
  646.     STDMETHOD(get_background)(THIS_ BSTR*) PURE;
  647.     STDMETHOD(put_bgProperties)(THIS_ BSTR) PURE;
  648.     STDMETHOD(get_bgProperties)(THIS_ BSTR*) PURE;
  649.     STDMETHOD(put_leftMargin)(THIS_ VARIANT) PURE;
  650.     STDMETHOD(get_leftMargin)(THIS_ VARIANT*) PURE;
  651.     STDMETHOD(put_topMargin)(THIS_ VARIANT) PURE;
  652.     STDMETHOD(get_topMargin)(THIS_ VARIANT*) PURE;
  653.     STDMETHOD(put_rightMargin)(THIS_ VARIANT) PURE;
  654.     STDMETHOD(get_rightMargin)(THIS_ VARIANT*) PURE;
  655.     STDMETHOD(put_bottomMargin)(THIS_ VARIANT) PURE;
  656.     STDMETHOD(get_bottomMargin)(THIS_ VARIANT*) PURE;
  657.     STDMETHOD(put_noWrap)(THIS_ VARIANT_BOOL) PURE;
  658.     STDMETHOD(get_noWrap)(THIS_ VARIANT_BOOL*) PURE;
  659.     STDMETHOD(put_bgColor)(THIS_ VARIANT) PURE;
  660.     STDMETHOD(get_bgColor)(THIS_ VARIANT*) PURE;
  661.     STDMETHOD(put_text)(THIS_ VARIANT) PURE;
  662.     STDMETHOD(get_text)(THIS_ VARIANT*) PURE;
  663.     STDMETHOD(put_link)(THIS_ VARIANT) PURE;
  664.     STDMETHOD(get_link)(THIS_ VARIANT*) PURE;
  665.     STDMETHOD(put_vLink)(THIS_ VARIANT) PURE;
  666.     STDMETHOD(get_vLink)(THIS_ VARIANT*) PURE;
  667.     STDMETHOD(put_aLink)(THIS_ VARIANT) PURE;
  668.     STDMETHOD(get_aLink)(THIS_ VARIANT*) PURE;
  669.     STDMETHOD(put_onload)(THIS_ VARIANT) PURE;
  670.     STDMETHOD(get_onload)(THIS_ VARIANT*) PURE;
  671.     STDMETHOD(put_onunload)(THIS_ VARIANT) PURE;
  672.     STDMETHOD(get_onunload)(THIS_ VARIANT*) PURE;
  673.     STDMETHOD(put_scroll)(THIS_ BSTR) PURE;
  674.     STDMETHOD(get_scroll)(THIS_ BSTR*) PURE;
  675.     STDMETHOD(put_onselect)(THIS_ VARIANT) PURE;
  676.     STDMETHOD(get_onselect)(THIS_ VARIANT*) PURE;
  677.     STDMETHOD(put_onbeforeunload)(THIS_ VARIANT) PURE;
  678.     STDMETHOD(get_onbeforeunload)(THIS_ VARIANT*) PURE;
  679.     STDMETHOD(createTextRange)(THIS_ IHTMLTxtRange**) PURE;
  680. };
  681.  
  682. EXTERN_C const IID IID_IHTMLBodyElement2;
  683. #undef INTERFACE
  684. #define INTERFACE IHTMLBodyElement2
  685. DECLARE_INTERFACE_(IHTMLBodyElement2,IDispatch)
  686. {
  687.     STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
  688.     STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  689.     STDMETHOD_(ULONG,Release)(THIS) PURE;
  690.     STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
  691.     STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
  692.     STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
  693.     STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
  694.  
  695.     STDMETHOD(put_onbeforeprint)(THIS_ VARIANT) PURE;
  696.     STDMETHOD(get_onbeforeprint)(THIS_ VARIANT*) PURE;
  697.     STDMETHOD(put_onafterprint)(THIS_ VARIANT) PURE;
  698.     STDMETHOD(get_onafterprint)(THIS_ VARIANT*) PURE;
  699. };
  700.  
  701. #ifdef __cplusplus
  702. }
  703. #endif
  704. #endif
  705.