CComDynamicUnkArray::Remove

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

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

Concepts

CComDynamicUnkArray Class

CComDynamicUnkArray Methods

CComDynamicUnkArray::Add

CComDynamicUnkArray::GetCookie