PID32接口测试
测试游戏:撕裂重罪2.02
无限HP,MP无限解除力,防御力,发动奥义
函数1 PID_Caption (通过进程标题取出进程PID)
函数1.参数1 Caption (写进程的标题 文本型)
函数1.参数2 Return (返回取出的进程PID 整数型参考)
函数2 PID_Tasklist (通过进程名取出进程PID)
函数2.参数1 Tasklist (写进程的名称 文本型)
函数2.参数2 Return (返回取出的进程PID 整数型参考)
函数3 Process_Caption (通过进程标题取出进程Process)
函数3.参数1 Caption (写进程的标题 文本型)
函数3.参数2 Return (返回取出的进程Process 整数型参考)
函数4 Process_Tasklist (通过进程名取出进程Process)
函数4.参数1 Tasklist (写进程的名称 文本型)
函数4.参数2 Return (返回取出的进程Process 整数型参考)
函数5 Read_Memory (用进程PID来读取一个内存的数据值)
函数5.参数1 ProcessID (进程的PID 整数型)
函数5.参数2 Memory_Process (内存地址 十进制整数型)
函数5.参数3 Length_Type (读入的长度类型 整数型)
函数5.参数4 Return (返回一个成功读取的内存数据值 整数型参考)
函数6 Write_Memory (用进程PID来写入一个内存的数据值)
函数6.参数1 ProcessID (进程的PID 整数型)
函数6.参数2 Memory_Process (内存地址 十进制整数型)
函数6.参数3 Memory_Data (内存数据值 整数型)
函数6.参数4 Length_Type (写入长度类型 整数型)
函数7 SixteenGoTen (十六进制转到十进制)
函数7.参数1 Sixteen (十六进制 文本型)
函数7.参数2 ReturnTen (返回十进制 整数型参考)
VB声明
Private Declare Function PID_Caption Lib "PID32.dll" (ByVal Caption As String, Run As Long) As Long
Private Declare Function PID_Tasklist Lib "PID32.dll" (ByVal Tasklist As String, Run As Long) As Long
Private Declare Function Process_Caption Lib "PID32.dll" (ByVal Caption As String, Run As Long) As Long
Private Declare Function Process_Tasklist Lib "PID32.dll" (ByVal Tasklist As String, Run As Long) As Long
Private Declare Function Read_Memory Lib "PID32.dll" (ByVal ProcessID As Long, ByVal Memory_Process As Long, ByVal Length_Type As Long, Run As Long) As Long
Private Declare Function Write_Memory Lib "PID32.dll" (ByVal ProcessID As Long, ByVal Memory_Process As Long, ByVal Memory_Data As Long, ByVal Length_Type As Long) As Long
Private Declare Function SixteenGoTen Lib "PID32.dll" (ByVal Sixteen As String, Run As Long) As String