Export (0) Print
Expand All

SHGetShortcutTarget (Windows CE 5.0)

Windows CE 5.0
Send Feedback

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 Values

TRUE indicates success. FALSE indicates failure.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Shellapi.h.
Link Library: Coredll.lib.

See Also

Standard Shell Functions


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show:
© 2014 Microsoft