ReadFile method
Implementation
int ReadFile(
ffi.Pointer<ffi.Void> hFile,
ffi.Pointer<ffi.Void> lpBuffer,
int nNumberOfBytesToRead,
ffi.Pointer<ffi.Uint64> lpNumberOfBytesRead,
ffi.Pointer<LPOVERLAPPED> lpOverlapped,
) {
return (_ReadFile ??=
_dylib.lookupFunction<_c_ReadFile, _dart_ReadFile>('ReadFile'))(
hFile,
lpBuffer,
nNumberOfBytesToRead,
lpNumberOfBytesRead,
lpOverlapped,
);
}