For bold you might set
FOREGROUND_INTENSITY
with
SetConsoleTextAttribute
.
But there is no support for italic and strike (besides changing the console font which affects all characters).
In the old MS-DOS days such was realised using ANSI escape sequences. These are now back with Windows 10.
If you use an actual Windows 10, see
Console Virtual Terminal Sequences (Windows)[
^].
But unfortunately italic (
ESC[3m
) and strike through (
ESC[9m
) are not supported.
If you really need these modes you must probably use additional software like
GitHub - adoxa/ansicon: Process ANSI escape sequences for Windows console programs.[
^] after checking if it supports italic and strike through (I have not checked it for the above).