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
a23b84aa
Commit
a23b84aa
authored
Dec 01, 2005
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 01, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return S_OK in [On|Can]InPlaceActivate.
Handle IOleDocumentSite in QueryInterface.
parent
c7e860d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
client.c
dlls/shdocvw/client.c
+14
-4
No files found.
dlls/shdocvw/client.c
View file @
a23b84aa
...
...
@@ -47,6 +47,9 @@ static HRESULT WINAPI ClientSite_QueryInterface(IOleClientSite *iface, REFIID ri
}
else
if
(
IsEqualGUID
(
&
IID_IDocHostUIHandler2
,
riid
))
{
TRACE
(
"(%p)->(IID_IDocHostUIHandler2 %p)
\n
"
,
This
,
ppv
);
*
ppv
=
DOCHOSTUI2
(
This
);
}
else
if
(
IsEqualGUID
(
&
IID_IOleDocumentSite
,
riid
))
{
TRACE
(
"(%p)->(IID_IOleDocumentSite %p)
\n
"
,
This
,
ppv
);
*
ppv
=
DOCSITE
(
This
);
}
if
(
*
ppv
)
{
...
...
@@ -168,15 +171,21 @@ static HRESULT WINAPI InPlaceSite_ContextSensitiveHelp(IOleInPlaceSite *iface, B
static
HRESULT
WINAPI
InPlaceSite_CanInPlaceActivate
(
IOleInPlaceSite
*
iface
)
{
WebBrowser
*
This
=
INPLACESITE_THIS
(
iface
);
FIXME
(
"(%p)
\n
"
,
This
);
return
E_NOTIMPL
;
TRACE
(
"(%p)
\n
"
,
This
);
/* Nothing to do here */
return
S_OK
;
}
static
HRESULT
WINAPI
InPlaceSite_OnInPlaceActivate
(
IOleInPlaceSite
*
iface
)
{
WebBrowser
*
This
=
INPLACESITE_THIS
(
iface
);
FIXME
(
"(%p)
\n
"
,
This
);
return
E_NOTIMPL
;
TRACE
(
"(%p)
\n
"
,
This
);
/* Nothing to do here */
return
S_OK
;
}
static
HRESULT
WINAPI
InPlaceSite_OnUIActivate
(
IOleInPlaceSite
*
iface
)
...
...
@@ -197,6 +206,7 @@ static HRESULT WINAPI InPlaceSite_GetWindowContext(IOleInPlaceSite *iface,
*
ppFrame
=
INPLACEFRAME
(
This
);
*
ppDoc
=
NULL
;
GetClientRect
(
This
->
doc_view_hwnd
,
lprcPosRect
);
memcpy
(
lprcClipRect
,
lprcPosRect
,
sizeof
(
RECT
));
...
...
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