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

# CancelIo(3w)

## NAME

**CancelIo** (KERNEL32.@)

## SYNOPSIS

BOOL CancelIo\
  (\
   HANDLE *handle*\
  )

## DESCRIPTION

Cancels pending I/O operations initiated by the current thread on a file.

## PARAMS

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

## 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"**.
