Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/2010
This function retrieves the shortcut's target path. A remote application interface (RAPI) version of this function exists, CeSHGetShortcutTarget (RAPI).
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 |
| Windows Embedded CE | Windows CE 1.0 and later |