SetConsoleTextAttribute.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

SetConsoleTextAttribute (KERNEL32.@)

SYNOPSIS

BOOL SetConsoleTextAttribute
 (
  HANDLE hConsoleOutput,
  WORD   wAttr
 )

DESCRIPTION

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

Defined in "wincon.h".

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

Debug channel "console".