CancelIoEx function kernel32

int CancelIoEx(
  1. int hFile,
  2. Pointer<OVERLAPPED> lpOverlapped
)

Marks any outstanding I/O operations for the specified file handle. The function only cancels I/O operations in the current process, regardless of which thread created the I/O operation.

BOOL CancelIoEx(
  HANDLE       hFile,
  LPOVERLAPPED lpOverlapped
);

Implementation

int CancelIoEx(int hFile, Pointer<OVERLAPPED> lpOverlapped) =>
    _CancelIoEx(hFile, lpOverlapped);