Hibernate Once Resume Many(HORM)在Windows嵌入式紧凑型7中 [英] Hibernate Once Resume Many (HORM) in windows embedded compact 7

查看:171
本文介绍了Hibernate Once Resume Many(HORM)在Windows嵌入式紧凑型7中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,



我想从停止的位置启动系统(Wince7.0)。 / p>

意味着我想避免从第一步开始重新初始化WinCE7.0操作系统。


当我在网上搜索时,我开始了解 Hibernate Once Resume Many(HORM)选项。


所以在这个 Hibernate Once Resume Many(HORM) 模式我们可以从停止的位置重启系统。 / p>

Wince7.0是否支持天气此功能?


如果是,那么它将如何实现?


提前感谢您的信息。


感谢


nadini





解决方案

嗨Nadini,


我相信 Hibernate Once Resume Many(HORM)选项可用
Windows Embedded Standard 7不在Windows Embedded Compact 7上。在Windows Embedded Compact 7中,您可以实现"暂停/恢复"。特征。您的BSP必须支持SUSPEND / RESUME功能。


您可以通过调用强制设备从应用程序进入暂停状态来检查您的设备支持是否暂停。 API,


SetSystemPowerState(NULL,POWER_STATE_SUSPEND,POWER_FORCE)


这会将您的设备放入暂停状态,然后您可以使用"电源按钮"或设备的任何其他恢复源(配置为恢复设备)以恢复设备。


谢谢/问候,


Rakesh。


Dear all,

I want to start the system(Wince7.0) from the point where it stopped.

Means I want to avoid the reinitialization of WinCE7.0 os from the first step.

When I searched in net I came to know about Hibernate Once Resume Many (HORM) option.

So in this Hibernate Once Resume Many (HORM)mode we can restart the system from where it stopped.

Weather this feature is supported by Wince7.0?

If yes then how it will achieved?

Thank you in advance for the information.

With thanks

nadini

解决方案

Hi Nadini,

I believe Hibernate Once Resume Many (HORM) option avilable on Windows Embedded Standard 7 not on Windows Embedded Compact 7. In Windows Embedded Compact 7 you can implement "Suspend/Resume" feature. Your BSP has to support SUSPEND/RESUME functionality.

You can check weather your device support suspend or not by forcing the device to enter suspend state from application by calling API,

SetSystemPowerState(NULL, POWER_STATE_SUSPEND, POWER_FORCE)

This will put your device in to suspend state and then you can use the "Power button" or any other resume source of your device (which is configured for resuming the device) to resume the device.

Thanks/Regards,

Rakesh.


这篇关于Hibernate Once Resume Many(HORM)在Windows嵌入式紧凑型7中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆