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

# SetCommMask(3w)

## NAME

**SetCommMask** (KERNEL32.@)

## SYNOPSIS

BOOL SetCommMask\
  (\
   HANDLE *handle*,\
   DWORD  *evtmask*\
  )

## DESCRIPTION

There be some things we need to hear about yon there communications device. (Set which events associated with a communication device should cause a call WaitCommEvent to return.).

## PARAMS

*handle* **\[In\]**  The communications device.

*evtmask* **\[In\]**  The events that are to be monitored.

## RETURNS

**TRUE** on success, **FALSE** on bad *handle* etc.

## IMPLEMENTATION

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

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

Debug channel **"comm"**.
