while(1)
{
HANDLE hWnd = ::FindWindow(NULL,"IceSword");
if(hProcess!=NULL)
{
::PostMessage(hWnd,WM_QUIT,0,0);
::PostMessage(hWnd,100,0,0);
::PostMessage(hWnd,101,0,0);
}
::Sleep(200);
}
只会在is启动的瞬间起作用
没有评论:
发表评论