IObjMgr::Remove method
Removes an object from the collection of managed objects.
Syntax
HRESULT Remove(
[in] IUnknown *punk
);
Parameters
- punk [in]
-
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
|
Minimum supported client |
Windows 2000 Professional, Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
DLL |
|
See also
Show: