Table of Contents

Method WriteConsoleOutput

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

WriteConsoleOutput(SafeFileHandle, ConsoleCharInfo[], SmallPoint, SmallPoint, ref SmallRect)

Writes text to console.

public static extern bool WriteConsoleOutput(SafeFileHandle hConsoleOutput, MswUtils.NativeMethods.ConsoleCharInfo[] lpBuffer, MswUtils.NativeMethods.SmallPoint dwBufferSize, MswUtils.NativeMethods.SmallPoint dwBufferCoord, ref MswUtils.NativeMethods.SmallRect lpWriteRegion)

Parameters

hConsoleOutput SafeFileHandle

The handle to the console output buffer.

lpBuffer ConsoleCharInfo[]

The buffer containing the characters to write to the console.

dwBufferSize MswUtils.NativeMethods.SmallPoint

The size of the buffer, in characters.

dwBufferCoord MswUtils.NativeMethods.SmallPoint

The coordinates of the buffer region to write to.

lpWriteRegion MswUtils.NativeMethods.SmallRect

The region of the console screen to write to.

Returns

bool