userDBItemExisted

2021-06-18 16:54:08    文子    1697

int  userDBItemExisted( int dbType,  const unsigned short  * phr,  const unsigned short  * pys );

查询记忆数据库里是否已经存在对应的词条。

参数:

  1. dbType - 记忆数据类型,如联系人,拼音,笔画,等,详细查看DWIME_USERDB_TYPE定义。
  2. phr - 词条字符串。
  3. pys - 词条的拼音或者是编码串。

返回:

不存在返回0,非0表示是存在。