Interface to a link's extra data blocks. Can be obtained from PyIShellLink
by calling QueryInterface with IID_IShellLinkDataList
-
Inserts a data block into the link
-
Retrieves the specified data block from the link
-
Retrieves the link's flags
-
Deletes one of the link's data blocks
-
Sets the flags indicating which data blocks are present
PyIShellLinkDataList.AddDataBlock
AddDataBlock(DataBlock) Inserts a data block into the link
-
DataBlock : dict
Contents are dependent on type of data block being added
Input should be one of NT_CONSOLE_PROPS, NT_FE_CONSOLE_PROPS, EXP_SPECIAL_FOLDER,
EXP_DARWIN_LINK, or EXP_SZ_LINK. Expected form is indicated by the Signature member.
PyIShellLinkDataList.CopyDataBlock
dict = CopyDataBlock(Sig) Retrieves the specified data block from the link
-
Sig : int
The type of data block to retrieve, one of the shellcon.*_SIG constants
The returned dictionary will contain different information depending on the value passed in
PyIShellLinkDataList.GetFlags
int = GetFlags() Retrieves the link's flags
Returns combination of shellcon.SLDF_* flags
PyIShellLinkDataList.RemoveDataBlock
RemoveDataBlock(Sig) Deletes one of the link's data blocks
-
Sig : int
Identifies which block is to be removed, one of shellcon.*_SIG constants
PyIShellLinkDataList.SetFlags
SetFlags(Flags) Sets the flags indicating which data blocks are present
-
Flags : int
Combination of shellcon.SLDF_* flags