WriteConsoleOutputAttribute PROC
(MS-Windows)
Copies a number of foreground and background
color attributes to consecutive cells of a console screen buffer,
beginning at the specified location.
WriteConsoleOutputAttribute PROTO, outHandle:DWORD, ; output handle pAttribute:PTR WORD, ; ptr to write attributes from nLength:DWORD, ; number of cells to write to xyCoord:COORD, ; first cell coordinates lpCount:PTR DWORD ; number of cells written Returns: (BOOL) EAX = TRUE (non-zero) if successful, FALSE (zero) if fails. |
Argument | Win Type | MASM Type | Description |
---|---|---|---|
outHandle | HANDLE | DWORD | Handle to the screen buffer. The handle must have GENERIC_WRITE access. |
pAttribute | CONST WORD | PTR WORD | Pointer to a buffer that contains the attributes to write to the screen buffer. |
nLength | DWORD | DWORD | The number of screen buffer character cells to write to. |
xyCoord | COORD | COORD | A COORD structure that specifies the column and row coordinates of the first cell in the screen buffer to write to. |
lpCount | LPDWORD | PTR DWORD | Pointer to a DWORD that receives the number of attributes written to the screen buffer. |
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |