IObjMgr::Append method

Appends an object to the collection of managed objects.

Syntax


HRESULT Append(
  [in] IUnknown *punk
);

Parameters

punk [in]

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

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shlobj.h

DLL

Shell32.dll (version 5.0 or later)

See also

IObjMgr
IObjMgr::Remove

 

 

Show: