CComDynamicUnkArray::Remove

 

Call this method to remove an IUnknown pointer from the array.

Syntax

      BOOL Remove(
   DWORD dwCookie 
);

Parameters

  • dwCookie
    The cookie referencing the IUnknown pointer to be removed from the array.

Return Value

Returns TRUE if the pointer is removed; otherwise FALSE.

Requirements

Header: atlcom.h

See Also

CComDynamicUnkArray Class
CComDynamicUnkArray::Add
CComDynamicUnkArray::GetCookie