---
name: "CancelIoEx"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/CancelIoEx"
---

# CancelIoEx(3w)

## NAME

**CancelIoEx** (KERNEL32.@)

## SYNOPSIS

BOOL CancelIoEx\
  (\
   HANDLE       *handle*,\
   LPOVERLAPPED *lpOverlapped*\
  )

## DESCRIPTION

Cancels pending I/O operations on a file given the overlapped used.

## PARAMS

*handle* **\[In\]**  File *handle*.

*lpOverlapped* **\[I,OPT\]**  pointer to overlapped (if **NULL**, cancel all).

## RETURNS

**Success:** **TRUE**.

**Failure:** **FALSE**, check **[GetLastError(3w)](/GetLastError/3w.md)**.

## IMPLEMENTATION

Declared in **"winbase.h"**.

Implemented in **"dlls/kernel32/file.c"**.

Debug channel **"file"**.
