Compartilhar via


SHGetShortcutTarget (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

BOOLSHGetShortcutTarget(LPTSTRszShortcut, LPTSTRszTarget, intcbMax );

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.