IObjMgr::Append method (shlobj_core.h)

Appends an object to the collection of managed objects.

Syntax

HRESULT Append(
  [in] IUnknown *punk
);

Parameters

[in] punk

Type: IUnknown*

The address of the IUnknown interface of the object to be added to the list.

Return value

Type: HRESULT

Returns S_OK if successful, or a COM error code otherwise.

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 shlobj_core.h
DLL Shell32.dll (version 5.0 or later)

See also

IObjMgr

IObjMgr::Remove