CComUnkArray::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, FALSE otherwise.

Requirements

Header: atlcom.h

See Also

Reference

CComUnkArray Class

CComUnkArray::Add