Scroll to navigation

SHAddDataBlock(3w) Wine API SHAddDataBlock(3w)

NAME

SHAddDataBlock (SHLWAPI.20)

SYNOPSIS

HRESULT SHAddDataBlock
(
LPDBLIST* lppList,
const DATABLOCK_HEADER* lpNewItem
)
 

DESCRIPTION

Insert a new item into a DataBlock list.
 

PARAMS

lppList [0] Pointer to the List
lpNewItem [In] The new item to add to the list.
 

RETURNS

Success: S_OK. The item is added to the list.
Failure: An HRESULT error code.
 

NOTES

If the size of the element to be inserted is less than the size of a DATABLOCK_HEADER node, or the Id for the item is CLIST_ID_CONTAINER, the call returns S_OK but does not actually add the element. See SHWriteDataBlockList(3w).
 

IMPLEMENTATION

Exported by ordinal only. Use GetProcAddress(3w) to obtain a pointer to the function.
Implemented in "dlls/shlwapi/clist.c".
Debug channel "shell".
Oct 2012 Wine API