IObjMgr::Remove method (shlobj_core.h)

Removes an object from the collection of managed objects.

Syntax

HRESULT Remove(
  [in] IUnknown *punk
);

Parameters

[in] punk

Type: IUnknown*

The address of the IUnknown interface of the object to be removed from 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::Append