Shell Interfaces


IShellLinkDataList Interface

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

IShellLinkDataList Members

AddDataBlock Adds a data block to a link.
CopyDataBlock Retrieves a copy of a link's data block.
GetFlags Gets the current option settings.
RemoveDataBlock Removes a data block from a link.
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 structureDescription
EXP_DARWIN_LINKThe link's Microsoft Windows Installer ID.
EXP_SPECIAL_FOLDERSpecial folder information.
EXP_SZ_LINKThe target name.
NT_CONSOLE_PROPSConsole properties.
NT_FE_CONSOLE_PROPSThe 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.

Interface Information

Minimum DLL Versionshell32.dll version 4.71 or later
Custom ImplementationYes
Inherits fromIUnknown
Header and IDL filesshobjidl.h, shobjidl.idl
Minimum operating systems Windows 2000, Windows Millennium Edition
Tags :


Page view tracker