征途所有物品查找
系统结构:基本信息初始化,读取物品,FindWindow,GetWindowTextLength,GetWindowText,GetWindowThreadProcessId,OpenProcess,读取文本,读取字节,读取整数,EnumWindows,CloseHandle,
======启动窗口程序集
| |
| |------ __启动窗口_创建完毕
| |
| |------ 基本信息初始化
| |
| |------ 读取物品
| |
| |------ _按钮1_被单击
| |
| |------ _按钮2_被单击
| |
| |
======调用的Dll
| |
| |---[dll]------ FindWindow
| |
| |---[dll]------ GetWindowTextLength
| |
| |---[dll]------ GetWindowText
| |
| |---[dll]------ GetWindowThreadProcessId
| |
| |---[dll]------ OpenProcess
| |
| |---[dll]------ 读取文本
| |
| |---[dll]------ 读取字节
| |
| |---[dll]------ 读取整数
| |
| |---[dll]------ EnumWindows
| |
| |---[dll]------ CloseHandle
调用的DLL命令:
.DLL命令 FindWindow, 整数型, , "FindWindowA"
.参数 ClassName, 文本型
.参数 WindowTitle, 整数型
.DLL命令 GetWindowTextLength, 整数型, , "GetWindowTextLengthA"
.参数 窗口句柄, 整数型
.DLL命令 GetWindowText, 整数型, , "GetWindowTextA"
.参数 窗口句柄, 整数型, , 欲获取文字的那个窗口的句柄
.参数 缓冲区, 文本型, , 预定义的一个缓冲区,至少有cch+1个字符大小;随同窗口文字载入
.参数 缓冲尺寸, 整数型, , lp缓冲区的长度;
.DLL命令 GetWindowThreadProcessId, 整数型, , "GetWindowThreadProcessId"
.参数 hwnd, 整数型
.参数 lpdwProcessId, 整数型, 传址
.DLL命令 OpenProcess, 整数型, , "OpenProcess"
.参数 dwDesiredAccess, 整数型
.参数 bInheritHandle, 整数型
.参数 dwProcessId, 整数型
.DLL命令 读取文本, 整数型, , "ReadProcessMemory", , 在进程中读内存
.参数 hProcess, 整数型
.参数 lpBaseAddress, 整数型
.参数 lpBuffer, 文本型
.参数 nSize, 整数型
.参数 lpNumberOfBytesWritten, 整数型
.DLL命令 读取字节, 整数型, , "ReadProcessMemory"
.参数 hProcess, 整数型
.参数 lpBaseAddress, 整数型
.参数 lpBuffer, 字节集, 传址
.参数 nSize, 整数型
.参数 lpNumberOfBytesWritten, 整数型
.DLL命令 读取整数, 整数型, , "ReadProcessMemory", , 在进程中读内存
.参数 hProcess, 整数型
.参数 lpBaseAddress, 整数型
.参数 lpBuffer, 整数型
.参数 nSize, 整数型
.参数 lpNumberOfBytesWritten, 整数型
.DLL命令 EnumWindows, 整数型, "user32.dll", "EnumWindows", , 枚举窗口列表中的所有父窗口(顶级和被所有窗口) 非零表示成功,零表示失败
.参数 函数指针, 子程序指针, , 指向为每个子窗口都调用的一个函数的指针。用AddressOf运算符获得函数在标准模式下的地址
.参数 自定义数值, 整数型, , 在枚举期间,传递给dwcbkd32.ocx定制控件之EnumWindows事件的值。这个值的含义是由程序员规定的;
.DLL命令 CloseHandle, 整数型
.参数 hObject, 整数型
注:本站源码主要来源于网络收集。如有侵犯您的利益,请联系我们,我们将及时删除!
部分源码可能含有危险代码,(如关机、格式化磁盘等),请看清代码在运行。
由此产生的一切后果本站均不负责。源码仅用于学习使用,如需运用到商业场景请咨询原作者。
使用本站源码开发的产品均与本站无任何关系,请大家遵守国家相关法律。