mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Add SetConsoleCursorInfo and GetConsoleCursorInfo to sys/windows package
This commit is contained in:
@@ -393,6 +393,8 @@ foreign kernel32 {
|
|||||||
GetConsoleScreenBufferInfo :: proc(hConsoleOutput: HANDLE, lpConsoleScreenBufferInfo: PCONSOLE_SCREEN_BUFFER_INFO) -> BOOL ---
|
GetConsoleScreenBufferInfo :: proc(hConsoleOutput: HANDLE, lpConsoleScreenBufferInfo: PCONSOLE_SCREEN_BUFFER_INFO) -> BOOL ---
|
||||||
SetConsoleScreenBufferSize :: proc(hConsoleOutput: HANDLE, dwSize: COORD) -> BOOL ---
|
SetConsoleScreenBufferSize :: proc(hConsoleOutput: HANDLE, dwSize: COORD) -> BOOL ---
|
||||||
SetConsoleWindowInfo :: proc(hConsoleOutput: HANDLE, bAbsolute : BOOL, lpConsoleWindow: ^SMALL_RECT) -> BOOL ---
|
SetConsoleWindowInfo :: proc(hConsoleOutput: HANDLE, bAbsolute : BOOL, lpConsoleWindow: ^SMALL_RECT) -> BOOL ---
|
||||||
|
GetConsoleCursorInfo :: proc(hConsoleOutput: HANDLE, lpConsoleCursorInfo: PCONSOLE_CURSOR_INFO) -> BOOL ---
|
||||||
|
SetConsoleCursorInfo :: proc(hConsoleOutput: HANDLE, lpConsoleCursorInfo: PCONSOLE_CURSOR_INFO) -> BOOL ---
|
||||||
|
|
||||||
GetDiskFreeSpaceExW :: proc(
|
GetDiskFreeSpaceExW :: proc(
|
||||||
lpDirectoryName: LPCWSTR,
|
lpDirectoryName: LPCWSTR,
|
||||||
|
|||||||
@@ -3941,8 +3941,14 @@ CONSOLE_SCREEN_BUFFER_INFO :: struct {
|
|||||||
dwMaximumWindowSize: COORD,
|
dwMaximumWindowSize: COORD,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CONSOLE_CURSOR_INFO :: struct {
|
||||||
|
dwSize: DWORD,
|
||||||
|
bVisible: BOOL,
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
PCONSOLE_SCREEN_BUFFER_INFO :: ^CONSOLE_SCREEN_BUFFER_INFO
|
PCONSOLE_SCREEN_BUFFER_INFO :: ^CONSOLE_SCREEN_BUFFER_INFO
|
||||||
|
PCONSOLE_CURSOR_INFO :: ^CONSOLE_CURSOR_INFO
|
||||||
|
|
||||||
//
|
//
|
||||||
// Networking
|
// Networking
|
||||||
|
|||||||
Reference in New Issue
Block a user