Click to Rate and Give Feedback
MSDN
MSDN Library
User Interface
Windows Shell
Shell Reference
 SHELL_LINK_DATA_FLAGS Enumerated Ty...
SHELL_LINK_DATA_FLAGS Enumerated Type

Specifies option settings. Used with IShellLinkDataList::GetFlags and IShellLinkDataList::SetFlags.

Syntax

typedef enum {
    SLDF_HAS_ID_LIST = 0x00000001,
    SLDF_HAS_LINK_INFO = 0x00000002,
    SLDF_HAS_NAME = 0x00000004,
    SLDF_HAS_RELPATH = 0x00000008,
    SLDF_HAS_WORKINGDIR = 0x00000010,
    SLDF_HAS_ARGS = 0x00000020,
    SLDF_HAS_ICONLOCATION = 0x00000040,
    SLDF_UNICODE = 0x00000080,
    SLDF_FORCE_NO_LINKINFO = 0x00000100,
    SLDF_HAS_EXP_SZ = 0x00000200,
    SLDF_RUN_IN_SEPARATE = 0x00000400,
    SLDF_HAS_LOGO3ID = 0x00000800,
    SLDF_HAS_DARWINID = 0x00001000,
    SLDF_RUNAS_USER = 0x00002000,
    SLDF_HAS_EXP_ICON_SZ = 0x00004000,
    SLDF_NO_PIDL_ALIAS = 0x00008000,
    SLDF_FORCE_UNCNAME = 0x00010000,
    SLDF_RUN_WITH_SHIMLAYER = 0x00020000,
    SLDF_FORCE_NO_LINKTRACK = 0x00040000,
    SLDF_ENABLE_TARGET_METADATA = 0x00080000,
    SLDF_DISABLE_KNOWNFOLDER_RELATIVE_TRACKING = 0x00200000,
    SLDF_VALID = 0x003FF7FF,
    SLDF_RESERVED = (int)0x80000000
} SHELL_LINK_DATA_FLAGS;

Constants

SLDF_HAS_ID_LIST

The Shell link was saved with an ID list.

SLDF_HAS_LINK_INFO

The Shell link was saved with link information to enable distributed tracking. This information is used by .lnk files to locate the target if the targets's path has changed. It includes information such as volume label and serial number, although the specific stored information can change from release to release.

SLDF_HAS_NAME

The link has a name.

SLDF_HAS_RELPATH

The link has a relative path.

SLDF_HAS_WORKINGDIR

The link has a working directory.

SLDF_HAS_ARGS

The link has arguments.

SLDF_HAS_ICONLOCATION

The link has an icon location.

SLDF_UNICODE

Stored strings are Unicode.

SLDF_FORCE_NO_LINKINFO

Prevents the storage of link tracking information. If this flag is set, it is less likely, though not impossible, that a target can be found by the link if that target is moved.

SLDF_HAS_EXP_SZ

The link contains expandable environment strings such as %windir%.

SLDF_RUN_IN_SEPARATE

Causes a 16-bit target application to run in a separate Virtual DOS Machine (VDM)/Windows on Windows (WOW).

SLDF_HAS_LOGO3ID

Not supported. Note that as of Windows Vista, this value is no longer recognized.

SLDF_HAS_DARWINID

The link is a special Microsoft Windows Installer link.

SLDF_RUNAS_USER

Causes the target application to run as a different user.

SLDF_HAS_EXP_ICON_SZ

The icon path in the link contains an expandable environment string such as such as %windir%.

SLDF_NO_PIDL_ALIAS

Prevents the use of ID list alias mapping when parsing the ID list from the path.

SLDF_FORCE_UNCNAME

Forces the use of the Universal Naming Convention (UNC) name (a full network resource name), rather than the local name.

SLDF_RUN_WITH_SHIMLAYER

Causes the target of this link to launch with a shim layer active. A shim is an intermediate DLL that facilitates compatibility between otherwise incompatible software services. Shims are typically used to provide version compatibility.

SLDF_FORCE_NO_LINKTRACK

Windows Vista and later. Disable object ID distributed tracking information.

SLDF_ENABLE_TARGET_METADATA

Windows Vista and later. Enable the caching of target metadata into the link file.

SLDF_DISABLE_KNOWNFOLDER_RELATIVE_TRACKING

Windows Vista and later. Disable known folder tracking information.

SLDF_VALID

Windows Vista and later. A mask for valid SHELL_LINK_DATA_FLAGS values.

SLDF_RESERVED

Reserved; do not use.

Enumerated Type Information

Headershlobj.h
Minimum operating systems Windows 98, Windows 2000
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker