第三方API和WinAPI怎样使用???有没有实例???

解决方案 »

  1.   

    WinAPI的用法      [DllImport("user32.dll")]
          public  static extern void mouse_event(int flags, int dX, int dY, int buttons, int extraInfo);
      

  2.   

    WIN API:[DllImport("user32.dll", EntryPoint = "FindWindow",CharSet = CharSet.Auto)]
    public static extern IntPtr FindWindow(string lpClassName,string lpWindowName);//调用:
    IntPtr p = FindWindow("QQ2010","TXGuiFoundation");
    第三方API要具体看你的是什么API了,不同的用法也不一样
      

  3.   

    http://topic.csdn.net/u/20110402/11/5f49b8b3-60b0-4771-8603-9d86bd5c3f22.html?5583
      

  4.   

    LZ是要找API使用的教程或是实例吧
      

  5.   


    第二代居民身份证阅读器的API
      

  6.   

    [DllImport("xxxdll")]
      public static extern 方法名(参数)