This structure contains information about a database object. This structure is used when calling the CeCreateDatabaseWithProps (EDB), CeSetDatabaseInfo (EDB), and CeGetDBInformationByHandle (EDB) functions.
typedef struct CEDBASEINFOEX {WORDwVersion;WORDwNumSortOrder;DWORDdwFlags;WCHARszDbaseName[CEDB_MAXDBASENAMELEN];DWORDdwDbaseType;DWORDdwNumRecords;DWORDdwSize;FILETIMEftLastModified;SORTORDERSPECEXrgSortSpecs[CEDB_MAXSORTORDER];} CEDBASEINFOEX;
Members
- wVersion
Version of this structure; must be set to 2. - wNumSortOrder
The number of sort orders that can be active in the database. Up to 16 sort orders can be active at a time. - dwFlags
One or a combination of the following flags:- CEDB_VALIDNAME
 - CEDB_VALIDTYPE
 - CEDB_VALIDSORTSPEC
 - CEDB_VALIDDBFLAGS
 - CEDB_NOCOMPRESS
 
 - szDbaseName
The name of the database. The string can have up to SQLCEDB_MAXDBASENAMELEN characters, including the terminating null character. This member must be set when used with the CeCreateDatabaseWithProps (EDB) function. - dwDbaseType
Type identifier for the database. - dwNumRecords
Number of records in the database. - dwSize
Not used by EDB. - ftLastModified
Not used by EDB. - rgSortSpecs
An array containing sort order descriptions. Only the first n array members are valid, where n is the value specified by the wNumSortOrder member. 
Remarks
The following list highlights the differences between this structure and the CEDB equivalent structure:
- In EDB, when no sort orders are specified for the CeCreateDatabaseWithProps (EDB) function, or when CEDB_VALIDSORTSPEC is not specified, then a default sort order is not assigned to the database. CEDB assigns a default sort order.
 - EDB does not support the following dwFlags member values that CEDB supports:
- CEDB_VALIDMODTIME
 - CEDB_SYSTEMDB
 
 - EDB does not use the following fields that are used by CEDB:
- dwSize
 - ftLastModified
 
 
Requirements
OS Versions: Windows CE 5.0 and later.
Header: Windbase.h.
Link Library: Coredll.lib.
See Also
CeCreateDatabaseWithProps (EDB) | CeSetDatabaseInfo (EDB) | CeGetDBInformationByHandle (EDB)
Send Feedback on this topic to the authors