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
f0d8b8b1
Commit
f0d8b8b1
authored
Jun 20, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Added WebBrowser's IDispatch methods implementation.
parent
00beed3d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
7 deletions
+28
-7
webbrowser.c
dlls/shdocvw/webbrowser.c
+28
-7
No files found.
dlls/shdocvw/webbrowser.c
View file @
f0d8b8b1
...
...
@@ -165,16 +165,29 @@ static ULONG WINAPI WebBrowser_Release(IWebBrowser2 *iface)
static
HRESULT
WINAPI
WebBrowser_GetTypeInfoCount
(
IWebBrowser2
*
iface
,
UINT
*
pctinfo
)
{
WebBrowser
*
This
=
WEBBROWSER_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
pctinfo
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pctinfo
);
*
pctinfo
=
1
;
return
S_OK
;
}
static
HRESULT
WINAPI
WebBrowser_GetTypeInfo
(
IWebBrowser2
*
iface
,
UINT
iTInfo
,
LCID
lcid
,
LPTYPEINFO
*
ppTInfo
)
{
WebBrowser
*
This
=
WEBBROWSER_THIS
(
iface
);
FIXME
(
"(%p)->(%d %d %p)
\n
"
,
This
,
iTInfo
,
lcid
,
ppTInfo
);
return
E_NOTIMPL
;
ITypeInfo
*
typeinfo
;
HRESULT
hres
;
TRACE
(
"(%p)->(%d %d %p)
\n
"
,
This
,
iTInfo
,
lcid
,
ppTInfo
);
hres
=
get_typeinfo
(
&
typeinfo
);
if
(
FAILED
(
hres
))
return
hres
;
ITypeInfo_AddRef
(
typeinfo
);
*
ppTInfo
=
typeinfo
;
return
S_OK
;
}
static
HRESULT
WINAPI
WebBrowser_GetIDsOfNames
(
IWebBrowser2
*
iface
,
REFIID
riid
,
...
...
@@ -182,9 +195,17 @@ static HRESULT WINAPI WebBrowser_GetIDsOfNames(IWebBrowser2 *iface, REFIID riid,
LCID
lcid
,
DISPID
*
rgDispId
)
{
WebBrowser
*
This
=
WEBBROWSER_THIS
(
iface
);
FIXME
(
"(%p)->(%s %p %d %d %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
rgszNames
,
cNames
,
lcid
,
rgDispId
);
return
E_NOTIMPL
;
ITypeInfo
*
typeinfo
;
HRESULT
hres
;
TRACE
(
"(%p)->(%s %p %d %d %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
rgszNames
,
cNames
,
lcid
,
rgDispId
);
hres
=
get_typeinfo
(
&
typeinfo
);
if
(
FAILED
(
hres
))
return
hres
;
return
ITypeInfo_GetIDsOfNames
(
typeinfo
,
rgszNames
,
cNames
,
rgDispId
);
}
static
HRESULT
WINAPI
WebBrowser_Invoke
(
IWebBrowser2
*
iface
,
DISPID
dispIdMember
,
...
...
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