WriteProcessMemory method
Implementation
int WriteProcessMemory(
ffi.Pointer<ffi.Void> hProcess,
ffi.Pointer<ffi.Void> lpBaseAddress,
ffi.Pointer<ffi.Void> lpBuffer,
int nSize,
ffi.Pointer<ffi.Uint64> lpNumberOfBytesWritten,
) {
return (_WriteProcessMemory ??=
_dylib.lookupFunction<_c_WriteProcessMemory, _dart_WriteProcessMemory>(
'WriteProcessMemory'))(
hProcess,
lpBaseAddress,
lpBuffer,
nSize,
lpNumberOfBytesWritten,
);
}