ReadProcessMemory method
Implementation
int ReadProcessMemory(
ffi.Pointer<ffi.Void> hProcess,
ffi.Pointer<ffi.Void> lpBaseAddress,
ffi.Pointer<ffi.Void> lpBuffer,
int nSize,
ffi.Pointer<ffi.Uint64> lpNumberOfBytesRead,
) {
return (_ReadProcessMemory ??=
_dylib.lookupFunction<_c_ReadProcessMemory, _dart_ReadProcessMemory>(
'ReadProcessMemory'))(
hProcess,
lpBaseAddress,
lpBuffer,
nSize,
lpNumberOfBytesRead,
);
}