I am using ReadFile to read a pipe that has output from a command I run. However my understanding is ReadFile only reads the bytes and doesn't care if they are WCHAR or CHAR. It just reads the bytes.
I am trying to understand how would I go about determining if the bytes it reads from the buffer are WCHAR or CHAR so I can print properly. These bytes will be sent back to a Python server that will print.