Component Object Model
perry_peng
***
展开
-
关闭或打开笔记本触摸鼠标功能(TouchPad)
只能使用在Synaptics Touchpad且要安装Synaptics软件。#include #include "SynKit.h"int main( int argc, char* argv[]){ ISynAPI *pAPI = 0; if ( CoInitialize(0) || CoCreateInstance(_uuidof(SynAPI)原创 2011-10-26 16:50:16 · 3048 阅读 · 0 评论 -
COM实现系统SENS接口获取网络断开事件
ISensNetwork Interface从MSDN拷贝的关于ISensNetwork说明。查看实现源码。The ISensNetwork interface handles network events fired by the System Event Notification Service (SENS).When To ImplementImplement原创 2011-09-30 10:38:56 · 2758 阅读 · 0 评论 -
使用IDeskBand2接口在Windows任务栏创建自己的窗口
IDeskBand2 Interface从MSDN拷贝的关于IDeskBand2说明。查看实现源码。 IDeskBand2 MembersCanRenderCompositedIndicates the deskband's ability to be displayed as translucent.CloseDWNotifies the原创 2011-11-22 14:44:05 · 4454 阅读 · 0 评论