
Windows系统编程
文章平均质量分 75
skyxie
站内联系
展开
-
如何利用程序获得当前系统的补丁情况
用WUA API 用IUpdateSession::CreateUpdateSearcher搜索安装的查询。 // fromhttp://topic.youkuaiyun.com/u/20090604/22/d5a7cc2a-001e-47a8-8a34-0006d9892015.html?seed=384551903转载 2009-06-04 22:40:00 · 861 阅读 · 0 评论 -
ANSI,UNICODE, UTF-8 字符串之间的相互转换
转自 http://topic.youkuaiyun.com/u/20090414/11/ea7ffb2d-82fb-4504-b1f9-77560f0dceae.html?88949include "stdafx.h" #include "windows.h" #include #include #include using namespace std; //从Un转载 2009-06-08 20:25:00 · 1187 阅读 · 0 评论 -
Spy++ Internals
Spy++ InternalsHi, my name is Pat Brenner and I’m a software design engineer on the Visual C++ libraries team. I recently rejoined the Visual C++ team after almost 10 years in the Visual Studio env转载 2009-06-09 20:55:00 · 1340 阅读 · 0 评论 -
阻止关机的完美实现
【写在开头】这是N久以前的笔记了,当时还没有写blog的习惯...今天在坛子上发现有人问这个问题,终于从某个旮旯中把它翻了出来。 根据MSDN的描述,采用如下的代码来实现阻止关机,结果发现在有的机器上能够阻止关机,在有的机器上却不能阻止(虽然能看到弹出的MessageBox,但还来不及反应,马上就关机了)。(都是WinXP SP2的机器)LRESULT CPreventShu原创 2009-06-09 21:12:00 · 9569 阅读 · 1 评论