Debian Codegraph @

.cargo/vendor/windows-sys/src/Windows/Win32/System/Console/mod.rs

raw
1 #[cfg(feature = "Win32_Foundation")]
2 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddConsoleAliasA(source : ::windows_sys::core::PCSTR, target : ::windows_sys::core::PCSTR, exename : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL);
3 #[cfg(feature = "Win32_Foundation")]
4 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddConsoleAliasW(source : ::windows_sys::core::PCWSTR, target : ::windows_sys::core::PCWSTR, exename : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL);
5 #[cfg(feature = "Win32_Foundation")]
6 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AllocConsole() -> super::super::Foundation:: BOOL);
7 #[cfg(feature = "Win32_Foundation")]
8 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AttachConsole(dwprocessid : u32) -> super::super::Foundation:: BOOL);
9 ::windows_targets::link!("kernel32.dll" "system" fn ClosePseudoConsole(hpc : HPCON) -> ());
10 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
11 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateConsoleScreenBuffer(dwdesiredaccess : u32, dwsharemode : u32, lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, dwflags : u32, lpscreenbufferdata : *const ::core::ffi::c_void) -> super::super::Foundation:: HANDLE);
12 #[cfg(feature = "Win32_Foundation")]
13 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CreatePseudoConsole(size : COORD, hinput : super::super::Foundation:: HANDLE, houtput : super::super::Foundation:: HANDLE, dwflags : u32, phpc : *mut HPCON) -> ::windows_sys::core::HRESULT);
14 ::windows_targets::link!("kernel32.dll" "system" fn ExpungeConsoleCommandHistoryA(exename : ::windows_sys::core::PCSTR) -> ());
15 ::windows_targets::link!("kernel32.dll" "system" fn ExpungeConsoleCommandHistoryW(exename : ::windows_sys::core::PCWSTR) -> ());
16 #[cfg(feature = "Win32_Foundation")]
17 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FillConsoleOutputAttribute(hconsoleoutput : super::super::Foundation:: HANDLE, wattribute : u16, nlength : u32, dwwritecoord : COORD, lpnumberofattrswritten : *mut u32) -> super::super::Foundation:: BOOL);
18 #[cfg(feature = "Win32_Foundation")]
19 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FillConsoleOutputCharacterA(hconsoleoutput : super::super::Foundation:: HANDLE, ccharacter : u8, nlength : u32, dwwritecoord : COORD, lpnumberofcharswritten : *mut u32) -> super::super::Foundation:: BOOL);
20 #[cfg(feature = "Win32_Foundation")]
21 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FillConsoleOutputCharacterW(hconsoleoutput : super::super::Foundation:: HANDLE, ccharacter : u16, nlength : u32, dwwritecoord : COORD, lpnumberofcharswritten : *mut u32) -> super::super::Foundation:: BOOL);
22 #[cfg(feature = "Win32_Foundation")]
23 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FlushConsoleInputBuffer(hconsoleinput : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL);
24 #[cfg(feature = "Win32_Foundation")]
25 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FreeConsole() -> super::super::Foundation:: BOOL);
26 #[cfg(feature = "Win32_Foundation")]
27 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GenerateConsoleCtrlEvent(dwctrlevent : u32, dwprocessgroupid : u32) -> super::super::Foundation:: BOOL);
28 ::windows_targets::link!("kernel32.dll" "system" fn GetConsoleAliasA(source : ::windows_sys::core::PCSTR, targetbuffer : ::windows_sys::core::PSTR, targetbufferlength : u32, exename : ::windows_sys::core::PCSTR) -> u32);
29 ::windows_targets::link!("kernel32.dll" "system" fn GetConsoleAliasExesA(exenamebuffer : ::windows_sys::core::PSTR, exenamebufferlength : u32) -> u32);
30 ::windows_targets::link!("kernel32.dll" "system" fn GetConsoleAliasExesLengthA() -> u32);
31 ::windows_targets::link!("kernel32.dll" "system" fn GetConsoleAliasExesLengthW() -> u32);
32 ::windows_targets::link!("kernel32.dll" "system" fn GetConsoleAliasExesW(exenamebuffer : ::windows_sys::core::PWSTR, exenamebufferlength : u32) -> u32);
33 ::windows_targets::link!("kernel32.dll" "system" fn GetConsoleAliasW(source : ::windows_sys::core::PCWSTR, targetbuffer : ::windows_sys::core::PWSTR, targetbufferlength : u32, exename : ::windows_sys::core::PCWSTR) -> u32);
34 ::windows_targets::link!("kernel32.dll" "system" fn GetConsoleAliasesA(aliasbuffer : ::windows_sys::core::PSTR, aliasbufferlength : u32, exename : ::windows_sys::core::PCSTR) -> u32);
35 ::windows_targets::link!("kernel32.dll" "system" fn GetConsoleAliasesLengthA(exename : ::windows_sys::core::PCSTR) -> u32);
36 ::windows_targets::link!("kernel32.dll" "system" fn GetConsoleAliasesLengthW(exename : ::windows_sys::core::PCWSTR) -> u32);
37 ::windows_targets::link!("kernel32.dll" "system" fn GetConsoleAliasesW(aliasbuffer : ::windows_sys::core::PWSTR, aliasbufferlength : u32, exename : ::windows_sys::core::PCWSTR) -> u32);
38 ::windows_targets::link!("kernel32.dll" "system" fn GetConsoleCP() -> u32);
39 ::windows_targets::link!("kernel32.dll" "system" fn GetConsoleCommandHistoryA(commands : ::windows_sys::core::PSTR, commandbufferlength : u32, exename : ::windows_sys::core::PCSTR) -> u32);
40 ::windows_targets::link!("kernel32.dll" "system" fn GetConsoleCommandHistoryLengthA(exename : ::windows_sys::core::PCSTR) -> u32);
41 ::windows_targets::link!("kernel32.dll" "system" fn GetConsoleCommandHistoryLengthW(exename : ::windows_sys::core::PCWSTR) -> u32);
42 ::windows_targets::link!("kernel32.dll" "system" fn GetConsoleCommandHistoryW(commands : ::windows_sys::core::PWSTR, commandbufferlength : u32, exename : ::windows_sys::core::PCWSTR) -> u32);
43 #[cfg(feature = "Win32_Foundation")]
44 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetConsoleCursorInfo(hconsoleoutput : super::super::Foundation:: HANDLE, lpconsolecursorinfo : *mut CONSOLE_CURSOR_INFO) -> super::super::Foundation:: BOOL);
45 #[cfg(feature = "Win32_Foundation")]
46 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetConsoleDisplayMode(lpmodeflags : *mut u32) -> super::super::Foundation:: BOOL);
47 #[cfg(feature = "Win32_Foundation")]
48 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetConsoleFontSize(hconsoleoutput : super::super::Foundation:: HANDLE, nfont : u32) -> COORD);
49 #[cfg(feature = "Win32_Foundation")]
50 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetConsoleHistoryInfo(lpconsolehistoryinfo : *mut CONSOLE_HISTORY_INFO) -> super::super::Foundation:: BOOL);
51 #[cfg(feature = "Win32_Foundation")]
52 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetConsoleMode(hconsolehandle : super::super::Foundation:: HANDLE, lpmode : *mut CONSOLE_MODE) -> super::super::Foundation:: BOOL);
53 ::windows_targets::link!("kernel32.dll" "system" fn GetConsoleOriginalTitleA(lpconsoletitle : ::windows_sys::core::PSTR, nsize : u32) -> u32);
54 ::windows_targets::link!("kernel32.dll" "system" fn GetConsoleOriginalTitleW(lpconsoletitle : ::windows_sys::core::PWSTR, nsize : u32) -> u32);
55 ::windows_targets::link!("kernel32.dll" "system" fn GetConsoleOutputCP() -> u32);
56 ::windows_targets::link!("kernel32.dll" "system" fn GetConsoleProcessList(lpdwprocesslist : *mut u32, dwprocesscount : u32) -> u32);
57 #[cfg(feature = "Win32_Foundation")]
58 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetConsoleScreenBufferInfo(hconsoleoutput : super::super::Foundation:: HANDLE, lpconsolescreenbufferinfo : *mut CONSOLE_SCREEN_BUFFER_INFO) -> super::super::Foundation:: BOOL);
59 #[cfg(feature = "Win32_Foundation")]
60 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetConsoleScreenBufferInfoEx(hconsoleoutput : super::super::Foundation:: HANDLE, lpconsolescreenbufferinfoex : *mut CONSOLE_SCREEN_BUFFER_INFOEX) -> super::super::Foundation:: BOOL);
61 #[cfg(feature = "Win32_Foundation")]
62 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetConsoleSelectionInfo(lpconsoleselectioninfo : *mut CONSOLE_SELECTION_INFO) -> super::super::Foundation:: BOOL);
63 ::windows_targets::link!("kernel32.dll" "system" fn GetConsoleTitleA(lpconsoletitle : ::windows_sys::core::PSTR, nsize : u32) -> u32);
64 ::windows_targets::link!("kernel32.dll" "system" fn GetConsoleTitleW(lpconsoletitle : ::windows_sys::core::PWSTR, nsize : u32) -> u32);
65 #[cfg(feature = "Win32_Foundation")]
66 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetConsoleWindow() -> super::super::Foundation:: HWND);
67 #[cfg(feature = "Win32_Foundation")]
68 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetCurrentConsoleFont(hconsoleoutput : super::super::Foundation:: HANDLE, bmaximumwindow : super::super::Foundation:: BOOL, lpconsolecurrentfont : *mut CONSOLE_FONT_INFO) -> super::super::Foundation:: BOOL);
69 #[cfg(feature = "Win32_Foundation")]
70 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetCurrentConsoleFontEx(hconsoleoutput : super::super::Foundation:: HANDLE, bmaximumwindow : super::super::Foundation:: BOOL, lpconsolecurrentfontex : *mut CONSOLE_FONT_INFOEX) -> super::super::Foundation:: BOOL);
71 #[cfg(feature = "Win32_Foundation")]
72 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetLargestConsoleWindowSize(hconsoleoutput : super::super::Foundation:: HANDLE) -> COORD);
73 #[cfg(feature = "Win32_Foundation")]
74 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetNumberOfConsoleInputEvents(hconsoleinput : super::super::Foundation:: HANDLE, lpnumberofevents : *mut u32) -> super::super::Foundation:: BOOL);
75 #[cfg(feature = "Win32_Foundation")]
76 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetNumberOfConsoleMouseButtons(lpnumberofmousebuttons : *mut u32) -> super::super::Foundation:: BOOL);
77 #[cfg(feature = "Win32_Foundation")]
78 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetStdHandle(nstdhandle : STD_HANDLE) -> super::super::Foundation:: HANDLE);
79 #[cfg(feature = "Win32_Foundation")]
80 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeekConsoleInputA(hconsoleinput : super::super::Foundation:: HANDLE, lpbuffer : *mut INPUT_RECORD, nlength : u32, lpnumberofeventsread : *mut u32) -> super::super::Foundation:: BOOL);
81 #[cfg(feature = "Win32_Foundation")]
82 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeekConsoleInputW(hconsoleinput : super::super::Foundation:: HANDLE, lpbuffer : *mut INPUT_RECORD, nlength : u32, lpnumberofeventsread : *mut u32) -> super::super::Foundation:: BOOL);
83 #[cfg(feature = "Win32_Foundation")]
84 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ReadConsoleA(hconsoleinput : super::super::Foundation:: HANDLE, lpbuffer : *mut ::core::ffi::c_void, nnumberofcharstoread : u32, lpnumberofcharsread : *mut u32, pinputcontrol : *const CONSOLE_READCONSOLE_CONTROL) -> super::super::Foundation:: BOOL);
85 #[cfg(feature = "Win32_Foundation")]
86 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ReadConsoleInputA(hconsoleinput : super::super::Foundation:: HANDLE, lpbuffer : *mut INPUT_RECORD, nlength : u32, lpnumberofeventsread : *mut u32) -> super::super::Foundation:: BOOL);
87 #[cfg(feature = "Win32_Foundation")]
88 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ReadConsoleInputW(hconsoleinput : super::super::Foundation:: HANDLE, lpbuffer : *mut INPUT_RECORD, nlength : u32, lpnumberofeventsread : *mut u32) -> super::super::Foundation:: BOOL);
89 #[cfg(feature = "Win32_Foundation")]
90 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ReadConsoleOutputA(hconsoleoutput : super::super::Foundation:: HANDLE, lpbuffer : *mut CHAR_INFO, dwbuffersize : COORD, dwbuffercoord : COORD, lpreadregion : *mut SMALL_RECT) -> super::super::Foundation:: BOOL);
91 #[cfg(feature = "Win32_Foundation")]
92 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ReadConsoleOutputAttribute(hconsoleoutput : super::super::Foundation:: HANDLE, lpattribute : *mut u16, nlength : u32, dwreadcoord : COORD, lpnumberofattrsread : *mut u32) -> super::super::Foundation:: BOOL);
93 #[cfg(feature = "Win32_Foundation")]
94 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ReadConsoleOutputCharacterA(hconsoleoutput : super::super::Foundation:: HANDLE, lpcharacter : ::windows_sys::core::PSTR, nlength : u32, dwreadcoord : COORD, lpnumberofcharsread : *mut u32) -> super::super::Foundation:: BOOL);
95 #[cfg(feature = "Win32_Foundation")]
96 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ReadConsoleOutputCharacterW(hconsoleoutput : super::super::Foundation:: HANDLE, lpcharacter : ::windows_sys::core::PWSTR, nlength : u32, dwreadcoord : COORD, lpnumberofcharsread : *mut u32) -> super::super::Foundation:: BOOL);
97 #[cfg(feature = "Win32_Foundation")]
98 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ReadConsoleOutputW(hconsoleoutput : super::super::Foundation:: HANDLE, lpbuffer : *mut CHAR_INFO, dwbuffersize : COORD, dwbuffercoord : COORD, lpreadregion : *mut SMALL_RECT) -> super::super::Foundation:: BOOL);
99 #[cfg(feature = "Win32_Foundation")]
100 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ReadConsoleW(hconsoleinput : super::super::Foundation:: HANDLE, lpbuffer : *mut ::core::ffi::c_void, nnumberofcharstoread : u32, lpnumberofcharsread : *mut u32, pinputcontrol : *const CONSOLE_READCONSOLE_CONTROL) -> super::super::Foundation:: BOOL);
101 ::windows_targets::link!("kernel32.dll" "system" fn ResizePseudoConsole(hpc : HPCON, size : COORD) -> ::windows_sys::core::HRESULT);
102 #[cfg(feature = "Win32_Foundation")]
103 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ScrollConsoleScreenBufferA(hconsoleoutput : super::super::Foundation:: HANDLE, lpscrollrectangle : *const SMALL_RECT, lpcliprectangle : *const SMALL_RECT, dwdestinationorigin : COORD, lpfill : *const CHAR_INFO) -> super::super::Foundation:: BOOL);
104 #[cfg(feature = "Win32_Foundation")]
105 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ScrollConsoleScreenBufferW(hconsoleoutput : super::super::Foundation:: HANDLE, lpscrollrectangle : *const SMALL_RECT, lpcliprectangle : *const SMALL_RECT, dwdestinationorigin : COORD, lpfill : *const CHAR_INFO) -> super::super::Foundation:: BOOL);
106 #[cfg(feature = "Win32_Foundation")]
107 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetConsoleActiveScreenBuffer(hconsoleoutput : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL);
108 #[cfg(feature = "Win32_Foundation")]
109 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetConsoleCP(wcodepageid : u32) -> super::super::Foundation:: BOOL);
110 #[cfg(feature = "Win32_Foundation")]
111 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetConsoleCtrlHandler(handlerroutine : PHANDLER_ROUTINE, add : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL);
112 #[cfg(feature = "Win32_Foundation")]
113 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetConsoleCursorInfo(hconsoleoutput : super::super::Foundation:: HANDLE, lpconsolecursorinfo : *const CONSOLE_CURSOR_INFO) -> super::super::Foundation:: BOOL);
114 #[cfg(feature = "Win32_Foundation")]
115 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetConsoleCursorPosition(hconsoleoutput : super::super::Foundation:: HANDLE, dwcursorposition : COORD) -> super::super::Foundation:: BOOL);
116 #[cfg(feature = "Win32_Foundation")]
117 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetConsoleDisplayMode(hconsoleoutput : super::super::Foundation:: HANDLE, dwflags : u32, lpnewscreenbufferdimensions : *mut COORD) -> super::super::Foundation:: BOOL);
118 #[cfg(feature = "Win32_Foundation")]
119 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetConsoleHistoryInfo(lpconsolehistoryinfo : *const CONSOLE_HISTORY_INFO) -> super::super::Foundation:: BOOL);
120 #[cfg(feature = "Win32_Foundation")]
121 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetConsoleMode(hconsolehandle : super::super::Foundation:: HANDLE, dwmode : CONSOLE_MODE) -> super::super::Foundation:: BOOL);
122 #[cfg(feature = "Win32_Foundation")]
123 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetConsoleNumberOfCommandsA(number : u32, exename : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL);
124 #[cfg(feature = "Win32_Foundation")]
125 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetConsoleNumberOfCommandsW(number : u32, exename : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL);
126 #[cfg(feature = "Win32_Foundation")]
127 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetConsoleOutputCP(wcodepageid : u32) -> super::super::Foundation:: BOOL);
128 #[cfg(feature = "Win32_Foundation")]
129 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetConsoleScreenBufferInfoEx(hconsoleoutput : super::super::Foundation:: HANDLE, lpconsolescreenbufferinfoex : *const CONSOLE_SCREEN_BUFFER_INFOEX) -> super::super::Foundation:: BOOL);
130 #[cfg(feature = "Win32_Foundation")]
131 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetConsoleScreenBufferSize(hconsoleoutput : super::super::Foundation:: HANDLE, dwsize : COORD) -> super::super::Foundation:: BOOL);
132 #[cfg(feature = "Win32_Foundation")]
133 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetConsoleTextAttribute(hconsoleoutput : super::super::Foundation:: HANDLE, wattributes : CONSOLE_CHARACTER_ATTRIBUTES) -> super::super::Foundation:: BOOL);
134 #[cfg(feature = "Win32_Foundation")]
135 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetConsoleTitleA(lpconsoletitle : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL);
136 #[cfg(feature = "Win32_Foundation")]
137 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetConsoleTitleW(lpconsoletitle : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL);
138 #[cfg(feature = "Win32_Foundation")]
139 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetConsoleWindowInfo(hconsoleoutput : super::super::Foundation:: HANDLE, babsolute : super::super::Foundation:: BOOL, lpconsolewindow : *const SMALL_RECT) -> super::super::Foundation:: BOOL);
140 #[cfg(feature = "Win32_Foundation")]
141 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetCurrentConsoleFontEx(hconsoleoutput : super::super::Foundation:: HANDLE, bmaximumwindow : super::super::Foundation:: BOOL, lpconsolecurrentfontex : *const CONSOLE_FONT_INFOEX) -> super::super::Foundation:: BOOL);
142 #[cfg(feature = "Win32_Foundation")]
143 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetStdHandle(nstdhandle : STD_HANDLE, hhandle : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL);
144 #[cfg(feature = "Win32_Foundation")]
145 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetStdHandleEx(nstdhandle : STD_HANDLE, hhandle : super::super::Foundation:: HANDLE, phprevvalue : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL);
146 #[cfg(feature = "Win32_Foundation")]
147 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WriteConsoleA(hconsoleoutput : super::super::Foundation:: HANDLE, lpbuffer : *const ::core::ffi::c_void, nnumberofcharstowrite : u32, lpnumberofcharswritten : *mut u32, lpreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL);
148 #[cfg(feature = "Win32_Foundation")]
149 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WriteConsoleInputA(hconsoleinput : super::super::Foundation:: HANDLE, lpbuffer : *const INPUT_RECORD, nlength : u32, lpnumberofeventswritten : *mut u32) -> super::super::Foundation:: BOOL);
150 #[cfg(feature = "Win32_Foundation")]
151 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WriteConsoleInputW(hconsoleinput : super::super::Foundation:: HANDLE, lpbuffer : *const INPUT_RECORD, nlength : u32, lpnumberofeventswritten : *mut u32) -> super::super::Foundation:: BOOL);
152 #[cfg(feature = "Win32_Foundation")]
153 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WriteConsoleOutputA(hconsoleoutput : super::super::Foundation:: HANDLE, lpbuffer : *const CHAR_INFO, dwbuffersize : COORD, dwbuffercoord : COORD, lpwriteregion : *mut SMALL_RECT) -> super::super::Foundation:: BOOL);
154 #[cfg(feature = "Win32_Foundation")]
155 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WriteConsoleOutputAttribute(hconsoleoutput : super::super::Foundation:: HANDLE, lpattribute : *const u16, nlength : u32, dwwritecoord : COORD, lpnumberofattrswritten : *mut u32) -> super::super::Foundation:: BOOL);
156 #[cfg(feature = "Win32_Foundation")]
157 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WriteConsoleOutputCharacterA(hconsoleoutput : super::super::Foundation:: HANDLE, lpcharacter : ::windows_sys::core::PCSTR, nlength : u32, dwwritecoord : COORD, lpnumberofcharswritten : *mut u32) -> super::super::Foundation:: BOOL);
158 #[cfg(feature = "Win32_Foundation")]
159 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WriteConsoleOutputCharacterW(hconsoleoutput : super::super::Foundation:: HANDLE, lpcharacter : ::windows_sys::core::PCWSTR, nlength : u32, dwwritecoord : COORD, lpnumberofcharswritten : *mut u32) -> super::super::Foundation:: BOOL);
160 #[cfg(feature = "Win32_Foundation")]
161 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WriteConsoleOutputW(hconsoleoutput : super::super::Foundation:: HANDLE, lpbuffer : *const CHAR_INFO, dwbuffersize : COORD, dwbuffercoord : COORD, lpwriteregion : *mut SMALL_RECT) -> super::super::Foundation:: BOOL);
162 #[cfg(feature = "Win32_Foundation")]
163 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WriteConsoleW(hconsoleoutput : super::super::Foundation:: HANDLE, lpbuffer : *const ::core::ffi::c_void, nnumberofcharstowrite : u32, lpnumberofcharswritten : *mut u32, lpreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL);
164 pub const ALTNUMPAD_BIT: u32 = 67108864u32;
165 pub const ATTACH_PARENT_PROCESS: u32 = 4294967295u32;
166 pub const BACKGROUND_BLUE: CONSOLE_CHARACTER_ATTRIBUTES = 16u16;
167 pub const BACKGROUND_GREEN: CONSOLE_CHARACTER_ATTRIBUTES = 32u16;
168 pub const BACKGROUND_INTENSITY: CONSOLE_CHARACTER_ATTRIBUTES = 128u16;
169 pub const BACKGROUND_RED: CONSOLE_CHARACTER_ATTRIBUTES = 64u16;
170 pub const CAPSLOCK_ON: u32 = 128u32;
171 pub const COMMON_LVB_GRID_HORIZONTAL: CONSOLE_CHARACTER_ATTRIBUTES = 1024u16;
172 pub const COMMON_LVB_GRID_LVERTICAL: CONSOLE_CHARACTER_ATTRIBUTES = 2048u16;
173 pub const COMMON_LVB_GRID_RVERTICAL: CONSOLE_CHARACTER_ATTRIBUTES = 4096u16;
174 pub const COMMON_LVB_LEADING_BYTE: CONSOLE_CHARACTER_ATTRIBUTES = 256u16;
175 pub const COMMON_LVB_REVERSE_VIDEO: CONSOLE_CHARACTER_ATTRIBUTES = 16384u16;
176 pub const COMMON_LVB_SBCSDBCS: CONSOLE_CHARACTER_ATTRIBUTES = 768u16;
177 pub const COMMON_LVB_TRAILING_BYTE: CONSOLE_CHARACTER_ATTRIBUTES = 512u16;
178 pub const COMMON_LVB_UNDERSCORE: CONSOLE_CHARACTER_ATTRIBUTES = 32768u16;
179 pub const CONSOLE_FULLSCREEN: u32 = 1u32;
180 pub const CONSOLE_FULLSCREEN_HARDWARE: u32 = 2u32;
181 pub const CONSOLE_FULLSCREEN_MODE: u32 = 1u32;
182 pub const CONSOLE_MOUSE_DOWN: u32 = 8u32;
183 pub const CONSOLE_MOUSE_SELECTION: u32 = 4u32;
184 pub const CONSOLE_NO_SELECTION: u32 = 0u32;
185 pub const CONSOLE_SELECTION_IN_PROGRESS: u32 = 1u32;
186 pub const CONSOLE_SELECTION_NOT_EMPTY: u32 = 2u32;
187 pub const CONSOLE_TEXTMODE_BUFFER: u32 = 1u32;
188 pub const CONSOLE_WINDOWED_MODE: u32 = 2u32;
189 pub const CTRL_BREAK_EVENT: u32 = 1u32;
190 pub const CTRL_CLOSE_EVENT: u32 = 2u32;
191 pub const CTRL_C_EVENT: u32 = 0u32;
192 pub const CTRL_LOGOFF_EVENT: u32 = 5u32;
193 pub const CTRL_SHUTDOWN_EVENT: u32 = 6u32;
194 pub const DISABLE_NEWLINE_AUTO_RETURN: CONSOLE_MODE = 8u32;
195 pub const DOUBLE_CLICK: u32 = 2u32;
196 pub const ENABLE_AUTO_POSITION: CONSOLE_MODE = 256u32;
197 pub const ENABLE_ECHO_INPUT: CONSOLE_MODE = 4u32;
198 pub const ENABLE_EXTENDED_FLAGS: CONSOLE_MODE = 128u32;
199 pub const ENABLE_INSERT_MODE: CONSOLE_MODE = 32u32;
200 pub const ENABLE_LINE_INPUT: CONSOLE_MODE = 2u32;
201 pub const ENABLE_LVB_GRID_WORLDWIDE: CONSOLE_MODE = 16u32;
202 pub const ENABLE_MOUSE_INPUT: CONSOLE_MODE = 16u32;
203 pub const ENABLE_PROCESSED_INPUT: CONSOLE_MODE = 1u32;
204 pub const ENABLE_PROCESSED_OUTPUT: CONSOLE_MODE = 1u32;
205 pub const ENABLE_QUICK_EDIT_MODE: CONSOLE_MODE = 64u32;
206 pub const ENABLE_VIRTUAL_TERMINAL_INPUT: CONSOLE_MODE = 512u32;
207 pub const ENABLE_VIRTUAL_TERMINAL_PROCESSING: CONSOLE_MODE = 4u32;
208 pub const ENABLE_WINDOW_INPUT: CONSOLE_MODE = 8u32;
209 pub const ENABLE_WRAP_AT_EOL_OUTPUT: CONSOLE_MODE = 2u32;
210 pub const ENHANCED_KEY: u32 = 256u32;
211 pub const FOCUS_EVENT: u32 = 16u32;
212 pub const FOREGROUND_BLUE: CONSOLE_CHARACTER_ATTRIBUTES = 1u16;
213 pub const FOREGROUND_GREEN: CONSOLE_CHARACTER_ATTRIBUTES = 2u16;
214 pub const FOREGROUND_INTENSITY: CONSOLE_CHARACTER_ATTRIBUTES = 8u16;
215 pub const FOREGROUND_RED: CONSOLE_CHARACTER_ATTRIBUTES = 4u16;
216 pub const FROM_LEFT_1ST_BUTTON_PRESSED: u32 = 1u32;
217 pub const FROM_LEFT_2ND_BUTTON_PRESSED: u32 = 4u32;
218 pub const FROM_LEFT_3RD_BUTTON_PRESSED: u32 = 8u32;
219 pub const FROM_LEFT_4TH_BUTTON_PRESSED: u32 = 16u32;
220 pub const HISTORY_NO_DUP_FLAG: u32 = 1u32;
221 pub const KEY_EVENT: u32 = 1u32;
222 pub const LEFT_ALT_PRESSED: u32 = 2u32;
223 pub const LEFT_CTRL_PRESSED: u32 = 8u32;
224 pub const MENU_EVENT: u32 = 8u32;
225 pub const MOUSE_EVENT: u32 = 2u32;
226 pub const MOUSE_HWHEELED: u32 = 8u32;
227 pub const MOUSE_MOVED: u32 = 1u32;
228 pub const MOUSE_WHEELED: u32 = 4u32;
229 pub const NLS_ALPHANUMERIC: u32 = 0u32;
230 pub const NLS_DBCSCHAR: u32 = 65536u32;
231 pub const NLS_HIRAGANA: u32 = 262144u32;
232 pub const NLS_IME_CONVERSION: u32 = 8388608u32;
233 pub const NLS_IME_DISABLE: u32 = 536870912u32;
234 pub const NLS_KATAKANA: u32 = 131072u32;
235 pub const NLS_ROMAN: u32 = 4194304u32;
236 pub const NUMLOCK_ON: u32 = 32u32;
237 pub const PSEUDOCONSOLE_INHERIT_CURSOR: u32 = 1u32;
238 pub const RIGHTMOST_BUTTON_PRESSED: u32 = 2u32;
239 pub const RIGHT_ALT_PRESSED: u32 = 1u32;
240 pub const RIGHT_CTRL_PRESSED: u32 = 4u32;
241 pub const SCROLLLOCK_ON: u32 = 64u32;
242 pub const SHIFT_PRESSED: u32 = 16u32;
243 pub const STD_ERROR_HANDLE: STD_HANDLE = 4294967284u32;
244 pub const STD_INPUT_HANDLE: STD_HANDLE = 4294967286u32;
245 pub const STD_OUTPUT_HANDLE: STD_HANDLE = 4294967285u32;
246 pub const WINDOW_BUFFER_SIZE_EVENT: u32 = 4u32;
247 pub type CONSOLE_CHARACTER_ATTRIBUTES = u16;
248 pub type CONSOLE_MODE = u32;
249 pub type STD_HANDLE = u32;
250 #[repr(C)]
251 pub struct CHAR_INFO {
252 pub Char: CHAR_INFO_0,
253 pub Attributes: u16,
254 }
255 impl ::core::marker::Copy for CHAR_INFO {}
256 impl ::core::clone::Clone for CHAR_INFO {
257 fn clone(&self) -> Self {
258 *self
259 }
260 }
261 #[repr(C)]
262 pub union CHAR_INFO_0 {
263 pub UnicodeChar: u16,
264 pub AsciiChar: u8,
265 }
266 impl ::core::marker::Copy for CHAR_INFO_0 {}
267 impl ::core::clone::Clone for CHAR_INFO_0 {
268 fn clone(&self) -> Self {
269 *self
270 }
271 }
272 #[repr(C)]
273 #[doc = "Required features: `\"Win32_Foundation\"`"]
274 #[cfg(feature = "Win32_Foundation")]
275 pub struct CONSOLE_CURSOR_INFO {
276 pub dwSize: u32,
277 pub bVisible: super::super::Foundation::BOOL,
278 }
279 #[cfg(feature = "Win32_Foundation")]
280 impl ::core::marker::Copy for CONSOLE_CURSOR_INFO {}
281 #[cfg(feature = "Win32_Foundation")]
282 impl ::core::clone::Clone for CONSOLE_CURSOR_INFO {
283 fn clone(&self) -> Self {
284 *self
285 }
286 }
287 #[repr(C)]
288 pub struct CONSOLE_FONT_INFO {
289 pub nFont: u32,
290 pub dwFontSize: COORD,
291 }
292 impl ::core::marker::Copy for CONSOLE_FONT_INFO {}
293 impl ::core::clone::Clone for CONSOLE_FONT_INFO {
294 fn clone(&self) -> Self {
295 *self
296 }
297 }
298 #[repr(C)]
299 pub struct CONSOLE_FONT_INFOEX {
300 pub cbSize: u32,
301 pub nFont: u32,
302 pub dwFontSize: COORD,
303 pub FontFamily: u32,
304 pub FontWeight: u32,
305 pub FaceName: [u16; 32],
306 }
307 impl ::core::marker::Copy for CONSOLE_FONT_INFOEX {}
308 impl ::core::clone::Clone for CONSOLE_FONT_INFOEX {
309 fn clone(&self) -> Self {
310 *self
311 }
312 }
313 #[repr(C)]
314 pub struct CONSOLE_HISTORY_INFO {
315 pub cbSize: u32,
316 pub HistoryBufferSize: u32,
317 pub NumberOfHistoryBuffers: u32,
318 pub dwFlags: u32,
319 }
320 impl ::core::marker::Copy for CONSOLE_HISTORY_INFO {}
321 impl ::core::clone::Clone for CONSOLE_HISTORY_INFO {
322 fn clone(&self) -> Self {
323 *self
324 }
325 }
326 #[repr(C)]
327 pub struct CONSOLE_READCONSOLE_CONTROL {
328 pub nLength: u32,
329 pub nInitialChars: u32,
330 pub dwCtrlWakeupMask: u32,
331 pub dwControlKeyState: u32,
332 }
333 impl ::core::marker::Copy for CONSOLE_READCONSOLE_CONTROL {}
334 impl ::core::clone::Clone for CONSOLE_READCONSOLE_CONTROL {
335 fn clone(&self) -> Self {
336 *self
337 }
338 }
339 #[repr(C)]
340 pub struct CONSOLE_SCREEN_BUFFER_INFO {
341 pub dwSize: COORD,
342 pub dwCursorPosition: COORD,
343 pub wAttributes: CONSOLE_CHARACTER_ATTRIBUTES,
344 pub srWindow: SMALL_RECT,
345 pub dwMaximumWindowSize: COORD,
346 }
347 impl ::core::marker::Copy for CONSOLE_SCREEN_BUFFER_INFO {}
348 impl ::core::clone::Clone for CONSOLE_SCREEN_BUFFER_INFO {
349 fn clone(&self) -> Self {
350 *self
351 }
352 }
353 #[repr(C)]
354 #[doc = "Required features: `\"Win32_Foundation\"`"]
355 #[cfg(feature = "Win32_Foundation")]
356 pub struct CONSOLE_SCREEN_BUFFER_INFOEX {
357 pub cbSize: u32,
358 pub dwSize: COORD,
359 pub dwCursorPosition: COORD,
360 pub wAttributes: CONSOLE_CHARACTER_ATTRIBUTES,
361 pub srWindow: SMALL_RECT,
362 pub dwMaximumWindowSize: COORD,
363 pub wPopupAttributes: u16,
364 pub bFullscreenSupported: super::super::Foundation::BOOL,
365 pub ColorTable: [super::super::Foundation::COLORREF; 16],
366 }
367 #[cfg(feature = "Win32_Foundation")]
368 impl ::core::marker::Copy for CONSOLE_SCREEN_BUFFER_INFOEX {}
369 #[cfg(feature = "Win32_Foundation")]
370 impl ::core::clone::Clone for CONSOLE_SCREEN_BUFFER_INFOEX {
371 fn clone(&self) -> Self {
372 *self
373 }
374 }
375 #[repr(C)]
376 pub struct CONSOLE_SELECTION_INFO {
377 pub dwFlags: u32,
378 pub dwSelectionAnchor: COORD,
379 pub srSelection: SMALL_RECT,
380 }
381 impl ::core::marker::Copy for CONSOLE_SELECTION_INFO {}
382 impl ::core::clone::Clone for CONSOLE_SELECTION_INFO {
383 fn clone(&self) -> Self {
384 *self
385 }
386 }
387 #[repr(C)]
388 pub struct COORD {
389 pub X: i16,
390 pub Y: i16,
391 }
392 impl ::core::marker::Copy for COORD {}
393 impl ::core::clone::Clone for COORD {
394 fn clone(&self) -> Self {
395 *self
396 }
397 }
398 #[repr(C)]
399 #[doc = "Required features: `\"Win32_Foundation\"`"]
400 #[cfg(feature = "Win32_Foundation")]
401 pub struct FOCUS_EVENT_RECORD {
402 pub bSetFocus: super::super::Foundation::BOOL,
403 }
404 #[cfg(feature = "Win32_Foundation")]
405 impl ::core::marker::Copy for FOCUS_EVENT_RECORD {}
406 #[cfg(feature = "Win32_Foundation")]
407 impl ::core::clone::Clone for FOCUS_EVENT_RECORD {
408 fn clone(&self) -> Self {
409 *self
410 }
411 }
412 pub type HPCON = isize;
413 #[repr(C)]
414 #[doc = "Required features: `\"Win32_Foundation\"`"]
415 #[cfg(feature = "Win32_Foundation")]
416 pub struct INPUT_RECORD {
417 pub EventType: u16,
418 pub Event: INPUT_RECORD_0,
419 }
420 #[cfg(feature = "Win32_Foundation")]
421 impl ::core::marker::Copy for INPUT_RECORD {}
422 #[cfg(feature = "Win32_Foundation")]
423 impl ::core::clone::Clone for INPUT_RECORD {
424 fn clone(&self) -> Self {
425 *self
426 }
427 }
428 #[repr(C)]
429 #[doc = "Required features: `\"Win32_Foundation\"`"]
430 #[cfg(feature = "Win32_Foundation")]
431 pub union INPUT_RECORD_0 {
432 pub KeyEvent: KEY_EVENT_RECORD,
433 pub MouseEvent: MOUSE_EVENT_RECORD,
434 pub WindowBufferSizeEvent: WINDOW_BUFFER_SIZE_RECORD,
435 pub MenuEvent: MENU_EVENT_RECORD,
436 pub FocusEvent: FOCUS_EVENT_RECORD,
437 }
438 #[cfg(feature = "Win32_Foundation")]
439 impl ::core::marker::Copy for INPUT_RECORD_0 {}
440 #[cfg(feature = "Win32_Foundation")]
441 impl ::core::clone::Clone for INPUT_RECORD_0 {
442 fn clone(&self) -> Self {
443 *self
444 }
445 }
446 #[repr(C)]
447 #[doc = "Required features: `\"Win32_Foundation\"`"]
448 #[cfg(feature = "Win32_Foundation")]
449 pub struct KEY_EVENT_RECORD {
450 pub bKeyDown: super::super::Foundation::BOOL,
451 pub wRepeatCount: u16,
452 pub wVirtualKeyCode: u16,
453 pub wVirtualScanCode: u16,
454 pub uChar: KEY_EVENT_RECORD_0,
455 pub dwControlKeyState: u32,
456 }
457 #[cfg(feature = "Win32_Foundation")]
458 impl ::core::marker::Copy for KEY_EVENT_RECORD {}
459 #[cfg(feature = "Win32_Foundation")]
460 impl ::core::clone::Clone for KEY_EVENT_RECORD {
461 fn clone(&self) -> Self {
462 *self
463 }
464 }
465 #[repr(C)]
466 #[doc = "Required features: `\"Win32_Foundation\"`"]
467 #[cfg(feature = "Win32_Foundation")]
468 pub union KEY_EVENT_RECORD_0 {
469 pub UnicodeChar: u16,
470 pub AsciiChar: u8,
471 }
472 #[cfg(feature = "Win32_Foundation")]
473 impl ::core::marker::Copy for KEY_EVENT_RECORD_0 {}
474 #[cfg(feature = "Win32_Foundation")]
475 impl ::core::clone::Clone for KEY_EVENT_RECORD_0 {
476 fn clone(&self) -> Self {
477 *self
478 }
479 }
480 #[repr(C)]
481 pub struct MENU_EVENT_RECORD {
482 pub dwCommandId: u32,
483 }
484 impl ::core::marker::Copy for MENU_EVENT_RECORD {}
485 impl ::core::clone::Clone for MENU_EVENT_RECORD {
486 fn clone(&self) -> Self {
487 *self
488 }
489 }
490 #[repr(C)]
491 pub struct MOUSE_EVENT_RECORD {
492 pub dwMousePosition: COORD,
493 pub dwButtonState: u32,
494 pub dwControlKeyState: u32,
495 pub dwEventFlags: u32,
496 }
497 impl ::core::marker::Copy for MOUSE_EVENT_RECORD {}
498 impl ::core::clone::Clone for MOUSE_EVENT_RECORD {
499 fn clone(&self) -> Self {
500 *self
501 }
502 }
503 #[repr(C)]
504 pub struct SMALL_RECT {
505 pub Left: i16,
506 pub Top: i16,
507 pub Right: i16,
508 pub Bottom: i16,
509 }
510 impl ::core::marker::Copy for SMALL_RECT {}
511 impl ::core::clone::Clone for SMALL_RECT {
512 fn clone(&self) -> Self {
513 *self
514 }
515 }
516 #[repr(C)]
517 pub struct WINDOW_BUFFER_SIZE_RECORD {
518 pub dwSize: COORD,
519 }
520 impl ::core::marker::Copy for WINDOW_BUFFER_SIZE_RECORD {}
521 impl ::core::clone::Clone for WINDOW_BUFFER_SIZE_RECORD {
522 fn clone(&self) -> Self {
523 *self
524 }
525 }
526 #[doc = "Required features: `\"Win32_Foundation\"`"]
527 #[cfg(feature = "Win32_Foundation")]
528 pub type PHANDLER_ROUTINE = ::core::option::Option<unsafe extern "system" fn(ctrltype: u32) -> super::super::Foundation::BOOL>;