Reference

WriteConsoleOutputAttribute(3w)

NAME

WriteConsoleOutputAttribute (KERNEL32.@)

SYNOPSIS

BOOL WriteConsoleOutputAttribute
(
HANDLE hConsoleOutput,
CONST WORD* attr,
DWORD length,
COORD coord,
LPDWORD lpNumAttrsWritten
)

DESCRIPTION

WriteConsoleOutputAttribute [KERNEL32.@] Sets attributes for some cells in the console screen buffer.

PARAMS

hConsoleOutput [In] Handle to screen buffer.

attr [In] Pointer to buffer with write attributes.

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".

History