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

# GetCommConfig(3w)

## NAME

**GetCommConfig** (KERNEL32.@)

## SYNOPSIS

BOOL GetCommConfig\
  (\
   HANDLE       *hFile*,\
   LPCOMMCONFIG *lpCommConfig*,\
   LPDWORD      *lpdwSize*\
  )

## PARAMS

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

*lpCommConfig* **\[Out\]**  The communications configuration of the device (if it fits).

## DESCRIPTION

Fill in the **COMMCONFIG** structure for the comm port *hFile*.

## RETURNS

**TRUE** on success, **FALSE** on failure If successful, *lpCommConfig* contains the comm port configuration.

## BUGS

## IMPLEMENTATION

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

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

Debug channel **"comm"**.
