Search notes:

IShellLink

IShellLink defines methods to create, modify or resolve Shell links.
IShellLink comes in an ASCII (IShellLinkA) and an Unicode (IShellLinkW) variant.

Methods

GetArguments Gets the command-line arguments associated with a Shell link object.
GetDescription Gets the description string for a Shell link object.
GetHotkey Gets the keyboard shortcut (hot key) for a Shell link object.
GetIconLocation Gets the location (path and index) of the icon for a Shell link object.
GetIDList Gets the list of item identifiers for the target of a Shell link object.
GetPath Gets the path and file name of the target of a Shell link object.
GetShowCmd Gets the show command for a Shell link object.
GetWorkingDirectory Gets the name of the working directory for a Shell link object.
Resolve Attempts to find the target of a Shell link, even if it has been moved or renamed.
SetArguments Sets the command-line arguments for a Shell link object.
SetDescription Sets the description for a Shell link object. The description can be any application-defined string.
SetHotkey Sets a keyboard shortcut (hot key) for a Shell link object.
SetIconLocation Sets the location (path and index) of the icon for a Shell link object.
SetIDList Sets the pointer to an item identifier list (PIDL) for a Shell link object.
SetPath Sets the path and file name for the target of a Shell link object.
SetRelativePath Sets the relative path to the Shell link object.
SetShowCmd Sets the show command for a Shell link object. The show command sets the initial show state of the window.
SetWorkingDirectory Sets the name of the working directory for a Shell link object.

Misc

IShellLink cannot be used to create a link to an URL.

See also

The IShellLinkDual2 interface extends IShellLinkDual2 with the Target property.
Windows API: read .lnk file with C++

Index