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.

Parameters

*Buffer The memory buffer from which the data is read.
Size The amount of data (in bytes) to write.

Return value

Returns the number of bytes actually written to the output.

See Also

ReadConsoleData()

Supported OS

All

<- ReadConsoleData() - Console Index