Result = WriteConsoleData(*Buffer, Size)Description
Writes raw data to the console output. This function is only supported in non-graphical mode. It can be used to output data other than text to the console that can then be redirected to a file or another program.
*Buffer The memory buffer from which the data is read. Size The amount of data (in bytes) to write.
Returns the number of bytes actually written to the output.