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
f8e0d2f5
Commit
f8e0d2f5
authored
Feb 26, 2013
by
Piotr Caban
Committed by
Alexandre Julliard
Feb 26, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hlink: Call BindToObject with IID_IUnknown in IHlink_fnNavigate.
parent
8ca611a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
link.c
dlls/hlink/link.c
+8
-4
No files found.
dlls/hlink/link.c
View file @
f8e0d2f5
...
...
@@ -487,15 +487,19 @@ static HRESULT WINAPI IHlink_fnNavigate(IHlink* iface, DWORD grfHLNF, LPBC pbc,
if
(
SUCCEEDED
(
r
))
{
IBindCtx
*
bcxt
;
IHlinkTarget
*
target
=
NULL
;
IUnknown
*
unk
=
NULL
;
IHlinkTarget
*
target
;
CreateBindCtx
(
0
,
&
bcxt
);
RegisterBindStatusCallback
(
bcxt
,
pbsc
,
NULL
,
0
);
r
=
IMoniker_BindToObject
(
mon
,
bcxt
,
NULL
,
&
IID_IHlinkTarget
,
(
LPVOID
*
)
&
target
);
TRACE
(
"IHlinkTarget returned 0x%x
\n
"
,
r
);
r
=
IMoniker_BindToObject
(
mon
,
bcxt
,
NULL
,
&
IID_IUnknown
,
(
void
**
)
&
unk
);
if
(
r
==
S_OK
)
{
r
=
IUnknown_QueryInterface
(
unk
,
&
IID_IHlinkTarget
,
(
void
**
)
&
target
);
IUnknown_Release
(
unk
);
}
if
(
r
==
S_OK
)
{
IHlinkTarget_SetBrowseContext
(
target
,
phbc
);
...
...
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