SHGetNewLinkInfoFlags Enumeration

Definition

Namespace: DevCase.Win32.Enums
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[FlagsAttribute]
public enum SHGetNewLinkInfoFlags

Remarks

Members

Pidl 1 The target pointed to by linkTo parameter is a PIDL that represents the target.

If this flag is not included, linkTo parameter is regarded as the address of a string that contains the path and file name of the target.

NoUnique 2 Skip the normal checks that ensure that the shortcut name is unique within the destination folder.

If this flag is not included, the function creates the shortcut name and then determines whether the name is unique in the destination folder.

If a file with the same name already exists in the destination folder, the shortcut name will be modified. This process is repeated until a unique name is found.

PrefixName 4 The created name will be preceded by the string "Shortcut to ".
NoLink 8 Do not add the .lnk file name extension.
NoLocalName 16 Use the non-localized parsing name of the target pointed to by linkTo parameter as the name of the shortcut file.

If this flag is not set, the localized name is used.

UseUrlText 32 Append a .url file name extension (rather than .lnk) to the name pointed to by name parameter.

If this flag is not set, the shortcut name uses a .lnk extension unless NoLink is set.

See Also