Slide 10.12: Line-by-line anatomy of DB.c (cont.) Slide 10.14: Line-by-line anatomy of DB.c (cont.) Home |
DB.c
(Cont.)
cardNo
:
Number of the card the database resides on
dbID
:
Database ID of the database
nameP
:
The database's name.
Pass a pointer to 32-byte character array for this parameter, or NULL
if you do not care about the name.
NULL
if you do not want to retrieve them.
attributesP
:
The database's attribute flags.
The “Database Attribute Constants” lists constants you can use to query the values returned in this parameter.
versionP
:
The application-specific version number.
The default version number is 0.
crDateP
:
The date the database was created, expressed as the number of seconds since the first instant of January 1, 1904.
modDateP
:
The date the database was last modified, expressed as the number of seconds since the first instant of January 1, 1904.
bckUpDateP
:
The date the database was backed up, expressed as the number of seconds since the first instant of January 1, 1904.
modNumP
:
The modification number, which is incremented every time a record in the database is added, modified, or deleted
appInfoIDP
:
The local ID of the application info block, or NULL
.
The application information block is an optional field that the database may use to store application-specific information about the database.
sortInfoIDP
:
The local ID of the database's sort table.
This is an optional field in the database header.
typeP
:
The database's type, specified when it is created
creatorP
:
The database's creator, specified when it is created