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
d1f6a5a3
Commit
d1f6a5a3
authored
Feb 03, 2012
by
Andrew Eikum
Committed by
Alexandre Julliard
Feb 06, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hlink: Don't query the IHlinkSite if the IMoniker is a system moniker.
parent
8fa2b2d2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
link.c
dlls/hlink/link.c
+13
-0
hlink.c
dlls/hlink/tests/hlink.c
+0
-0
No files found.
dlls/hlink/link.c
View file @
d1f6a5a3
...
...
@@ -78,6 +78,19 @@ static HRESULT __GetMoniker(HlinkImpl* This, IMoniker** moniker,
if
(
ref_type
==
HLINKGETREF_DEFAULT
)
ref_type
=
HLINKGETREF_RELATIVE
;
if
(
This
->
Moniker
)
{
DWORD
mktype
=
MKSYS_NONE
;
hres
=
IMoniker_IsSystemMoniker
(
This
->
Moniker
,
&
mktype
);
if
(
hres
==
S_OK
&&
mktype
!=
MKSYS_NONE
)
{
*
moniker
=
This
->
Moniker
;
IMoniker_AddRef
(
*
moniker
);
return
S_OK
;
}
}
if
(
ref_type
==
HLINKGETREF_ABSOLUTE
&&
This
->
Site
)
{
IMoniker
*
hls_moniker
;
...
...
dlls/hlink/tests/hlink.c
View file @
d1f6a5a3
This diff is collapsed.
Click to expand it.
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