WINCE软关机

fusensam3   2008-1-4 14:48 楼主
请问一下:WINCE点的开始菜单上的挂起时,会调用BSP里面的哪个函数呀?也就是挂起是通过哪个函数实现的呀?谢谢呀

回复评论 (4)

同问,想知道WinCE的挂起怎么实现???
点赞  2008-1-4 19:08
OEMPowerOff()
点赞  2008-1-5 13:44
The other way of application suspension is to use undocumented PowerOffSystem() function. As this function is undocumented I can't make any assumptions abut support of this function in different devices or operating system versions. In order to use this function place following function declaration into your source code:

extern "C" __declspec(dllimport) void PowerOffSystem();

SetSystemPowerState(NULL,POWER_STATE_SUSPEND,1);//执行挂起操作
点赞  2008-1-8 09:13
当然是OEMPowerOff()了,但我如果要在挂起后,做个关机动画,请教各位达人,有哪些实现方法呢
点赞  2009-1-8 16:06
电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 京公网安备 11010802033920号
    写回复