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

# GetDefaultCommConfigW(3w)

## NAME

**GetDefaultCommConfigW** (KERNEL32.@)

## SYNOPSIS

BOOL GetDefaultCommConfigW\
  (\
   LPCWSTR      *lpszName*,\
   LPCOMMCONFIG *lpCC*,\
   LPDWORD      *lpdwSize*\
  )

## PARAMS

*lpszName* **\[In\]**  The unicode name of the device targeted for configuration.

*lpCC* **\[Out\]**  The default configuration for the device.

## DESCRIPTION

Acquires the default configuration of the specified communication device. (unicode).

## RETURNS

**TRUE** on successful reading of the default configuration, if the device is not found or the buffer is too small.

## IMPLEMENTATION

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

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

Debug channel **"comm"**.
