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

# BuildCommDCBW(3w)

## NAME

**BuildCommDCBW** (KERNEL32.@)

## SYNOPSIS

BOOL BuildCommDCBW\
  (\
   LPCWSTR *devid*,\
   LPDCB   *lpdcb*\
  )

## PARAMS

*devid* **\[In\]**  The unicode device control string.

*lpdcb* **\[Out\]**  The device control block to be updated.

## DESCRIPTION

Updates a device control block structure with values from an unicode device control string. The device control string has two forms normal and extended, it must be exclusively in one or the other form.

## RETURNS

**TRUE** on success, **FALSE** on a malformed control string.

## IMPLEMENTATION

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

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

Debug channel **"comm"**.
