LearnWordManage/AsposeHook/Kernel32.cs

16 lines
443 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace ExtractResFile.AsposeHook
{
internal static class Kernel32
{
[DllImport("kernel32.dll", SetLastError = true)]
internal static extern bool VirtualProtect(IntPtr baseAddress, int protectionSize, uint protectionType, out uint oldProtectionType);
}
}