Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
bea3154f
Commit
bea3154f
authored
Aug 25, 2011
by
Piotr Caban
Committed by
Alexandre Julliard
Aug 26, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLAttributeCollection stub.
parent
bfb98ace
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
253 additions
and
10 deletions
+253
-10
htmlanchor.c
dlls/mshtml/htmlanchor.c
+1
-0
htmlbody.c
dlls/mshtml/htmlbody.c
+1
-0
htmlcomment.c
dlls/mshtml/htmlcomment.c
+2
-1
htmlelem.c
dlls/mshtml/htmlelem.c
+189
-1
htmlembed.c
dlls/mshtml/htmlembed.c
+2
-1
htmlform.c
dlls/mshtml/htmlform.c
+1
-0
htmlframe.c
dlls/mshtml/htmlframe.c
+1
-0
htmlgeneric.c
dlls/mshtml/htmlgeneric.c
+2
-1
htmlhead.c
dlls/mshtml/htmlhead.c
+3
-1
htmliframe.c
dlls/mshtml/htmliframe.c
+1
-0
htmlimg.c
dlls/mshtml/htmlimg.c
+1
-0
htmlinput.c
dlls/mshtml/htmlinput.c
+1
-0
htmlnode.c
dlls/mshtml/htmlnode.c
+16
-2
htmlobject.c
dlls/mshtml/htmlobject.c
+1
-0
htmloption.c
dlls/mshtml/htmloption.c
+2
-1
htmlscript.c
dlls/mshtml/htmlscript.c
+1
-0
htmlselect.c
dlls/mshtml/htmlselect.c
+1
-0
htmlstyleelem.c
dlls/mshtml/htmlstyleelem.c
+2
-1
htmltable.c
dlls/mshtml/htmltable.c
+1
-0
htmltablerow.c
dlls/mshtml/htmltablerow.c
+2
-1
htmltextarea.c
dlls/mshtml/htmltextarea.c
+1
-0
mshtml_private.h
dlls/mshtml/mshtml_private.h
+21
-0
No files found.
dlls/mshtml/htmlanchor.c
View file @
bea3154f
...
...
@@ -598,6 +598,7 @@ static const NodeImplVtbl HTMLAnchorElementImplVtbl = {
HTMLAnchorElement_QI
,
HTMLAnchorElement_destructor
,
HTMLElement_clone
,
HTMLElement_get_attr_col
,
NULL
,
NULL
,
HTMLAnchorElement_handle_event
...
...
dlls/mshtml/htmlbody.c
View file @
bea3154f
...
...
@@ -786,6 +786,7 @@ static const NodeImplVtbl HTMLBodyElementImplVtbl = {
HTMLBodyElement_QI
,
HTMLBodyElement_destructor
,
HTMLElement_clone
,
HTMLElement_get_attr_col
,
HTMLBodyElement_get_event_target
};
...
...
dlls/mshtml/htmlcomment.c
View file @
bea3154f
...
...
@@ -172,7 +172,8 @@ static void HTMLCommentElement_destructor(HTMLDOMNode *iface)
static
const
NodeImplVtbl
HTMLCommentElementImplVtbl
=
{
HTMLCommentElement_QI
,
HTMLCommentElement_destructor
,
HTMLElement_clone
HTMLElement_clone
,
HTMLElement_get_attr_col
};
static
const
tid_t
HTMLCommentElement_iface_tids
[]
=
{
...
...
dlls/mshtml/htmlelem.c
View file @
bea3154f
...
...
@@ -1731,7 +1731,8 @@ HRESULT HTMLElement_clone(HTMLDOMNode *iface, nsIDOMNode *nsnode, HTMLDOMNode **
static
const
NodeImplVtbl
HTMLElementImplVtbl
=
{
HTMLElement_QI
,
HTMLElement_destructor
,
HTMLElement_clone
HTMLElement_clone
,
HTMLElement_get_attr_col
};
static
inline
HTMLElement
*
impl_from_DispatchEx
(
DispatchEx
*
iface
)
...
...
@@ -2113,3 +2114,190 @@ static IHTMLFiltersCollection *HTMLFiltersCollection_Create(void)
return
&
ret
->
IHTMLFiltersCollection_iface
;
}
/* interface IHTMLAttributeCollection */
static
inline
HTMLAttributeCollection
*
impl_from_IHTMLAttributeCollection
(
IHTMLAttributeCollection
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
HTMLAttributeCollection
,
IHTMLAttributeCollection_iface
);
}
static
HRESULT
WINAPI
HTMLAttributeCollection_QueryInterface
(
IHTMLAttributeCollection
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
HTMLAttributeCollection
*
This
=
impl_from_IHTMLAttributeCollection
(
iface
);
*
ppv
=
NULL
;
if
(
IsEqualGUID
(
&
IID_IUnknown
,
riid
))
{
TRACE
(
"(%p)->(IID_IUnknown %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLAttributeCollection_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLAttributeCollection
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLAttributeCollection %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLAttributeCollection_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLAttributeCollection2
,
riid
))
{
FIXME
(
"(%p)->(IID_IHTMLAttributeCollection2 %p)
\n
"
,
This
,
ppv
);
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLAttributeCollection3
,
riid
))
{
FIXME
(
"(%p)->(IID_IHTMLAttributeCollection3 %p)
\n
"
,
This
,
ppv
);
}
else
if
(
dispex_query_interface
(
&
This
->
dispex
,
riid
,
ppv
))
{
return
*
ppv
?
S_OK
:
E_NOINTERFACE
;
}
if
(
*
ppv
)
{
IUnknown_AddRef
((
IUnknown
*
)
*
ppv
);
return
S_OK
;
}
WARN
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
ppv
);
return
E_NOINTERFACE
;
}
static
ULONG
WINAPI
HTMLAttributeCollection_AddRef
(
IHTMLAttributeCollection
*
iface
)
{
HTMLAttributeCollection
*
This
=
impl_from_IHTMLAttributeCollection
(
iface
);
LONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%d
\n
"
,
This
,
ref
);
return
ref
;
}
static
ULONG
WINAPI
HTMLAttributeCollection_Release
(
IHTMLAttributeCollection
*
iface
)
{
HTMLAttributeCollection
*
This
=
impl_from_IHTMLAttributeCollection
(
iface
);
LONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%d
\n
"
,
This
,
ref
);
if
(
!
ref
)
{
IHTMLElement_Release
(
&
This
->
elem
->
IHTMLElement_iface
);
heap_free
(
This
);
}
return
ref
;
}
static
HRESULT
WINAPI
HTMLAttributeCollection_GetTypeInfoCount
(
IHTMLAttributeCollection
*
iface
,
UINT
*
pctinfo
)
{
HTMLAttributeCollection
*
This
=
impl_from_IHTMLAttributeCollection
(
iface
);
return
IDispatchEx_GetTypeInfoCount
(
&
This
->
dispex
.
IDispatchEx_iface
,
pctinfo
);
}
static
HRESULT
WINAPI
HTMLAttributeCollection_GetTypeInfo
(
IHTMLAttributeCollection
*
iface
,
UINT
iTInfo
,
LCID
lcid
,
ITypeInfo
**
ppTInfo
)
{
HTMLAttributeCollection
*
This
=
impl_from_IHTMLAttributeCollection
(
iface
);
return
IDispatchEx_GetTypeInfo
(
&
This
->
dispex
.
IDispatchEx_iface
,
iTInfo
,
lcid
,
ppTInfo
);
}
static
HRESULT
WINAPI
HTMLAttributeCollection_GetIDsOfNames
(
IHTMLAttributeCollection
*
iface
,
REFIID
riid
,
LPOLESTR
*
rgszNames
,
UINT
cNames
,
LCID
lcid
,
DISPID
*
rgDispId
)
{
HTMLAttributeCollection
*
This
=
impl_from_IHTMLAttributeCollection
(
iface
);
return
IDispatchEx_GetIDsOfNames
(
&
This
->
dispex
.
IDispatchEx_iface
,
riid
,
rgszNames
,
cNames
,
lcid
,
rgDispId
);
}
static
HRESULT
WINAPI
HTMLAttributeCollection_Invoke
(
IHTMLAttributeCollection
*
iface
,
DISPID
dispIdMember
,
REFIID
riid
,
LCID
lcid
,
WORD
wFlags
,
DISPPARAMS
*
pDispParams
,
VARIANT
*
pVarResult
,
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
HTMLAttributeCollection
*
This
=
impl_from_IHTMLAttributeCollection
(
iface
);
return
IDispatchEx_Invoke
(
&
This
->
dispex
.
IDispatchEx_iface
,
dispIdMember
,
riid
,
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
}
static
HRESULT
WINAPI
HTMLAttributeCollection_get_length
(
IHTMLAttributeCollection
*
iface
,
LONG
*
p
)
{
HTMLAttributeCollection
*
This
=
impl_from_IHTMLAttributeCollection
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLAttributeCollection__newEnum
(
IHTMLAttributeCollection
*
iface
,
IUnknown
**
p
)
{
HTMLAttributeCollection
*
This
=
impl_from_IHTMLAttributeCollection
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLAttributeCollection_item
(
IHTMLAttributeCollection
*
iface
,
VARIANT
*
name
,
IDispatch
**
ppItem
)
{
HTMLAttributeCollection
*
This
=
impl_from_IHTMLAttributeCollection
(
iface
);
FIXME
(
"(%p)->(%s, %p)
\n
"
,
This
,
debugstr_variant
(
name
),
ppItem
);
return
E_NOTIMPL
;
}
static
const
IHTMLAttributeCollectionVtbl
HTMLAttributeCollectionVtbl
=
{
HTMLAttributeCollection_QueryInterface
,
HTMLAttributeCollection_AddRef
,
HTMLAttributeCollection_Release
,
HTMLAttributeCollection_GetTypeInfoCount
,
HTMLAttributeCollection_GetTypeInfo
,
HTMLAttributeCollection_GetIDsOfNames
,
HTMLAttributeCollection_Invoke
,
HTMLAttributeCollection_get_length
,
HTMLAttributeCollection__newEnum
,
HTMLAttributeCollection_item
};
static
inline
HTMLAttributeCollection
*
HTMLAttributeCollection_from_DispatchEx
(
DispatchEx
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
HTMLAttributeCollection
,
dispex
);
}
static
HRESULT
HTMLAttributeCollection_get_dispid
(
DispatchEx
*
dispex
,
BSTR
name
,
DWORD
flags
,
DISPID
*
dispid
)
{
HTMLAttributeCollection
*
This
=
HTMLAttributeCollection_from_DispatchEx
(
dispex
);
FIXME
(
"(%p)->(%s %x %p)
\n
"
,
This
,
debugstr_w
(
name
),
flags
,
dispid
);
return
E_NOTIMPL
;
}
static
HRESULT
HTMLAttributeCollection_invoke
(
DispatchEx
*
dispex
,
DISPID
id
,
LCID
lcid
,
WORD
flags
,
DISPPARAMS
*
params
,
VARIANT
*
res
,
EXCEPINFO
*
ei
,
IServiceProvider
*
caller
)
{
HTMLAttributeCollection
*
This
=
HTMLAttributeCollection_from_DispatchEx
(
dispex
);
FIXME
(
"(%p)->(%x %x %x %p %p %p %p)
\n
"
,
This
,
id
,
lcid
,
flags
,
params
,
res
,
ei
,
caller
);
return
E_NOTIMPL
;
}
static
const
dispex_static_data_vtbl_t
HTMLAttributeCollection_dispex_vtbl
=
{
NULL
,
HTMLAttributeCollection_get_dispid
,
HTMLAttributeCollection_invoke
,
NULL
};
static
const
tid_t
HTMLAttributeCollection_iface_tids
[]
=
{
IHTMLAttributeCollection_tid
,
IHTMLAttributeCollection2_tid
,
IHTMLAttributeCollection3_tid
,
0
};
static
dispex_static_data_t
HTMLAttributeCollection_dispex
=
{
&
HTMLAttributeCollection_dispex_vtbl
,
DispHTMLAttributeCollection_tid
,
NULL
,
HTMLAttributeCollection_iface_tids
};
HRESULT
HTMLElement_get_attr_col
(
HTMLDOMNode
*
iface
,
HTMLAttributeCollection
**
ac
)
{
HTMLElement
*
This
=
impl_from_HTMLDOMNode
(
iface
);
HTMLAttributeCollection
*
ret
;
ret
=
heap_alloc_zero
(
sizeof
(
*
ret
));
if
(
!
ret
)
return
E_OUTOFMEMORY
;
ret
->
IHTMLAttributeCollection_iface
.
lpVtbl
=
&
HTMLAttributeCollectionVtbl
;
ret
->
ref
=
1
;
IHTMLElement_AddRef
(
&
This
->
IHTMLElement_iface
);
ret
->
elem
=
This
;
init_dispex
(
&
ret
->
dispex
,
(
IUnknown
*
)
&
ret
->
IHTMLAttributeCollection_iface
,
&
HTMLAttributeCollection_dispex
);
*
ac
=
ret
;
return
S_OK
;
}
dlls/mshtml/htmlembed.c
View file @
bea3154f
...
...
@@ -254,7 +254,8 @@ static void HTMLEmbedElement_destructor(HTMLDOMNode *iface)
static
const
NodeImplVtbl
HTMLEmbedElementImplVtbl
=
{
HTMLEmbedElement_QI
,
HTMLEmbedElement_destructor
,
HTMLElement_clone
HTMLElement_clone
,
HTMLElement_get_attr_col
};
static
const
tid_t
HTMLEmbedElement_iface_tids
[]
=
{
...
...
dlls/mshtml/htmlform.c
View file @
bea3154f
...
...
@@ -633,6 +633,7 @@ static const NodeImplVtbl HTMLFormElementImplVtbl = {
HTMLFormElement_QI
,
HTMLFormElement_destructor
,
HTMLElement_clone
,
HTMLElement_get_attr_col
,
NULL
,
NULL
,
NULL
,
...
...
dlls/mshtml/htmlframe.c
View file @
bea3154f
...
...
@@ -270,6 +270,7 @@ static const NodeImplVtbl HTMLFrameElementImplVtbl = {
HTMLFrameElement_QI
,
HTMLFrameElement_destructor
,
HTMLElement_clone
,
HTMLElement_get_attr_col
,
NULL
,
NULL
,
NULL
,
...
...
dlls/mshtml/htmlgeneric.c
View file @
bea3154f
...
...
@@ -154,7 +154,8 @@ static void HTMLGenericElement_destructor(HTMLDOMNode *iface)
static
const
NodeImplVtbl
HTMLGenericElementImplVtbl
=
{
HTMLGenericElement_QI
,
HTMLGenericElement_destructor
,
HTMLElement_clone
HTMLElement_clone
,
HTMLElement_get_attr_col
};
static
const
tid_t
HTMLGenericElement_iface_tids
[]
=
{
...
...
dlls/mshtml/htmlhead.c
View file @
bea3154f
...
...
@@ -156,6 +156,7 @@ static const NodeImplVtbl HTMLTitleElementImplVtbl = {
HTMLTitleElement_QI
,
HTMLTitleElement_destructor
,
HTMLElement_clone
,
HTMLElement_get_attr_col
};
static
const
tid_t
HTMLTitleElement_iface_tids
[]
=
{
...
...
@@ -312,7 +313,8 @@ static void HTMLHeadElement_destructor(HTMLDOMNode *iface)
static
const
NodeImplVtbl
HTMLHeadElementImplVtbl
=
{
HTMLHeadElement_QI
,
HTMLHeadElement_destructor
,
HTMLElement_clone
HTMLElement_clone
,
HTMLElement_get_attr_col
};
static
const
tid_t
HTMLHeadElement_iface_tids
[]
=
{
...
...
dlls/mshtml/htmliframe.c
View file @
bea3154f
...
...
@@ -248,6 +248,7 @@ static const NodeImplVtbl HTMLIFrameImplVtbl = {
HTMLIFrame_QI
,
HTMLIFrame_destructor
,
HTMLElement_clone
,
HTMLElement_get_attr_col
,
NULL
,
NULL
,
NULL
,
...
...
dlls/mshtml/htmlimg.c
View file @
bea3154f
...
...
@@ -658,6 +658,7 @@ static const NodeImplVtbl HTMLImgElementImplVtbl = {
HTMLImgElement_QI
,
HTMLImgElement_destructor
,
HTMLElement_clone
,
HTMLElement_get_attr_col
,
NULL
,
NULL
,
NULL
,
...
...
dlls/mshtml/htmlinput.c
View file @
bea3154f
...
...
@@ -1185,6 +1185,7 @@ static const NodeImplVtbl HTMLInputElementImplVtbl = {
HTMLInputElement_QI
,
HTMLInputElement_destructor
,
HTMLElement_clone
,
HTMLElement_get_attr_col
,
NULL
,
HTMLInputElementImpl_fire_event
,
NULL
,
...
...
dlls/mshtml/htmlnode.c
View file @
bea3154f
...
...
@@ -472,8 +472,22 @@ static HRESULT WINAPI HTMLDOMNode_get_childNodes(IHTMLDOMNode *iface, IDispatch
static
HRESULT
WINAPI
HTMLDOMNode_get_attributes
(
IHTMLDOMNode
*
iface
,
IDispatch
**
p
)
{
HTMLDOMNode
*
This
=
impl_from_IHTMLDOMNode
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
HTMLAttributeCollection
*
col
;
HRESULT
hres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
if
(
This
->
vtbl
->
get_attr_col
)
{
hres
=
This
->
vtbl
->
get_attr_col
(
This
,
&
col
);
if
(
FAILED
(
hres
))
return
hres
;
*
p
=
(
IDispatch
*
)
&
col
->
IHTMLAttributeCollection_iface
;
return
S_OK
;
}
*
p
=
NULL
;
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLDOMNode_insertBefore
(
IHTMLDOMNode
*
iface
,
IHTMLDOMNode
*
newChild
,
...
...
dlls/mshtml/htmlobject.c
View file @
bea3154f
...
...
@@ -470,6 +470,7 @@ static const NodeImplVtbl HTMLObjectElementImplVtbl = {
HTMLObjectElement_QI
,
HTMLObjectElement_destructor
,
HTMLElement_clone
,
HTMLElement_get_attr_col
,
NULL
,
NULL
,
NULL
,
...
...
dlls/mshtml/htmloption.c
View file @
bea3154f
...
...
@@ -343,7 +343,8 @@ static void HTMLOptionElement_destructor(HTMLDOMNode *iface)
static
const
NodeImplVtbl
HTMLOptionElementImplVtbl
=
{
HTMLOptionElement_QI
,
HTMLOptionElement_destructor
,
HTMLElement_clone
HTMLElement_clone
,
HTMLElement_get_attr_col
};
static
const
tid_t
HTMLOptionElement_iface_tids
[]
=
{
...
...
dlls/mshtml/htmlscript.c
View file @
bea3154f
...
...
@@ -330,6 +330,7 @@ static const NodeImplVtbl HTMLScriptElementImplVtbl = {
HTMLScriptElement_QI
,
HTMLScriptElement_destructor
,
HTMLElement_clone
,
HTMLElement_get_attr_col
,
NULL
,
NULL
,
NULL
,
...
...
dlls/mshtml/htmlselect.c
View file @
bea3154f
...
...
@@ -615,6 +615,7 @@ static const NodeImplVtbl HTMLSelectElementImplVtbl = {
HTMLSelectElement_QI
,
HTMLSelectElement_destructor
,
HTMLElement_clone
,
HTMLElement_get_attr_col
,
NULL
,
NULL
,
NULL
,
...
...
dlls/mshtml/htmlstyleelem.c
View file @
bea3154f
...
...
@@ -295,7 +295,8 @@ static void HTMLStyleElement_destructor(HTMLDOMNode *iface)
static
const
NodeImplVtbl
HTMLStyleElementImplVtbl
=
{
HTMLStyleElement_QI
,
HTMLStyleElement_destructor
,
HTMLElement_clone
HTMLElement_clone
,
HTMLElement_get_attr_col
};
static
const
tid_t
HTMLStyleElement_iface_tids
[]
=
{
...
...
dlls/mshtml/htmltable.c
View file @
bea3154f
...
...
@@ -559,6 +559,7 @@ static const NodeImplVtbl HTMLTableImplVtbl = {
HTMLTable_QI
,
HTMLTable_destructor
,
HTMLElement_clone
,
HTMLElement_get_attr_col
};
static
const
tid_t
HTMLTable_iface_tids
[]
=
{
...
...
dlls/mshtml/htmltablerow.c
View file @
bea3154f
...
...
@@ -300,7 +300,8 @@ static void HTMLTableRow_destructor(HTMLDOMNode *iface)
static
const
NodeImplVtbl
HTMLTableRowImplVtbl
=
{
HTMLTableRow_QI
,
HTMLTableRow_destructor
,
HTMLElement_clone
HTMLElement_clone
,
HTMLElement_get_attr_col
};
static
const
tid_t
HTMLTableRow_iface_tids
[]
=
{
...
...
dlls/mshtml/htmltextarea.c
View file @
bea3154f
...
...
@@ -447,6 +447,7 @@ static const NodeImplVtbl HTMLTextAreaElementImplVtbl = {
HTMLTextAreaElement_QI
,
HTMLTextAreaElement_destructor
,
HTMLElement_clone
,
HTMLElement_get_attr_col
,
NULL
,
NULL
,
NULL
,
...
...
dlls/mshtml/mshtml_private.h
View file @
bea3154f
...
...
@@ -73,6 +73,7 @@ typedef struct event_target_t event_target_t;
XDIID(DispCPlugins) \
XDIID(DispDOMChildrenCollection) \
XDIID(DispHTMLAnchorElement) \
XDIID(DispHTMLAttributeCollection) \
XDIID(DispHTMLBody) \
XDIID(DispHTMLCommentElement) \
XDIID(DispHTMLCurrentStyle) \
...
...
@@ -106,6 +107,9 @@ typedef struct event_target_t event_target_t;
XDIID(DispHTMLWindow2) \
XDIID(HTMLDocumentEvents) \
XIID(IHTMLAnchorElement) \
XIID(IHTMLAttributeCollection) \
XIID(IHTMLAttributeCollection2) \
XIID(IHTMLAttributeCollection3) \
XIID(IHTMLBodyElement) \
XIID(IHTMLBodyElement2) \
XIID(IHTMLCommentElement) \
...
...
@@ -223,6 +227,7 @@ typedef struct HTMLDocumentNode HTMLDocumentNode;
typedef
struct
HTMLDocumentObj
HTMLDocumentObj
;
typedef
struct
HTMLFrameBase
HTMLFrameBase
;
typedef
struct
NSContainer
NSContainer
;
typedef
struct
HTMLAttributeCollection
HTMLAttributeCollection
;
typedef
enum
{
SCRIPTMODE_GECKO
,
...
...
@@ -498,6 +503,7 @@ typedef struct {
HRESULT
(
*
qi
)(
HTMLDOMNode
*
,
REFIID
,
void
**
);
void
(
*
destructor
)(
HTMLDOMNode
*
);
HRESULT
(
*
clone
)(
HTMLDOMNode
*
,
nsIDOMNode
*
,
HTMLDOMNode
**
);
HRESULT
(
*
get_attr_col
)(
HTMLDOMNode
*
,
HTMLAttributeCollection
**
);
event_target_t
**
(
*
get_event_target
)(
HTMLDOMNode
*
);
HRESULT
(
*
fire_event
)(
HTMLDOMNode
*
,
DWORD
,
BOOL
*
);
HRESULT
(
*
handle_event
)(
HTMLDOMNode
*
,
DWORD
,
BOOL
*
);
...
...
@@ -712,6 +718,20 @@ HRESULT create_nselem(HTMLDocumentNode*,const WCHAR*,nsIDOMHTMLElement**) DECLSP
HRESULT
HTMLDOMTextNode_Create
(
HTMLDocumentNode
*
,
nsIDOMNode
*
,
HTMLDOMNode
**
)
DECLSPEC_HIDDEN
;
struct
HTMLAttributeCollection
{
DispatchEx
dispex
;
IHTMLAttributeCollection
IHTMLAttributeCollection_iface
;
IHTMLAttributeCollection2
IHTMLAttributeCollection2_iface
;
IHTMLAttributeCollection3
IHTMLAttributeCollection3_iface
;
LONG
ref
;
HTMLElement
*
elem
;
LONG
size
;
DISPID
*
collection
;
struct
list
attrs
;
};
typedef
struct
{
DispatchEx
dispex
;
IHTMLDOMAttribute
IHTMLDOMAttribute_iface
;
...
...
@@ -760,6 +780,7 @@ void HTMLDOMNode_destructor(HTMLDOMNode*) DECLSPEC_HIDDEN;
HRESULT
HTMLElement_QI
(
HTMLDOMNode
*
,
REFIID
,
void
**
)
DECLSPEC_HIDDEN
;
void
HTMLElement_destructor
(
HTMLDOMNode
*
)
DECLSPEC_HIDDEN
;
HRESULT
HTMLElement_clone
(
HTMLDOMNode
*
,
nsIDOMNode
*
,
HTMLDOMNode
**
)
DECLSPEC_HIDDEN
;
HRESULT
HTMLElement_get_attr_col
(
HTMLDOMNode
*
,
HTMLAttributeCollection
**
)
DECLSPEC_HIDDEN
;
HRESULT
HTMLFrameBase_QI
(
HTMLFrameBase
*
,
REFIID
,
void
**
)
DECLSPEC_HIDDEN
;
void
HTMLFrameBase_destructor
(
HTMLFrameBase
*
)
DECLSPEC_HIDDEN
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment