GetConsoleScreenBufferInfo method

int GetConsoleScreenBufferInfo(
  1. Pointer<Void> hConsoleOutput,
  2. Pointer<PCONSOLE_SCREEN_BUFFER_INFO> lpConsoleScreenBufferInfo
)

Implementation

int GetConsoleScreenBufferInfo(
  ffi.Pointer<ffi.Void> hConsoleOutput,
  ffi.Pointer<PCONSOLE_SCREEN_BUFFER_INFO> lpConsoleScreenBufferInfo,
) {
  return (_GetConsoleScreenBufferInfo ??= _dylib.lookupFunction<
      _c_GetConsoleScreenBufferInfo,
      _dart_GetConsoleScreenBufferInfo>('GetConsoleScreenBufferInfo'))(
    hConsoleOutput,
    lpConsoleScreenBufferInfo,
  );
}