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
24853242
Commit
24853242
authored
Jan 29, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hlink: Added HlinkParseDisplayName implementation.
parent
e888e886
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
1 deletion
+26
-1
hlink.spec
dlls/hlink/hlink.spec
+1
-1
hlink_main.c
dlls/hlink/hlink_main.c
+25
-0
No files found.
dlls/hlink/hlink.spec
View file @
24853242
...
...
@@ -11,7 +11,7 @@
14 stub HlinkResolveMonikerForData
15 stub HlinkResolveStringForData
16 stub OleSaveToStreamEx
18 st
ub HlinkParseDisplayName
18 st
dcall HlinkParseDisplayName(ptr wstr long ptr ptr)
20 stdcall HlinkQueryCreateFromData(ptr)
21 stub HlinkSetSpecialReference
22 stdcall HlinkGetSpecialReference(long ptr)
...
...
dlls/hlink/hlink_main.c
View file @
24853242
...
...
@@ -322,6 +322,31 @@ HRESULT WINAPI HlinkUpdateStackItem(IHlinkFrame *pihlframe, IHlinkBrowseContext
return
E_NOTIMPL
;
}
HRESULT
WINAPI
HlinkParseDisplayName
(
LPBC
pibc
,
LPCWSTR
pwzDisplayName
,
BOOL
fNoForceAbs
,
ULONG
*
pcchEaten
,
IMoniker
**
ppimk
)
{
HRESULT
hres
;
TRACE
(
"(%p %s %x %p %p)
\n
"
,
pibc
,
debugstr_w
(
pwzDisplayName
),
fNoForceAbs
,
pcchEaten
,
ppimk
);
if
(
fNoForceAbs
)
FIXME
(
"Unsupported fNoForceAbs
\n
"
);
hres
=
MkParseDisplayNameEx
(
pibc
,
pwzDisplayName
,
pcchEaten
,
ppimk
);
if
(
SUCCEEDED
(
hres
))
return
hres
;
hres
=
MkParseDisplayName
(
pibc
,
pwzDisplayName
,
pcchEaten
,
ppimk
);
if
(
SUCCEEDED
(
hres
))
return
hres
;
hres
=
CreateFileMoniker
(
pwzDisplayName
,
ppimk
);
if
(
SUCCEEDED
(
hres
))
*
pcchEaten
=
strlenW
(
pwzDisplayName
);
return
hres
;
}
static
HRESULT
WINAPI
HLinkCF_fnQueryInterface
(
LPCLASSFACTORY
iface
,
REFIID
riid
,
LPVOID
*
ppvObj
)
{
...
...
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