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

# BuildCommDCBAndTimeoutsW(3w)

## NAME

**BuildCommDCBAndTimeoutsW** (KERNEL32.@)

## SYNOPSIS

BOOL BuildCommDCBAndTimeoutsW\
  (\
   LPCWSTR        *devid*,\
   LPDCB          *lpdcb*,\
   LPCOMMTIMEOUTS *lptimeouts*\
  )

## PARAMS

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

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

*lptimeouts* **\[In\]**  The **COMMTIMEOUTS** structure to be updated.

## DESCRIPTION

Updates a device control block data structure with values from a unicode device control string. Taking timeout values from a timeouts struct if desired by the control string.

## RETURNS

**TRUE** on success, **FALSE** bad handles etc

## IMPLEMENTATION

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

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

Debug channel **"comm"**.
