Partager via


ICcObjectContainer::EnumerateObjects (Windows CE 5.0)

Send Feedback

This method enumerates the objects that are in this container.

HRESULT EnumerateObjects(  ICcCollection**out_ppiCollection);

Parameters

  • out_ppiCollection
    [out, retval] Pointer to the ICcCollection interface object that provides access to the collection of Core Connectivity objects in this container.

Return Values

The following table shows return values for this method.

Value Description
S_OK Indicates the call was successful.
E_INVALIDARG Indicates an invalid argument.
E_FAIL Indicates an unknown failure occurred.

Remarks

This method returns a collection that is a standard OLE collection interface.

You can establish a query interface with the objects in the collection to find an appropriate datastore object.

Requirements

OS Version: Windows 2000, Windows XP Home, Windows XP Pro, Windows Server 2003, and Windows Server 2003 Service Pack 1.
Header: CcDatastore.h.
Link Library: none.

See Also

Core Connectivity Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.