SetConsoleCursorPosition function Null safety kernel32

int SetConsoleCursorPosition(
  1. int hConsoleOutput,
  2. COORD dwCursorPosition
)

Sets the cursor position in the specified console screen buffer.

BOOL WINAPI SetConsoleCursorPosition(
  _In_ HANDLE hConsoleOutput,
  _In_ COORD  dwCursorPosition
);

Implementation

int SetConsoleCursorPosition(int hConsoleOutput, COORD dwCursorPosition) =>
    _SetConsoleCursorPosition(hConsoleOutput, dwCursorPosition);