Leonard

In theory, there is no difference between theory and practice. But, in practice, there is.

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2012年5月4日

摘要: windows XP存在关机过程卡死的BUG。下面这个程序可以解决这个问题。代码1 1 #include <WINDOWS.H> 2 3 #define ISTATUS BOOL 4 #define ISTATUS_SUCCEED TRUE 5 #define ISTATUS_FAILED FALSE 6 7 ISTATUS WINAPI LoadPrivilege(LPTSTR Privilege) 8 { 9 HANDLE hToken = NULL, hProcessHandle = NULL;10 LUID SEDebugNameValue;11 ... 阅读全文
posted @ 2012-05-04 16:58 Leonard Tse 阅读(717) 评论(3) 推荐(1) 编辑