[CLASSPNP] Fix MSVC build. Brought to you by Timo.
[reactos.git] / reactos / include / crt / sec_api / conio_s.h
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER within this package.
5 */
6
7 #ifndef _INC_CONIO_S
8 #define _INC_CONIO_S
9
10 #include <conio.h>
11
12 #if defined(MINGW_HAS_SECURE_API)
13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17
18 _Check_return_wat_
19 _CRTIMP
20 errno_t
21 __cdecl
22 _cgets_s(
23 _Out_writes_z_(_Size) char *_Buffer,
24 _In_ size_t _Size,
25 _Out_ size_t *_SizeRead);
26
27 _Check_return_opt_
28 _CRTIMP
29 int
30 __cdecl
31 _cprintf_s(
32 _In_z_ _Printf_format_string_ const char *_Format,
33 ...);
34
35 _Check_return_opt_
36 _CRTIMP
37 int
38 __cdecl
39 _cscanf_s(
40 _In_z_ _Scanf_s_format_string_ const char *_Format,
41 ...);
42
43 _Check_return_opt_
44 _CRTIMP
45 int
46 __cdecl
47 _cscanf_s_l(
48 _In_z_ _Scanf_s_format_string_ const char *_Format,
49 _In_opt_ _locale_t _Locale,
50 ...);
51
52 _Check_return_opt_
53 _CRTIMP
54 int
55 __cdecl
56 _vcprintf_s(
57 _In_z_ _Printf_format_string_ const char *_Format,
58 va_list _ArgList);
59
60 _Check_return_opt_
61 _CRTIMP
62 int
63 __cdecl
64 _cprintf_s_l(
65 _In_z_ _Printf_format_string_ const char *_Format,
66 _In_opt_ _locale_t _Locale,
67 ...);
68
69 _Check_return_opt_
70 _CRTIMP
71 int
72 __cdecl
73 _vcprintf_s_l(
74 _In_z_ _Printf_format_string_ const char *_Format,
75 _In_opt_ _locale_t _Locale,
76 va_list _ArgList);
77
78 #ifndef _WCONIO_DEFINED_S
79 #define _WCONIO_DEFINED_S
80
81 _Check_return_wat_
82 _CRTIMP
83 errno_t
84 __cdecl
85 _cgetws_s(
86 _Out_writes_to_(_SizeInWords, *_SizeRead) wchar_t *_Buffer,
87 _In_ size_t _SizeInWords,
88 _Out_ size_t *_SizeRead);
89
90 _Check_return_opt_
91 _CRTIMP
92 int
93 __cdecl
94 _cwprintf_s(
95 _In_z_ _Printf_format_string_ const wchar_t *_Format,
96 ...);
97
98 _Check_return_opt_
99 _CRTIMP
100 int
101 __cdecl
102 _cwscanf_s(
103 _In_z_ _Scanf_s_format_string_ const wchar_t *_Format,
104 ...);
105
106 _Check_return_opt_
107 _CRTIMP
108 int
109 __cdecl
110 _cwscanf_s_l(
111 _In_z_ _Scanf_s_format_string_ const wchar_t *_Format,
112 _In_opt_ _locale_t _Locale,
113 ...);
114
115 _Check_return_opt_
116 _CRTIMP
117 int
118 __cdecl
119 _vcwprintf_s(
120 _In_z_ _Printf_format_string_ const wchar_t *_Format,
121 va_list _ArgList);
122
123 _CRTIMP
124 int
125 __cdecl
126 _cwprintf_s_l(
127 _In_z_ _Printf_format_string_ const wchar_t *_Format,
128 _In_opt_ _locale_t _Locale,
129 ...);
130
131 _CRTIMP
132 int
133 __cdecl
134 _vcwprintf_s_l(
135 _In_z_ _Printf_format_string_ const wchar_t *_Format,
136 _In_opt_ _locale_t _Locale,
137 va_list _ArgList);
138
139 #endif /* _WCONIO_DEFINED_S */
140
141 #ifdef __cplusplus
142 }
143 #endif
144
145 #endif /* MINGW_HAS_SECURE_API */
146
147 #endif /* _INC_CONIO_S */