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

# GetCommProperties(3w)

## NAME

**GetCommProperties** (KERNEL32.@)

## SYNOPSIS

BOOL GetCommProperties\
  (\
   HANDLE     *hFile*,\
   LPCOMMPROP *lpCommProp*\
  )

## PARAMS

*hFile* **\[In\]**  handle of the comm port.

*lpCommProp* **\[Out\]**  pointer to struct to be filled.

## DESCRIPTION

This function fills in a structure with the capabilities of the communications port driver.

## RETURNS

**TRUE** on success, **FALSE** on failure If successful, the *lpCommProp* structure be filled in with properties of the comm port.

## IMPLEMENTATION

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

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

Debug channel **"comm"**.
