![](http://datasheet.mmic.net.cn/260000/PPSMMANUAL_datasheet_15946768/PPSMMANUAL_124.png)
21-12
Database Management Tools
Programmer’s Manual
Parameter
Return Value
Hint
The database and record referred to must be valid objects in the PSyntax
environment.
It is good practice for user to check that the return status is PPSM_OK before
using the data
21.16
DBRecordSecret
Syntax
STATUS
DBRecordSecret
(U32 dbId, U32 recId P_S32 sFlag)
Description
Checks if the secret flag of a particular record in a given database is set or not.
Parameter
Name
Description
dbId
Identifier of the database
recId
Identifier of the record
type
Returns type of the data
data
Returns pointer to the starting address of
the data
size
Returns size of the data(in bytes)
Name
Description
PPSM_OK
Successful operation
PPSM_ERROR
Unsuccessful operation
PPSM_ERR_DB_DBID
Invalid database identifier
PPSM_ERR_DB_RECID
Invalid record identifier
Name
Description
dbId
Identifier of the database
recId
Identifier of the record
Personal Portable System Manager
Programmer’s Manual
21-13
Return Value
Hint
The database and record referred to must be valid objects in the PPSM
environment.
21.17
DBSearchData
STATUS
DBSearchData
Description
Searches though the record list of the given database, finds if there is a record
that matches the specified
in the specified field. Returns status of
operation. If PPSM_OK is returned, the recID passed back is the record
identifier of the record with the specified data.
Parameter
Return Value
sFlag
Name
Description
PPSM_OK
Successful operation
PPSM_ERROR
Unsuccessful operation
PPSM_ERR_DB_DBID
Invalid database identifier
PPSM_ERR_DB_RECID
Invalid record identifier
Name
Description
dbId
fieldId
data
recId
Name
Description
PPSM_OK
Successful operation
Name
Description
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.