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
87b1cab1
Commit
87b1cab1
authored
May 12, 2008
by
Petr Dlouhý
Committed by
Alexandre Julliard
May 12, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Partial implementation of WebBrowser_put_RegisterAsBrowser and…
shdocvw: Partial implementation of WebBrowser_put_RegisterAsBrowser and WebBrowser_get_RegisterAsBrowser.
parent
4d926e3e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
shdocvw.h
dlls/shdocvw/shdocvw.h
+1
-0
webbrowser.c
dlls/shdocvw/webbrowser.c
+9
-2
No files found.
dlls/shdocvw/shdocvw.h
View file @
87b1cab1
...
...
@@ -139,6 +139,7 @@ struct WebBrowser {
HWND
shell_embedding_hwnd
;
VARIANT_BOOL
register_browser
;
VARIANT_BOOL
visible
;
VARIANT_BOOL
menu_bar
;
VARIANT_BOOL
address_bar
;
...
...
dlls/shdocvw/webbrowser.c
View file @
87b1cab1
...
...
@@ -790,16 +790,22 @@ static HRESULT WINAPI WebBrowser_get_RegisterAsBrowser(IWebBrowser2 *iface,
VARIANT_BOOL
*
pbRegister
)
{
WebBrowser
*
This
=
WEBBROWSER_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
pbRegister
);
return
E_NOTIMPL
;
*
pbRegister
=
This
->
register_browser
;
return
S_OK
;
}
static
HRESULT
WINAPI
WebBrowser_put_RegisterAsBrowser
(
IWebBrowser2
*
iface
,
VARIANT_BOOL
bRegister
)
{
WebBrowser
*
This
=
WEBBROWSER_THIS
(
iface
);
FIXME
(
"(%p)->(%x)
\n
"
,
This
,
bRegister
);
return
E_NOTIMPL
;
This
->
register_browser
=
bRegister
?
VARIANT_TRUE
:
VARIANT_FALSE
;
return
S_OK
;
}
static
HRESULT
WINAPI
WebBrowser_get_RegisterAsDropTarget
(
IWebBrowser2
*
iface
,
...
...
@@ -999,6 +1005,7 @@ static HRESULT WebBrowser_Create(INT version, IUnknown *pOuter, REFIID riid, voi
DocHost_Init
(
&
ret
->
doc_host
,
(
IDispatch
*
)
WEBBROWSER2
(
ret
));
ret
->
register_browser
=
VARIANT_FALSE
;
ret
->
visible
=
VARIANT_TRUE
;
ret
->
menu_bar
=
VARIANT_TRUE
;
ret
->
address_bar
=
VARIANT_TRUE
;
...
...
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