SHGetShortcutTarget
The SHGetShortcutTarget function retrieves the shortcut's target path.
Syntax
BOOL SHGetShortcutTarget(LPTSTR szShortcut, LPTSTR szTarget, int cbMax);
At a Glance
Header file: |
Shellapi.h |
Platforms: |
H/PC |
Versions: |
1.0 and later |
Parameters
- szShortcut
- Pointer to a buffer that contains the name of the shortcut to create.
- szTarget
- Pointer to a buffer 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.