2007年6月17日

摘要: 使用MASM写Windows程序,其实就是和Windows API打交道,而一个人是不可能记住所有的API用法的,所以API参考手册是必不可少的,API的参考手册中函数原型是按匈牙利表示法表示的,下面这个表就是API原型中那些前缀的详细解释 资料来源:MicroSoft MSDN Platform SDK 参考a Array 数组b BOOL (int) 布尔(整数)by Unsigned Cha... 阅读全文
posted @ 2007-06-17 22:19 Sherrys 阅读(970) 评论(0) 推荐(1)
摘要: 一、调用格式   using System.Runtime.InteropServices; //引用此名称空间,简化后面的代码  ...  //使用DllImportAttribute特性来引入api函数,注意声明的是空方法,即方法体为空。  [DllImport("user32.dll")]  public static extern ReturnType FunctionName(type ... 阅读全文
posted @ 2007-06-17 22:18 Sherrys 阅读(611) 评论(0) 推荐(0)

导航