GetConsoleMode function Null safety kernel32

int GetConsoleMode(
  1. int hConsoleHandle,
  2. Pointer<Uint32> lpMode
)

Retrieves the current input mode of a console's input buffer or the current output mode of a console screen buffer.

BOOL WINAPI GetConsoleMode(
  _In_  HANDLE  hConsoleHandle,
  _Out_ LPDWORD lpMode
);

Implementation

int GetConsoleMode(int hConsoleHandle, Pointer<Uint32> lpMode) =>
    _GetConsoleMode(hConsoleHandle, lpMode);