WriteFile method
Implementation
int WriteFile(
ffi.Pointer<ffi.Void> hFile,
ffi.Pointer<ffi.Void> lpBuffer,
int nNumberOfBytesToWrite,
ffi.Pointer<ffi.Uint64> lpNumberOfBytesWritten,
ffi.Pointer<LPOVERLAPPED> lpOverlapped,
) {
return (_WriteFile ??=
_dylib.lookupFunction<_c_WriteFile, _dart_WriteFile>('WriteFile'))(
hFile,
lpBuffer,
nNumberOfBytesToWrite,
lpNumberOfBytesWritten,
lpOverlapped,
);
}