procedure KeyUp(vKeyCoad: Cardinal); //这个用来模拟释放键,参数vKeyCoad传入按键的虚拟码
var
btScancode : Cardinal;
begin
btScancode := MapVirtualKey(vKeyCoad, 0);
KBCWait4IBE;