SHGetShortcutTarget (Compact 2013)
3/28/2014
This function retrieves the shortcut's target path.
Syntax
BOOL SHGetShortcutTarget(
LPTSTR szShortcut,
LPTSTR szTarget,
int cbMax
);
Parameters
- szShortcut
[in] Null-terminated string that contains the name of the shortcut.
- szTarget
[in] Null-terminated string that gets the target path of the shortcut. The buffer must be at least cbMax characters long.
- cbMax
[in] Maximum number of characters that can be copied to the buffer.
Return Value
TRUE indicates success. FALSE indicates failure.
Requirements
Header |
shellapi.h |
Library |
coredll.lib |