standard_out.cc | 25 HANDLE hstdout; member in namespace:__anon14654 36 hstdout = ::GetStdHandle(STD_OUTPUT_HANDLE); 38 is_console = !!::GetConsoleScreenBufferInfo(hstdout, &info); 61 ::SetConsoleTextAttribute(hstdout, FOREGROUND_INTENSITY); 64 ::SetConsoleTextAttribute(hstdout, 69 ::SetConsoleTextAttribute(hstdout, FOREGROUND_GREEN); 72 ::SetConsoleTextAttribute(hstdout, 76 ::SetConsoleTextAttribute(hstdout, 83 ::WriteFile(hstdout, output.c_str(), static_cast<DWORD>(output.size()), 87 ::SetConsoleTextAttribute(hstdout, default_attributes) [all...] |