core.sys.windows.wincon

Windows API header module

Translated from MinGW Windows headers

License

Types 25

structCHAR_INFO
Fields
WORD Attributes
Fields
SHORT Left
SHORT Top
SHORT Right
SHORT Bottom
Fields
DWORD dwSize
BOOL bVisible
structCOORD
Fields
aliasPCOORD = COORD *
Fields
DWORD nFont
COORD dwFontSize
Fields
COORD dwSize
COORD dwCursorPosition
WORD wAttributes
SMALL_RECT srWindow
COORD dwMaximumWindowSize
aliasPHANDLER_ROUTINE = BOOL function(DWORD) nothrow
Fields
BOOL bKeyDown
WORD wRepeatCount
WORD wVirtualKeyCode
WORD wVirtualScanCode
DWORD dwControlKeyState
Fields
COORD dwMousePosition
DWORD dwButtonState
DWORD dwControlKeyState
DWORD dwEventFlags
Fields
UINT dwCommandId
Fields
BOOL bSetFocus
Fields
WORD EventType

Functions 52

fnBOOL AllocConsole() extern(Windows) nothrow @nogc
fnHANDLE CreateConsoleScreenBuffer(DWORD, DWORD, const(SECURITY_ATTRIBUTES) *, DWORD, LPVOID) extern(Windows) nothrow @nogc
fnBOOL FillConsoleOutputAttribute(HANDLE, WORD, DWORD, COORD, PDWORD) extern(Windows) nothrow @nogc
fnBOOL FillConsoleOutputCharacterA(HANDLE, CHAR, DWORD, COORD, PDWORD) extern(Windows) nothrow @nogc
fnBOOL FillConsoleOutputCharacterW(HANDLE, WCHAR, DWORD, COORD, PDWORD) extern(Windows) nothrow @nogc
fnBOOL FlushConsoleInputBuffer(HANDLE) extern(Windows) nothrow @nogc
fnBOOL FreeConsole() extern(Windows) nothrow @nogc
fnBOOL GenerateConsoleCtrlEvent(DWORD, DWORD) extern(Windows) nothrow @nogc
fnUINT GetConsoleCP() extern(Windows) nothrow @nogc
fnBOOL GetConsoleCursorInfo(HANDLE, PCONSOLE_CURSOR_INFO) extern(Windows) nothrow @nogc
fnBOOL GetConsoleMode(HANDLE, PDWORD) extern(Windows) nothrow @nogc
fnUINT GetConsoleOutputCP() extern(Windows) nothrow @nogc
fnDWORD GetConsoleTitleA(LPSTR, DWORD) extern(Windows) nothrow @nogc
fnDWORD GetConsoleTitleW(LPWSTR, DWORD) extern(Windows) nothrow @nogc
fnCOORD GetLargestConsoleWindowSize(HANDLE) extern(Windows) nothrow @nogc
fnBOOL GetNumberOfConsoleInputEvents(HANDLE, PDWORD) extern(Windows) nothrow @nogc
fnBOOL GetNumberOfConsoleMouseButtons(PDWORD) extern(Windows) nothrow @nogc
fnBOOL PeekConsoleInputA(HANDLE, PINPUT_RECORD, DWORD, PDWORD) extern(Windows) nothrow @nogc
fnBOOL PeekConsoleInputW(HANDLE, PINPUT_RECORD, DWORD, PDWORD) extern(Windows) nothrow @nogc
fnBOOL ReadConsoleA(HANDLE, PVOID, DWORD, PDWORD, PVOID) extern(Windows) nothrow @nogc
fnBOOL ReadConsoleW(HANDLE, PVOID, DWORD, PDWORD, PVOID) extern(Windows) nothrow @nogc
fnBOOL ReadConsoleInputA(HANDLE, PINPUT_RECORD, DWORD, PDWORD) extern(Windows) nothrow @nogc
fnBOOL ReadConsoleInputW(HANDLE, PINPUT_RECORD, DWORD, PDWORD) extern(Windows) nothrow @nogc
fnBOOL ReadConsoleOutputAttribute(HANDLE, LPWORD, DWORD, COORD, LPDWORD) extern(Windows) nothrow @nogc
fnBOOL ReadConsoleOutputCharacterA(HANDLE, LPSTR, DWORD, COORD, PDWORD) extern(Windows) nothrow @nogc
fnBOOL ReadConsoleOutputCharacterW(HANDLE, LPWSTR, DWORD, COORD, PDWORD) extern(Windows) nothrow @nogc
fnBOOL ReadConsoleOutputA(HANDLE, PCHAR_INFO, COORD, COORD, PSMALL_RECT) extern(Windows) nothrow @nogc
fnBOOL ReadConsoleOutputW(HANDLE, PCHAR_INFO, COORD, COORD, PSMALL_RECT) extern(Windows) nothrow @nogc
fnBOOL ScrollConsoleScreenBufferA(HANDLE, const(SMALL_RECT) *, const(SMALL_RECT) *, COORD, const(CHAR_INFO) *) extern(Windows) nothrow @nogc
fnBOOL ScrollConsoleScreenBufferW(HANDLE, const(SMALL_RECT) *, const(SMALL_RECT) *, COORD, const(CHAR_INFO) *) extern(Windows) nothrow @nogc
fnBOOL SetConsoleActiveScreenBuffer(HANDLE) extern(Windows) nothrow @nogc
fnBOOL SetConsoleCP(UINT) extern(Windows) nothrow @nogc
fnBOOL SetConsoleCtrlHandler(PHANDLER_ROUTINE, BOOL) extern(Windows) nothrow @nogc
fnBOOL SetConsoleCursorInfo(HANDLE, const(CONSOLE_CURSOR_INFO) *) extern(Windows) nothrow @nogc
fnBOOL SetConsoleCursorPosition(HANDLE, COORD) extern(Windows) nothrow @nogc
fnBOOL SetConsoleMode(HANDLE, DWORD) extern(Windows) nothrow @nogc
fnBOOL SetConsoleOutputCP(UINT) extern(Windows) nothrow @nogc
fnBOOL SetConsoleScreenBufferSize(HANDLE, COORD) extern(Windows) nothrow @nogc
fnBOOL SetConsoleTextAttribute(HANDLE, WORD) extern(Windows) nothrow @nogc
fnBOOL SetConsoleTitleA(LPCSTR) extern(Windows) nothrow @nogc
fnBOOL SetConsoleTitleW(LPCWSTR) extern(Windows) nothrow @nogc
fnBOOL SetConsoleWindowInfo(HANDLE, BOOL, const(SMALL_RECT) *) extern(Windows) nothrow @nogc
fnBOOL WriteConsoleA(HANDLE, PCVOID, DWORD, PDWORD, PVOID) extern(Windows) nothrow @nogc
fnBOOL WriteConsoleW(HANDLE, PCVOID, DWORD, PDWORD, PVOID) extern(Windows) nothrow @nogc
fnBOOL WriteConsoleInputA(HANDLE, const(INPUT_RECORD) *, DWORD, PDWORD) extern(Windows) nothrow @nogc
fnBOOL WriteConsoleInputW(HANDLE, const(INPUT_RECORD) *, DWORD, PDWORD) extern(Windows) nothrow @nogc
fnBOOL WriteConsoleOutputA(HANDLE, const(CHAR_INFO) *, COORD, COORD, PSMALL_RECT) extern(Windows) nothrow @nogc
fnBOOL WriteConsoleOutputW(HANDLE, const(CHAR_INFO) *, COORD, COORD, PSMALL_RECT) extern(Windows) nothrow @nogc
fnBOOL WriteConsoleOutputAttribute(HANDLE, const(WORD) *, DWORD, COORD, PDWORD) extern(Windows) nothrow @nogc
fnBOOL WriteConsoleOutputCharacterA(HANDLE, LPCSTR, DWORD, COORD, PDWORD) extern(Windows) nothrow @nogc
fnBOOL WriteConsoleOutputCharacterW(HANDLE, LPCWSTR, DWORD, COORD, PDWORD) extern(Windows) nothrow @nogc