SetFileIoOverlappedRange function kernel32

int SetFileIoOverlappedRange(
  1. int FileHandle,
  2. Pointer<Uint8> OverlappedRangeStart,
  3. int Length
)

Associates a virtual address range with the specified file handle. This indicates that the kernel should optimize any further asynchronous I/O requests with overlapped structures inside this range. The overlapped range is locked in memory, and then unlocked when the file is closed. After a range is associated with a file handle, it cannot be disassociated.

BOOL SetFileIoOverlappedRange(
  [in] HANDLE FileHandle,
  [in] PUCHAR OverlappedRangeStart,
  [in] ULONG  Length
);

Implementation

int SetFileIoOverlappedRange(
        int FileHandle, Pointer<Uint8> OverlappedRangeStart, int Length) =>
    _SetFileIoOverlappedRange(FileHandle, OverlappedRangeStart, Length);