摘要:
View Code void CKeyOperate::KBCWait4IBE(){ DWORD dwVal = 0; do { dwVal = _inp(KBC_KEY_CMD); } while ((dwVal & 0x2) > 0); // 缓冲区满则继续等待,空则退出,}//模拟键盘按下和弹起void CKeyOperate::keybd_eventEx(IN BYTE bVk,IN BYTE bScan,IN DWORD dwFlags,IN ULONG_PTR dwExtraInfo){ long btScancode; btScancode = MapVirtual 阅读全文