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
b6d08180
Commit
b6d08180
authored
Jul 07, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Call GetContainer in SetClientSite.
parent
ccee0297
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
oleobject.c
dlls/shdocvw/oleobject.c
+16
-0
No files found.
dlls/shdocvw/oleobject.c
View file @
b6d08180
...
...
@@ -26,6 +26,7 @@
#include <string.h>
#include "wine/debug.h"
#include "shdocvw.h"
#include "htiframe.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
shdocvw
);
...
...
@@ -206,6 +207,7 @@ static ULONG WINAPI OleObject_Release(IOleObject *iface)
static
HRESULT
WINAPI
OleObject_SetClientSite
(
IOleObject
*
iface
,
LPOLECLIENTSITE
pClientSite
)
{
WebBrowser
*
This
=
OLEOBJ_THIS
(
iface
);
IOleContainer
*
container
;
HRESULT
hres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pClientSite
);
...
...
@@ -247,6 +249,20 @@ static HRESULT WINAPI OleObject_SetClientSite(IOleObject *iface, LPOLECLIENTSITE
if
(
FAILED
(
hres
))
This
->
doc_host
.
hostui
=
NULL
;
hres
=
IOleClientSite_GetContainer
(
This
->
client
,
&
container
);
if
(
SUCCEEDED
(
hres
))
{
ITargetContainer
*
target_container
;
hres
=
IOleContainer_QueryInterface
(
container
,
&
IID_ITargetContainer
,
(
void
**
)
&
target_container
);
if
(
SUCCEEDED
(
hres
))
{
FIXME
(
"Unsupported ITargetContainer
\n
"
);
ITargetContainer_Release
(
target_container
);
}
IOleContainer_Release
(
container
);
}
create_shell_embedding_hwnd
(
This
);
return
S_OK
;
...
...
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