Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
951084ab
Commit
951084ab
authored
Apr 19, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Forward window IDispatch methods.
parent
a5843056
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
43 deletions
+14
-43
htmlwindow.c
dlls/mshtml/htmlwindow.c
+14
-43
No files found.
dlls/mshtml/htmlwindow.c
View file @
951084ab
...
...
@@ -101,25 +101,15 @@ static HRESULT WINAPI HTMLWindow2_GetTypeInfoCount(IHTMLWindow2 *iface, UINT *pc
{
HTMLWindow
*
This
=
HTMLWINDOW2_THIS
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pctinfo
);
*
pctinfo
=
1
;
return
S_OK
;
return
IDispatchEx_GetTypeInfoCount
(
DISPATCHEX
(
This
),
pctinfo
);
}
static
HRESULT
WINAPI
HTMLWindow2_GetTypeInfo
(
IHTMLWindow2
*
iface
,
UINT
iTInfo
,
LCID
lcid
,
ITypeInfo
**
ppTInfo
)
{
HTMLWindow
*
This
=
HTMLWINDOW2_THIS
(
iface
);
HRESULT
hres
;
TRACE
(
"(%p)->(%u %u %p)
\n
"
,
This
,
iTInfo
,
lcid
,
ppTInfo
);
hres
=
get_typeinfo
(
IHTMLWindow2_tid
,
ppTInfo
);
if
(
SUCCEEDED
(
hres
))
ITypeInfo_AddRef
(
*
ppTInfo
);
return
hres
;
return
IDispatchEx_GetTypeInfo
(
DISPATCHEX
(
This
),
iTInfo
,
lcid
,
ppTInfo
)
;
}
static
HRESULT
WINAPI
HTMLWindow2_GetIDsOfNames
(
IHTMLWindow2
*
iface
,
REFIID
riid
,
...
...
@@ -127,17 +117,8 @@ static HRESULT WINAPI HTMLWindow2_GetIDsOfNames(IHTMLWindow2 *iface, REFIID riid
LCID
lcid
,
DISPID
*
rgDispId
)
{
HTMLWindow
*
This
=
HTMLWINDOW2_THIS
(
iface
);
ITypeInfo
*
typeinfo
;
HRESULT
hres
;
TRACE
(
"(%p)->(%s %p %u %u %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
rgszNames
,
cNames
,
lcid
,
rgDispId
);
hres
=
get_typeinfo
(
IHTMLWindow2_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hres
))
hres
=
ITypeInfo_GetIDsOfNames
(
typeinfo
,
rgszNames
,
cNames
,
rgDispId
);
return
hres
;
return
IDispatchEx_GetIDsOfNames
(
DISPATCHEX
(
This
),
riid
,
rgszNames
,
cNames
,
lcid
,
rgDispId
);
}
static
HRESULT
WINAPI
HTMLWindow2_Invoke
(
IHTMLWindow2
*
iface
,
DISPID
dispIdMember
,
...
...
@@ -145,18 +126,9 @@ static HRESULT WINAPI HTMLWindow2_Invoke(IHTMLWindow2 *iface, DISPID dispIdMembe
VARIANT
*
pVarResult
,
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
HTMLWindow
*
This
=
HTMLWINDOW2_THIS
(
iface
);
ITypeInfo
*
typeinfo
;
HRESULT
hres
;
TRACE
(
"(%p)->(%d %s %d %d %p %p %p %p)
\n
"
,
This
,
dispIdMember
,
debugstr_guid
(
riid
),
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
hres
=
get_typeinfo
(
IHTMLWindow2_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hres
))
hres
=
ITypeInfo_Invoke
(
typeinfo
,
HTMLWINDOW2
(
This
),
dispIdMember
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
return
hres
;
return
IDispatchEx_Invoke
(
DISPATCHEX
(
This
),
dispIdMember
,
riid
,
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
}
static
HRESULT
WINAPI
HTMLWindow2_item
(
IHTMLWindow2
*
iface
,
VARIANT
*
pvarIndex
,
VARIANT
*
pvarResult
)
...
...
@@ -794,16 +766,16 @@ static ULONG WINAPI HTMLWindow3_Release(IHTMLWindow3 *iface)
static
HRESULT
WINAPI
HTMLWindow3_GetTypeInfoCount
(
IHTMLWindow3
*
iface
,
UINT
*
pctinfo
)
{
HTMLWindow
*
This
=
HTMLWINDOW3_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
pctinfo
);
return
E_NOTIMPL
;
return
IDispatchEx_GetTypeInfoCount
(
DISPATCHEX
(
This
),
pctinfo
)
;
}
static
HRESULT
WINAPI
HTMLWindow3_GetTypeInfo
(
IHTMLWindow3
*
iface
,
UINT
iTInfo
,
LCID
lcid
,
ITypeInfo
**
ppTInfo
)
{
HTMLWindow
*
This
=
HTMLWINDOW3_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
HTMLWindow3_GetIDsOfNames
(
IHTMLWindow3
*
iface
,
REFIID
riid
,
...
...
@@ -811,9 +783,8 @@ static HRESULT WINAPI HTMLWindow3_GetIDsOfNames(IHTMLWindow3 *iface, REFIID riid
LCID
lcid
,
DISPID
*
rgDispId
)
{
HTMLWindow
*
This
=
HTMLWINDOW3_THIS
(
iface
);
FIXME
(
"(%p)->(%s %p %u %u %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
rgszNames
,
cNames
,
lcid
,
rgDispId
);
return
E_NOTIMPL
;
return
IDispatchEx_GetIDsOfNames
(
DISPATCHEX
(
This
),
riid
,
rgszNames
,
cNames
,
lcid
,
rgDispId
);
}
static
HRESULT
WINAPI
HTMLWindow3_Invoke
(
IHTMLWindow3
*
iface
,
DISPID
dispIdMember
,
...
...
@@ -821,9 +792,9 @@ static HRESULT WINAPI HTMLWindow3_Invoke(IHTMLWindow3 *iface, DISPID dispIdMembe
VARIANT
*
pVarResult
,
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
HTMLWindow
*
This
=
HTMLWINDOW3_THIS
(
iface
);
FIXME
(
"(%p)->(%d %s %d %d %p %p %p %p)
\n
"
,
This
,
dispIdMember
,
debugstr_guid
(
riid
),
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
return
E_NOTIMPL
;
return
IDispatchEx_Invoke
(
DISPATCHEX
(
This
),
dispIdMember
,
riid
,
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
)
;
}
static
HRESULT
WINAPI
HTMLWindow3_get_screenLeft
(
IHTMLWindow3
*
iface
,
long
*
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