Freigeben über


CComUnkArray::begin

Returns a pointer to the beginning of the collection of IUnknown interface pointers.

IUnknown** begin( );

Return Value

A pointer to an IUnknown interface pointer.

Remarks

The collection contains pointers to interfaces stored locally as IUnknown. You cast each IUnknown interface to the real interface type and then call through it. You do not need to query for the interface first.

Before using the IUnknown interface, you should check that it is not NULL.

Requirements

Header: atlcom.h

See Also

Concepts

CComUnkArray Class

CComUnkArray Members

CComUnkArray::end

CComDynamicUnkArray::begin