Share via


ICcObjectContainer::EnumerateObjects (Windows Embedded CE 6.0)

1/5/2010

This method enumerates the objects that are in this container.

In Windows Embedded CE 6.0, CoreCon HLAPI has been deprecated.

Syntax

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 Value

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

Header ccdatastore.h
Windows Windows 2000, Windows Server 2003, Windows Server 2003 Service Pack 1, Windows XP Home, Windows XP Pro

See Also

Reference

ICcObjectContainer
Core Connectivity Interfaces