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

# GetCharWidthI(3w)

## NAME

**GetCharWidthI** (GDI32.@)

## SYNOPSIS

BOOL GetCharWidthI\
  (\
   HDC    *hdc*,\
   UINT   *first*,\
   UINT   *count*,\
   LPWORD *glyphs*,\
   LPINT  *buffer*\
  )

## DESCRIPTION

Retrieve widths of characters.

## PARAMS

*hdc* **\[In\]**  Handle to a device context.

*first* **\[In\]**  First glyph in range to query.

*count* **\[In\]**  Number of glyph indices to query.

*glyphs* **\[In\]**  Array of *glyphs* to query.

*buffer* **\[Out\]**  Buffer to receive character widths.

## NOTES

Only works with TRUEType fonts.

## RETURNS

**Success:** **TRUE**

**Failure:** **FALSE**

## IMPLEMENTATION

Declared in **"wingdi.h"**.

Implemented in **"dlls/gdi32/font.c"**.

Debug channel **"font"**.
