Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SHGetShortcutTarget (Compact 2013)

3/28/2014

This function retrieves the shortcut's target path.


BOOL SHGetShortcutTarget(
  LPTSTR szShortcut, 
  LPTSTR szTarget, 
  int cbMax 
);
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.

TRUE indicates success. FALSE indicates failure.

Header

shellapi.h

Library

coredll.lib

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.