- Notifications
You must be signed in to change notification settings - Fork 8.5k
/
Copy pathmisc.h
41 lines (31 loc) · 1.25 KB
/
misc.h
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
/*++
Copyright (c) Microsoft Corporation
Licensed under the MIT license.
Module Name:
- misc.h
Abstract:
- This file implements the NT console server font routines.
Author:
- Therese Stowell (ThereseS) 22-Jan-1991
Revision History:
- Mike Griese, 30-oct-2017: Moved all functions that didn't require the host
to the contypes lib. The ones that are still here in one way or another
require code from the host to build.
--*/
#pragma once
#include"screenInfo.hpp"
#include"../types/inc/IInputEvent.hpp"
#include<deque>
#include<memory>
WCHARCharToWchar(_In_reads_(cch) constchar*constpch, constUINTcch);
voidSetConsoleCPInfo(constBOOLfOutput);
intConvertToOem(constUINTuiCodePage,
_In_reads_(cchSource) constWCHAR*constpwchSource,
constUINTcchSource,
_Out_writes_(cchTarget) CHAR*constpchTarget,
constUINTcchTarget) noexcept;
intConvertOutputToUnicode(_In_UINTuiCodePage,
_In_reads_(cchSource) constCHAR*constpchSource,
_In_UINTcchSource,
_Out_writes_(cchTarget) WCHAR*pwchTarget,
_In_UINTcchTarget) noexcept;