ReadFileEx method
int
ReadFileEx(
- Pointer<
Void> hFile, - Pointer<
Void> lpBuffer, - int nNumberOfBytesToRead,
- Pointer<
LPOVERLAPPED> lpOverlapped, - Pointer<
NativeFunction< lpCompletionRoutine,LPOVERLAPPED_COMPLETION_ROUTINE> >
Implementation
int ReadFileEx(
ffi.Pointer<ffi.Void> hFile,
ffi.Pointer<ffi.Void> lpBuffer,
int nNumberOfBytesToRead,
ffi.Pointer<LPOVERLAPPED> lpOverlapped,
ffi.Pointer<ffi.NativeFunction<LPOVERLAPPED_COMPLETION_ROUTINE>>
lpCompletionRoutine,
) {
return (_ReadFileEx ??=
_dylib.lookupFunction<_c_ReadFileEx, _dart_ReadFileEx>('ReadFileEx'))(
hFile,
lpBuffer,
nNumberOfBytesToRead,
lpOverlapped,
lpCompletionRoutine,
);
}