SetConsoleTextAttribute(3w)

SetConsoleTextAttribute3w

Usage

BOOL SetConsoleTextAttribute
(
HANDLE hConsoleOutput,
WORD wAttr
)

Overview

SetConsoleTextAttribute [KERNEL32.@] Sets colors for text.

Sets the foreground and background color attributes of characters written to the screen buffer.

Returns

Success: TRUE

Failure: FALSE

Implementation

Declared in "wincon.h".

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

Debug channel "console".

Releases

5 releases since Debian 2.1 (Slink); the text changed 4 times.

  1. 2.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.