找回密码
 注册
搜索
查看: 632|回复: 0

[讨论] MT6253 手动实现history的函数

[复制链接]
发表于 2010-10-15 11:51:22 | 显示全部楼层 |阅读模式
说点很简单的东西

void ExitMyAppScreen(void)
{
   history currHistory;
   S16 nHistory=0;
   
   mmi_ucs2cpy((S8*) currHistory.inputBuffer, (S8*) & nHistory);
   currHistory.scrnID = ORGANIZER_SCREENID;
   currHistory.entryFuncPtr = EntryMyAppScreen;
   GetCategoryHistory(currHistory.guiBuffer);
   AddHistory(currHistory);
}

注意一定要用mmi_ucs2cpy,使用pfnUnicodeStrcpy无法编译通过。

[em15][em15][em15]
高级模式
B Color Image Link Quote Code Smilies

本版积分规则

Archiver|手机版|小黑屋|52RD我爱研发网 ( 沪ICP备2022007804号-2 )

GMT+8, 2025-2-26 22:24 , Processed in 0.051084 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表