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

# EscapeCommFunction(3w)

## NAME

**EscapeCommFunction** (KERNEL32.@)

## SYNOPSIS

BOOL EscapeCommFunction\
  (\
   HANDLE *handle*,\
   UINT   *func*\
  )

## DESCRIPTION

Directs a communication device to perform an extended function.

## PARAMS

*handle* **\[In\]**  The communication device to perform the extended function.

nFunction **\[In\]**  The extended function to be performed.

## RETURNS

**TRUE** or requested data on successful completion of the command, **FALSE** if the device is not present cannot execute the command or the command failed.

## IMPLEMENTATION

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

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

Debug channel **"comm"**.
