 |
CeCreateDatabase ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
This function creates a new database. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
CEOID CeCreateDatabase(
LPWSTR lpszName,
DWORD dwDbaseType,
WORD wNumSortOrder,
SORTORDERSPEC* rgSortSpecs
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER CeCreateDatabase IN rapi;
STRING lpszName,;
INTEGER dwDbaseType,;
SHORT wNumSortOrder,;
INTEGER rgSortSpecs
|
 |
 |
 |
| Parameters: |
 |
lpszName
[in] Long pointer to a null-terminated string that specifies the name for the new database.
dwDbaseType
[in] Specifies the type identifier for the database.
wNumSortOrder
[in] Number of sort orders active in the database, with four being the maximum number.
rgSortSpecs
[in] Pointer to an array of actual sort order descriptions. |
 |
 |
| Return value: |
 |
| The object identifier of the newly created database — not a handle to an open database — indicates success. |
 |
 |
| My comment: |
 |
The name can have up to 32 characters, including the terminating null character.
See also CeOpenDatabase, CeDeleteDatabase, CeWriteRecordProps and CeDeleteRecord functions. |
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2004-08-23 13:37:52 | | Modified: | 2004-08-23 13:43:26 | Visited in last 7 days: 15 |