且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何检测 Windows Mobile 上的挂起?

更新时间:2022-01-12 22:52:21

这句话(听起来真的很熟悉)仍然是正确的.唯一保证能够在挂起前完成工作的组件是驱动程序,它们也有一系列明显的限制.

The quote (which sounds really, really familiar) is still true. The only components that are guaranteed to be able to complete their work before suspend are drivers, and they have a significant set of limitations as well.

挂起背后的一般想法是对应用程序透明,在此之前通常不是一个好主意.

The general idea behind a suspend is to be transparent to the application, and getting in front of that generally isn't a good idea.