SetConsoleWindowInfo function Null safety kernel32

int SetConsoleWindowInfo(
  1. int hConsoleOutput,
  2. int bAbsolute,
  3. Pointer<SMALL_RECT> lpConsoleWindow
)

Sets the current size and position of a console screen buffer's window.

BOOL WINAPI SetConsoleWindowInfo(
  _In_       HANDLE     hConsoleOutput,
  _In_       BOOL       bAbsolute,
  _In_ const SMALL_RECT *lpConsoleWindow
);

Implementation

int SetConsoleWindowInfo(int hConsoleOutput, int bAbsolute,
        Pointer<SMALL_RECT> lpConsoleWindow) =>
    _SetConsoleWindowInfo(hConsoleOutput, bAbsolute, lpConsoleWindow);