BananaHook.Specs.StubMemoryProtection.VirtualProtect C# (CSharp) Метод

VirtualProtect() публичный Метод

public VirtualProtect ( IntPtr lpAddress, IntPtr dwSize, MemoryProtectionConstraints flNewProtect, MemoryProtectionConstraints &pflOldProtect ) : bool
lpAddress System.IntPtr
dwSize System.IntPtr
flNewProtect MemoryProtectionConstraints
pflOldProtect MemoryProtectionConstraints
Результат bool
        public bool VirtualProtect(IntPtr lpAddress, IntPtr dwSize, MemoryProtectionConstraints flNewProtect, out MemoryProtectionConstraints pflOldProtect)
        {
            pflOldProtect = CurrentProtectection;
            HasChanged = CurrentProtectection != flNewProtect;
            CurrentProtectection = flNewProtect;
            return true;
        }
StubMemoryProtection