SetConsoleCursorInfo function Null safety kernel32

int SetConsoleCursorInfo(
  1. int hConsoleOutput,
  2. Pointer<CONSOLE_CURSOR_INFO> lpConsoleCursorInfo
)

Sets the size and visibility of the cursor for the specified console screen buffer.

BOOL WINAPI SetConsoleCursorInfo(
  _In_       HANDLE              hConsoleOutput,
  _In_ const CONSOLE_CURSOR_INFO *lpConsoleCursorInfo
);

Implementation

int SetConsoleCursorInfo(
        int hConsoleOutput, Pointer<CONSOLE_CURSOR_INFO> lpConsoleCursorInfo) =>
    _SetConsoleCursorInfo(hConsoleOutput, lpConsoleCursorInfo);