IShellLinkDataList interface (shobjidl_core.h)

Exposes methods that allow an application to attach extra data blocks to a Shell link. These methods add, copy, or remove data blocks.

Inheritance

The IShellLinkDataList interface inherits from the IUnknown interface. IShellLinkDataList also has these types of members:

Methods

The IShellLinkDataList interface has these methods.

 
IShellLinkDataList::AddDataBlock

Adds a data block to a link.
IShellLinkDataList::CopyDataBlock

Retrieves a copy of a link's data block.
IShellLinkDataList::GetFlags

Gets the current option settings.
IShellLinkDataList::RemoveDataBlock

Removes a data block from a link.
IShellLinkDataList::SetFlags

Sets the current option settings.

Remarks

The data blocks are in the form of a structure. The first two members are the same for all data blocks. The first member gives the structure's size. The second member is a signature that identifies the type of data block. The remaining members hold the block's data. There are five types of data block currently supported.

Data block structure Description
EXP_DARWIN_LINK The link's Windows Installer ID.
EXP_SPECIAL_FOLDER Special folder information.
EXP_SZ_LINK The target name.
NT_CONSOLE_PROPS Console properties.
NT_FE_CONSOLE_PROPS The console's code page.
 

This interface is not implemented by applications.

Use this interface if your application needs to add extra data blocks to a Shell link.

Note  Windows Vista and later. Prior to Windows Vista this interface was declared in Shlobj.h.
 

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)