
Windows
文章平均质量分 75
v2nero
这个作者很懒,什么都没留下…
展开
-
GINA & Credential Provider
There's two methods to pursue depending upon which operating system you're looking to run under. For Windows XP, Windows 2000, and Windows Server 2003 you need to create a GINA.DLL. This is a repla转载 2012-10-22 14:38:34 · 1076 阅读 · 0 评论 -
Windows APP只允许一个实例
用::SetProp给主窗口添加一个具有唯一性的属性值,以便在进程初始化的时候可以通过遍历所有窗口的该属性来判断。 添加属性值的代码一般可以放在InitInstance方法的最后,如下: ::SetProp(m_pMainWnd->m_hWnd, "UNIQUE_ID", (HANDLE)UNIQUE_ID); UNIQUE_ID是一个具有唯一性的整数值(为什么不能用字符串?转载 2013-10-25 11:57:52 · 942 阅读 · 0 评论 -
Remove USB Device Safely
实现的功能:Remove USB Device Safely 1.获取设备Handle 根据卷的驱动器类型和DOS设备名,使用Windows API枚举所有磁盘,包括软盘、光盘,或者其他设备。 //---------------------------------------------------------------------- // returns the devi转载 2016-04-12 17:58:54 · 725 阅读 · 0 评论 -
SynapticsTouchDriver 思维导图
原创 2016-05-21 16:46:35 · 565 阅读 · 0 评论