阅读背景:

如何检测计算机是否正在关闭以保存会话

来源:互联网 

I am making an RPG game with C++/x86 asm. My question is related to the C++ component. In C++/win32 how would I detect if the computer is shutting down or turning off, or whatever else - so that I can save the game session. My game has a 'save' option, but if the user or another program decides to shut off the computer how can I detect this with some kind of API hook so that I can instantly save the game session to the text file.I am making an RPG game with C++/x86 asm. My qu




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: