Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void pressEnter();
- {
- INPUT ip;
- ip.type = INPUT_KEYBOARD;
- ip.ki.time = 0;
- ip.ki.dwFlags = KEYEVENTF_UNICODE;
- ip.ki.wScan = VK_RETURN; //VK_RETURN is the code of Return key
- ip.ki.wVk = 0;
- ip.ki.dwExtraInfo = 0;
- SendInput(1, &ip, sizeof(INPUT));
- }
Add Comment
Please, Sign In to add comment