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

# FillConsoleOutputAttribute(3w)

## NAME

**FillConsoleOutputAttribute** (KERNEL32.@)

## SYNOPSIS

BOOL FillConsoleOutputAttribute\
  (\
   HANDLE  *hConsoleOutput*,\
   WORD    *attr*,\
   DWORD   *length*,\
   COORD   *coord*,\
   LPDWORD *lpNumAttrsWritten*\
  )

## DESCRIPTION

FillConsoleOutputAttribute \[**KERNEL32**.@\] Sets attributes for console.

## PARAMS

*hConsoleOutput* **\[In\]**  Handle to screen buffer.

*attr* **\[In\]**  Color attribute to write.

*length* **\[In\]**  Number of cells to write to.

*coord* **\[In\]**  Coords of first cell.

*lpNumAttrsWritten* **\[Out\]**  Pointer to number of cells written.

## RETURNS

**Success:** **TRUE**

**Failure:** **FALSE**

## IMPLEMENTATION

Declared in **"wincon.h"**.

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

Debug channel **"console"**.
