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

# CommConfigDialogA(3w)

## NAME

**CommConfigDialogA** (KERNEL32.@)

## SYNOPSIS

BOOL CommConfigDialogA\
  (\
   LPCSTR       *lpszDevice*,\
   HWND         *hWnd*,\
   LPCOMMCONFIG *lpCommConfig*\
  )

## PARAMS

*lpszDevice* **\[In\]**  name of communications device.

*hWnd* **\[In\]**  parent window for the dialog.

*lpCommConfig* **\[Out\]**  pointer to struct to fill.

## DESCRIPTION

Raises a dialog that allows the user to configure a comm port. Fills the **COMMCONFIG** struct with information specified by the user. This function should call a similar routine in the **COMM** driver.**..**

## RETURNS

**TRUE** on success, **FALSE** on failure If successful, the *lpCommConfig* structure will contain a new configuration for the comm port, as specified by the user.

## BUGS

The library with the CommConfigDialog code is never unloaded. Perhaps this should be done when the comm port is closed?

## IMPLEMENTATION

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

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

Debug channel **"comm"**.
