WriteFileEx method
int
WriteFileEx(
- Pointer<
Void> hFile, - Pointer<
Void> lpBuffer, - int nNumberOfBytesToWrite,
- Pointer<
LPOVERLAPPED> lpOverlapped, - Pointer<
NativeFunction< lpCompletionRoutine,LPOVERLAPPED_COMPLETION_ROUTINE> >
Implementation
int WriteFileEx(
ffi.Pointer<ffi.Void> hFile,
ffi.Pointer<ffi.Void> lpBuffer,
int nNumberOfBytesToWrite,
ffi.Pointer<LPOVERLAPPED> lpOverlapped,
ffi.Pointer<ffi.NativeFunction<LPOVERLAPPED_COMPLETION_ROUTINE>>
lpCompletionRoutine,
) {
return (_WriteFileEx ??= _dylib
.lookupFunction<_c_WriteFileEx, _dart_WriteFileEx>('WriteFileEx'))(
hFile,
lpBuffer,
nNumberOfBytesToWrite,
lpOverlapped,
lpCompletionRoutine,
);
}