The minimal print function on Win32 is WriteFile, using GetStdHandle to get the file handle for STD_OUTPUT_HANDLE.