Share via


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

Requirements

Header: atlcom.h

See Also

CComUnkArray Class
CComUnkArray::Add