Method WriteConsoleOutput
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
hConsoleOutputSafeFileHandleThe handle to the console output buffer.
lpBufferConsoleCharInfo[]The buffer containing the characters to write to the console.
dwBufferSizeMswUtils.NativeMethods.SmallPointThe size of the buffer, in characters.
dwBufferCoordMswUtils.NativeMethods.SmallPointThe coordinates of the buffer region to write to.
lpWriteRegionMswUtils.NativeMethods.SmallRectThe region of the console screen to write to.