Win32 structures, functions and definitions
This chapter contains the articles on WinAPI structures and functions commonly used.
Win32 functions:
| Function | Description |
| GetFileTime |
retrieves the date and time that a file was created, last accessed, and last modified |
| PeekConsoleInput |
reads data from the specified console input buffer without removing it from the buffer |
| ReadConsoleInput |
reads data from a console input buffer and removes it from the buffer |
| SetFileApisToAnsi |
causes the file I/O functions to use the ANSI character set code page |
| SetFileApisToOem |
causes the file I/O functions to use the OEM character set code page |
| SetFileTime |
sets the date and time that a file was created, last accessed, or last modified |
| WriteConsoleInput |
writes data directly to the console input buffer |
Win32 structures:
| Structure | Description |
| CHAR_INFO
| specifies the character and its attributes |
| CONSOLE_CURSOR_INFO
| contains information about the console cursor |
| COORD
| defines the coordinates of a character cell in a console screen buffer |
| FILETIME
| the 64-bit number of 100-nanosecond intervals since January 1, 1601 (UTC) |
| FOCUS_EVENT_RECORD
| reports focus events in a console INPUT_RECORD structure |
| INPUT_RECORD
| reports input events in the console input buffer |
| KEY_EVENT_RECORD
| reports keyboard input events in a console INPUT_RECORD structure |
| MENU_EVENT_RECORD
| reports menu events in a console INPUT_RECORD structure |
| MOUSE_EVENT_RECORD
| reports mouse input events in a console INPUT_RECORD structure |
| RECT
| defines the coordinates of the upper-left and lower-right corners of a rectangle |
| SMALL_RECT
| defines the coordinates of the upper-left and lower-right corners of a rectangle |
| SYSTEMTIME
| represents a date and time using individual members for the month, day, year, weekday, hour, minute, second, and millisecond |
| WIN32_FIND_DATA |
describes a file found by the FindFirstFile, FindFirstFileEx, or FindNextFile function |
| WINDOW_BUFFER_SIZE_RECORD
| reports changes in the size of the screen buffer in a console INPUT_RECORD structure |
Win32 definitions:
See also: