哪位能解释一下ZwProtectVirtualMemory 的用法?谢谢

解决方案 »

  1.   

    VirtualProtectEx的内核实现函数~~用法差不多的.
      

  2.   

    我想ZWProtectVirtualMemory->ZWWriteVirtualMemory,嘿嘿
    ZWProtectVirtualMemory卡壳了
      

  3.   

    ZwProtectVirtualMemory 是这样定义的,我想清零
    Public Declare Function ZwProtectVirtualMemory _
                   Lib "ntdll.dll" (ByVal ProcessHandle As Long, _
                                    ByVal BaseAddress As Long, _
                                    ByVal RegionSize As Long, _
                                    ByVal NewProtect As Long, _
                                    ByVal OldProtect As Long) As Long
    Public Const PAGE_READWRITE As Long = &H4
    Public Const PAGE_GUARD As Long = &H100
    Public Const PAGE_EXECUTE As Long = &H10
    哪位能详细解释一下用法?谢
      

  4.   

    陈辉到瑞星去了?以前听说他要成为病毒分析师了
    wait...
      

  5.   

    ByVal ProcessHandle As Long, _ 打开的程序句柄
    ByVal BaseAddress As Long, _ 开始地址
    ByVal RegionSize As Long, _ 地址范围
    ByVal NewProtect As Long, _ 新的保护设置
    ByVal OldProtect As Long) _ 旧的保护设置