WriteFile function kernel32
int
WriteFile(
- int hFile,
- Pointer<
NativeType> lpBuffer, - int nNumberOfBytesToWrite,
- Pointer<
Uint32> lpNumberOfBytesWritten, - Pointer<
OVERLAPPED> lpOverlapped,
Writes data to the specified file or input/output (I/O) device.
BOOL WriteFile(
HANDLE hFile,
LPCVOID lpBuffer,
DWORD nNumberOfBytesToWrite,
LPDWORD lpNumberOfBytesWritten,
LPOVERLAPPED lpOverlapped
);
Implementation
int WriteFile(
int hFile,
Pointer lpBuffer,
int nNumberOfBytesToWrite,
Pointer<Uint32> lpNumberOfBytesWritten,
Pointer<OVERLAPPED> lpOverlapped) =>
_WriteFile(hFile, lpBuffer, nNumberOfBytesToWrite, lpNumberOfBytesWritten,
lpOverlapped);