Share via


CComDynamicUnkArray::Add

Call this method to add an IUnknown pointer to the array.

DWORD Add( 
   IUnknown* pUnk  
);

Parameters

  • pUnk
    The IUnknown pointer to add to the array.

Return Value

Returns the cookie associated with the newly added pointer.

Requirements

Header: atlcom.h

See Also

Reference

CComDynamicUnkArray Class

CComDynamicUnkArray::Remove