在MSDN中查查这些函数:<br>Console Functions<br>The following functions used to access a console. <br>AllocConsole <br>CreateConsoleScreenBuffer <br>FillConsoleOutputAttribute <br>FillConsoleOutputCharacter <br>FlushConsoleInputBuffer <br>FreeConsole <br>GenerateConsoleCtrlEvent <br>GetConsoleCP <br>GetConsoleCursorInfo <br>GetConsoleMode <br>GetConsoleOutputCP <br>GetConsoleScreenBufferInfo <br>GetConsoleTitle <br>GetLargestConsoleWindowSize <br>GetNumberOfConsoleInputEvents <br>GetNumberOfConsoleMouseButtons <br>GetStdHandle <br>HandlerRoutine <br>PeekConsoleInput <br>ReadConsole <br>ReadConsoleInput <br>ReadConsoleOutput <br>ReadConsoleOutputAttribute <br>ReadConsoleOutputCharacter <br>ScrollConsoleScreenBuffer <br>SetConsoleActiveScreenBuffer <br>SetConsoleCP <br>SetConsoleCtrlHandler <br>SetConsoleCursorInfo <br>SetConsoleCursorPosition <br>SetConsoleMode <br>SetConsoleOutputCP <br>SetConsoleScreenBufferSize <br>SetConsoleTextAttribute <br>SetConsoleTitle <br>SetConsoleWindowInfo <br>SetStdHandle <br>WriteConsole <br>WriteConsoleInput <br>WriteConsoleOutput <br>WriteConsoleOutputAttribute <br>WriteConsoleOutputCharacter <br>