.版本2.DLL命令PostMessage,,"user32.dll","PostMessageA".参数hWnd,整数型.参数Msg,整数型.参数wParam,整数型.参数IParam,整数型.版本2PostMessage(游戏窗口句柄,256,#空格键,0)'按下PostMessage(游戏窗口句柄,257,#空格键,0)'放开