在Windows Service中使用SendInputRT,我想用SendInput模拟键盘和鼠标事件,在Desktop Application中使用没有任何问题,但是在Service中调用SendInput没有任何效果,函数返回结果却是正常的。Service中的code如下: