CreateConsoleScreenBuffer method
Implementation
ffi.Pointer<ffi.Void> CreateConsoleScreenBuffer(
int dwDesiredAccess,
int dwShareMode,
ffi.Pointer<LPSECURITY_ATTRIBUTES> lpSecurityAttributes,
int dwFlags,
ffi.Pointer<ffi.Void> lpScreenBufferData,
) {
return (_CreateConsoleScreenBuffer ??= _dylib.lookupFunction<
_c_CreateConsoleScreenBuffer,
_dart_CreateConsoleScreenBuffer>('CreateConsoleScreenBuffer'))(
dwDesiredAccess,
dwShareMode,
lpSecurityAttributes,
dwFlags,
lpScreenBufferData,
);
}