Slide 10.11: Line-by-line anatomy of DB.c Slide 10.13: Line-by-line anatomy of DB.c (cont.) Home |
DB.c
(Cont.)
DmCreateDatabase( 0, DBName, CreatorID, DBType, false )
cardNo
:
The card number to create the database on
nameP
:
Name of new database, up to 32 ASCII bytes long, including the null terminator (as specified by dmDBNameLength
)
creator
:
Creator of the database
type
:
Type of the database
resDB
:
If true
, create a resource database.
errNone
if no error, or one of the following if an error occurs:
|
|
DmDatabaseInfo( dbCard, dbID, NULL, &attributes, NULL, ... );
errNone
if no error, or dmErrInvalidParam
if an error occurs.