VirtualProtect method
Implementation
int VirtualProtect(
ffi.Pointer<ffi.Void> lpAddress,
int dwSize,
int flNewProtect,
ffi.Pointer<ffi.Uint64> lpflOldProtect,
) {
return (_VirtualProtect ??=
_dylib.lookupFunction<_c_VirtualProtect, _dart_VirtualProtect>(
'VirtualProtect'))(
lpAddress,
dwSize,
flNewProtect,
lpflOldProtect,
);
}