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
0a32cd86
Commit
0a32cd86
authored
Apr 21, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Forward IHTMLDocument2's IDispatch methods to IDispatchEx implementation.
parent
98ab1a92
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
24 deletions
+8
-24
htmldoc.c
dlls/mshtml/htmldoc.c
+8
-24
No files found.
dlls/mshtml/htmldoc.c
View file @
0a32cd86
...
@@ -213,16 +213,16 @@ static ULONG WINAPI HTMLDocument_Release(IHTMLDocument2 *iface)
...
@@ -213,16 +213,16 @@ static ULONG WINAPI HTMLDocument_Release(IHTMLDocument2 *iface)
static
HRESULT
WINAPI
HTMLDocument_GetTypeInfoCount
(
IHTMLDocument2
*
iface
,
UINT
*
pctinfo
)
static
HRESULT
WINAPI
HTMLDocument_GetTypeInfoCount
(
IHTMLDocument2
*
iface
,
UINT
*
pctinfo
)
{
{
HTMLDocument
*
This
=
HTMLDOC_THIS
(
iface
);
HTMLDocument
*
This
=
HTMLDOC_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
pctinfo
);
return
E_NOTIMPL
;
return
IDispatchEx_GetTypeInfoCount
(
DISPATCHEX
(
This
),
pctinfo
)
;
}
}
static
HRESULT
WINAPI
HTMLDocument_GetTypeInfo
(
IHTMLDocument2
*
iface
,
UINT
iTInfo
,
static
HRESULT
WINAPI
HTMLDocument_GetTypeInfo
(
IHTMLDocument2
*
iface
,
UINT
iTInfo
,
LCID
lcid
,
ITypeInfo
**
ppTInfo
)
LCID
lcid
,
ITypeInfo
**
ppTInfo
)
{
{
HTMLDocument
*
This
=
HTMLDOC_THIS
(
iface
);
HTMLDocument
*
This
=
HTMLDOC_THIS
(
iface
);
FIXME
(
"(%p)->(%u %u %p)
\n
"
,
This
,
iTInfo
,
lcid
,
ppTInfo
);
return
E_NOTIMPL
;
return
IDispatchEx_GetTypeInfo
(
DISPATCHEX
(
This
),
iTInfo
,
lcid
,
ppTInfo
)
;
}
}
static
HRESULT
WINAPI
HTMLDocument_GetIDsOfNames
(
IHTMLDocument2
*
iface
,
REFIID
riid
,
static
HRESULT
WINAPI
HTMLDocument_GetIDsOfNames
(
IHTMLDocument2
*
iface
,
REFIID
riid
,
...
@@ -230,9 +230,8 @@ static HRESULT WINAPI HTMLDocument_GetIDsOfNames(IHTMLDocument2 *iface, REFIID r
...
@@ -230,9 +230,8 @@ static HRESULT WINAPI HTMLDocument_GetIDsOfNames(IHTMLDocument2 *iface, REFIID r
LCID
lcid
,
DISPID
*
rgDispId
)
LCID
lcid
,
DISPID
*
rgDispId
)
{
{
HTMLDocument
*
This
=
HTMLDOC_THIS
(
iface
);
HTMLDocument
*
This
=
HTMLDOC_THIS
(
iface
);
FIXME
(
"(%p)->(%s %p %u %u %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
rgszNames
,
cNames
,
lcid
,
rgDispId
);
return
IDispatchEx_GetIDsOfNames
(
DISPATCHEX
(
This
),
riid
,
rgszNames
,
cNames
,
lcid
,
rgDispId
);
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
HTMLDocument_Invoke
(
IHTMLDocument2
*
iface
,
DISPID
dispIdMember
,
static
HRESULT
WINAPI
HTMLDocument_Invoke
(
IHTMLDocument2
*
iface
,
DISPID
dispIdMember
,
...
@@ -241,23 +240,8 @@ static HRESULT WINAPI HTMLDocument_Invoke(IHTMLDocument2 *iface, DISPID dispIdMe
...
@@ -241,23 +240,8 @@ static HRESULT WINAPI HTMLDocument_Invoke(IHTMLDocument2 *iface, DISPID dispIdMe
{
{
HTMLDocument
*
This
=
HTMLDOC_THIS
(
iface
);
HTMLDocument
*
This
=
HTMLDOC_THIS
(
iface
);
TRACE
(
"(%p)->(%d %s %d %d %p %p %p %p)
\n
"
,
This
,
dispIdMember
,
debugstr_guid
(
riid
),
return
IDispatchEx_Invoke
(
DISPATCHEX
(
This
),
dispIdMember
,
riid
,
lcid
,
wFlags
,
pDispParams
,
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
pVarResult
,
pExcepInfo
,
puArgErr
);
switch
(
dispIdMember
)
{
case
DISPID_READYSTATE
:
if
(
!
(
wFlags
&
DISPATCH_PROPERTYGET
))
return
E_INVALIDARG
;
V_VT
(
pVarResult
)
=
VT_I4
;
V_I4
(
pVarResult
)
=
This
->
readystate
;
return
S_OK
;
default:
FIXME
(
"Unsupported dispid %d
\n
"
,
dispIdMember
);
}
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
HTMLDocument_get_Script
(
IHTMLDocument2
*
iface
,
IDispatch
**
p
)
static
HRESULT
WINAPI
HTMLDocument_get_Script
(
IHTMLDocument2
*
iface
,
IDispatch
**
p
)
...
...
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