GetConsoleCursorInfo function Null safety kernel32

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

Retrieves information about the size and visibility of the cursor for the specified console screen buffer.

BOOL WINAPI GetConsoleCursorInfo(
  _In_  HANDLE               hConsoleOutput,
  _Out_ PCONSOLE_CURSOR_INFO lpConsoleCursorInfo
);

Implementation

int GetConsoleCursorInfo(
        int hConsoleOutput, Pointer<CONSOLE_CURSOR_INFO> lpConsoleCursorInfo) =>
    _GetConsoleCursorInfo(hConsoleOutput, lpConsoleCursorInfo);