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
a48ed336
Commit
a48ed336
authored
Mar 16, 2011
by
Thomas Faber
Committed by
Alexandre Julliard
Mar 18, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Initialize OLEINPLACEFRAMEINFO.cb for IOleInPlaceSite::GetWindowContext.
parent
a105f22e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
client.c
dlls/shdocvw/client.c
+0
-1
oleobject.c
dlls/shdocvw/oleobject.c
+1
-0
webbrowser.c
dlls/shdocvw/tests/webbrowser.c
+1
-1
No files found.
dlls/shdocvw/client.c
View file @
a48ed336
...
...
@@ -230,7 +230,6 @@ static HRESULT WINAPI InPlaceSite_GetWindowContext(IOleInPlaceSite *iface,
GetClientRect
(
This
->
hwnd
,
lprcPosRect
);
*
lprcClipRect
=
*
lprcPosRect
;
lpFrameInfo
->
cb
=
sizeof
(
*
lpFrameInfo
);
lpFrameInfo
->
fMDIApp
=
FALSE
;
lpFrameInfo
->
hwndFrame
=
This
->
frame_hwnd
;
lpFrameInfo
->
haccel
=
NULL
;
...
...
dlls/shdocvw/oleobject.c
View file @
a48ed336
...
...
@@ -141,6 +141,7 @@ static HRESULT activate_inplace(WebBrowser *This, IOleClientSite *active_site)
IOleInPlaceSite_OnInPlaceActivate
(
This
->
inplace
);
This
->
frameinfo
.
cb
=
sizeof
(
OLEINPLACEFRAMEINFO
);
IOleInPlaceSite_GetWindowContext
(
This
->
inplace
,
&
This
->
doc_host
.
frame
,
&
This
->
uiwindow
,
&
This
->
pos_rect
,
&
This
->
clip_rect
,
&
This
->
frameinfo
);
...
...
dlls/shdocvw/tests/webbrowser.c
View file @
a48ed336
...
...
@@ -1275,7 +1275,7 @@ static HRESULT WINAPI InPlaceSite_GetWindowContext(IOleInPlaceSiteEx *iface,
ok
(
lpFrameInfo
!=
NULL
,
"lpFrameInfo = NULL
\n
"
);
if
(
lpFrameInfo
)
{
lpFrameInfo
->
cb
=
sizeof
(
*
lpFrameInfo
);
ok
(
lpFrameInfo
->
cb
==
sizeof
(
*
lpFrameInfo
),
"lpFrameInfo->cb = %u, expected %u
\n
"
,
lpFrameInfo
->
cb
,
(
unsigned
)
sizeof
(
*
lpFrameInfo
)
);
lpFrameInfo
->
fMDIApp
=
FALSE
;
lpFrameInfo
->
hwndFrame
=
container_hwnd
;
lpFrameInfo
->
haccel
=
NULL
;
...
...
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