VirtualProtectEx method
Implementation
int VirtualProtectEx(
ffi.Pointer<ffi.Void> hProcess,
ffi.Pointer<ffi.Void> lpAddress,
int dwSize,
int flNewProtect,
ffi.Pointer<ffi.Uint64> lpflOldProtect,
) {
return (_VirtualProtectEx ??=
_dylib.lookupFunction<_c_VirtualProtectEx, _dart_VirtualProtectEx>(
'VirtualProtectEx'))(
hProcess,
lpAddress,
dwSize,
flNewProtect,
lpflOldProtect,
);
}