SetConsoleCursorPosition PROC
(MS-Windows)
Sets the cursor position in the console screen
buffer.
The cursor position determines where characters
written by WriteFile or
WriteConsole, or echoed by
ReadFile or ReadConsole, are displayed.
Invoke GetConsoleScreenBufferInfo
to determine the current cursor position.
SetConsoleCursorPosition PROTO, nStdHandle:DWORD, ; input mode handle coords:COORD ; screen X,Y coordinates Returns: (BOOL) EAX = TRUE (non-zero) if successful, FALSE (zero) if fails. |
Argument | Win Type | MASM Type | Description |
---|---|---|---|
nStdHandle | HANDLE | DWORD | Handle to a console screen buffer. The handle must have GENERIC_WRITE access. |
coords | COORD | COORD | Pointer to a COORD structure containing the new
cursor position. The coordinates must be within the boundaries of the screen buffer. |
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |