LGED

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

2015年11月25日

摘要: 一、调用Windows API。 C#下调用Windows API方法如下: 1、引入命名空间:using System.Runtime.InteropServices; 2、引用需要使用的方法,格式:[DllImport("DLL文件")]方法的声明; 二、找到目标窗口1)、根据窗口的标题得到句柄 阅读全文
posted @ 2015-11-25 01:43 LGED 阅读(440) 评论(0) 推荐(0) 编辑