SHAddDataBlock(3w)

SHAddDataBlock3w

Usage

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

Overview

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".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.