Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This structure contains information about a database object. This structure is used by the CeSetDatabaseInfoand CeCreateDatabaseExfunctions.
typedef struct _CEDBASEINFO { DWORD dwFlags ; WCHAR szDbaseName[CEDB_MAXDBASENAMELEN] ; DWORD dwDbaseType ; WORD wNumRecords ; WORD wNumSortOrder ; DWORD dwSize ; FILETIME ftLastModified ; SORTORDERSPEC rgSortSpecs[CEDB_MAXSORTORDER] ; } CEDBASEINFO;
Parameters
Value | Description |
---|---|
CEDB_VALIDMODTIME | The ftLastModifiedmember is valid and should be used. |
CEDB_VALIDNAME | The szDbaseName member is valid and should be used. |
CEDB_VALIDTYPE | The dwDbaseTypemember is valid and should be used. |
CEDB_VALIDSORTSPEC | The rgSortSpecsmember is valid and should be used. |
CEDB_VALIDDBFLAGS | This flag should be used in combination with the following flag to set the compression state of the database. |
CEDB_NOCOMPRESS | The database is not compressed. If this flag is
used with
CeSetDatabaseInfoEx, new or modified records in a compressed
database are uncompressed. If this flag is used with
CeCreateDatabaseEx, the database is not compressed.
By default, all databases are compressed. If you are going to change the compression, it should be done at creation time. |
Remarks
For Windows CE versions 2.10 and later, dwFlagshas additional meaning, but is still compatible with previous versions. The high-order word of dwFlagsspecifies additional database properties.
Requirements
Runs on | Versions | Defined in | Include | Link to |
---|---|---|---|---|
Windows CE OS | 1.01 and later | Windbase.h | Winbase.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also
CeCreateDatabaseEx, CeSetDatabaseInfo, CeSetDatabaseInfoEx, HIWORD, LOWORD, CEOIDINFO