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
1cf571eb
Commit
1cf571eb
authored
Aug 01, 2011
by
Piotr Caban
Committed by
Alexandre Julliard
Aug 01, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe: Added OleObject_Close implementation.
parent
3c8674a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
2 deletions
+21
-2
oleobject.c
dlls/ieframe/oleobject.c
+21
-2
No files found.
dlls/ieframe/oleobject.c
View file @
1cf571eb
...
...
@@ -135,6 +135,7 @@ static HRESULT activate_inplace(WebBrowser *This, IOleClientSite *active_site)
if
(
hres
!=
S_OK
)
{
WARN
(
"CanInPlaceActivate returned: %08x
\n
"
,
hres
);
IOleInPlaceSite_Release
(
This
->
inplace
);
This
->
inplace
=
NULL
;
return
E_FAIL
;
}
...
...
@@ -402,8 +403,26 @@ static HRESULT WINAPI OleObject_SetHostNames(IOleObject *iface, LPCOLESTR szCont
static
HRESULT
WINAPI
OleObject_Close
(
IOleObject
*
iface
,
DWORD
dwSaveOption
)
{
WebBrowser
*
This
=
impl_from_IOleObject
(
iface
);
FIXME
(
"(%p)->(%d)
\n
"
,
This
,
dwSaveOption
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%d)
\n
"
,
This
,
dwSaveOption
);
if
(
dwSaveOption
!=
OLECLOSE_NOSAVE
)
{
FIXME
(
"unimplemnted flag: %x
\n
"
,
dwSaveOption
);
return
E_NOTIMPL
;
}
if
(
This
->
doc_host
.
frame
)
IOleInPlaceFrame_SetActiveObject
(
This
->
doc_host
.
frame
,
NULL
,
NULL
);
if
(
This
->
uiwindow
)
IOleInPlaceUIWindow_SetActiveObject
(
This
->
uiwindow
,
NULL
,
NULL
);
if
(
This
->
inplace
)
{
IOleInPlaceSite_OnUIDeactivate
(
This
->
inplace
,
FALSE
);
IOleInPlaceSite_OnInPlaceDeactivate
(
This
->
inplace
);
}
return
IOleObject_SetClientSite
(
iface
,
NULL
);
}
static
HRESULT
WINAPI
OleObject_SetMoniker
(
IOleObject
*
iface
,
DWORD
dwWhichMoniker
,
IMoniker
*
pmk
)
...
...
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