WriteConsoleData()

Syntax

Result = WriteConsoleData(*Buffer, Size)
Description
Writes raw data to the console output. This command 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 command writes 'Size' number of bytes from specified buffer into the console output. The memory area must be reserved and filled before with the commands from the Memory library.

Return value

Returns the number of bytes actually written to the output.

Supported OS

All

<- ReadConsoleData() - Console Index