CCeDBEnum::Next

This method retrieves the next CCeDBDatabase object in the enumeration. This function returns NULL if no more databases are found.

At a Glance

Header file: Wcedb.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 2.0 and later

Syntax

CEOID Next ( );

Return Values

The object identifier (CEOID) of the next database in the object store.

Remarks

If the CCeDBEnum object is constructed with an application-defined identifier other than 0, Next will only enumerate the databases with the specified identifier. Otherwise, it will enumerate all the databases in the object store.

Repeated calls to Next will return the CEOIDs of the databases being enumerated. Enumeration ends when either Next returns NULL or the CCeDBEnum object is destroyed.