WriteConsoleData()

Syntax

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.

The function writes 'Size' number of bytes from the specified buffer into the console output. The memory area can be allocated and filled using functions from the Memory library.

Return value

Returns the number of bytes actually written to the output.

Supported OS

All

<- ReadConsoleData() - Console Index