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

# GetCommModemStatus(3w)

## NAME

**GetCommModemStatus** (KERNEL32.@)

## SYNOPSIS

BOOL GetCommModemStatus\
  (\
   HANDLE  *hFile*,\
   LPDWORD *lpModemStat*\
  )

## DESCRIPTION

Obtains the four control register bits if supported by the hardware.

## PARAMS

*hFile* **\[In\]**  The communications device.

*lpModemStat* **\[Out\]**  The control register bits.

## RETURNS

**TRUE** if the communications handle was good and for hardware that control register access, **FALSE** otherwise.

## IMPLEMENTATION

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

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

Debug channel **"comm"**.
