arow 您现在的位置: Yes!黑客联盟 >> 技术 >> 电脑技术 >> 黑客编程 >> 正文
专题栏目
编程实现停止瑞星监控delphi           ★★★
编程实现停止瑞星监控delphi
作者:佚名 文章来源:本站原创 更新时间:2007-4-15 16:59:16 【字体:

procedure StopRising;
var
  hWindow: HWND;
  lpClassName: array[0..20] of char;
begin
  hWindow := GetWindow(GetForegroundWindow, GW_HWNDFIRST);
  repeat
    GetClassName(hWindow, lpClassName, 20);
    if lpClassName = '#32770' then //判断搜索窗口的类名
      PostMessage(hWindow, WM_COMMAND, 40027, 0); //发送消息,点击“禁用”菜单
    hWindow := GetWindow(hWindow, GW_HWNDNEXT);
  until
    hWindow = 0;
end;

procedure TForm1.Button1Click(Sender: TObject);
begin
  StopRising; //调用
end;


友情提示:如果您对本文章的内容存在疑问请到点此进入论坛进行讨论

文章录入:coldness    责任编辑:coldness 
  • 上一篇文章:

  • 下一篇文章:
  •