Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
170278df
Commit
170278df
authored
Sep 23, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Sep 23, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement MsiGetShortcutTargetA.
parent
8e22e7d7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
3 deletions
+21
-3
msi.c
dlls/msi/msi.c
+21
-3
No files found.
dlls/msi/msi.c
View file @
170278df
...
...
@@ -1740,15 +1740,33 @@ UINT WINAPI MsiGetShortcutTargetA( LPCSTR szShortcutTarget,
LPSTR
szProductCode
,
LPSTR
szFeatureId
,
LPSTR
szComponentCode
)
{
FIXME
(
"
\n
"
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
LPWSTR
target
;
const
int
len
=
MAX_FEATURE_CHARS
+
1
;
WCHAR
product
[
MAX_FEATURE_CHARS
+
1
],
feature
[
MAX_FEATURE_CHARS
+
1
],
component
[
MAX_FEATURE_CHARS
+
1
];
UINT
r
;
target
=
strdupAtoW
(
szShortcutTarget
);
if
(
szShortcutTarget
&&
!
target
)
return
ERROR_OUTOFMEMORY
;
product
[
0
]
=
0
;
feature
[
0
]
=
0
;
component
[
0
]
=
0
;
r
=
MsiGetShortcutTargetW
(
target
,
product
,
feature
,
component
);
msi_free
(
target
);
if
(
r
==
ERROR_SUCCESS
)
{
WideCharToMultiByte
(
CP_ACP
,
0
,
product
,
-
1
,
szProductCode
,
len
,
NULL
,
NULL
);
WideCharToMultiByte
(
CP_ACP
,
0
,
feature
,
-
1
,
szFeatureId
,
len
,
NULL
,
NULL
);
WideCharToMultiByte
(
CP_ACP
,
0
,
component
,
-
1
,
szComponentCode
,
len
,
NULL
,
NULL
);
}
return
r
;
}
UINT
WINAPI
MsiGetShortcutTargetW
(
LPCWSTR
szShortcutTarget
,
LPWSTR
szProductCode
,
LPWSTR
szFeatureId
,
LPWSTR
szComponentCode
)
{
FIXME
(
"
\n
"
);
FIXME
(
"
%s
\n
"
,
debugstr_w
(
szShortcutTarget
)
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
...
...
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