2016년 1월 15일 금요일

1. Console-based Window API Informations Collection


  • Structure

COORD
 Defines the coordinates of a character cell in a console screen buffer. The origin of the coordinate system (0,0) is at the top, left cell of the buffer.
https://msdn.microsoft.com/ko-kr/library/ms682119(v=VS.85).aspx
header file : windows.h

CONSOLE_CURSOR_INFO 
 Contains information about the console cursor.
https://msdn.microsoft.com/ko-kr/library/windows/desktop/ms682068(v=vs.85).aspx
header file : windows.h

CONSOLE_SCREEN_BUFFER_INFO
 Contains information about a console screen buffer.
http://msdn.microsoft.com/ko-kr/library/ms682093(v=VS.85).aspx
header file : windows.h



  • Function

GetStdHandle 
 Retrieves a handle to the specified standard device (standard input, standard output, or standard error).
https://msdn.microsoft.com/ko-kr/library/ms683231
header file : windows.h

SetConsoleTextAttribue
 Sets the attributes of characters written to the console screen buffer by the WriteFile or WriteConsole function, or echoed by the ReadFile or ReadConsole function. This function affects text written after the function call.
https://msdn.microsoft.com/ko-kr/library/windows/desktop/ms686047(v=vs.85).aspx
header file : windows.h

SetConsoleCursorInfo
 Sets the size and visibility of the cursor for the specified console screen buffer.
https://msdn.microsoft.com/ko-kr/library/ms686019(v=VS.85).aspx
header file : windows.h

GetConsoleCursorInfo
 Retrieves information about the size and visibility of the cursor for the specified console screen buffer.
https://msdn.microsoft.com/ko-kr/library/windows/desktop/ms683163(v=vs.85).aspx
header file : windows.h


SetConsoleCursorPosition
 Sets the cursor position in the specified console screen buffer.
https://msdn.microsoft.com/ko-kr/ms686025
header file : windows.h

GetConsoleScreenBufferInfo
 Retrieves information about the specified console screen buffer.
https://msdn.microsoft.com/ko-kr/library/ms683171(v=VS.85).aspx
header file : windows.h

_kbhit()
 Checks the console for keyboard input.
https://msdn.microsoft.com/ko-kr/library/58w7c94c.aspx
header file : conio.h

_getch()
 Gets a character from the console without echo.
https://msdn.microsoft.com/ko-kr/library/078sfkak.aspx
header file : conio.h









댓글 없음:

댓글 쓰기