易语言模块基址获取源码
系统结构:GetModuleBaseAddress,
======程序集1
| |
| |------ _启动子程序
| |
| |
======窗口程序集1
| |
| |------ _窗口1_创建完毕
| |
| |------ GetModuleBaseAddress
| |
| |
======调用的Dll
| |
| |---[dll]------ _CreateToolhelp32Snapshot
| |
| |---[dll]------ _Module32First
| |
| |---[dll]------ _OpenProcess
| |
| |---[dll]------ _GetWindowThreadProcessId
| |
| |---[dll]------ _CloseHandle
| |
| |---[dll]------ _Module32Next
| |
| |---[dll]------ _FindWindowA
调用的DLL命令:
.DLL命令 _CreateToolhelp32Snapshot, 整数型, , "CreateToolhelp32Snapshot"
.参数 dwFlags, 整数型
.参数 th32ProcessID, 整数型
.DLL命令 _Module32First, 整数型, , "Module32First"
.参数 hSnapshot, 整数型
.参数 LPME, MODULEENTRY32
.DLL命令 _OpenProcess, 整数型, , "OpenProcess"
.参数 dwDesiredAccess, 整数型, , 65536
.参数 bInheritHandle, 逻辑型
.参数 dwProcessId, 整数型
.DLL命令 _GetWindowThreadProcessId, 整数型, , "GetWindowThreadProcessId"
.参数 hwnd, 整数型
.参数 lpdwProcessId, 整数型, 传址
.DLL命令 _CloseHandle, 整数型, , "CloseHandle"
.参数 PID, 整数型, , 进程PID
.DLL命令 _Module32Next, 逻辑型, , "Module32Next"
.参数 hSnapshot, 整数型
.参数 LPME, MODULEENTRY32
.DLL命令 _FindWindowA, 整数型, , "FindWindowA"
.参数 lpClassName, 文本型
.参数 lpWindowsName, 文本型
注:本站源码主要来源于网络收集。如有侵犯您的利益,请联系我们,我们将及时删除!
部分源码可能含有危险代码,(如关机、格式化磁盘等),请看清代码在运行。
由此产生的一切后果本站均不负责。源码仅用于学习使用,如需运用到商业场景请咨询原作者。
使用本站源码开发的产品均与本站无任何关系,请大家遵守国家相关法律。