我在程序中使用SetSuspendState(TRUE,FALSE,TRUE)试图请求windows XP hibernate(休眠),但是该函数经常返回FALSE,休眠失败,紧接着调用GetLastError()却只能得到ERROR_SUCCESS,即没有错误,无法定位休眠失败的故障原因,请问微软技术专家们,我该怎么继续查下去?
I hate Windows,but I can't live without it.
...全文
1965打赏收藏
用API休眠失败,没有错误码,如何定位问题
我在程序中使用SetSuspendState(TRUE,FALSE,TRUE)试图请求windows XP hibernate(休眠),但是该函数经常返回FALSE,休眠失败,紧接着调用GetLastError()却只能得到ERROR_SUCCESS,即没有错误,无法定位休眠失败的故障原因,请问微软技术专家们,我该怎么继续查下去? I hate Windows,but I can't live without it.
平台
Windows 98、Windows 2000 SP4、Windows CE、Windows Millennium Edition、Windows Mobile for Pocket PC、Windows Mobile for Smartphone、Windows Server 2003、Windows XP Media Center Edition、Windows XP Professional x64 Edition、Windows XP SP2、Windows XP Starter Edition