SHGetShortcutTarget
This function retrieves the shortcuts target path. A remote application interface (RAPI) version of this function exists, and it is called CeSHGetShortcutTarget.
BOOL SHGetShortcutTarget(
LPTSTR szShortcut,
LPTSTR szTarget,
int cbMax );
Parameters
- szShortcut
Null-terminated string that contains the name of the shortcut. - szTarget
Null-terminated string that gets the target path of the shortcut. The buffer must be at least cbMax characters long. - cbMax
Maximum number of characters that can be copied to the buffer.
Return Values
True indicates success. FALSE indicates failure.
Requirements
| Runs on | Versions | Defined in | Include | Link to |
|---|---|---|---|---|
| Windows CE OS | 1.0 and later | Shellapi.h | Shortcut.lib |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.