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
f83a5278
Commit
f83a5278
authored
Mar 26, 2021
by
Huw Davies
Committed by
Alexandre Julliard
Mar 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Retrieve the window from the host.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6c781a1f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
richole.c
dlls/riched20/richole.c
+5
-6
No files found.
dlls/riched20/richole.c
View file @
f83a5278
...
...
@@ -1195,20 +1195,19 @@ static ULONG STDMETHODCALLTYPE IOleInPlaceSite_fnRelease(IOleInPlaceSite *iface)
return
IOleClientSite_Release
(
&
This
->
IOleClientSite_iface
);
}
static
HRESULT
STDMETHODCALLTYPE
IOleInPlaceSite_fnGetWindow
(
IOleInPlaceSite
*
iface
,
HWND
*
phwnd
)
static
HRESULT
STDMETHODCALLTYPE
IOleInPlaceSite_fnGetWindow
(
IOleInPlaceSite
*
iface
,
HWND
*
window
)
{
IOleClientSiteImpl
*
This
=
impl_from_IOleInPlaceSite
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
phwnd
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
window
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
if
(
!
phwnd
)
return
E_INVALIDARG
;
if
(
!
window
)
return
E_INVALIDARG
;
*
phwnd
=
This
->
child
.
reole
->
editor
->
hWnd
;
return
S_OK
;
if
(
!
This
->
child
.
reole
->
editor
->
have_texthost2
)
return
E_NOTIMPL
;
return
ITextHost2_TxGetWindow
(
This
->
child
.
reole
->
editor
->
texthost
,
window
)
;
}
static
HRESULT
STDMETHODCALLTYPE
IOleInPlaceSite_fnContextSensitiveHelp
(
IOleInPlaceSite
*
iface
,
BOOL
fEnterMode
)
...
...
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