
21-16
Database Management Tools
Text Tools
Programmer’s Manual
Sets the secret flag of a database. If it is set, all new records created
subsequently in the specified database will be set to secret.
Parameter
Return Value
Hint
The database referred to must be a valid object in the PPSM environment.
User can use this flag to implement data security mechanism at a higher level.
Note that the secret flag is set to 0 when the database is created. If a user
wants all records in the database to be set secret, it should call
DBSetSecretFlag() immediately after DBAdd() is called.
Name
Description
dbId
Identifier of the database
sFlag
Secret flag of the database. It can take
either of the following two values:
0
Clears the secret flag
1
Sets the secret flag
Name
Description
PPSM_OK
Successful operation
PPSM_ERROR
Unsuccessful operation
PPSM_ERR_DB_DBID
Invalid database identifier
PPSM_ERR_DB_SFLAG
Invalid secret flag value
Personal Portable System Manager
Programmer’s Manual
22-1
22.1
TextCreate
Syntax
STATUS
TextCreate
Description
Creates and initializes a text template for storing text properties. An identifier
for the created text template will be returned.
This is the first text tool an application MUST call before any text can be
displayed on the panning screen. The
further references to this particular text template.
returned is required for
Parameter
Return Value
22.2
TextDelete
Syntax
STATUS
TextDelete
Description
Deletes a text template created by TextCreate(). This should be done when the
text template is not needed anymore.
Parameter
Name
Description
templateId
Name
Description
PPSM_OK
Successful operation
PPSM_ERR_TEXT_CR
Error while creating text template
Name
Description
templateId
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.