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

# SetCommConfig(3w)

## NAME

**SetCommConfig** (KERNEL32.@)

## SYNOPSIS

BOOL SetCommConfig\
  (\
   HANDLE       *hFile*,\
   LPCOMMCONFIG *lpCommConfig*,\
   DWORD        *dwSize*\
  )

## PARAMS

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

*lpCommConfig* **\[In\]**  The desired configuration.

*dwSize* **\[In\]**  size of the *lpCommConfig* struct.

## DESCRIPTION

Sets the configuration of the communications device.

## RETURNS

**TRUE** on success, **FALSE** if the handle was bad is not a communications device.

## IMPLEMENTATION

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

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

Debug channel **"comm"**.
