-
Notifications
You must be signed in to change notification settings - Fork 0
/
conioref.txt
661 lines (492 loc) · 23.2 KB
/
conioref.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
=======================
Win32 Console Reference
-----------------------
Updated: 2022-05-10
=======================
A reference for Win32 Console API calls, intended to be
clear and self-contained.
Sources: Microsoft Docs > Console Developer's guide & API
Reference > Console API Functions > ...
https://docs.microsoft.com/en-us/windows/console/console-functions
-------------------------------------------------
BOOL WINAPI AddConsoleAlias( _In_ LPCTSTR Source,
_In_ LPCTSTR Target, _In_ LPCTSTR ExeName )
-------------------------------------------------
Defines a command macro, equivalent to Source = ExeName Target
Returns FALSE (0) on error.
------------------------------
BOOL WINAPI AllocConsole(void)
------------------------------
Attaches the calling process to a new console and assigns
stdin to the console's input, stdout to the console's
output, and stderr to be retrieved with GetStdHandle.
FreeConsole can then detach the console from the calling
process, then either a new console may be allocated,
or the process can be attached to another console.
The console closes when the last attached process
terminates, or calls FreeConsole.
AllocConsole is used mainly for a GUI subsystem application,
unless CreateProcess is called with DETACHED_PROCESS.
A process can have at most one console.
Returns FALSE (0) on error.
---------------------------------------------------
BOOL WINAPI AttachConsole( _In_ DWORD dwProcessId )
---------------------------------------------------
Attaches console to the specified process and assigns
stdin to the console's input, stdout to the console's
output, and stderr to be retrieved with GetStdHandle.
FreeConsole can then detach the console from the calling
process, then either a new console may be allocated,
or the process can be attached to another console.
The console closes when the last attached process
terminates, or calls FreeConsole.
AllocConsole is used mainly for a GUI subsystem application.
A process can have at most one console.
Returns FALSE (0) on error.
------------------------------------------------------------
HANDLE WINAPI CreateConsoleScreenBuffer(
_In_ DWORD dwDesiredAccess, _In_ DWORD dwShareMode,
_In_opt_ const SECURITY_ATTRIBUTES *lpSecurityAttributes,
_In_ DWORD dwFlags, _Reserved_ LPVOID lpScreenBufferData )
------------------------------------------------------------
Creates a console buffer to be used on-screen (active)
or off-screen (inactive).
A console can have multiple screen buffers, but only one can
be active. Valid screen buffers can be read from, or written
to, but only the active screen buffer is displayed.
SetConsoleScreenBuffer makes active the specified screen buffer.
The new screen buffer copies some properties from the active
screen buffer at time of call: Font; Display Window Size;
Default Attributes (colors); and Default Popup Attributes
(colors). Buffer Size is allocated according to Display
Window Size.
The handle can be used by any function that takes a console
screen buffer handle, restricted according to dwDesiredAccess.
DuplicateHandle can create a duplicate screen buffer with
differing access or inheritability, from the calling process.
Otherwise DuplicateHandle can only inherit from a different
calling process.
CloseHandle closes the screen buffer.
Parameters
- dwDesiredAccess: GENERIC_READ (0x80000000L) to allow the
screen buffer to be read. GENERIC_WRITE (0x40000000L)
to allow the screen buffer to be written to. One or both
can fail if inherited without the appropriate permission.
- dwShareMode: FILE_SHARE_READ (0x00000001) to allow read
access, and/or FILE_SHARE_WRITE (0x00000002) to allow
write access, on other open operations.
- lpSecurityAttributes: If NULL, the console screen buffer
handle can't be inherited, and receives a default security
descriptor. The default security descriptor comes from
the primary or impersonation token of the creator.
- dwFlags: The type of screen buffer to create. Currently
only CONSOLE_TEXTMODE_BUFFER is supported.
- lpScreenBufferData: Reserved. Set to NULL.
Returns INVALID_HANDLE_VALUE on error.
---------------------------
Text (Character) Attributes
---------------------------
FOREGROUND_BLUE (0x1): Text color contains blue.
FOREGROUND_GREEN (0x2): Text color contains green.
FOREGROUND_RED (0x4): Text color contains red.
FOREGROUND_INTENSITY (0x8): Text color is intensified.
BACKGROUND_BLUE (0x10): Background color contains blue.
BACKGROUND_GREEN (0x20): Background color contains green.
BACKGROUND_RED (0x40): Background color contains red.
BACKGROUND_INTENSITY (0x80): Background color is intensified.
COMMON_LVB_LEADING_BYTE (0x100): Leading byte.
COMMON_LVB_TRAILING_BYTE (0x200): Trailing byte.
COMMON_LVB_GRID_HORIZONTAL (0x400): Top horizontal.
COMMON_LVB_GRID_LVERTICAL (0x800): Left vertical.
COMMON_LVB_GRID_RVERTICAL (0x1000): Right vertical.
COMMON_LVB_REVERSE_VIDEO (0x4000): Reverse foreground and background.
COMMON_LVB_UNDERSCORE (0x8000): Underscore.
Values Source: wincon.h (MinGW w32api; tcc)
---------------------------------------------------
BOOL WINAPI FillConsoleOutputAttribute(
_In_ HANDLE hConsoleOutput, _In_ WORD wAttribute,
_In_ DWORD nLength, _In_ COORD dwWriteCoord,
_Out_ LPDWORD lpNumberOfAttrsWritten )
---------------------------------------------------
Sets one or more consecutive character attributes, at the
specified starting coordinates. Attributes that pass the end
of one line, flow into the next line, until they reach the
end of the console screen buffer.
Parameters
- hConsoleOutput: Screen buffer handle with GENERIC_WRITE
(0x40000000L) access.
- wAttribute: Text attributes to write, combined by bitwise or (|).
- nLength: Number of times to repeat the text attributes.
- dwWriteCoord: Coordinates of the first character attribute.
- lpNumberOfAttrsWritten: Pointer to variable of how many
character attributes have been written.
Returns FALSE (0) on error.
----------------------------------------------------
BOOL WINAPI FillConsoleOutputCharacter(
_In_ HANDLE hConsoleOutput, _In_ TCHAR cCharacter,
_In_ DWORD nLength, _In_ COORD dwWriteCoord,
_Out_ LPDWORD lpNumberOfCharsWritten )
----------------------------------------------------
Sets one or more consecutive characters, at the specified
starting coordinates. Characters that pass the end of one
line, flow into the next line, until they reach the
end of the console screen buffer.
This function uses either Unicode characters or 8-bit characters
from the console's current code page, which defaults to the
system's OEM code page. The console's code page can be changed
with SetConsoleCP or SetConsoleOutputCP.
Parameters
- hConsoleOutput: Screen buffer handle with GENERIC_WRITE
(0x40000000L) access.
- cCharacter: Character to write.
- nLength: Number of times to repeat the character.
- dwWriteCoord: Coordinates of the first character attribute.
- lpNumberOfCharsWritten: Pointer to variable of how many
characters have been written.
Returns FALSE (0) on error.
----------------------------------------------------------------
BOOL WINAPI FlushConsoleInputBuffer( _In_ HANDLE hConsoleInput )
----------------------------------------------------------------
Discards all input records currently in the console input buffer.
Parameter
- hConsoleOutput: Screen buffer handle with GENERIC_WRITE
(0x40000000L) access.
Returns FALSE (0) on error.
-------------------------------
BOOL WINAPI FreeConsole( void )
-------------------------------
Detaches the calling process from its console.
FreeConsole can detach the console from the calling process, then
either a new console may be allocated, or the process can be
attached to another console. The console closes when the last
attached process terminates, or calls FreeConsole.
A process can be attached to at most one console.
-------------------------------------------------------------
BOOL WINAPI GenerateConsoleCtrlEvent( _In_ DWORD dwCtrlEvent,
_In_ DWORD dwProcessGroupId )
-------------------------------------------------------------
Sends a control signal to a console process group, which share
the calling process console, resulting in each process control
handler to be called.
The default console process handler calls ExitProcess, and can
be overriden with SetConsoleCtrlHandler. SetConsoleCtrlHandler
can set an inheritable override to ignore CTRL+C signals.
CTRL+BREAK always causes the handler functions to call.
Parameters
- dwCtrlEvent: Specifies the signal to generate of either
CTRL_C_EVENT (0), or CTRL_BREAK_EVENT (1).
- dwProcessGroupId: The process group identifier when the
CREATE_NEW_PROCESS_GROUP flag is specified in function
CreateProcess. When zero (0), the signal is generated in all
processes that share the calling process console. If a process
in the group creates a new console, neither it nor its
descendants receives the signal.
Returns FALSE (0) on error.
-------------------------------------------------------------
DWORD WINAPI GetConsoleAlias( _In_ LPTSTR lpSource,
_Out_ LPTSTR lpTargetBuffer, _In_ DWORD TargetBufferLength,
_In_ LPTSTR lpExeName )
-------------------------------------------------------------
Retrieves the specified command macro, equivalent
to ExeName Target = Source?
Parameters
- lpSource: Macro alias to retrieve.
- lpTargetBuffer: Destination buffer to recieve the command
macro target (and lpExeName?).
- TargetBufferLength: lpTargetBuffer max length.
- lpExeName: Executable name (typically cmd.exe?).
Returns FALSE (0) on error.
-----------------------------------------------------------
DWORD WINAPI GetConsoleAliases( _Out_ LPTSTR lpAliasBuffer,
_In_ DWORD AliasBufferLength, _In_ LPTSTR lpExeName )
-----------------------------------------------------------
[Pending]
Returns 0 on error.
-------------------------------------------------------------
DWORD WINAPI GetConsoleAliasesLength( _In_ LPTSTR lpExeName )
-------------------------------------------------------------
[Pending]
Returns size of the buffer that holds all command macros
associated with lpExeName.
---------------------------------------------------------------
DWORD WINAPI GetConsoleAliasExes( _Out_ LPTSTR lpExeNameBuffer,
_In_ DWORD ExeNameBufferLength )
---------------------------------------------------------------
[Pending]
Returns 0 on error.
----------------------------------------------
DWORD WINAPI GetConsoleAliasExesLength( void )
----------------------------------------------
Returns size in bytes of the buffer that holds all defined exe
command macros.
----------
Code Pages
----------
Select Code Page Identifiers
- 437: IBM437, OEM United States
- 850: ibm850, OEM Multilingual Latin 1; Western European (DOS)
- 852: ibm852, OEM Latin 2; Central European (DOS)
- 1200: utf-16, Unicode UTF-16, little endian byte order (BMP of
ISO 10646); available only to managed applications
- 1201: unicodeFFFE, Unicode UTF-16, big endian byte order;
available only to managed applications
- 1252: windows-1252, ANSI Latin 1; Western European (Windows)
- 10029: x-mac-ce, MAC Latin 2; Central European (Mac)
- 12000: utf-32, Unicode UTF-32, little endian byte order;
available only to managed applications
- 12001: utf-32BE, Unicode UTF-32, big endian byte order;
available only to managed applications
- 20127: us-ascii, US-ASCII (7-bit)
- 65000: utf-7, Unicode (UTF-7)
- 65001: utf-8, Unicode (UTF-8)
Additional Code Page Identifiers:
https://docs.microsoft.com/en-us/windows/win32/intl/code-page-identifiers
--------------------------------
UINT WINAPI GetConsoleCP( void )
--------------------------------
[Pending]
-------------------------------------------------------------
BOOL WINAPI GetConsoleCursorInfo( _In_ HANDLE hConsoleOutput,
_Out_ PCONSOLE_CURSOR_INFO lpConsoleCursorInfo )
-------------------------------------------------------------
[Pending]
--------------------------------------------------------------
BOOL WINAPI GetConsoleDisplayMode( _Out_ LPDWORD lpModeFlags )
--------------------------------------------------------------
[Pending]
------------------------------------------------------------
COORD WINAPI GetConsoleFontSize( _In_ HANDLE hConsoleOutput,
_In_ DWORD nFont )
------------------------------------------------------------
[Pending]
----------------------------------------------------
BOOL WINAPI GetConsoleHistoryInfo(
_Out_ PCONSOLE_HISTORY_INFO lpConsoleHistoryInfo )
----------------------------------------------------
[Pending]
---------------------------------------------------------
BOOL WINAPI GetConsoleMode( _In_ HANDLE hConsoleHandle,
_Out_ LPDWORD lpMode )
---------------------------------------------------------
[Pending]
------------------------------------------------------------------
DWORD WINAPI GetConsoleOriginalTitle( _Out_ LPTSTR lpConsoleTitle,
_In_ DWORD nSize )
------------------------------------------------------------------
[Pending]
--------------------------------------
UINT WINAPI GetConsoleOutputCP( void )
--------------------------------------
[Pending]
------------------------------------------------------------------
DWORD WINAPI GetConsoleProcessList( _Out_ LPDWORD lpdwProcessList,
_In_ DWORD dwProcessCount )
------------------------------------------------------------------
[Pending]
-------------------------------------------------------------------
BOOL WINAPI GetConsoleScreenBufferInfo( _In_ HANDLE hConsoleOutput,
_Out_ PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo )
-------------------------------------------------------------------
[Pending]
---------------------------------------------------------------------
BOOL WINAPI GetConsoleScreenBufferInfoEx( _In_ HANDLE hConsoleOutput,
_Out_ PCONSOLE_SCREEN_BUFFER_INFOEX lpConsoleScreenBufferInfoEx )
---------------------------------------------------------------------
[Pending]
--------------------------------------------------------
BOOL WINAPI GetConsoleSelectionInfo(
_Out_ PCONSOLE_SELECTION_INFO lpConsoleSelectionInfo )
--------------------------------------------------------
[Pending]
----------------------------------------------------------
DWORD WINAPI GetConsoleTitle( _Out_ LPTSTR lpConsoleTitle,
_In_ DWORD nSize )
----------------------------------------------------------
[Pending]
------------------------------------
HWND WINAPI GetConsoleWindow( void )
------------------------------------
[Pending]
----------------------------------------------------------------------
BOOL WINAPI GetCurrentConsoleFont( _In_ HANDLE hConsoleOutput, _In_
BOOL bMaximumWindow, _Out_ PCONSOLE_FONT_INFO lpConsoleCurrentFont )
----------------------------------------------------------------------
[Pending]
----------------------------------------------------------------
BOOL WINAPI GetCurrentConsoleFontEx( _In_ HANDLE hConsoleOutput,
_In_ BOOL bMaximumWindow, _Out_ PCONSOLE_FONT_INFOEX
lpConsoleCurrentFontEx )
----------------------------------------------------------------
[Pending]
----------------------------------------------------------------------
COORD WINAPI GetLargestConsoleWindowSize( _In_ HANDLE hConsoleOutput )
----------------------------------------------------------------------
[Pending]
---------------------------------------------------------------------
BOOL WINAPI GetNumberOfConsoleInputEvents( _In_ HANDLE hConsoleInput,
_Out_ LPDWORD lpcNumberOfEvents )
---------------------------------------------------------------------
[Pending]
-------------------------------------------
BOOL WINAPI GetNumberOfConsoleMouseButtons(
_Out_ LPDWORD lpNumberOfMouseButtons )
-------------------------------------------
[Pending]
---------------------------------------------------
HANDLE WINAPI GetStdHandle( _In_ DWORD nStdHandle )
---------------------------------------------------
[Pending]
---------------------------------------------------
BOOL WINAPI HandlerRoutine( _In_ DWORD dwCtrlType )
---------------------------------------------------
[Pending]
--------------------------------------------------------------
BOOL WINAPI PeekConsoleInput( _In_ HANDLE hConsoleInput, _Out_
PINPUT_RECORD lpBuffer, _In_ DWORD nLength, _Out_
LPDWORD lpNumberOfEventsRead )
--------------------------------------------------------------
[Pending]
--------------------------------------------------------------
BOOL WINAPI ReadConsole( _In_ HANDLE hConsoleInput, _Out_
LPVOID lpBuffer, _In_ DWORD nNumberOfCharsToRead, _Out_
LPDWORD lpNumberOfCharsRead, _In_opt_ LPVOID pInputControl )
--------------------------------------------------------------
[Pending]
--------------------------------------------------------------
BOOL WINAPI ReadConsoleInput( _In_ HANDLE hConsoleInput, _Out_
PINPUT_RECORD lpBuffer, _In_ DWORD nLength, _Out_
LPDWORD lpNumberOfEventsRead )
--------------------------------------------------------------
[Pending]
----------------------------------------------------------------
BOOL WINAPI ReadConsoleOutput( _In_ HANDLE hConsoleOutput, _Out_
PCHAR_INFO lpBuffer, _In_ COORD dwBufferSize, _In_
COORD dwBufferCoord, _Inout_ PSMALL_RECT lpReadRegion )
----------------------------------------------------------------
[Pending]
-----------------------------------------------------------------------
BOOL WINAPI ReadConsoleOutputAttribute( _In_ HANDLE hConsoleOutput,
_Out_ LPWORD lpAttribute, _In_ DWORD nLength, _In_ COORD dwReadCoord,
_Out_ LPDWORD lpNumberOfAttrsRead )
-----------------------------------------------------------------------
[Pending]
-----------------------------------------------------------------------
BOOL WINAPI ReadConsoleOutputCharacter( _In_ HANDLE hConsoleOutput,
_Out_ LPTSTR lpCharacter, _In_ DWORD nLength, _In_ COORD dwReadCoord,
_Out_ LPDWORD lpNumberOfCharsRead )
-----------------------------------------------------------------------
[Pending]
--------------------------------------------------------------------
BOOL WINAPI ScrollConsoleScreenBuffer( _In_ HANDLE hConsoleOutput,
_In_ const SMALL_RECT *lpScrollRectangle, _In_opt_
const SMALL_RECT *lpClipRectangle, _In_ COORD dwDestinationOrigin,
_In_ const CHAR_INFO *lpFill )
--------------------------------------------------------------------
[Pending]
----------------------------------------------------------------------
BOOL WINAPI SetConsoleActiveScreenBuffer( _In_ HANDLE hConsoleOutput )
----------------------------------------------------------------------
[Pending]
-------------------------------------------------
BOOL WINAPI SetConsoleCP( _In_ UINT wCodePageID )
-------------------------------------------------
[Pending]
--------------------------------------------------
BOOL WINAPI SetConsoleCtrlHandler( _In_opt_
PHANDLER_ROUTINE HandlerRoutine, _In_ BOOL Add )
--------------------------------------------------
[Pending]
------------------------------------------------------------------
BOOL WINAPI SetConsoleCursorInfo( _In_ HANDLE hConsoleOutput, _In_
const CONSOLE_CURSOR_INFO *lpConsoleCursorInfo )
------------------------------------------------------------------
[Pending]
-----------------------------------------------------------------
BOOL WINAPI SetConsoleCursorPosition( _In_ HANDLE hConsoleOutput,
_In_ COORD dwCursorPosition )
-----------------------------------------------------------------
[Pending]
-------------------------------------------------------------------
BOOL WINAPI SetConsoleDisplayMode( _In_ HANDLE hConsoleOutput, _In_
DWORD dwFlags, _Out_opt_ PCOORD lpNewScreenBufferDimensions )
-------------------------------------------------------------------
[Pending]
----------------------------------------------
BOOL WINAPI SetConsoleHistoryInfo( _In_
PCONSOLE_HISTORY_INFO lpConsoleHistoryInfo )
----------------------------------------------
[Pending]
-------------------------------------------------------
BOOL WINAPI SetConsoleMode( _In_ HANDLE hConsoleHandle,
_In_ DWORD dwMode )
-------------------------------------------------------
[Pending]
-------------------------------------------------------
BOOL WINAPI SetConsoleOutputCP( _In_ UINT wCodePageID )
-------------------------------------------------------
[Pending]
---------------------------------------------------------------------
BOOL WINAPI SetConsoleScreenBufferInfoEx( _In_ HANDLE hConsoleOutput,
_In_ PCONSOLE_SCREEN_BUFFER_INFOEX lpConsoleScreenBufferInfoEx )
---------------------------------------------------------------------
[Pending]
-------------------------------------------------------------------
BOOL WINAPI SetConsoleScreenBufferSize( _In_ HANDLE hConsoleOutput,
_In_ COORD dwSize )
-------------------------------------------------------------------
[Pending]
----------------------------------------------------------------
BOOL WINAPI SetConsoleTextAttribute( _In_ HANDLE hConsoleOutput,
_In_ WORD wAttributes )
----------------------------------------------------------------
[Pending]
----------------------------------------------------------
BOOL WINAPI SetConsoleTitle( _In_ LPCTSTR lpConsoleTitle )
----------------------------------------------------------
[Pending]
---------------------------------------------------------------
BOOL WINAPI SetConsoleWindowInfo( _In_ HANDLE hConsoleOutput,
_In_ BOOL bAbsolute, _In_ const SMALL_RECT *lpConsoleWindow )
---------------------------------------------------------------
[Pending]
----------------------------------------------------------------
BOOL WINAPI SetCurrentConsoleFontEx( _In_ HANDLE hConsoleOutput,
_In_ BOOL bMaximumWindow, _In_
PCONSOLE_FONT_INFOEX lpConsoleCurrentFontEx )
----------------------------------------------------------------
[Pending]
----------------------------------------------------------------------
BOOL WINAPI SetStdHandle( _In_ DWORD nStdHandle, _In_ HANDLE hHandle )
----------------------------------------------------------------------
[Pending]
----------------------------------------------------------
BOOL WINAPI WriteConsole( _In_ HANDLE hConsoleOutput, _In_
const VOID *lpBuffer, _In_ DWORD nNumberOfCharsToWrite,
_Out_opt_ LPDWORD lpNumberOfCharsWritten,
_Reserved_ LPVOID lpReserved )
----------------------------------------------------------
[Pending]
---------------------------------------------------------
BOOL WINAPI WriteConsoleInput( _In_ HANDLE hConsoleInput,
_In_ const INPUT_RECORD *lpBuffer, _In_ DWORD nLength,
_Out_ LPDWORD lpNumberOfEventsWritten )
---------------------------------------------------------
[Pending]
---------------------------------------------------------------
BOOL WINAPI WriteConsoleOutput( _In_ HANDLE hConsoleOutput,
_In_ const CHAR_INFO *lpBuffer, _In_ COORD dwBufferSize,
_In_ COORD dwBufferCoord, _Inout_ PSMALL_RECT lpWriteRegion )
---------------------------------------------------------------
[Pending]
--------------------------------------------------------------------
BOOL WINAPI WriteConsoleOutputAttribute( _In_ HANDLE hConsoleOutput,
_In_ const WORD *lpAttribute, _In_ DWORD nLength, _In_
COORD dwWriteCoord, _Out_ LPDWORD lpNumberOfAttrsWritten )
--------------------------------------------------------------------
[Pending]
------------------------------------------------------------------------
BOOL WINAPI WriteConsoleOutputCharacter( _In_ HANDLE hConsoleOutput,
_In_ LPCTSTR lpCharacter, _In_ DWORD nLength, _In_ COORD dwWriteCoord,
_Out_ LPDWORD lpNumberOfCharsWritten )
------------------------------------------------------------------------
[Pending]