中国IT资源网 设为首页
加入收藏
网站建设
您当前的位置:中国IT资源网 -> 文章 -> 软件开发 -> 黑客编程 -> 文章内容
 取传奇客户端句柄代码
<--插入广告JS代码-->
function SearMirwindow: HWND;
var
hCurrentWindow: HWnd;
AhWnd: HWND;
szText: array[0..254] of char;
strText: string;
begin
Result := 0;
hCurrentWindow := GetWindow(GetForegroundWindow, GW_HWNDFIRST);
while hCurrentWindow <> 0 do
begin
if GetWindowText(hCurrentWindow, @szText, 255) > 0 then
begin
// AhWnd := FindWindow('TFRMMAIN', nil);
AhWnd := FindWindow('TfrmMainMain', nil);
if AhWnd <> 0 then
begin
GetWindowText(AhWnd, szText, 255);
strText := StrPas(szText);
if (strText = '传奇客户端') or (UpperCase(Copy(strText, 1, 13)) = UpperCase('legend of mir')) then
begin
Result := AhWnd;
Break;
end;
end;
end;
hCurrentWindow := GetWindow(hCurrentWindow, GW_HWNDNEXT);
end;
end;


评论】【打印】【 】【关闭
  聊天室里被困6天 武汉热线黑客案告破 
  取传奇大区信息
 
关于本站 - 网站帮助 - 广告合作 - 下载声明 - 友情连接 - 网站地图 - 在线投稿

中国IT资源网版权所有
Copyright © 2002-2006 Gz235.Com All Rights Reserved
中华人民共和国电信与信息服务业务经营许可证编号 粤ICP备05022918号
本站在线服务QQ:105754049 程序定制:105754049 广告受理/投搞/投诉:105754049
本站所提供的程序均来自于 Internet(下载后首先检测是否有毒),仅供学习使用。因其产生的一切问题本站不负任何责任