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
f3a6d9ea
Commit
f3a6d9ea
authored
Nov 20, 2018
by
Zebediah Figura
Committed by
Alexandre Julliard
Nov 21, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hlink: Use clearer variable names in IHlink_fnNavigate().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9ff5aae4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
14 deletions
+15
-14
link.c
dlls/hlink/link.c
+15
-14
No files found.
dlls/hlink/link.c
View file @
f3a6d9ea
...
...
@@ -472,32 +472,33 @@ static HRESULT WINAPI IHlink_fnGetMiscStatus(IHlink* iface, DWORD* pdwStatus)
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IHlink_fnNavigate
(
IHlink
*
iface
,
DWORD
grfHLNF
,
LPBC
pbc
,
IBindStatusCallback
*
pbsc
,
IHlinkBrowseContext
*
phbc
)
static
HRESULT
WINAPI
IHlink_fnNavigate
(
IHlink
*
iface
,
DWORD
flags
,
IBindCtx
*
user_bind_ctx
,
IBindStatusCallback
*
bind_callback
,
IHlinkBrowseContext
*
browse_ctx
)
{
HlinkImpl
*
This
=
impl_from_IHlink
(
iface
);
HlinkImpl
*
This
=
impl_from_IHlink
(
iface
);
IMoniker
*
mon
=
NULL
;
HRESULT
r
;
FIXME
(
"Semi-Stub:(%p)->(%i %p %p %p)
\n
"
,
This
,
grfHLNF
,
pbc
,
pbsc
,
phbc
);
TRACE
(
"hlink %p, flags %#x, user_bind_ctx %p, bind_callback %p, browse_ctx %p.
\n
"
,
This
,
flags
,
user_bind_ctx
,
bind_callback
,
browse_ctx
);
r
=
__GetMoniker
(
This
,
&
mon
,
HLINKGETREF_ABSOLUTE
);
TRACE
(
"Moniker %p
\n
"
,
mon
);
if
(
SUCCEEDED
(
r
))
{
IBindCtx
*
b
cxt
=
NULL
;
IBindCtx
*
b
ind_ctx
=
NULL
;
IUnknown
*
unk
=
NULL
;
IHlinkTarget
*
target
;
if
(
phbc
)
if
(
browse_ctx
)
{
r
=
IHlinkBrowseContext_GetObject
(
phbc
,
mon
,
TRUE
,
&
unk
);
r
=
IHlinkBrowseContext_GetObject
(
browse_ctx
,
mon
,
TRUE
,
&
unk
);
if
(
r
!=
S_OK
)
{
CreateBindCtx
(
0
,
&
b
cxt
);
RegisterBindStatusCallback
(
b
cxt
,
pbsc
,
NULL
,
0
);
r
=
IMoniker_BindToObject
(
mon
,
b
cxt
,
NULL
,
&
IID_IUnknown
,
(
void
**
)
&
unk
);
CreateBindCtx
(
0
,
&
b
ind_ctx
);
RegisterBindStatusCallback
(
b
ind_ctx
,
bind_callback
,
NULL
,
0
);
r
=
IMoniker_BindToObject
(
mon
,
b
ind_ctx
,
NULL
,
&
IID_IUnknown
,
(
void
**
)
&
unk
);
}
if
(
r
==
S_OK
)
{
...
...
@@ -506,13 +507,13 @@ static HRESULT WINAPI IHlink_fnNavigate(IHlink* iface, DWORD grfHLNF, LPBC pbc,
}
if
(
r
==
S_OK
)
{
if
(
b
cxt
)
IHlinkTarget_SetBrowseContext
(
target
,
phbc
);
r
=
IHlinkTarget_Navigate
(
target
,
grfHLNF
,
This
->
Location
);
if
(
b
ind_ctx
)
IHlinkTarget_SetBrowseContext
(
target
,
browse_ctx
);
r
=
IHlinkTarget_Navigate
(
target
,
flags
,
This
->
Location
);
IHlinkTarget_Release
(
target
);
}
RevokeBindStatusCallback
(
b
cxt
,
pbsc
);
if
(
b
cxt
)
IBindCtx_Release
(
bcxt
);
RevokeBindStatusCallback
(
b
ind_ctx
,
bind_callback
);
if
(
b
ind_ctx
)
IBindCtx_Release
(
bind_ctx
);
}
else
{
...
...
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