Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.32 KB

File metadata and controls

54 lines (36 loc) · 1.32 KB

Home

Function name : CeFindNextDatabaseEx

Group: Remote Application Programming (RAPI) - Library: rapi


This function retrieves the next database in an enumeration context.


Code examples:

Pocket PC: custom RAPI class for operating with the Object Store Databases

Declaration:

CEOID CeFindNextDatabaseEx(
  HANDLE hEnum,
  PCEGUID pceguid
);  

FoxPro declaration:

DECLARE INTEGER CeFindNextDatabaseEx IN rapi;
	INTEGER  hEnum,;
	STRING @ pceguid  

Parameters:

hEnum [in] Handle returned from CeFindFirstDatabaseEx.

pceguid [in] Pointer to the CEGUID that contains the globally unique identifier of a mounted database.


Return value:

A valid CEOID indicates success. Zero indicates failure or a lack of additional databases.


Comments:

To find all matching databases, CeFindNextDatabaseEx (RAPI) is called in a loop until 0 is returned. When enumeration is complete, the hEnum handle must be closed by calling the CeCloseHandle (RAPI) function.

See also: CeFindFirstDatabaseEx.