我修改 power button 驱动,注释掉了PowerOffSystem(); 可仍然有效果,很奇怪[复制链接]
我修改 power button 驱动,注释掉了PowerOffSystem();
可仍然有效果,很奇怪
// Soft reset and standard suspend-resume both start with suspend for now.
#if (WINCEOSVER >= 400)
// call whichever shutdown API is available
if(gpfnSetSystemPowerState != NULL)
{
gpfnSetSystemPowerState(NULL, POWER_STATE_SUSPEND, POWER_FORCE);
}
else
{
//PowerOffSystem();