using System;using System.Collections.Generic;using System.Text;using System.Runtime.InteropServices; namespace AutoRun.Common{ public class WinIo { public const int KBC_KEY_CMD = 0x64; public const int KBC_KEY_DATA = 0x60; [DllImport("winio.dll"…
关于WinIO.DLL的键盘输入模拟 最近在找键盘模拟的方式,最后在网上找到了一个WinIO.DLL的IO键盘模拟按键的方式.但是居然那个方法是有问题的.我造了全局的hook监视键盘信息,发现它只是有keyDown和keyPress的消息,keyUp的信息是up了一个zoom的键. 搞了2天终于找到了正确的方式,以下是代码(使用需要winIo.dll,winIo.vxd,winIo.sys): public class WinIOLab { private con…