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
39182135
Commit
39182135
authored
Aug 14, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 14, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Use inner window's moniker in PluginHost implementation.
parent
1a25ed26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
pluginhost.c
dlls/mshtml/pluginhost.c
+4
-4
No files found.
dlls/mshtml/pluginhost.c
View file @
39182135
...
@@ -534,12 +534,12 @@ static HRESULT WINAPI PHClientSite_GetMoniker(IOleClientSite *iface, DWORD dwAss
...
@@ -534,12 +534,12 @@ static HRESULT WINAPI PHClientSite_GetMoniker(IOleClientSite *iface, DWORD dwAss
switch
(
dwWhichMoniker
)
{
switch
(
dwWhichMoniker
)
{
case
OLEWHICHMK_CONTAINER
:
case
OLEWHICHMK_CONTAINER
:
if
(
!
This
->
doc
||
!
This
->
doc
->
basedoc
.
window
||
!
This
->
doc
->
basedoc
.
window
->
mon
)
{
if
(
!
This
->
doc
||
!
This
->
doc
->
window
||
!
This
->
doc
->
window
->
mon
)
{
FIXME
(
"no moniker
\n
"
);
FIXME
(
"no moniker
\n
"
);
return
E_UNEXPECTED
;
return
E_UNEXPECTED
;
}
}
*
ppmk
=
This
->
doc
->
basedoc
.
window
->
mon
;
*
ppmk
=
This
->
doc
->
window
->
mon
;
IMoniker_AddRef
(
*
ppmk
);
IMoniker_AddRef
(
*
ppmk
);
break
;
break
;
default:
default:
...
@@ -1144,12 +1144,12 @@ static HRESULT WINAPI PHBindHost_CreateMoniker(IBindHost *iface, LPOLESTR szName
...
@@ -1144,12 +1144,12 @@ static HRESULT WINAPI PHBindHost_CreateMoniker(IBindHost *iface, LPOLESTR szName
TRACE
(
"(%p)->(%s %p %p %x)
\n
"
,
This
,
debugstr_w
(
szName
),
pBC
,
ppmk
,
dwReserved
);
TRACE
(
"(%p)->(%s %p %p %x)
\n
"
,
This
,
debugstr_w
(
szName
),
pBC
,
ppmk
,
dwReserved
);
if
(
!
This
->
doc
||
!
This
->
doc
->
basedoc
.
window
||
!
This
->
doc
->
basedoc
.
window
->
mon
)
{
if
(
!
This
->
doc
||
!
This
->
doc
->
window
||
!
This
->
doc
->
window
->
mon
)
{
FIXME
(
"no moniker
\n
"
);
FIXME
(
"no moniker
\n
"
);
return
E_UNEXPECTED
;
return
E_UNEXPECTED
;
}
}
return
CreateURLMoniker
(
This
->
doc
->
basedoc
.
window
->
mon
,
szName
,
ppmk
);
return
CreateURLMoniker
(
This
->
doc
->
window
->
mon
,
szName
,
ppmk
);
}
}
static
HRESULT
WINAPI
PHBindHost_MonikerBindToStorage
(
IBindHost
*
iface
,
IMoniker
*
pMk
,
IBindCtx
*
pBC
,
static
HRESULT
WINAPI
PHBindHost_MonikerBindToStorage
(
IBindHost
*
iface
,
IMoniker
*
pMk
,
IBindCtx
*
pBC
,
...
...
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