- void sendUnicode2(USHORT code)
- {
- INPUT input;
-
- input.type = INPUT_KEYBOARD;
- input.ki.wVk = 0;
- input.ki.wScan = code;//L'你';
- input.ki.time = 0;
- input.ki.dwFlags = KEYEVENTF_UNICODE;
- input.ki.dwExtraInfo = GetMessageExtraInfo();
-
- SendInput(1, &input, sizeof(INPUT));
相关热门文章
给主人留下些什么吧!~~
评论热议