键盘事件模拟函数:
keybd_event(VK_LWIN,0,0,0);
keybd_event('R',0,0,0);
keybd_event(VK_LWIN,0,2,0);
keybd_event('R',0,2,0);
鼠标事件模拟函数:
mouse_event(MOUSEEVENTF_LEFTDOWN|MOUSEEVENTF_LEFTUP,0,0,0,0);
键盘事件模拟函数:
keybd_event(VK_LWIN,0,0,0);
keybd_event('R',0,0,0);
keybd_event(VK_LWIN,0,2,0);
keybd_event('R',0,2,0);
鼠标事件模拟函数:
mouse_event(MOUSEEVENTF_LEFTDOWN|MOUSEEVENTF_LEFTUP,0,0,0,0);