PID32接口測試
測試游戲:撕裂重罪2.02
無限HP,MP無限解除力,防御力,發(fā)動奧義
函數(shù)1 PID_Caption (通過進程標(biāo)題取出進程PID)
函數(shù)1.參數(shù)1 Caption (寫進程的標(biāo)題 文本型)
函數(shù)1.參數(shù)2 Return (返回取出的進程PID 整數(shù)型參考)
函數(shù)2 PID_Tasklist (通過進程名取出進程PID)
函數(shù)2.參數(shù)1 Tasklist (寫進程的名稱 文本型)
函數(shù)2.參數(shù)2 Return (返回取出的進程PID 整數(shù)型參考)
函數(shù)3 Process_Caption (通過進程標(biāo)題取出進程Process)
函數(shù)3.參數(shù)1 Caption (寫進程的標(biāo)題 文本型)
函數(shù)3.參數(shù)2 Return (返回取出的進程Process 整數(shù)型參考)
函數(shù)4 Process_Tasklist (通過進程名取出進程Process)
函數(shù)4.參數(shù)1 Tasklist (寫進程的名稱 文本型)
函數(shù)4.參數(shù)2 Return (返回取出的進程Process 整數(shù)型參考)
函數(shù)5 Read_Memory (用進程PID來讀取一個內(nèi)存的數(shù)據(jù)值)
函數(shù)5.參數(shù)1 ProcessID (進程的PID 整數(shù)型)
函數(shù)5.參數(shù)2 Memory_Process (內(nèi)存地址 十進制整數(shù)型)
函數(shù)5.參數(shù)3 Length_Type (讀入的長度類型 整數(shù)型)
函數(shù)5.參數(shù)4 Return (返回一個成功讀取的內(nèi)存數(shù)據(jù)值 整數(shù)型參考)
函數(shù)6 Write_Memory (用進程PID來寫入一個內(nèi)存的數(shù)據(jù)值)
函數(shù)6.參數(shù)1 ProcessID (進程的PID 整數(shù)型)
函數(shù)6.參數(shù)2 Memory_Process (內(nèi)存地址 十進制整數(shù)型)
函數(shù)6.參數(shù)3 Memory_Data (內(nèi)存數(shù)據(jù)值 整數(shù)型)
函數(shù)6.參數(shù)4 Length_Type (寫入長度類型 整數(shù)型)
函數(shù)7 SixteenGoTen (十六進制轉(zhuǎn)到十進制)
函數(shù)7.參數(shù)1 Sixteen (十六進制 文本型)
函數(shù)7.參數(shù)2 ReturnTen (返回十進制 整數(shù)型參考)
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