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

# ClearCommError(3w)

## NAME

**ClearCommError** (KERNEL32.@)

## SYNOPSIS

BOOL ClearCommError\
  (\
   HANDLE    *handle*,\
   LPDWORD   *errors*,\
   LPCOMSTAT *lpStat*\
  )

## DESCRIPTION

Enables further I/O operations on a communications resource after supplying error and current status information.

## PARAMS

*handle* **\[In\]**  The communication resource with the error.

*errors* **\[Out\]**  Flags indicating error the resource experienced.

*lpStat* **\[Out\]**  The status of the communication resource.

## RETURNS

**TRUE** on success, **FALSE** if the communication resource *handle* is bad.

## IMPLEMENTATION

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

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

Debug channel **"comm"**.
