IShellLinkW Interface

The IShellLink interface allows Shell links to be created, modified, or resolved.

Definition

Namespace: DevCase.Win32.Interfaces
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[ComImportAttribute]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("000214F9-0000-0000-C000-000000000046")]
public interface IShellLinkW

Remarks

Methods

GetArguments Retrieves the command-line arguments associated with a Shell link object.
GetDescription Retrieves the description string for a Shell link object.
GetHotkey Retrieves the hot key for a Shell link object.
GetIconLocation Retrieves the location (path and index) of the icon for a Shell link object.
GetIDList Retrieves the list of item identifiers for a Shell link object.
GetPath Retrieves the path and file name of a Shell link object.
GetShowCmd Retrieves the ShowWindowFlags for a Shell link object.
GetWorkingDirectory Retrieves 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 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 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.

See Also