Commit 96fdb0e7 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Added IHTMLCommentElement declaration.

parent 3186aa7a
......@@ -2054,6 +2054,19 @@
#define DISPID_IHTMLTABLECAPTION_ALIGN STDPROPID_XOBJ_BLOCKALIGN
#define DISPID_IHTMLTABLECAPTION_VALIGN DISPID_A_TABLEVALIGN
/* IHTMLCommentElement */
#define DISPID_IHTMLCOMMENTELEMENT_TEXT DISPID_COMMENTPDL+1
#define DISPID_IHTMLCOMMENTELEMENT_ATOMIC DISPID_COMMENTPDL+2
/* IHTMLCommentElement2 */
#define DISPID_IHTMLCOMMENTELEMENT2_DATA DISPID_COMMENTPDL+3
#define DISPID_IHTMLCOMMENTELEMENT2_LENGTH DISPID_COMMENTPDL+4
#define DISPID_IHTMLCOMMENTELEMENT2_SUBSTRINGDATA DISPID_COMMENTPDL+5
#define DISPID_IHTMLCOMMENTELEMENT2_APPENDDATA DISPID_COMMENTPDL+6
#define DISPID_IHTMLCOMMENTELEMENT2_INSERTDATA DISPID_COMMENTPDL+7
#define DISPID_IHTMLCOMMENTELEMENT2_DELETEDATA DISPID_COMMENTPDL+8
#define DISPID_IHTMLCOMMENTELEMENT2_REPLACEDATA DISPID_COMMENTPDL+9
/* IHTMLTable */
#define DISPID_IHTMLTABLE_COLS DISPID_TABLE+1
#define DISPID_IHTMLTABLE_BORDER DISPID_TABLE+2
......
......@@ -9633,6 +9633,76 @@ coclass HTMLDocument
}
/*****************************************************************************
* IHTMLCommentElement interface
*/
[
odl,
oleautomation,
dual,
uuid(3050f20c-98b5-11cf-bb82-00aa00bdce0b)
]
interface IHTMLCommentElement : IDispatch
{
[propput, id(DISPID_IHTMLCOMMENTELEMENT_TEXT), displaybind, bindable]
HRESULT text([in] BSTR v);
[propget, id(DISPID_IHTMLCOMMENTELEMENT_TEXT), displaybind, bindable]
HRESULT text([out, retval] BSTR *p);
[propput, id(DISPID_IHTMLCOMMENTELEMENT_ATOMIC), displaybind, bindable]
HRESULT atomic([in] long v);
[propget, id(DISPID_IHTMLCOMMENTELEMENT_ATOMIC), displaybind, bindable]
HRESULT atomic([out, retval] long *p);
}
/*****************************************************************************
* IHTMLCommentElement2 interface
*/
[
odl,
oleautomation,
dual,
uuid(3050f813-98b5-11cf-bb82-00aa00bdce0b)
]
interface IHTMLCommentElement2 : IDispatch
{
[propput, id(DISPID_IHTMLCOMMENTELEMENT2_DATA)]
HRESULT data([in] BSTR v);
[propget, id(DISPID_IHTMLCOMMENTELEMENT2_DATA)]
HRESULT data([out, retval] BSTR *p);
[propget, id(DISPID_IHTMLCOMMENTELEMENT2_LENGTH)]
HRESULT length([out, retval] long *p);
[id(DISPID_IHTMLCOMMENTELEMENT2_SUBSTRINGDATA)]
HRESULT substringData(
[in] long offset,
[in] long Count,
[out, retval] BSTR *pbstrsubString);
[id(DISPID_IHTMLCOMMENTELEMENT2_APPENDDATA)]
HRESULT appendData([in] BSTR bstrstring);
[id(DISPID_IHTMLCOMMENTELEMENT2_INSERTDATA)]
HRESULT insertData(
[in] long offset,
[in] BSTR bstrstring);
[id(DISPID_IHTMLCOMMENTELEMENT2_DELETEDATA)]
HRESULT deleteData(
[in] long offset,
[in] long Count);
[id(DISPID_IHTMLCOMMENTELEMENT2_REPLACEDATA)]
HRESULT replaceData(
[in] long offset,
[in] long Count,
[in] BSTR bstrstring);
}
/*****************************************************************************
* HTMLTableEvents dispinterface
*/
[
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment