16,554
社区成员
发帖
与我相关
我的任务
分享
Structure MEMORY_BASIC_INFORMATION ' 28 bytes
Dim BaseAddress As Integer
Dim AllocationBase As Integer
Dim AllocationProtect As Integer
Dim RegionSize As Integer
Dim State As Integer
Dim Protect As Integer
Dim lType As Integer
End Structure
Private Declare Function VirtualQuery Lib "kernel32" (ByVal lpAddress As IntPtr, ByRef lpBuffer As MEMORY_BASIC_INFORMATION, ByVal dwLength As UInteger) As Integer
调用:
ret = VirtualQuery(pAddr, mi, miLen)