1. 首页
  2. 编程语言
  3. C#
  4. C#条码扫描Usb接口

C#条码扫描Usb接口

上传者: 2019-05-15 08:18:49上传 ZIP文件 53.72KB 热度 29次
privateintKeyboardHookProc(intnCode,Int32wParam,IntPtrlParam){if(nCode==0){EventMsgmsg=(EventMsg)Marshal.PtrToStructure(lParam,typeof(EventMsg));if(wParam==0x100)//WM_KEYDOWN=0x100{barCode.VirtKey=msg.message
用户评论