paredeyes commited on
Commit
c534218
·
verified ·
1 Parent(s): 9cf2005

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +2 -0
  2. miniCUDA124/nvvm/bin/nvvm64_40_0.dll +3 -0
  3. miniMSVC/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/clang_rt.asan_dynamic-x86_64.dll +3 -0
  4. miniMSVC/Windows Kits/10/Include/10.0.26100.0/cppwinrt/LICENSE.txt +24 -0
  5. miniMSVC/Windows Kits/10/Include/10.0.26100.0/shared/IssPer16.h +329 -0
  6. miniMSVC/Windows Kits/10/Include/10.0.26100.0/shared/atsmedia.h +43 -0
  7. miniMSVC/Windows Kits/10/Include/10.0.26100.0/shared/common.ver +269 -0
  8. miniMSVC/Windows Kits/10/Include/10.0.26100.0/shared/drivinit.h +11 -0
  9. miniMSVC/Windows Kits/10/Include/10.0.26100.0/shared/ksamd64_stub.inc +1 -0
  10. miniMSVC/Windows Kits/10/Include/10.0.26100.0/shared/kxamd64_stub.inc +1 -0
  11. miniMSVC/Windows Kits/10/Include/10.0.26100.0/shared/ntverp.h +157 -0
  12. miniMSVC/Windows Kits/10/Include/10.0.26100.0/shared/ntverp.ver +4 -0
  13. miniMSVC/Windows Kits/10/Include/10.0.26100.0/shared/scsiscan.h +120 -0
  14. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/assert.h +50 -0
  15. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/complex.h +580 -0
  16. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/conio.h +504 -0
  17. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt.h +0 -0
  18. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_io.h +572 -0
  19. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_malloc.h +234 -0
  20. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_math.h +1026 -0
  21. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_math_defines.h +39 -0
  22. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_memcpy_s.h +93 -0
  23. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_memory.h +122 -0
  24. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_search.h +218 -0
  25. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_share.h +33 -0
  26. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_startup.h +199 -0
  27. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_stdio_config.h +131 -0
  28. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_terminate.h +51 -0
  29. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_wconio.h +424 -0
  30. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_wctype.h +205 -0
  31. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_wdirect.h +63 -0
  32. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_wio.h +270 -0
  33. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_wprocess.h +127 -0
  34. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_wstdio.h +2171 -0
  35. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_wstdlib.h +481 -0
  36. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_wstring.h +641 -0
  37. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_wtime.h +207 -0
  38. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/crtdbg.h +816 -0
  39. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/ctype.h +310 -0
  40. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/direct.h +131 -0
  41. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/dos.h +61 -0
  42. miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/errno.h +137 -0
  43. miniMSVC/Windows Kits/10/bin/10.0.26100.0/x64/1033/wstracedumpresources.dll +0 -0
  44. miniMSVC/Windows Kits/10/bin/10.0.26100.0/x64/1033/wstraceutilresources.dll +0 -0
  45. miniMSVC/Windows Kits/10/bin/10.0.26100.0/x64/AccChecker/AccCheck.dll +0 -0
  46. miniMSVC/Windows Kits/10/bin/10.0.26100.0/x64/AccChecker/AccCheckConsole.exe +0 -0
  47. miniMSVC/Windows Kits/10/bin/10.0.26100.0/x64/AccChecker/AccCheckerCustomVerificationsHelp.htm +350 -0
  48. miniMSVC/Windows Kits/10/bin/10.0.26100.0/x64/AccChecker/AccCheckerHelp.htm +0 -0
  49. miniMSVC/Windows Kits/10/bin/10.0.26100.0/x64/AccChecker/AccCheckerWebARIAHelp.htm +0 -0
  50. miniMSVC/Windows Kits/10/bin/10.0.26100.0/x64/AccChecker/AccCheckerWebPluginHelp.htm +1226 -0
.gitattributes CHANGED
@@ -116,3 +116,5 @@ miniMSVC/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/c1.dll filter=lfs diff=lfs me
116
  miniCUDA124/bin/cusolver64_11.dll filter=lfs diff=lfs merge=lfs -text
117
  miniCUDA124/bin/cusolverMg64_11.dll filter=lfs diff=lfs merge=lfs -text
118
  miniMSVC/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/clang_rt.asan_dbg_dynamic-x86_64.dll filter=lfs diff=lfs merge=lfs -text
 
 
 
116
  miniCUDA124/bin/cusolver64_11.dll filter=lfs diff=lfs merge=lfs -text
117
  miniCUDA124/bin/cusolverMg64_11.dll filter=lfs diff=lfs merge=lfs -text
118
  miniMSVC/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/clang_rt.asan_dbg_dynamic-x86_64.dll filter=lfs diff=lfs merge=lfs -text
119
+ miniCUDA124/nvvm/bin/nvvm64_40_0.dll filter=lfs diff=lfs merge=lfs -text
120
+ miniMSVC/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/clang_rt.asan_dynamic-x86_64.dll filter=lfs diff=lfs merge=lfs -text
miniCUDA124/nvvm/bin/nvvm64_40_0.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ac7cae59a686a963316140023bf12f68966942e9bfc6dc4381a0483ce17644b
3
+ size 18457600
miniMSVC/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/clang_rt.asan_dynamic-x86_64.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b87e517e64b369d70053b2470546722fcba15afd46324bfb5984e5388b71d98e
3
+ size 1190968
miniMSVC/Windows Kits/10/Include/10.0.26100.0/cppwinrt/LICENSE.txt ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ C++ for the Windows Runtime (cppwinrt)
2
+
3
+ Copyright (c) Microsoft Corporation
4
+ All rights reserved.
5
+
6
+ MIT License
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy
9
+ of this software and associated documentation files (the "Software"), to deal
10
+ in the Software without restriction, including without limitation the rights
11
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
+ copies of the Software, and to permit persons to whom the Software is
13
+ furnished to do so, subject to the following conditions:
14
+
15
+ The above copyright notice and this permission notice shall be included in all
16
+ copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
+ SOFTWARE.
miniMSVC/Windows Kits/10/Include/10.0.26100.0/shared/IssPer16.h ADDED
@@ -0,0 +1,329 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //+-------------------------------------------------------------------------
2
+ //
3
+ // Microsoft Windows
4
+ // Copyright (C) Microsoft Corporation, 1992-1999.
5
+ //
6
+ // File: issperr.h
7
+ //
8
+ // Contents: Constant definitions for OLE HRESULT values.
9
+ //
10
+ // History: dd-mmm-yy Author Comment
11
+ //
12
+ // Notes:
13
+ // This is a generated file. Do not modify directly.
14
+ // The MC tool generates this file from dsyserr.mc
15
+ //
16
+ //--------------------------------------------------------------------------
17
+ #ifndef _ISSPERR_H_
18
+ #define _ISSPERR_H_
19
+ #if _MSC_VER > 1000
20
+ #pragma once
21
+ #endif
22
+ #include <winapifamily.h>
23
+
24
+ #pragma region Desktop Family
25
+ #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
26
+
27
+
28
+ // Define the status type.
29
+
30
+ #ifdef FACILITY_SECURITY
31
+ #undef FACILITY_SECURITY
32
+ #endif
33
+
34
+ #ifdef STATUS_SEVERITY_SUCCESS
35
+ #undef STATUS_SEVERITY_SUCCESS
36
+ #endif
37
+ //#ifdef STATUS_SEVERITY_ERROR
38
+ //#undef STATUS_SEVERITY_ERROR
39
+ //#endif
40
+
41
+ // Define the severities
42
+ //
43
+ // Values are 32 bit values layed out as follows:
44
+ //
45
+ // 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
46
+ // 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
47
+ // +---+-+-+-----------------------+-------------------------------+
48
+ // |Sev|C|R| Facility | Code |
49
+ // +---+-+-+-----------------------+-------------------------------+
50
+ //
51
+ // where
52
+ //
53
+ // Sev - is the severity code
54
+ //
55
+ // 00 - Success
56
+ // 01 - Informational
57
+ // 10 - Warning
58
+ // 11 - Error
59
+ //
60
+ // C - is the Customer code flag
61
+ //
62
+ // R - is a reserved bit
63
+ //
64
+ // Facility - is the facility code
65
+ //
66
+ // Code - is the facility's status code
67
+ //
68
+ //
69
+ // Define the facility codes
70
+ //
71
+ #define FACILITY_SECURITY 0x9
72
+ #define FACILITY_NULL 0
73
+
74
+
75
+ //
76
+ // Define the severity codes
77
+ //
78
+ #define STATUS_SEVERITY_SUCCESS 0x0
79
+ #define STATUS_SEVERITY_COERROR 0x2
80
+
81
+
82
+ //
83
+ // MessageId: SEC_E_INSUFFICIENT_MEMORY
84
+ //
85
+ // MessageText:
86
+ //
87
+ // Not enough memory is available to complete this request
88
+ //
89
+ #define SEC_E_INSUFFICIENT_MEMORY ((SECURITY_STATUS)0x1300)
90
+
91
+ //
92
+ // MessageId: SEC_E_INVALID_HANDLE
93
+ //
94
+ // MessageText:
95
+ //
96
+ // The handle specified is invalid
97
+ //
98
+ #define SEC_E_INVALID_HANDLE ((SECURITY_STATUS)0x1301)
99
+
100
+ //
101
+ // MessageId: SEC_E_UNSUPPORTED_FUNCTION
102
+ //
103
+ // MessageText:
104
+ //
105
+ // The function requested is not supported
106
+ //
107
+ #define SEC_E_UNSUPPORTED_FUNCTION ((SECURITY_STATUS)0x1302)
108
+
109
+
110
+ //
111
+ // MessageId: SEC_E_TARGET_UNKNOWN
112
+ //
113
+ // MessageText:
114
+ //
115
+ // The specified target is unknown or unreachable
116
+ //
117
+ #define SEC_E_TARGET_UNKNOWN ((SECURITY_STATUS)0x1303)
118
+
119
+ //
120
+ // MessageId: SEC_E_INTERNAL_ERROR
121
+ //
122
+ // MessageText:
123
+ //
124
+ // The Local Security Authority cannot be contacted
125
+ //
126
+ #define SEC_E_INTERNAL_ERROR ((SECURITY_STATUS)0x1304)
127
+
128
+ //
129
+ // MessageId: SEC_E_SECPKG_NOT_FOUND
130
+ //
131
+ // MessageText:
132
+ //
133
+ // The requested security package does not exist
134
+ //
135
+ #define SEC_E_SECPKG_NOT_FOUND ((SECURITY_STATUS)0x1305)
136
+
137
+
138
+ //
139
+ // MessageId: SEC_E_NOT_OWNER
140
+ //
141
+ // MessageText:
142
+ //
143
+ // The caller is not the owner of the desired credentials
144
+ //
145
+ #define SEC_E_NOT_OWNER ((SECURITY_STATUS)0x1306)
146
+
147
+ //
148
+ // MessageId: SEC_E_CANNOT_INSTALL
149
+ //
150
+ // MessageText:
151
+ //
152
+ // The security package failed to initialize, and cannot be installed
153
+ //
154
+ #define SEC_E_CANNOT_INSTALL ((SECURITY_STATUS)0x1307)
155
+
156
+ //
157
+ // MessageId: SEC_E_INVALID_TOKEN
158
+ //
159
+ // MessageText:
160
+ //
161
+ // The token supplied to the function is invalid
162
+ //
163
+ #define SEC_E_INVALID_TOKEN ((SECURITY_STATUS)0x1308)
164
+
165
+ //
166
+ // MessageId: SEC_E_CANNOT_PACK
167
+ //
168
+ // MessageText:
169
+ //
170
+ // The security package is not able to marshall the logon buffer,
171
+ // so the logon attempt has failed
172
+ //
173
+ #define SEC_E_CANNOT_PACK ((SECURITY_STATUS)0x1309)
174
+
175
+ //
176
+ // MessageId: SEC_E_QOP_NOT_SUPPORTED
177
+ //
178
+ // MessageText:
179
+ //
180
+ // The per-message Quality of Protection is not supported by the
181
+ // security package
182
+ //
183
+ #define SEC_E_QOP_NOT_SUPPORTED ((SECURITY_STATUS)0x130A)
184
+
185
+ //
186
+ // MessageId: SEC_E_NO_IMPERSONATION
187
+ //
188
+ // MessageText:
189
+ //
190
+ // The security context does not allow impersonation of the client
191
+ //
192
+ #define SEC_E_NO_IMPERSONATION ((SECURITY_STATUS)0x130B)
193
+
194
+ //
195
+ // MessageId: SEC_E_LOGON_DENIED
196
+ //
197
+ // MessageText:
198
+ //
199
+ // The logon attempt failed
200
+ //
201
+ #define SEC_E_LOGON_DENIED ((SECURITY_STATUS)0x130C)
202
+
203
+ //
204
+ // MessageId: SEC_E_UNKNOWN_CREDENTIALS
205
+ //
206
+ // MessageText:
207
+ //
208
+ // The credentials supplied to the package were not
209
+ // recognized
210
+ //
211
+ #define SEC_E_UNKNOWN_CREDENTIALS ((SECURITY_STATUS)0x130D)
212
+
213
+ //
214
+ // MessageId: SEC_E_NO_CREDENTIALS
215
+ //
216
+ // MessageText:
217
+ //
218
+ // No credentials are available in the security package
219
+ //
220
+ #define SEC_E_NO_CREDENTIALS ((SECURITY_STATUS)0x130E)
221
+
222
+ //
223
+ // MessageId: SEC_E_MESSAGE_ALTERED
224
+ //
225
+ // MessageText:
226
+ //
227
+ // The message supplied for verification has been altered
228
+ //
229
+ #define SEC_E_MESSAGE_ALTERED ((SECURITY_STATUS)0x130F)
230
+
231
+ //
232
+ // MessageId: SEC_E_OUT_OF_SEQUENCE
233
+ //
234
+ // MessageText:
235
+ //
236
+ // The message supplied for verification is out of sequence
237
+ //
238
+ #define SEC_E_OUT_OF_SEQUENCE ((SECURITY_STATUS)0x1310)
239
+
240
+ //
241
+ // MessageId: SEC_E_NO_AUTHENTICATING_AUTHORITY
242
+ //
243
+ // MessageText:
244
+ //
245
+ // No authority could be contacted for authentication.
246
+ //
247
+ #define SEC_E_NO_AUTHENTICATING_AUTHORITY ((SECURITY_STATUS)0x1311)
248
+
249
+ // MessageId: SEC_E_CONTEXT_EXPIRED
250
+ //
251
+ // MessageText:
252
+ //
253
+ // The context has expired and can no longer be used.
254
+ //
255
+ #define SEC_E_CONTEXT_EXPIRED ((SECURITY_STATUS)0x1312)
256
+
257
+ //
258
+ // MessageId: SEC_E_INCOMPLETE_MESSAGE
259
+ //
260
+ // MessageText:
261
+ //
262
+ // The supplied message is incomplete. The signature was not verified.
263
+ //
264
+ #define SEC_E_INCOMPLETE_MESSAGE ((SECURITY_STATUS)0x1313)
265
+
266
+ //
267
+ // MessageId: SEC_I_CONTINUE_NEEDED
268
+ //
269
+ // MessageText:
270
+ //
271
+ // The function completed successfully, but must be called
272
+ // again to complete the context
273
+ //
274
+ #define SEC_I_CONTINUE_NEEDED ((SECURITY_STATUS)0x1012)
275
+
276
+ //
277
+ // MessageId: SEC_I_COMPLETE_NEEDED
278
+ //
279
+ // MessageText:
280
+ //
281
+ // The function completed successfully, but CompleteToken
282
+ // must be called
283
+ //
284
+ #define SEC_I_COMPLETE_NEEDED ((SECURITY_STATUS)0x1013)
285
+
286
+ //
287
+ // MessageId: SEC_I_COMPLETE_AND_CONTINUE
288
+ //
289
+ // MessageText:
290
+ //
291
+ // The function completed successfully, but both CompleteToken
292
+ // and this function must be called to complete the context
293
+ //
294
+ #define SEC_I_COMPLETE_AND_CONTINUE ((SECURITY_STATUS)0x1014)
295
+
296
+ //
297
+ // MessageId: SEC_I_LOCAL_LOGON
298
+ //
299
+ // MessageText:
300
+ //
301
+ // The logon was completed, but no network authority was
302
+ // available. The logon was made using locally known information
303
+ //
304
+ #define SEC_I_LOCAL_LOGON ((SECURITY_STATUS)0x1015)
305
+
306
+ //
307
+ // MessageId: SEC_E_OK
308
+ //
309
+ // MessageText:
310
+ //
311
+ // Call completed successfully
312
+ //
313
+ #define SEC_E_OK ((SECURITY_STATUS)0x0000)
314
+
315
+ //
316
+ // Older error names for backwards compatibility
317
+ //
318
+
319
+
320
+ #define SEC_E_NOT_SUPPORTED SEC_E_UNSUPPORTED_FUNCTION
321
+ #define SEC_E_NO_SPM SEC_E_INTERNAL_ERROR
322
+ #define SEC_E_BAD_PKGID SEC_E_SECPKG_NOT_FOUND
323
+
324
+
325
+
326
+ #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
327
+ #pragma endregion
328
+
329
+ #endif // _ISSPERR_H_
miniMSVC/Windows Kits/10/Include/10.0.26100.0/shared/atsmedia.h ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //------------------------------------------------------------------------------
2
+ // File: ATSMedia.h
3
+ //
4
+ // Desc: Broadcast Driver Architecture Media Definitions for ATSC
5
+ //
6
+ // Copyright (c) 1996 - 2001, Microsoft Corporation. All rights reserved.
7
+ //------------------------------------------------------------------------------
8
+
9
+
10
+ #include <winapifamily.h>
11
+
12
+ #pragma region Desktop Family
13
+ #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
14
+
15
+ #if !defined(_KSMEDIA_)
16
+ #error KSMEDIA.H must be included before BDAMEDIA.H
17
+ #endif // !defined(_KSMEDIA_)
18
+
19
+ #if !defined(_BDAMEDIA_)
20
+ #error BDAMEDIA.H must be included before ATSCMEDIA.H
21
+ #endif // !defined(_KSMEDIA_)
22
+
23
+ #if !defined(_ATSCMEDIA_)
24
+ #define _ATSCMEDIA_
25
+
26
+
27
+ //===========================================================================
28
+ //
29
+ // ATSC Network Type
30
+ //
31
+ //===========================================================================
32
+
33
+ #define STATIC_BDANETWORKTYPE_ATSC\
34
+ 0x71985f51, 0x1ca1, 0x11d3, 0x9c, 0xc8, 0x0, 0xc0, 0x4f, 0x79, 0x71, 0xe0
35
+ DEFINE_GUIDSTRUCT("71985F51-1CA1-11d3-9CC8-00C04F7971E0", BDANETWORKTYPE_ATSC);
36
+ #define BDANETWORKTYPE_ATSC DEFINE_GUIDNAMED(BDANETWORKTYPE_ATSC)
37
+
38
+
39
+ #endif // _ATSCMEDIA_
40
+
41
+ #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
42
+ #pragma endregion
43
+
miniMSVC/Windows Kits/10/Include/10.0.26100.0/shared/common.ver ADDED
@@ -0,0 +1,269 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ /*---------------------------------------------------------------*/
3
+ /* */
4
+ /* The following section actually creates the version structure. */
5
+ /* They are ignored if we are not being invoked by RC. */
6
+ /* */
7
+ /* ntverp.H must be included before including this file */
8
+ /* */
9
+ /* If VER_LEGALCOPYRIGHT_STR is not defined, it will be */
10
+ /* constructed using VER_LEGALCOPYRIGHT_YEARS, so at least one */
11
+ /* these macros must be defined before including this file. */
12
+ /* */
13
+ /* VER_FILETYPE, VER_FILESUBTYPE, VER_FILEDESCRIPTION_STR, and */
14
+ /* VER_INTERNALNAME_STR must be defined before including this */
15
+ /* file. */
16
+ /* */
17
+ /* If VER_FILEVERSION is not defined, VER_PRODUCTVERSION will be */
18
+ /* used instead. If VER_FILEVERSION_STR is not defined, */
19
+ /* VER_PRODUCTVERSION_STR will be used instead. */
20
+ /* */
21
+ /* If VER_ORIGINALFILENAME_STR is not defined, it is set to */
22
+ /* the value in VER_INTERNALNAME_STR. */
23
+ /* */
24
+ /* If INTL is defined, then this is assumed to be an */
25
+ /* an international build; two string blocks will be created, */
26
+ /* (since all version resources must have English), and the */
27
+ /* second one can be localized */
28
+ /* */
29
+ /*---------------------------------------------------------------*/
30
+
31
+
32
+ /****************************************************************
33
+ When updating the copy right year Please Make sure you also update the
34
+ constant VER_LEGALCOPYRIGHT_STR_WITH_YEARS below
35
+ *****************************************************************/
36
+ #ifndef VER_LEGALCOPYRIGHT_YEARS
37
+ #define VER_LEGALCOPYRIGHT_YEARS "2021"
38
+ #endif
39
+
40
+ #ifndef VER_LEGALCOPYRIGHT_STR_WITH_YEARS
41
+ #define VER_LEGALCOPYRIGHT_STR_WITH_YEARS L"\251 2021 Microsoft Corporation. All rights reserved."
42
+ #endif
43
+
44
+ #ifndef VER_LEGALCOPYRIGHT_STR
45
+ #if defined(RC_INVOKED) && !defined(WIN16)
46
+ #define VER_LEGALCOPYRIGHT_STR L"\251 Microsoft Corporation. All rights reserved."
47
+ #else
48
+ #define VER_LEGALCOPYRIGHT_STR "Copyright (c) Microsoft Corporation. All rights reserved."
49
+ #endif
50
+ #endif
51
+
52
+
53
+ #ifndef VER_PRODUCTNAME_STR
54
+ #ifdef RC_INVOKED
55
+ #define VER_PRODUCTNAME_STR L"Microsoft\256 Windows\256 Operating System"
56
+ #else
57
+ #define VER_PRODUCTNAME_STR "Microsoft (R) Windows (R) Operating System"
58
+ #endif
59
+ #endif
60
+
61
+ #ifndef VER_PRODUCTVERSION
62
+ #define VER_PRODUCTVERSION 5,00,01,001
63
+ #endif
64
+
65
+ #ifndef VER_FILEVERSION
66
+ #define VER_FILEVERSION VER_PRODUCTVERSION
67
+ #endif
68
+
69
+ #ifndef VER_PRODUCTVERSION_STR
70
+ #define VER_PRODUCTVERSION_STR "5.00"
71
+ #endif
72
+
73
+ #ifndef VER_FILEVERSION_STR
74
+ #define VER_FILEVERSION_STR VER_PRODUCTVERSION_STR
75
+ #endif
76
+
77
+ #ifndef VER_ORIGINALFILENAME_STR
78
+ #define VER_ORIGINALFILENAME_STR VER_INTERNALNAME_STR
79
+ #endif
80
+
81
+ #ifdef EXPORT_CONTROLLED
82
+
83
+ #ifdef EXPORT
84
+ #define EXPORT_TAG " (Export Version)"
85
+ #else
86
+ #define EXPORT_TAG " (US/Canada Only, Not for Export)"
87
+ #endif
88
+
89
+ #else /* Not Export Controlled */
90
+
91
+ #define EXPORT_TAG
92
+
93
+ #endif
94
+
95
+ #if defined(__BUILDMACHINE__)
96
+
97
+ #if (defined(_NEED_FULLVERSION_INFO) || !defined(OFFICIAL_BUILD))
98
+ #if defined(__BUILDDATE__)
99
+ #define B2(x,y) " (" #x "." #y ")"
100
+ #define B1(x,y) B2(x, y)
101
+ #if (defined(_NEED_FULLVERSION_INFO) && defined(OFFICIAL_BUILD) && defined(_BUILDBRANCH))
102
+ #define BUILD_MACHINE_TAG B1(_BUILDBRANCH, __BUILDDATE__)
103
+ #else
104
+ #define BUILD_MACHINE_TAG B1(__BUILDMACHINE__, __BUILDDATE__)
105
+ #endif
106
+ #else
107
+ #define B2(x) " (" #x ".160101.0800)"
108
+ #define B1(x) B2(x)
109
+ #define BUILD_MACHINE_TAG B1(__BUILDMACHINE__)
110
+ #endif
111
+ #else
112
+ #define BUILD_MACHINE_TAG " (WinBuild.160101.0800)"
113
+ #endif
114
+
115
+ #if defined(__BUILDMACHINE_LEN__)
116
+ #if __BUILDMACHINE_LEN__ >= 25
117
+ #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG
118
+ #elif __BUILDMACHINE_LEN__ == 24
119
+ #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
120
+ #elif __BUILDMACHINE_LEN__ == 23
121
+ #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
122
+ #elif __BUILDMACHINE_LEN__ == 22
123
+ #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
124
+ #elif __BUILDMACHINE_LEN__ == 21
125
+ #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
126
+ #elif __BUILDMACHINE_LEN__ == 20
127
+ #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
128
+ #elif __BUILDMACHINE_LEN__ == 19
129
+ #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
130
+ #elif __BUILDMACHINE_LEN__ == 18
131
+ #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
132
+ #elif __BUILDMACHINE_LEN__ == 17
133
+ #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
134
+ #elif __BUILDMACHINE_LEN__ == 16
135
+ #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
136
+ #elif __BUILDMACHINE_LEN__ == 15
137
+ #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
138
+ #elif __BUILDMACHINE_LEN__ == 14
139
+ #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
140
+ #elif __BUILDMACHINE_LEN__ == 13
141
+ #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
142
+ #elif __BUILDMACHINE_LEN__ == 12
143
+ #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
144
+ #elif __BUILDMACHINE_LEN__ == 11
145
+ #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
146
+ #elif __BUILDMACHINE_LEN__ == 10
147
+ #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
148
+ #elif __BUILDMACHINE_LEN__ == 9
149
+ #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
150
+ #elif __BUILDMACHINE_LEN__ == 8
151
+ #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
152
+ #elif __BUILDMACHINE_LEN__ == 7
153
+ #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
154
+ #elif __BUILDMACHINE_LEN__ == 6
155
+ #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
156
+ #elif __BUILDMACHINE_LEN__ == 5
157
+ #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
158
+ #elif __BUILDMACHINE_LEN__ == 4
159
+ #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
160
+ #elif __BUILDMACHINE_LEN__ == 3
161
+ #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
162
+ #elif __BUILDMACHINE_LEN__ == 2
163
+ #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
164
+ #elif __BUILDMACHINE_LEN__ == 1
165
+ #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
166
+ #else
167
+ #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG
168
+ #endif
169
+ #else
170
+ #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG
171
+ #endif
172
+ #else
173
+ #define BUILD_MACHINE_TAG
174
+ #define BUILD_MACHINE_TAG_PADDED
175
+ #endif
176
+
177
+ #ifdef VER_LANGNEUTRAL
178
+ #ifndef VER_VERSION_UNICODE_LANG
179
+ #define VER_VERSION_UNICODE_LANG "000004B0" /* LANG_NEUTRAL/SUBLANG_NEUTRAL, Unicode CP */
180
+ #endif
181
+ #ifndef VER_VERSION_ANSI_LANG
182
+ #define VER_VERSION_ANSI_LANG "000004E4" /* LANG_NEUTRAL/SUBLANG_NEUTRAL, Ansi CP */
183
+ #endif
184
+ #ifndef VER_VERSION_TRANSLATION
185
+ #define VER_VERSION_TRANSLATION 0x0000, 0x04B0
186
+ #endif
187
+ #else
188
+ #ifndef VER_VERSION_UNICODE_LANG
189
+ #define VER_VERSION_UNICODE_LANG "040904B0" /* LANG_ENGLISH/SUBLANG_ENGLISH_US, Unicode CP */
190
+ #endif
191
+ #ifndef VER_VERSION_ANSI_LANG
192
+ #define VER_VERSION_ANSI_LANG "0c0904E4" /* LANG_ENGLISH/SUBLANG_ENGLISH_US, Ansi CP */
193
+ #endif
194
+ #ifndef VER_VERSION_TRANSLATION
195
+ #define VER_VERSION_TRANSLATION 0x0409, 0x04B0
196
+ #endif
197
+ #endif
198
+
199
+
200
+ #ifdef SMP_ID
201
+ #define VER_SAMPLE_IDENTIFIER_STR SMP_ID
202
+ #endif
203
+
204
+ #ifndef VER_SAMPLE_IDENTIFIER
205
+ #define VER_SAMPLE_IDENTIFIER "SAMPLE_IDENTIFIER"
206
+ #endif
207
+
208
+ #ifdef VER_SAMPLE_IDENTIFIER_STR
209
+ resname RCDATA
210
+ {
211
+ VER_SAMPLE_IDENTIFIER,
212
+ VER_SAMPLE_IDENTIFIER_STR
213
+ }
214
+ #endif
215
+
216
+
217
+ #ifdef RC_INVOKED
218
+
219
+ VS_VERSION_INFO VERSIONINFO
220
+ FILEVERSION VER_FILEVERSION
221
+ PRODUCTVERSION VER_PRODUCTVERSION
222
+ FILEFLAGSMASK VER_FILEFLAGSMASK
223
+ FILEFLAGS VER_FILEFLAGS
224
+ FILEOS VER_FILEOS
225
+ FILETYPE VER_FILETYPE
226
+ FILESUBTYPE VER_FILESUBTYPE
227
+ BEGIN
228
+ BLOCK "StringFileInfo"
229
+ BEGIN
230
+ BLOCK VER_VERSION_UNICODE_LANG
231
+ BEGIN
232
+ VALUE "CompanyName", VER_COMPANYNAME_STR
233
+ VALUE "FileDescription", VER_FILEDESCRIPTION_STR EXPORT_TAG
234
+ VALUE "FileVersion", VER_FILEVERSION_STR BUILD_MACHINE_TAG_PADDED
235
+ VALUE "InternalName", VER_INTERNALNAME_STR
236
+ VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR
237
+ VALUE "OriginalFilename",VER_ORIGINALFILENAME_STR
238
+ VALUE "ProductName", VER_PRODUCTNAME_STR
239
+ VALUE "ProductVersion", VER_PRODUCTVERSION_STR
240
+ #ifdef VER_OLESELFREGISTER
241
+ VALUE "OleSelfRegister", "\0"
242
+ #endif
243
+ END
244
+
245
+ #ifdef VER_ANSICP /* Some apps are hard coded to look for ANSI CP. */
246
+ BLOCK VER_VERSION_ANSI_LANG
247
+ BEGIN
248
+ VALUE "CompanyName", VER_COMPANYNAME_STR
249
+ VALUE "FileDescription", VER_FILEDESCRIPTION_STR EXPORT_TAG
250
+ VALUE "FileVersion", VER_FILEVERSION_STR
251
+ VALUE "InternalName", VER_INTERNALNAME_STR
252
+ VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR
253
+ VALUE "OriginalFilename",VER_ORIGINALFILENAME_STR
254
+ VALUE "ProductName", VER_PRODUCTNAME_STR
255
+ VALUE "ProductVersion", VER_PRODUCTVERSION_STR
256
+ #ifdef VER_OLESELFREGISTER
257
+ VALUE "OleSelfRegister", "\0"
258
+ #endif
259
+ END
260
+ #endif
261
+ END
262
+
263
+ BLOCK "VarFileInfo"
264
+ BEGIN
265
+ VALUE "Translation", VER_VERSION_TRANSLATION
266
+ END
267
+ END
268
+
269
+ #endif
miniMSVC/Windows Kits/10/Include/10.0.26100.0/shared/drivinit.h ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //+---------------------------------------------------------------------------
2
+ //
3
+ // Microsoft Windows
4
+ // Copyright (C) Microsoft Corporation, 1992-1999.
5
+ //
6
+ // File: drivinit.h
7
+ //
8
+ //----------------------------------------------------------------------------
9
+
10
+ // All items moved to wingdi.h
11
+
miniMSVC/Windows Kits/10/Include/10.0.26100.0/shared/ksamd64_stub.inc ADDED
@@ -0,0 +1 @@
 
 
1
+ include kxamd64.inc
miniMSVC/Windows Kits/10/Include/10.0.26100.0/shared/kxamd64_stub.inc ADDED
@@ -0,0 +1 @@
 
 
1
+ include macamd64.inc
miniMSVC/Windows Kits/10/Include/10.0.26100.0/shared/ntverp.h ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // Copyright (C) Microsoft. All rights reserved.
3
+ //
4
+ /****************************************************************************
5
+ * *
6
+ * ntverp.H -- Version information for internal builds *
7
+ * *
8
+ * This file is only modified by the official builder to update the *
9
+ * VERSION, VER_PRODUCTVERSION, VER_PRODUCTVERSION_STR and *
10
+ * VER_PRODUCTBETA_STR values. *
11
+ * *
12
+ ****************************************************************************
13
+ /*--------------------------------------------------------------*/
14
+ /* the following values should be modified by the official */
15
+ /* builder for each build */
16
+ /* */
17
+ /* the VER_PRODUCTBUILD lines must contain the product */
18
+ /* comments and end with the build#<CR><LF> */
19
+ /* */
20
+ /* the VER_PRODUCTBETA_STR lines must contain the product */
21
+ /* comments and end with "some string"<CR><LF> */
22
+ /*--------------------------------------------------------------*/
23
+
24
+ #if _MSC_VER > 1000
25
+ #pragma once
26
+ #endif
27
+
28
+
29
+ #define VER_PRODUCTBUILD /* NT */ 10011
30
+ #define VER_STATICPRODUCTBUILD 10011
31
+
32
+ #define VER_PRODUCTBUILD_QFE 16384
33
+ #define VER_STATICPRODUCTBUILD_QFE 16384
34
+
35
+ //
36
+ // Several components now use NT's VER_PRODUCTBUILD and VER_PRODUCTBUILD_QFE,
37
+ // but have their own major and minor version numbers. Those folks all define
38
+ // VER_USE_OTHER_MAJOR_MINOR_VER before including ntverp.h
39
+ //
40
+ #if !defined(VER_USE_OTHER_MAJOR_MINOR_VER)
41
+
42
+ // Postbuild will pick up these values as strings. Don't change
43
+ // the syntax of these lines without updating postbuild!
44
+ #define VER_PRODUCTMAJORVERSION 10
45
+ #define VER_PRODUCTMINORVERSION 0
46
+
47
+ #define VER_PRODUCTVERSION_W (0x0A00)
48
+ #define VER_PRODUCTVERSION_DW (0x0A000000 | VER_PRODUCTBUILD)
49
+
50
+ #endif // !VER_USE_OTHER_MAJOR_MINOR_VER
51
+
52
+ #define VER_PRODUCTBETA_STR /* NT */ ""
53
+
54
+ #define VER_PRODUCTVERSION_MAJORMINOR2(x,y) #x "." #y
55
+ #define VER_PRODUCTVERSION_MAJORMINOR1(x,y) VER_PRODUCTVERSION_MAJORMINOR2(x, y)
56
+ #define VER_PRODUCTVERSION_STRING VER_PRODUCTVERSION_MAJORMINOR1(VER_PRODUCTMAJORVERSION, VER_PRODUCTMINORVERSION)
57
+
58
+ #define LVER_PRODUCTVERSION_MAJORMINOR2(x,y) L## #x L"." L## #y
59
+ #define LVER_PRODUCTVERSION_MAJORMINOR1(x,y) LVER_PRODUCTVERSION_MAJORMINOR2(x, y)
60
+ #define LVER_PRODUCTVERSION_STRING LVER_PRODUCTVERSION_MAJORMINOR1(VER_PRODUCTMAJORVERSION, VER_PRODUCTMINORVERSION)
61
+
62
+ #define VER_PRODUCTVERSION VER_PRODUCTMAJORVERSION,VER_PRODUCTMINORVERSION,VER_PRODUCTBUILD,VER_PRODUCTBUILD_QFE
63
+
64
+
65
+
66
+ /*--------------------------------------------------------------*/
67
+ /* this value is used by third party drivers build with the DDK */
68
+ /* and internally, to avoid version number conflicts. */
69
+ /*--------------------------------------------------------------*/
70
+ #define VER_DDK_PRODUCTVERSION 10,0
71
+ #define VER_DDK_PRODUCTVERSION_STR "10.0"
72
+
73
+ #if (VER_PRODUCTBUILD < 10)
74
+ #define VER_BPAD "000"
75
+ #elif (VER_PRODUCTBUILD < 100)
76
+ #define VER_BPAD "00"
77
+ #elif (VER_PRODUCTBUILD < 1000)
78
+ #define VER_BPAD "0"
79
+ #else
80
+ #define VER_BPAD
81
+ #endif
82
+
83
+ #if (VER_PRODUCTBUILD < 10)
84
+ #define LVER_BPAD L"000"
85
+ #elif (VER_PRODUCTBUILD < 100)
86
+ #define LVER_BPAD L"00"
87
+ #elif (VER_PRODUCTBUILD < 1000)
88
+ #define LVER_BPAD L"0"
89
+ #else
90
+ #define LVER_BPAD
91
+ #endif
92
+
93
+ #define VER_PRODUCTVERSION_STR4(x) VER_PRODUCTVERSION_STRING "." VER_BPAD #x
94
+ #define VER_PRODUCTVERSION_STR3(x) VER_PRODUCTVERSION_STR4(x)
95
+ #define VER_PRODUCTVERSION_STR2(x,y) VER_PRODUCTVERSION_STRING "." VER_BPAD #x "." #y
96
+ #define VER_PRODUCTVERSION_STR1(x,y) VER_PRODUCTVERSION_STR2(x, y)
97
+ #define VER_PRODUCTVERSION_STR VER_PRODUCTVERSION_STR1(VER_PRODUCTBUILD, VER_PRODUCTBUILD_QFE)
98
+
99
+ #define LVER_PRODUCTVERSION_STR4(x) LVER_PRODUCTVERSION_STRING L"." LVER_BPAD L## #x
100
+ #define LVER_PRODUCTVERSION_STR3(x) LVER_PRODUCTVERSION_STR4(x)
101
+ #define LVER_PRODUCTVERSION_STR2(x,y) LVER_PRODUCTVERSION_STRING L"." LVER_BPAD L## #x L"." L## #y
102
+ #define LVER_PRODUCTVERSION_STR1(x,y) LVER_PRODUCTVERSION_STR2(x, y)
103
+ #define LVER_PRODUCTVERSION_STR LVER_PRODUCTVERSION_STR1(VER_PRODUCTBUILD, VER_PRODUCTBUILD_QFE)
104
+
105
+ #define VER_PRODUCTVERSION_STRING_TWO_PARTS VER_PRODUCTVERSION_STRING
106
+ #define VER_PRODUCTVERSION_STRING_THREE_PARTS VER_PRODUCTVERSION_STR3(VER_PRODUCTBUILD)
107
+ #define VER_PRODUCTVERSION_STRING_FOUR_PARTS VER_PRODUCTVERSION_STR
108
+
109
+ #define LVER_PRODUCTVERSION_STRING_TWO_PARTS LVER_PRODUCTVERSION_STRING
110
+ #define LVER_PRODUCTVERSION_STRING_THREE_PARTS LVER_PRODUCTVERSION_STR3(VER_PRODUCTBUILD)
111
+ #define LVER_PRODUCTVERSION_STRING_FOUR_PARTS LVER_PRODUCTVERSION_STR
112
+
113
+ /*--------------------------------------------------------------*/
114
+ /* the following section defines values used in the version */
115
+ /* data structure for all files, and which do not change. */
116
+ /*--------------------------------------------------------------*/
117
+
118
+ /* default is nodebug */
119
+ #if DBG
120
+ #define VER_DEBUG VS_FF_DEBUG
121
+ #else
122
+ #define VER_DEBUG 0
123
+ #endif
124
+
125
+ /* default is prerelease */
126
+ #if BETA
127
+ #define VER_PRERELEASE VS_FF_PRERELEASE
128
+ #else
129
+ #define VER_PRERELEASE 0
130
+ #endif
131
+
132
+ #if OFFICIAL_BUILD
133
+ #define VER_PRIVATE 0
134
+ #else
135
+ #define VER_PRIVATE VS_FF_PRIVATEBUILD
136
+ #endif
137
+
138
+ #define VER_FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
139
+ #define VER_FILEOS VOS_NT_WINDOWS32
140
+ #define VER_FILEFLAGS (VER_PRERELEASE|VER_DEBUG|VER_PRIVATE)
141
+
142
+ /*--------------------------------------------------------------*/
143
+ /* the following section defines values used in the version */
144
+ /* info for the kits */
145
+ /*--------------------------------------------------------------*/
146
+
147
+ #define VER_KITSCURVER L"Winv10.0"
148
+
149
+ /*--------------------------------------------------------------*/
150
+ /* the following section defines values used to define legacy */
151
+ /* version info */
152
+ /*--------------------------------------------------------------*/
153
+
154
+ #define VER_PRODUCTMAJORVERSIONWIN81 6
155
+ #define VER_PRODUCTMINORVERSIONWIN81 3
156
+
157
+ #include "ntverp.ver"
miniMSVC/Windows Kits/10/Include/10.0.26100.0/shared/ntverp.ver ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ #define VER_COMPANYNAME_STR "Windows (R) Win 7 DDK provider"
2
+ #define VER_PRODUCTNAME_STR "Windows (R) Win 7 DDK driver"
3
+ #define VER_LEGALTRADEMARKS_STR \
4
+ "Windows (R) is a registered trademark of Microsoft Corporation."
miniMSVC/Windows Kits/10/Include/10.0.26100.0/shared/scsiscan.h ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /****************************************************************************
2
+ *
3
+ * (C) COPYRIGHT 1996-2000, MICROSOFT CORP.
4
+ *
5
+ * FILE: scsiscan.h
6
+ *
7
+ * VERSION: 1.0
8
+ *
9
+ * DATE: 2/11/1997
10
+ *
11
+ * DESCRIPTION:
12
+ * IOCTL definitions for the SCSI scanner device driver.
13
+ *
14
+ *****************************************************************************/
15
+
16
+ //
17
+ // Turns off []
18
+ //
19
+ #pragma warning(disable : 4200)
20
+
21
+ #ifndef _SCSISCAN_H_
22
+ #define _SCSISCAN_H_
23
+ #include <winapifamily.h>
24
+
25
+ #pragma region Desktop Family
26
+ #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
27
+
28
+
29
+ // SCSISCAN_CMD.SrbFlags
30
+
31
+ #define SRB_FLAGS_DISABLE_SYNCH_TRANSFER 0x00000008
32
+ #define SRB_FLAGS_DISABLE_AUTOSENSE 0x00000020
33
+ #define SRB_FLAGS_DATA_IN 0x00000040
34
+ #define SRB_FLAGS_DATA_OUT 0x00000080
35
+ #define SRB_FLAGS_NO_DATA_TRANSFER 0x00000000
36
+
37
+ // SCSISCAN_CMD.SrbStatus definitions
38
+
39
+ #define SRB_STATUS_PENDING 0x00
40
+ #define SRB_STATUS_SUCCESS 0x01
41
+ #define SRB_STATUS_ABORTED 0x02
42
+ #define SRB_STATUS_ABORT_FAILED 0x03
43
+ #define SRB_STATUS_ERROR 0x04
44
+ #define SRB_STATUS_BUSY 0x05
45
+ #define SRB_STATUS_INVALID_REQUEST 0x06
46
+ #define SRB_STATUS_INVALID_PATH_ID 0x07
47
+ #define SRB_STATUS_NO_DEVICE 0x08
48
+ #define SRB_STATUS_TIMEOUT 0x09
49
+ #define SRB_STATUS_SELECTION_TIMEOUT 0x0A
50
+ #define SRB_STATUS_COMMAND_TIMEOUT 0x0B
51
+ #define SRB_STATUS_MESSAGE_REJECTED 0x0D
52
+ #define SRB_STATUS_BUS_RESET 0x0E
53
+ #define SRB_STATUS_PARITY_ERROR 0x0F
54
+ #define SRB_STATUS_REQUEST_SENSE_FAILED 0x10
55
+ #define SRB_STATUS_NO_HBA 0x11
56
+ #define SRB_STATUS_DATA_OVERRUN 0x12
57
+ #define SRB_STATUS_UNEXPECTED_BUS_FREE 0x13
58
+ #define SRB_STATUS_PHASE_SEQUENCE_FAILURE 0x14
59
+ #define SRB_STATUS_BAD_SRB_BLOCK_LENGTH 0x15
60
+ #define SRB_STATUS_REQUEST_FLUSHED 0x16
61
+ #define SRB_STATUS_INVALID_LUN 0x20
62
+ #define SRB_STATUS_INVALID_TARGET_ID 0x21
63
+ #define SRB_STATUS_BAD_FUNCTION 0x22
64
+ #define SRB_STATUS_ERROR_RECOVERY 0x23
65
+
66
+ #define SRB_STATUS_QUEUE_FROZEN 0x40
67
+ #define SRB_STATUS_AUTOSENSE_VALID 0x80
68
+
69
+ #define SRB_STATUS(Status) (Status & ~(SRB_STATUS_AUTOSENSE_VALID | SRB_STATUS_QUEUE_FROZEN))
70
+
71
+ typedef struct _SCSISCAN_CMD {
72
+ ULONG Reserved1;
73
+ ULONG Size;
74
+ ULONG SrbFlags;
75
+ UCHAR CdbLength;
76
+ UCHAR SenseLength;
77
+ UCHAR Reserved2;
78
+ UCHAR Reserved3;
79
+ ULONG TransferLength;
80
+ UCHAR Cdb[16];
81
+ PUCHAR pSrbStatus;
82
+ PUCHAR pSenseBuffer;
83
+ } SCSISCAN_CMD, *PSCSISCAN_CMD;
84
+
85
+ // Temporarily set to 128. Should be determined by other definition.
86
+ #define MAX_STRING 128
87
+
88
+ typedef struct _SCSISCAN_INFO{
89
+ ULONG Size;
90
+ ULONG Flags;
91
+ UCHAR PortNumber;
92
+ UCHAR PathId;
93
+ UCHAR TargetId;
94
+ UCHAR Lun;
95
+ UCHAR AdapterName[MAX_STRING];
96
+ ULONG Reserved;
97
+ } SCSISCAN_INFO, *PSCSISCAN_INFO;
98
+
99
+ #define SCSISCAN_RESERVED 0x000
100
+ #define SCSISCAN_CMD_CODE 0x004
101
+ #define SCSISCAN_LOCKDEVICE 0x005
102
+ #define SCSISCAN_UNLOCKDEVICE 0x006
103
+ #define SCSISCAN_SET_TIMEOUT 0x007
104
+ #define SCSISCAN_GET_INFO 0x008
105
+
106
+ //---------------------------------------------------------------------------
107
+ // IOCTL definitions.
108
+ // Use these definitions when calling DeviceIoControl
109
+ //---------------------------------------------------------------------------
110
+ #define IOCTL_SCSISCAN_CMD CTL_CODE(FILE_DEVICE_SCANNER, SCSISCAN_CMD_CODE, METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
111
+ #define IOCTL_SCSISCAN_LOCKDEVICE CTL_CODE(FILE_DEVICE_SCANNER, SCSISCAN_LOCKDEVICE, METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
112
+ #define IOCTL_SCSISCAN_UNLOCKDEVICE CTL_CODE(FILE_DEVICE_SCANNER, SCSISCAN_UNLOCKDEVICE, METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
113
+ #define IOCTL_SCSISCAN_SET_TIMEOUT CTL_CODE(FILE_DEVICE_SCANNER, SCSISCAN_SET_TIMEOUT, METHOD_BUFFERED, FILE_ANY_ACCESS)
114
+ #define IOCTL_SCSISCAN_GET_INFO CTL_CODE(FILE_DEVICE_SCANNER, SCSISCAN_GET_INFO , METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
115
+
116
+
117
+ #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
118
+ #pragma endregion
119
+
120
+ #endif
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/assert.h ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // assert.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // Defines the assert macro and related functionality.
7
+ //
8
+ #if defined _VCRT_BUILD && !defined _ASSERT_OK
9
+ #error assert.h not for CRT internal use
10
+ #endif
11
+
12
+ #include <corecrt.h>
13
+
14
+ #pragma warning(push)
15
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
16
+ _UCRT_DISABLE_CLANG_WARNINGS
17
+ _CRT_BEGIN_C_HEADER
18
+
19
+ #if _CRT_HAS_C11
20
+
21
+ #define static_assert _Static_assert
22
+
23
+ #endif // _CRT_HAS_C11
24
+
25
+ #undef assert
26
+
27
+ #ifdef NDEBUG
28
+
29
+ #define assert(expression) ((void)0)
30
+
31
+ #else
32
+
33
+ _ACRTIMP void __cdecl _wassert(
34
+ _In_z_ wchar_t const* _Message,
35
+ _In_z_ wchar_t const* _File,
36
+ _In_ unsigned _Line
37
+ );
38
+
39
+ #define assert(expression) ((void)( \
40
+ (!!(expression)) || \
41
+ (_wassert(_CRT_WIDE(#expression), _CRT_WIDE(__FILE__), (unsigned)(__LINE__)), 0)) \
42
+ )
43
+
44
+ #endif
45
+
46
+
47
+
48
+ _CRT_END_C_HEADER
49
+ _UCRT_RESTORE_CLANG_WARNINGS
50
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/complex.h ADDED
@@ -0,0 +1,580 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // complex.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // The complex math library.
7
+ //
8
+ #pragma once
9
+ #ifndef _COMPLEX
10
+ #define _COMPLEX
11
+
12
+ #include <corecrt.h>
13
+
14
+ #if (_CRT_HAS_CXX17 == 1) && !defined(_CRT_USE_C_COMPLEX_H)
15
+ #include <ccomplex>
16
+ #else // ^^^^ /std:c++17 ^^^^ // vvvv _CRT_USE_C_COMPLEX_H vvvv
17
+
18
+ #pragma warning(push)
19
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
20
+ _UCRT_DISABLE_CLANG_WARNINGS
21
+
22
+ _CRT_BEGIN_C_HEADER
23
+
24
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
25
+ //
26
+ // Types
27
+ //
28
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
29
+ #ifndef _C_COMPLEX_T
30
+ #define _C_COMPLEX_T
31
+ typedef struct _C_double_complex
32
+ {
33
+ double _Val[2];
34
+ } _C_double_complex;
35
+
36
+ typedef struct _C_float_complex
37
+ {
38
+ float _Val[2];
39
+ } _C_float_complex;
40
+
41
+ typedef struct _C_ldouble_complex
42
+ {
43
+ long double _Val[2];
44
+ } _C_ldouble_complex;
45
+ #endif
46
+
47
+ typedef _C_double_complex _Dcomplex;
48
+ typedef _C_float_complex _Fcomplex;
49
+ typedef _C_ldouble_complex _Lcomplex;
50
+
51
+
52
+
53
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
54
+ //
55
+ // Macros
56
+ //
57
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
58
+ #define _DCOMPLEX_(re, im) _Cbuild(re, im)
59
+ #define _FCOMPLEX_(re, im) _FCbuild(re, im)
60
+ #define _LCOMPLEX_(re, im) _LCbuild(re, im)
61
+
62
+ #define _Complex_I _FCbuild(0.0F, 1.0F)
63
+ #define I _Complex_I
64
+
65
+
66
+
67
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
68
+ //
69
+ // Functions
70
+ //
71
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
72
+ _ACRTIMP double __cdecl cabs(_In_ _Dcomplex _Z);
73
+ _ACRTIMP _Dcomplex __cdecl cacos(_In_ _Dcomplex _Z);
74
+ _ACRTIMP _Dcomplex __cdecl cacosh(_In_ _Dcomplex _Z);
75
+ _ACRTIMP double __cdecl carg(_In_ _Dcomplex _Z);
76
+ _ACRTIMP _Dcomplex __cdecl casin(_In_ _Dcomplex _Z);
77
+ _ACRTIMP _Dcomplex __cdecl casinh(_In_ _Dcomplex _Z);
78
+ _ACRTIMP _Dcomplex __cdecl catan(_In_ _Dcomplex _Z);
79
+ _ACRTIMP _Dcomplex __cdecl catanh(_In_ _Dcomplex _Z);
80
+ _ACRTIMP _Dcomplex __cdecl ccos(_In_ _Dcomplex _Z);
81
+ _ACRTIMP _Dcomplex __cdecl ccosh(_In_ _Dcomplex _Z);
82
+ _ACRTIMP _Dcomplex __cdecl cexp(_In_ _Dcomplex _Z);
83
+ _ACRTIMP double __cdecl cimag(_In_ _Dcomplex _Z);
84
+ _ACRTIMP _Dcomplex __cdecl clog(_In_ _Dcomplex _Z);
85
+ _ACRTIMP _Dcomplex __cdecl clog10(_In_ _Dcomplex _Z);
86
+ _ACRTIMP _Dcomplex __cdecl conj(_In_ _Dcomplex _Z);
87
+ _ACRTIMP _Dcomplex __cdecl cpow(_In_ _Dcomplex _X, _In_ _Dcomplex _Y);
88
+ _ACRTIMP _Dcomplex __cdecl cproj(_In_ _Dcomplex _Z);
89
+ _ACRTIMP double __cdecl creal(_In_ _Dcomplex _Z);
90
+ _ACRTIMP _Dcomplex __cdecl csin(_In_ _Dcomplex _Z);
91
+ _ACRTIMP _Dcomplex __cdecl csinh(_In_ _Dcomplex _Z);
92
+ _ACRTIMP _Dcomplex __cdecl csqrt(_In_ _Dcomplex _Z);
93
+ _ACRTIMP _Dcomplex __cdecl ctan(_In_ _Dcomplex _Z);
94
+ _ACRTIMP _Dcomplex __cdecl ctanh(_In_ _Dcomplex _Z);
95
+ _ACRTIMP double __cdecl norm(_In_ _Dcomplex _Z);
96
+
97
+ _ACRTIMP float __cdecl cabsf(_In_ _Fcomplex _Z);
98
+ _ACRTIMP _Fcomplex __cdecl cacosf(_In_ _Fcomplex _Z);
99
+ _ACRTIMP _Fcomplex __cdecl cacoshf(_In_ _Fcomplex _Z);
100
+ _ACRTIMP float __cdecl cargf(_In_ _Fcomplex _Z);
101
+ _ACRTIMP _Fcomplex __cdecl casinf(_In_ _Fcomplex _Z);
102
+ _ACRTIMP _Fcomplex __cdecl casinhf(_In_ _Fcomplex _Z);
103
+ _ACRTIMP _Fcomplex __cdecl catanf(_In_ _Fcomplex _Z);
104
+ _ACRTIMP _Fcomplex __cdecl catanhf(_In_ _Fcomplex _Z);
105
+ _ACRTIMP _Fcomplex __cdecl ccosf(_In_ _Fcomplex _Z);
106
+ _ACRTIMP _Fcomplex __cdecl ccoshf(_In_ _Fcomplex _Z);
107
+ _ACRTIMP _Fcomplex __cdecl cexpf(_In_ _Fcomplex _Z);
108
+ _ACRTIMP float __cdecl cimagf(_In_ _Fcomplex _Z);
109
+ _ACRTIMP _Fcomplex __cdecl clogf(_In_ _Fcomplex _Z);
110
+ _ACRTIMP _Fcomplex __cdecl clog10f(_In_ _Fcomplex _Z);
111
+ _ACRTIMP _Fcomplex __cdecl conjf(_In_ _Fcomplex _Z);
112
+ _ACRTIMP _Fcomplex __cdecl cpowf(_In_ _Fcomplex _X, _In_ _Fcomplex _Y);
113
+ _ACRTIMP _Fcomplex __cdecl cprojf(_In_ _Fcomplex _Z);
114
+ _ACRTIMP float __cdecl crealf(_In_ _Fcomplex _Z);
115
+ _ACRTIMP _Fcomplex __cdecl csinf(_In_ _Fcomplex _Z);
116
+ _ACRTIMP _Fcomplex __cdecl csinhf(_In_ _Fcomplex _Z);
117
+ _ACRTIMP _Fcomplex __cdecl csqrtf(_In_ _Fcomplex _Z);
118
+ _ACRTIMP _Fcomplex __cdecl ctanf(_In_ _Fcomplex _Z);
119
+ _ACRTIMP _Fcomplex __cdecl ctanhf(_In_ _Fcomplex _Z);
120
+ _ACRTIMP float __cdecl normf(_In_ _Fcomplex _Z);
121
+
122
+ _ACRTIMP long double __cdecl cabsl(_In_ _Lcomplex _Z);
123
+ _ACRTIMP _Lcomplex __cdecl cacosl(_In_ _Lcomplex _Z);
124
+ _ACRTIMP _Lcomplex __cdecl cacoshl(_In_ _Lcomplex _Z);
125
+ _ACRTIMP long double __cdecl cargl(_In_ _Lcomplex _Z);
126
+ _ACRTIMP _Lcomplex __cdecl casinl(_In_ _Lcomplex _Z);
127
+ _ACRTIMP _Lcomplex __cdecl casinhl(_In_ _Lcomplex _Z);
128
+ _ACRTIMP _Lcomplex __cdecl catanl(_In_ _Lcomplex _Z);
129
+ _ACRTIMP _Lcomplex __cdecl catanhl(_In_ _Lcomplex _Z);
130
+ _ACRTIMP _Lcomplex __cdecl ccosl(_In_ _Lcomplex _Z);
131
+ _ACRTIMP _Lcomplex __cdecl ccoshl(_In_ _Lcomplex _Z);
132
+ _ACRTIMP _Lcomplex __cdecl cexpl(_In_ _Lcomplex _Z);
133
+ _ACRTIMP long double __cdecl cimagl(_In_ _Lcomplex _Z);
134
+ _ACRTIMP _Lcomplex __cdecl clogl(_In_ _Lcomplex _Z);
135
+ _ACRTIMP _Lcomplex __cdecl clog10l(_In_ _Lcomplex _Z);
136
+ _ACRTIMP _Lcomplex __cdecl conjl(_In_ _Lcomplex _Z);
137
+ _ACRTIMP _Lcomplex __cdecl cpowl(_In_ _Lcomplex _X, _In_ _Lcomplex _Y);
138
+ _ACRTIMP _Lcomplex __cdecl cprojl(_In_ _Lcomplex _Z);
139
+ _ACRTIMP long double __cdecl creall(_In_ _Lcomplex _Z);
140
+ _ACRTIMP _Lcomplex __cdecl csinl(_In_ _Lcomplex _Z);
141
+ _ACRTIMP _Lcomplex __cdecl csinhl(_In_ _Lcomplex _Z);
142
+ _ACRTIMP _Lcomplex __cdecl csqrtl(_In_ _Lcomplex _Z);
143
+ _ACRTIMP _Lcomplex __cdecl ctanl(_In_ _Lcomplex _Z);
144
+ _ACRTIMP _Lcomplex __cdecl ctanhl(_In_ _Lcomplex _Z);
145
+ _ACRTIMP long double __cdecl norml(_In_ _Lcomplex _Z);
146
+
147
+ _ACRTIMP _Dcomplex __cdecl _Cbuild(_In_ double _Re, _In_ double _Im);
148
+ _ACRTIMP _Dcomplex __cdecl _Cmulcc(_In_ _Dcomplex _X, _In_ _Dcomplex _Y);
149
+ _ACRTIMP _Dcomplex __cdecl _Cmulcr(_In_ _Dcomplex _X, _In_ double _Y);
150
+
151
+ _ACRTIMP _Fcomplex __cdecl _FCbuild(_In_ float _Re, _In_ float _Im);
152
+ _ACRTIMP _Fcomplex __cdecl _FCmulcc(_In_ _Fcomplex _X, _In_ _Fcomplex _Y);
153
+ _ACRTIMP _Fcomplex __cdecl _FCmulcr(_In_ _Fcomplex _X, _In_ float _Y);
154
+
155
+ _ACRTIMP _Lcomplex __cdecl _LCbuild(_In_ long double _Re, _In_ long double _Im);
156
+ _ACRTIMP _Lcomplex __cdecl _LCmulcc(_In_ _Lcomplex _X, _In_ _Lcomplex _Y);
157
+ _ACRTIMP _Lcomplex __cdecl _LCmulcr(_In_ _Lcomplex _X, _In_ long double _Y);
158
+
159
+
160
+
161
+ #ifdef __cplusplus
162
+ extern "C++"
163
+ {
164
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
165
+ //
166
+ // double complex overloads
167
+ //
168
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
169
+ inline _Dcomplex __CRTDECL acos(_In_ _Dcomplex _X) throw()
170
+ {
171
+ return cacos(_X);
172
+ }
173
+
174
+ inline _Dcomplex __CRTDECL acosh(_In_ _Dcomplex _X) throw()
175
+ {
176
+ return cacosh(_X);
177
+ }
178
+
179
+ inline _Dcomplex __CRTDECL asin(_In_ _Dcomplex _X) throw()
180
+ {
181
+ return casin(_X);
182
+ }
183
+
184
+ inline _Dcomplex __CRTDECL asinh(_In_ _Dcomplex _X) throw()
185
+ {
186
+ return casinh(_X);
187
+ }
188
+
189
+ inline _Dcomplex __CRTDECL atan(_In_ _Dcomplex _X) throw()
190
+ {
191
+ return catan(_X);
192
+ }
193
+
194
+ inline _Dcomplex __CRTDECL atanh(_In_ _Dcomplex _X) throw()
195
+ {
196
+ return catanh(_X);
197
+ }
198
+
199
+ inline _Dcomplex __CRTDECL cos(_In_ _Dcomplex _X) throw()
200
+ {
201
+ return ccos(_X);
202
+ }
203
+
204
+ inline _Dcomplex __CRTDECL cosh(_In_ _Dcomplex _X) throw()
205
+ {
206
+ return ccosh(_X);
207
+ }
208
+
209
+ inline _Dcomplex __CRTDECL proj(_In_ _Dcomplex _X) throw()
210
+ {
211
+ return cproj(_X);
212
+ }
213
+
214
+ inline _Dcomplex __CRTDECL exp(_In_ _Dcomplex _X) throw()
215
+ {
216
+ return cexp(_X);
217
+ }
218
+
219
+ inline _Dcomplex __CRTDECL log(_In_ _Dcomplex _X) throw()
220
+ {
221
+ return clog(_X);
222
+ }
223
+
224
+ inline _Dcomplex __CRTDECL log10(_In_ _Dcomplex _X) throw()
225
+ {
226
+ return clog10(_X);
227
+ }
228
+
229
+ inline _Dcomplex __CRTDECL pow(_In_ _Dcomplex _X, _In_ _Dcomplex _Y) throw()
230
+ {
231
+ return cpow(_X, _Y);
232
+ }
233
+
234
+ inline _Dcomplex __CRTDECL sin(_In_ _Dcomplex _X) throw()
235
+ {
236
+ return csin(_X);
237
+ }
238
+
239
+ inline _Dcomplex __CRTDECL sinh(_In_ _Dcomplex _X) throw()
240
+ {
241
+ return csinh(_X);
242
+ }
243
+
244
+ inline _Dcomplex __CRTDECL sqrt(_In_ _Dcomplex _X) throw()
245
+ {
246
+ return csqrt(_X);
247
+ }
248
+
249
+ inline _Dcomplex __CRTDECL tan(_In_ _Dcomplex _X) throw()
250
+ {
251
+ return ctan(_X);
252
+ }
253
+
254
+ inline _Dcomplex __CRTDECL tanh(_In_ _Dcomplex _X) throw()
255
+ {
256
+ return ctanh(_X);
257
+ }
258
+
259
+ inline double __CRTDECL abs(_In_ _Dcomplex _X) throw()
260
+ {
261
+ return cabs(_X);
262
+ }
263
+
264
+ inline double __CRTDECL arg(_In_ _Dcomplex _X) throw()
265
+ {
266
+ return carg(_X);
267
+ }
268
+
269
+ inline double __CRTDECL imag(_In_ _Dcomplex _X) throw()
270
+ {
271
+ return cimag(_X);
272
+ }
273
+
274
+ inline double __CRTDECL real(_In_ _Dcomplex _X) throw()
275
+ {
276
+ return creal(_X);
277
+ }
278
+
279
+
280
+
281
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
282
+ //
283
+ // float complex overloads
284
+ //
285
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
286
+ inline _Fcomplex __CRTDECL acos(_In_ _Fcomplex _X) throw()
287
+ {
288
+ return cacosf(_X);
289
+ }
290
+
291
+ inline _Fcomplex __CRTDECL acosh(_In_ _Fcomplex _X) throw()
292
+ {
293
+ return cacoshf(_X);
294
+ }
295
+
296
+ inline _Fcomplex __CRTDECL asin(_In_ _Fcomplex _X) throw()
297
+ {
298
+ return casinf(_X);
299
+ }
300
+
301
+ inline _Fcomplex __CRTDECL asinh(_In_ _Fcomplex _X) throw()
302
+ {
303
+ return casinhf(_X);
304
+ }
305
+
306
+ inline _Fcomplex __CRTDECL atan(_In_ _Fcomplex _X) throw()
307
+ {
308
+ return catanf(_X);
309
+ }
310
+
311
+ inline _Fcomplex __CRTDECL atanh(_In_ _Fcomplex _X) throw()
312
+ {
313
+ return catanhf(_X);
314
+ }
315
+
316
+ inline _Fcomplex __CRTDECL conj(_In_ _Fcomplex _X) throw()
317
+ {
318
+ return conjf(_X);
319
+ }
320
+
321
+ inline _Fcomplex __CRTDECL cos(_In_ _Fcomplex _X) throw()
322
+ {
323
+ return ccosf(_X);
324
+ }
325
+
326
+ inline _Fcomplex __CRTDECL cosh(_In_ _Fcomplex _X) throw()
327
+ {
328
+ return ccoshf(_X);
329
+ }
330
+
331
+ inline _Fcomplex __CRTDECL cproj(_In_ _Fcomplex _X) throw()
332
+ {
333
+ return cprojf(_X);
334
+ }
335
+
336
+ inline _Fcomplex __CRTDECL proj(_In_ _Fcomplex _X) throw()
337
+ {
338
+ return cprojf(_X);
339
+ }
340
+
341
+ inline _Fcomplex __CRTDECL exp(_In_ _Fcomplex _X) throw()
342
+ {
343
+ return cexpf(_X);
344
+ }
345
+
346
+ inline _Fcomplex __CRTDECL log(_In_ _Fcomplex _X) throw()
347
+ {
348
+ return clogf(_X);
349
+ }
350
+
351
+ inline _Fcomplex __CRTDECL log10(_In_ _Fcomplex _X) throw()
352
+ {
353
+ return clog10f(_X);
354
+ }
355
+
356
+ inline float __CRTDECL norm(_In_ _Fcomplex _X) throw()
357
+ {
358
+ return normf(_X);
359
+ }
360
+
361
+ inline _Fcomplex __CRTDECL pow(_In_ _Fcomplex _X, _In_ _Fcomplex _Y) throw()
362
+ {
363
+ return cpowf(_X, _Y);
364
+ }
365
+
366
+ inline _Fcomplex __CRTDECL sin(_In_ _Fcomplex _X) throw()
367
+ {
368
+ return csinf(_X);
369
+ }
370
+
371
+ inline _Fcomplex __CRTDECL sinh(_In_ _Fcomplex _X) throw()
372
+ {
373
+ return csinhf(_X);
374
+ }
375
+
376
+ inline _Fcomplex __CRTDECL sqrt(_In_ _Fcomplex _X) throw()
377
+ {
378
+ return csqrtf(_X);
379
+ }
380
+
381
+ inline _Fcomplex __CRTDECL tan(_In_ _Fcomplex _X) throw()
382
+ {
383
+ return ctanf(_X);
384
+ }
385
+
386
+ inline _Fcomplex __CRTDECL tanh(_In_ _Fcomplex _X) throw()
387
+ {
388
+ return ctanhf(_X);
389
+ }
390
+
391
+ inline float __CRTDECL abs(_In_ _Fcomplex _X) throw()
392
+ {
393
+ return cabsf(_X);
394
+ }
395
+
396
+ inline float __CRTDECL arg(_In_ _Fcomplex _X) throw()
397
+ {
398
+ return cargf(_X);
399
+ }
400
+
401
+ inline float __CRTDECL carg(_In_ _Fcomplex _X) throw()
402
+ {
403
+ return cargf(_X);
404
+ }
405
+
406
+ inline float __CRTDECL cimag(_In_ _Fcomplex _X) throw()
407
+ {
408
+ return cimagf(_X);
409
+ }
410
+
411
+ inline float __CRTDECL creal(_In_ _Fcomplex _X) throw()
412
+ {
413
+ return crealf(_X);
414
+ }
415
+
416
+ inline float __CRTDECL imag(_In_ _Fcomplex _X) throw()
417
+ {
418
+ return cimagf(_X);
419
+ }
420
+
421
+ inline float __CRTDECL real(_In_ _Fcomplex _X) throw()
422
+ {
423
+ return crealf(_X);
424
+ }
425
+
426
+
427
+
428
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
429
+ //
430
+ // long double complex overloads
431
+ //
432
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
433
+ inline _Lcomplex __CRTDECL acos(_In_ _Lcomplex _X) throw()
434
+ {
435
+ return cacosl(_X);
436
+ }
437
+
438
+ inline _Lcomplex __CRTDECL acosh(_In_ _Lcomplex _X) throw()
439
+ {
440
+ return cacoshl(_X);
441
+ }
442
+
443
+ inline _Lcomplex __CRTDECL asin(_In_ _Lcomplex _X) throw()
444
+ {
445
+ return casinl(_X);
446
+ }
447
+
448
+ inline _Lcomplex __CRTDECL asinh(_In_ _Lcomplex _X) throw()
449
+ {
450
+ return casinhl(_X);
451
+ }
452
+
453
+ inline _Lcomplex __CRTDECL atan(_In_ _Lcomplex _X) throw()
454
+ {
455
+ return catanl(_X);
456
+ }
457
+
458
+ inline _Lcomplex __CRTDECL atanh(_In_ _Lcomplex _X) throw()
459
+ {
460
+ return catanhl(_X);
461
+ }
462
+
463
+ inline _Lcomplex __CRTDECL conj(_In_ _Lcomplex _X) throw()
464
+ {
465
+ return conjl(_X);
466
+ }
467
+
468
+ inline _Lcomplex __CRTDECL cos(_In_ _Lcomplex _X) throw()
469
+ {
470
+ return ccosl(_X);
471
+ }
472
+
473
+ inline _Lcomplex __CRTDECL cosh(_In_ _Lcomplex _X) throw()
474
+ {
475
+ return ccoshl(_X);
476
+ }
477
+
478
+ inline _Lcomplex __CRTDECL cproj(_In_ _Lcomplex _X) throw()
479
+ {
480
+ return cprojl(_X);
481
+ }
482
+
483
+ inline _Lcomplex __CRTDECL proj(_In_ _Lcomplex _X) throw()
484
+ {
485
+ return cprojl(_X);
486
+ }
487
+
488
+ inline _Lcomplex __CRTDECL exp(_In_ _Lcomplex _X) throw()
489
+ {
490
+ return cexpl(_X);
491
+ }
492
+
493
+ inline _Lcomplex __CRTDECL log(_In_ _Lcomplex _X) throw()
494
+ {
495
+ return clogl(_X);
496
+ }
497
+
498
+ inline _Lcomplex __CRTDECL log10(_In_ _Lcomplex _X) throw()
499
+ {
500
+ return clog10l(_X);
501
+ }
502
+
503
+ inline long double __CRTDECL norm(_In_ _Lcomplex _X) throw()
504
+ {
505
+ return norml(_X);
506
+ }
507
+
508
+ inline _Lcomplex __CRTDECL pow(_In_ _Lcomplex _X, _In_ _Lcomplex _Y) throw()
509
+ {
510
+ return cpowl(_X, _Y);
511
+ }
512
+
513
+ inline _Lcomplex __CRTDECL sin(_In_ _Lcomplex _X) throw()
514
+ {
515
+ return csinl(_X);
516
+ }
517
+
518
+ inline _Lcomplex __CRTDECL sinh(_In_ _Lcomplex _X) throw()
519
+ {
520
+ return csinhl(_X);
521
+ }
522
+
523
+ inline _Lcomplex __CRTDECL sqrt(_In_ _Lcomplex _X) throw()
524
+ {
525
+ return csqrtl(_X);
526
+ }
527
+
528
+ inline _Lcomplex __CRTDECL tan(_In_ _Lcomplex _X) throw()
529
+ {
530
+ return ctanl(_X);
531
+ }
532
+
533
+ inline _Lcomplex __CRTDECL tanh(_In_ _Lcomplex _X) throw()
534
+ {
535
+ return ctanhl(_X);
536
+ }
537
+
538
+ inline long double __CRTDECL abs(_In_ _Lcomplex _X) throw()
539
+ {
540
+ return cabsl(_X);
541
+ }
542
+
543
+ inline long double __CRTDECL arg(_In_ _Lcomplex _X) throw()
544
+ {
545
+ return cargl(_X);
546
+ }
547
+
548
+ inline long double __CRTDECL carg(_In_ _Lcomplex _X) throw()
549
+ {
550
+ return cargl(_X);
551
+ }
552
+
553
+ inline long double __CRTDECL cimag(_In_ _Lcomplex _X) throw()
554
+ {
555
+ return cimagl(_X);
556
+ }
557
+
558
+ inline long double __CRTDECL creal(_In_ _Lcomplex _X) throw()
559
+ {
560
+ return creall(_X);
561
+ }
562
+
563
+ inline long double __CRTDECL imag(_In_ _Lcomplex _X) throw()
564
+ {
565
+ return cimagl(_X);
566
+ }
567
+
568
+ inline long double __CRTDECL real(_In_ _Lcomplex _X) throw()
569
+ {
570
+ return creall(_X);
571
+ }
572
+
573
+ } // extern "C++"
574
+ #endif // __cplusplus
575
+
576
+ _CRT_END_C_HEADER
577
+ _UCRT_RESTORE_CLANG_WARNINGS
578
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
579
+ #endif // (_CRT_HAS_CXX17 == 1) && !defined(_CRT_USE_C_COMPLEX_H)
580
+ #endif // _COMPLEX
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/conio.h ADDED
@@ -0,0 +1,504 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // conio.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // This file declares the direct console I/O functions.
7
+ //
8
+ #pragma once
9
+ #ifndef _INC_CONIO // include guard for 3rd party interop
10
+ #define _INC_CONIO
11
+
12
+ #include <corecrt.h>
13
+ #include <corecrt_wconio.h>
14
+
15
+ #pragma warning(push)
16
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
17
+ _UCRT_DISABLE_CLANG_WARNINGS
18
+
19
+ _CRT_BEGIN_C_HEADER
20
+
21
+ _Check_return_wat_
22
+ _Success_(_BufferCount > 0)
23
+ _DCRTIMP errno_t __cdecl _cgets_s(
24
+ _Out_writes_z_(_BufferCount) char* _Buffer,
25
+ _In_ size_t _BufferCount,
26
+ _Out_ size_t* _SizeRead
27
+ );
28
+
29
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(
30
+ _Success_(return == 0)
31
+ errno_t, _cgets_s,
32
+ _Out_writes_z_(*_Buffer) char, _Buffer,
33
+ _Out_ size_t*, _SizeRead
34
+ )
35
+
36
+ _Check_return_opt_
37
+ _DCRTIMP int __cdecl _cputs(
38
+ _In_z_ char const* _Buffer
39
+ );
40
+
41
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
42
+ //
43
+ // Narrow Character Formatted Output Functions (Console)
44
+ //
45
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
46
+ _Check_return_opt_
47
+ _DCRTIMP int __cdecl __conio_common_vcprintf(
48
+ _In_ unsigned __int64 _Options,
49
+ _In_z_ _Printf_format_string_params_(2) char const* _Format,
50
+ _In_opt_ _locale_t _Locale,
51
+ va_list _ArgList
52
+ );
53
+
54
+ _Check_return_opt_
55
+ _DCRTIMP int __cdecl __conio_common_vcprintf_s(
56
+ _In_ unsigned __int64 _Options,
57
+ _In_z_ _Printf_format_string_params_(2) char const* _Format,
58
+ _In_opt_ _locale_t _Locale,
59
+ va_list _ArgList
60
+ );
61
+
62
+ _Check_return_opt_
63
+ _DCRTIMP int __cdecl __conio_common_vcprintf_p(
64
+ _In_ unsigned __int64 _Options,
65
+ _In_z_ _Printf_format_string_params_(2) char const* _Format,
66
+ _In_opt_ _locale_t _Locale,
67
+ va_list _ArgList
68
+ );
69
+
70
+ _Check_return_opt_
71
+ _CRT_STDIO_INLINE int __CRTDECL _vcprintf_l(
72
+ _In_z_ _Printf_format_string_params_(2) char const* const _Format,
73
+ _In_opt_ _locale_t const _Locale,
74
+ va_list _ArgList
75
+ )
76
+ #if defined _NO_CRT_STDIO_INLINE
77
+ ;
78
+ #else
79
+ {
80
+ return __conio_common_vcprintf(
81
+ _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS,
82
+ _Format, _Locale, _ArgList);
83
+ }
84
+ #endif
85
+
86
+ _Check_return_opt_
87
+ _CRT_STDIO_INLINE int __CRTDECL _vcprintf(
88
+ _In_z_ _Printf_format_string_ char const* const _Format,
89
+ va_list _ArgList
90
+ )
91
+ #if defined _NO_CRT_STDIO_INLINE
92
+ ;
93
+ #else
94
+ {
95
+ return _vcprintf_l(_Format, NULL, _ArgList);
96
+ }
97
+ #endif
98
+
99
+ _Check_return_opt_
100
+ _CRT_STDIO_INLINE int __CRTDECL _vcprintf_s_l(
101
+ _In_z_ _Printf_format_string_params_(2) char const* const _Format,
102
+ _In_opt_ _locale_t const _Locale,
103
+ va_list _ArgList
104
+ )
105
+ #if defined _NO_CRT_STDIO_INLINE
106
+ ;
107
+ #else
108
+ {
109
+ return __conio_common_vcprintf_s(
110
+ _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS,
111
+ _Format, _Locale, _ArgList);
112
+ }
113
+ #endif
114
+
115
+ _Check_return_opt_
116
+ _CRT_STDIO_INLINE int __CRTDECL _vcprintf_s(
117
+ _In_z_ _Printf_format_string_ char const* const _Format,
118
+ va_list _ArgList
119
+ )
120
+ #if defined _NO_CRT_STDIO_INLINE
121
+ ;
122
+ #else
123
+ {
124
+ return _vcprintf_s_l(_Format, NULL, _ArgList);
125
+ }
126
+ #endif
127
+
128
+ _Check_return_opt_
129
+ _CRT_STDIO_INLINE int __CRTDECL _vcprintf_p_l(
130
+ _In_z_ _Printf_format_string_params_(2) char const* const _Format,
131
+ _In_opt_ _locale_t const _Locale,
132
+ va_list _ArgList
133
+ )
134
+ #if defined _NO_CRT_STDIO_INLINE
135
+ ;
136
+ #else
137
+ {
138
+ return __conio_common_vcprintf_p(
139
+ _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS,
140
+ _Format, _Locale, _ArgList);
141
+ }
142
+ #endif
143
+
144
+ _Check_return_opt_
145
+ _CRT_STDIO_INLINE int __CRTDECL _vcprintf_p(
146
+ _In_z_ char const* const _Format,
147
+ va_list _ArgList
148
+ )
149
+ #if defined _NO_CRT_STDIO_INLINE
150
+ ;
151
+ #else
152
+ {
153
+ return _vcprintf_p_l(_Format, NULL, _ArgList);
154
+ }
155
+ #endif
156
+
157
+ _Check_return_opt_
158
+ _CRT_STDIO_INLINE int __CRTDECL _cprintf_l(
159
+ _In_z_ _Printf_format_string_params_(0) char const* const _Format,
160
+ _In_opt_ _locale_t const _Locale,
161
+ ...)
162
+ #if defined _NO_CRT_STDIO_INLINE
163
+ ;
164
+ #else
165
+ {
166
+ int _Result;
167
+ va_list _ArgList;
168
+ __crt_va_start(_ArgList, _Locale);
169
+ _Result = _vcprintf_l(_Format, _Locale, _ArgList);
170
+ __crt_va_end(_ArgList);
171
+ return _Result;
172
+ }
173
+ #endif
174
+
175
+ _Check_return_opt_
176
+ _CRT_STDIO_INLINE int __CRTDECL _cprintf(
177
+ _In_z_ _Printf_format_string_ char const* const _Format,
178
+ ...)
179
+ #if defined _NO_CRT_STDIO_INLINE
180
+ ;
181
+ #else
182
+ {
183
+ int _Result;
184
+ va_list _ArgList;
185
+ __crt_va_start(_ArgList, _Format);
186
+ _Result = _vcprintf_l(_Format, NULL, _ArgList);
187
+ __crt_va_end(_ArgList);
188
+ return _Result;
189
+ }
190
+ #endif
191
+
192
+ _Check_return_opt_
193
+ _CRT_STDIO_INLINE int __CRTDECL _cprintf_s_l(
194
+ _In_z_ _Printf_format_string_params_(0) char const* const _Format,
195
+ _In_opt_ _locale_t const _Locale,
196
+ ...)
197
+ #if defined _NO_CRT_STDIO_INLINE
198
+ ;
199
+ #else
200
+ {
201
+ int _Result;
202
+ va_list _ArgList;
203
+ __crt_va_start(_ArgList, _Locale);
204
+ _Result = _vcprintf_s_l(_Format, _Locale, _ArgList);
205
+ __crt_va_end(_ArgList);
206
+ return _Result;
207
+ }
208
+ #endif
209
+
210
+ _Check_return_opt_
211
+ _CRT_STDIO_INLINE int __CRTDECL _cprintf_s(
212
+ _In_z_ _Printf_format_string_ char const* const _Format,
213
+ ...)
214
+ #if defined _NO_CRT_STDIO_INLINE
215
+ ;
216
+ #else
217
+ {
218
+ int _Result;
219
+ va_list _ArgList;
220
+ __crt_va_start(_ArgList, _Format);
221
+ _Result = _vcprintf_s_l(_Format, NULL, _ArgList);
222
+ __crt_va_end(_ArgList);
223
+ return _Result;
224
+ }
225
+ #endif
226
+
227
+ _Check_return_opt_
228
+ _CRT_STDIO_INLINE int __CRTDECL _cprintf_p_l(
229
+ _In_z_ _Printf_format_string_params_(0) char const* const _Format,
230
+ _In_opt_ _locale_t const _Locale,
231
+ ...)
232
+ #if defined _NO_CRT_STDIO_INLINE
233
+ ;
234
+ #else
235
+ {
236
+ int _Result;
237
+ va_list _ArgList;
238
+ __crt_va_start(_ArgList, _Locale);
239
+ _Result = _vcprintf_p_l(_Format, _Locale, _ArgList);
240
+ __crt_va_end(_ArgList);
241
+ return _Result;
242
+ }
243
+ #endif
244
+
245
+ _Check_return_opt_
246
+ _CRT_STDIO_INLINE int __CRTDECL _cprintf_p(
247
+ _In_z_ _Printf_format_string_ char const* const _Format,
248
+ ...)
249
+ #if defined _NO_CRT_STDIO_INLINE
250
+ ;
251
+ #else
252
+ {
253
+ int _Result;
254
+ va_list _ArgList;
255
+ __crt_va_start(_ArgList, _Format);
256
+ _Result = _vcprintf_p_l(_Format, NULL, _ArgList);
257
+ __crt_va_end(_ArgList);
258
+ return _Result;
259
+ }
260
+ #endif
261
+
262
+
263
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
264
+ //
265
+ // Narrow Character Formatted Input Functions (Console)
266
+ //
267
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
268
+ _Check_return_opt_
269
+ _DCRTIMP int __cdecl __conio_common_vcscanf(
270
+ _In_ unsigned __int64 _Options,
271
+ _In_z_ _Scanf_format_string_params_(2) char const* _Format,
272
+ _In_opt_ _locale_t _Locale,
273
+ va_list _ArgList
274
+ );
275
+
276
+ _Check_return_opt_ _CRT_INSECURE_DEPRECATE(_vcscanf_s_l)
277
+ _CRT_STDIO_INLINE int __CRTDECL _vcscanf_l(
278
+ _In_z_ _Scanf_format_string_params_(2) char const* const _Format,
279
+ _In_opt_ _locale_t const _Locale,
280
+ va_list _ArgList
281
+ )
282
+ #if defined _NO_CRT_STDIO_INLINE
283
+ ;
284
+ #else
285
+ {
286
+ return __conio_common_vcscanf(
287
+ _CRT_INTERNAL_LOCAL_SCANF_OPTIONS,
288
+ _Format, _Locale, _ArgList);
289
+ }
290
+ #endif
291
+
292
+ _Check_return_opt_ _CRT_INSECURE_DEPRECATE(_vcscanf_s)
293
+ _CRT_STDIO_INLINE int __CRTDECL _vcscanf(
294
+ _In_z_ _Scanf_format_string_params_(1) char const* const _Format,
295
+ va_list _ArgList
296
+ )
297
+ #if defined _NO_CRT_STDIO_INLINE
298
+ ;
299
+ #else
300
+ {
301
+ return _vcscanf_l(_Format, NULL, _ArgList);
302
+ }
303
+ #endif
304
+
305
+ _Check_return_opt_
306
+ _CRT_STDIO_INLINE int __CRTDECL _vcscanf_s_l(
307
+ _In_z_ _Scanf_format_string_params_(2) char const* const _Format,
308
+ _In_opt_ _locale_t const _Locale,
309
+ va_list _ArgList
310
+ )
311
+ #if defined _NO_CRT_STDIO_INLINE
312
+ ;
313
+ #else
314
+ {
315
+ return __conio_common_vcscanf(
316
+ _CRT_INTERNAL_LOCAL_SCANF_OPTIONS | _CRT_INTERNAL_SCANF_SECURECRT,
317
+ _Format, _Locale, _ArgList);
318
+ }
319
+ #endif
320
+
321
+ _Check_return_opt_
322
+ _CRT_STDIO_INLINE int __CRTDECL _vcscanf_s(
323
+ _In_z_ _Scanf_format_string_params_(1) char const* const _Format,
324
+ va_list _ArgList
325
+ )
326
+ #if defined _NO_CRT_STDIO_INLINE
327
+ ;
328
+ #else
329
+ {
330
+ return _vcscanf_s_l(_Format, NULL, _ArgList);
331
+ }
332
+ #endif
333
+
334
+ _Check_return_opt_ _CRT_INSECURE_DEPRECATE(_cscanf_s_l)
335
+ _CRT_STDIO_INLINE int __CRTDECL _cscanf_l(
336
+ _In_z_ _Scanf_format_string_params_(0) char const* const _Format,
337
+ _In_opt_ _locale_t const _Locale,
338
+ ...)
339
+ #if defined _NO_CRT_STDIO_INLINE
340
+ ;
341
+ #else
342
+ {
343
+ int _Result;
344
+ va_list _ArgList;
345
+ __crt_va_start(_ArgList, _Locale);
346
+
347
+ _Result = _vcscanf_l(_Format, _Locale, _ArgList);
348
+
349
+ __crt_va_end(_ArgList);
350
+ return _Result;
351
+ }
352
+ #endif
353
+
354
+ _Check_return_opt_ _CRT_INSECURE_DEPRECATE(_cscanf_s)
355
+ _CRT_STDIO_INLINE int __CRTDECL _cscanf(
356
+ _In_z_ _Scanf_format_string_ char const* const _Format,
357
+ ...)
358
+ #if defined _NO_CRT_STDIO_INLINE
359
+ ;
360
+ #else
361
+ {
362
+ int _Result;
363
+ va_list _ArgList;
364
+ __crt_va_start(_ArgList, _Format);
365
+
366
+ _Result = _vcscanf_l(_Format, NULL, _ArgList);
367
+
368
+ __crt_va_end(_ArgList);
369
+ return _Result;
370
+ }
371
+ #endif
372
+
373
+ _Check_return_opt_
374
+ _CRT_STDIO_INLINE int __CRTDECL _cscanf_s_l(
375
+ _In_z_ _Scanf_format_string_params_(0) char const* const _Format,
376
+ _In_opt_ _locale_t const _Locale,
377
+ ...)
378
+ #if defined _NO_CRT_STDIO_INLINE
379
+ ;
380
+ #else
381
+ {
382
+ int _Result;
383
+ va_list _ArgList;
384
+ __crt_va_start(_ArgList, _Locale);
385
+ _Result = _vcscanf_s_l(_Format, _Locale, _ArgList);
386
+ __crt_va_end(_ArgList);
387
+ return _Result;
388
+ }
389
+ #endif
390
+
391
+ _Check_return_opt_
392
+ _CRT_STDIO_INLINE int __CRTDECL _cscanf_s(
393
+ _In_z_ _Scanf_format_string_ char const* const _Format,
394
+ ...)
395
+ #if defined _NO_CRT_STDIO_INLINE
396
+ ;
397
+ #else
398
+ {
399
+ int _Result;
400
+ va_list _ArgList;
401
+ __crt_va_start(_ArgList, _Format);
402
+ _Result = _vcscanf_s_l(_Format, NULL, _ArgList);
403
+ __crt_va_end(_ArgList);
404
+ return _Result;
405
+ }
406
+ #endif
407
+
408
+
409
+ _DCRTIMP int __cdecl _kbhit(void);
410
+
411
+ _Check_return_ _DCRTIMP int __cdecl _getch(void);
412
+ _Check_return_ _DCRTIMP int __cdecl _getche(void);
413
+ _Check_return_opt_ _DCRTIMP int __cdecl _putch (_In_ int _Ch);
414
+ _Check_return_opt_ _DCRTIMP int __cdecl _ungetch(_In_ int _Ch);
415
+
416
+ _Check_return_ _DCRTIMP int __cdecl _getch_nolock (void);
417
+ _Check_return_ _DCRTIMP int __cdecl _getche_nolock (void);
418
+ _Check_return_opt_ _DCRTIMP int __cdecl _putch_nolock (_In_ int _Ch);
419
+ _Check_return_opt_ _DCRTIMP int __cdecl _ungetch_nolock(_In_ int _Ch);
420
+
421
+ #if defined(_CRT_INTERNAL_NONSTDC_NAMES) && _CRT_INTERNAL_NONSTDC_NAMES
422
+
423
+ // Suppress double-deprecation warnings:
424
+ #pragma warning(push)
425
+ #pragma warning(disable: 4141)
426
+
427
+ _Success_(return != 0)
428
+ _Check_return_opt_ _CRT_NONSTDC_DEPRECATE(_cgets) _CRT_INSECURE_DEPRECATE(_cgets_s)
429
+ _DCRTIMP char* __cdecl cgets(
430
+ _At_(&_Buffer[0], _In_reads_(1))
431
+ _At_(&_Buffer[1], _Out_writes_(1))
432
+ _At_(&_Buffer[2], _Post_z_ _Out_writes_to_(_Buffer[0], _Buffer[1]))
433
+ char* _Buffer
434
+ );
435
+
436
+ #pragma warning(pop)
437
+
438
+ _Check_return_opt_ _CRT_NONSTDC_DEPRECATE(_cputs)
439
+ _DCRTIMP int __cdecl cputs(
440
+ _In_z_ char const* _String
441
+ );
442
+
443
+ _Check_return_ _CRT_NONSTDC_DEPRECATE(_getch)
444
+ _DCRTIMP int __cdecl getch(void);
445
+
446
+ _Check_return_ _CRT_NONSTDC_DEPRECATE(_getche)
447
+ _DCRTIMP int __cdecl getche(void);
448
+
449
+ _Check_return_ _CRT_NONSTDC_DEPRECATE(_kbhit)
450
+ _DCRTIMP int __cdecl kbhit(void);
451
+
452
+ _Check_return_opt_ _CRT_NONSTDC_DEPRECATE(_putch)
453
+ _DCRTIMP int __cdecl putch(
454
+ _In_ int _Ch
455
+ );
456
+
457
+ _Check_return_opt_ _CRT_NONSTDC_DEPRECATE(_ungetch)
458
+ _DCRTIMP int __cdecl ungetch(
459
+ _In_ int _Ch
460
+ );
461
+
462
+ _Check_return_opt_ _CRT_NONSTDC_DEPRECATE(_cprintf)
463
+ _CRT_STDIO_INLINE int __CRTDECL cprintf(
464
+ _In_z_ _Printf_format_string_ char const* const _Format,
465
+ ...)
466
+ #if defined _NO_CRT_STDIO_INLINE
467
+ ;
468
+ #else
469
+ {
470
+ int _Result;
471
+ va_list _ArgList;
472
+ __crt_va_start(_ArgList, _Format);
473
+ _Result = _vcprintf_l(_Format, NULL, _ArgList);
474
+ __crt_va_end(_ArgList);
475
+ return _Result;
476
+ }
477
+ #endif
478
+
479
+ _Check_return_opt_ _CRT_NONSTDC_DEPRECATE(_cscanf)
480
+ _CRT_STDIO_INLINE int __CRTDECL cscanf(
481
+ _In_z_ _Scanf_format_string_ char const* const _Format,
482
+ ...)
483
+ #if defined _NO_CRT_STDIO_INLINE
484
+ ;
485
+ #else
486
+ {
487
+ int _Result;
488
+ va_list _ArgList;
489
+ __crt_va_start(_ArgList, _Format);
490
+
491
+ _Result = _vcscanf_l(_Format, NULL, _ArgList);
492
+
493
+ __crt_va_end(_ArgList);
494
+ return _Result;
495
+ }
496
+ #endif
497
+
498
+ #endif // _CRT_INTERNAL_NONSTDC_NAMES
499
+
500
+ _CRT_END_C_HEADER
501
+
502
+ _UCRT_RESTORE_CLANG_WARNINGS
503
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
504
+ #endif // _INC_CONIO
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt.h ADDED
The diff for this file is too large to render. See raw diff
 
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_io.h ADDED
@@ -0,0 +1,572 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // corecrt_io.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // This file declares the low-level I/O and file handling functionality. These
7
+ // declarations are split out to support the Windows build.
8
+ //
9
+ #pragma once
10
+
11
+ #include <corecrt_share.h>
12
+ #include <corecrt_wio.h>
13
+
14
+ #pragma warning(push)
15
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
16
+ _UCRT_DISABLE_CLANG_WARNINGS
17
+
18
+ _CRT_BEGIN_C_HEADER
19
+
20
+
21
+
22
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
23
+ //
24
+ // Types
25
+ //
26
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
27
+ #ifdef _USE_32BIT_TIME_T
28
+ #define _finddata_t _finddata32_t
29
+ #define _finddatai64_t _finddata32i64_t
30
+ #else
31
+ #define _finddata_t _finddata64i32_t
32
+ #define _finddatai64_t __finddata64_t
33
+ #endif
34
+
35
+ struct _finddata32_t
36
+ {
37
+ unsigned attrib;
38
+ __time32_t time_create; // -1 for FAT file systems
39
+ __time32_t time_access; // -1 for FAT file systems
40
+ __time32_t time_write;
41
+ _fsize_t size;
42
+ char name[260];
43
+ };
44
+
45
+ struct _finddata32i64_t
46
+ {
47
+ unsigned attrib;
48
+ __time32_t time_create; // -1 for FAT file systems
49
+ __time32_t time_access; // -1 for FAT file systems
50
+ __time32_t time_write;
51
+ __int64 size;
52
+ char name[260];
53
+ };
54
+
55
+ struct _finddata64i32_t
56
+ {
57
+ unsigned attrib;
58
+ __time64_t time_create; // -1 for FAT file systems
59
+ __time64_t time_access; // -1 for FAT file systems
60
+ __time64_t time_write;
61
+ _fsize_t size;
62
+ char name[260];
63
+ };
64
+
65
+ struct __finddata64_t
66
+ {
67
+ unsigned attrib;
68
+ __time64_t time_create; // -1 for FAT file systems
69
+ __time64_t time_access; // -1 for FAT file systems
70
+ __time64_t time_write;
71
+ __int64 size;
72
+ char name[260];
73
+ };
74
+
75
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
76
+ //
77
+ // Macros
78
+ //
79
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
80
+ // File attribute constants for the _findfirst() family of functions
81
+ #define _A_NORMAL 0x00 // Normal file - No read/write restrictions
82
+ #define _A_RDONLY 0x01 // Read only file
83
+ #define _A_HIDDEN 0x02 // Hidden file
84
+ #define _A_SYSTEM 0x04 // System file
85
+ #define _A_SUBDIR 0x10 // Subdirectory
86
+ #define _A_ARCH 0x20 // Archive file
87
+
88
+
89
+
90
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
91
+ //
92
+ // Functions
93
+ //
94
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
95
+ #ifdef _USE_32BIT_TIME_T
96
+ #define _findfirst _findfirst32
97
+ #define _findnext _findnext32
98
+ #define _findfirsti64 _findfirst32i64
99
+ #define _findnexti64 _findnext32i64
100
+ #else
101
+ #define _findfirst _findfirst64i32
102
+ #define _findnext _findnext64i32
103
+ #define _findfirsti64 _findfirst64
104
+ #define _findnexti64 _findnext64
105
+ #endif
106
+
107
+ #if _CRT_FUNCTIONS_REQUIRED
108
+
109
+ _Check_return_
110
+ _ACRTIMP int __cdecl _access(
111
+ _In_z_ char const* _FileName,
112
+ _In_ int _AccessMode
113
+ );
114
+
115
+ _Check_return_wat_
116
+ _ACRTIMP errno_t __cdecl _access_s(
117
+ _In_z_ char const* _FileName,
118
+ _In_ int _AccessMode
119
+ );
120
+
121
+ _Check_return_
122
+ _ACRTIMP int __cdecl _chmod(
123
+ _In_z_ char const* _FileName,
124
+ _In_ int _Mode
125
+ );
126
+
127
+ _Check_return_
128
+ _ACRTIMP int __cdecl _chsize(
129
+ _In_ int _FileHandle,
130
+ _In_ long _Size
131
+ );
132
+
133
+ _Check_return_wat_
134
+ _ACRTIMP errno_t __cdecl _chsize_s(
135
+ _In_ int _FileHandle,
136
+ _In_ __int64 _Size
137
+ );
138
+
139
+ _Check_return_opt_
140
+ _ACRTIMP int __cdecl _close(
141
+ _In_ int _FileHandle
142
+ );
143
+
144
+ _Check_return_opt_
145
+ _ACRTIMP int __cdecl _commit(
146
+ _In_ int _FileHandle
147
+ );
148
+
149
+ _Check_return_ _CRT_INSECURE_DEPRECATE(_sopen_s)
150
+ _ACRTIMP int __cdecl _creat(
151
+ _In_z_ char const* _FileName,
152
+ _In_ int _PermissionMode
153
+ );
154
+
155
+ _Check_return_
156
+ _ACRTIMP int __cdecl _dup(
157
+ _In_ int _FileHandle
158
+ );
159
+
160
+ _Check_return_
161
+ _ACRTIMP int __cdecl _dup2(
162
+ _In_ int _FileHandleSrc,
163
+ _In_ int _FileHandleDst
164
+ );
165
+
166
+ _Check_return_
167
+ _ACRTIMP int __cdecl _eof(
168
+ _In_ int _FileHandle
169
+ );
170
+
171
+ _Check_return_
172
+ _ACRTIMP long __cdecl _filelength(
173
+ _In_ int _FileHandle
174
+ );
175
+
176
+ _Success_(return != -1)
177
+ _Check_return_
178
+ _ACRTIMP intptr_t __cdecl _findfirst32(
179
+ _In_z_ char const* _FileName,
180
+ _Out_ struct _finddata32_t* _FindData
181
+ );
182
+
183
+ _Success_(return != -1)
184
+ _Check_return_
185
+ _ACRTIMP int __cdecl _findnext32(
186
+ _In_ intptr_t _FindHandle,
187
+ _Out_ struct _finddata32_t* _FindData
188
+ );
189
+
190
+ _Check_return_opt_
191
+ _ACRTIMP int __cdecl _findclose(
192
+ _In_ intptr_t _FindHandle
193
+ );
194
+
195
+ _ACRTIMP intptr_t __cdecl _get_osfhandle(
196
+ _In_ int _FileHandle
197
+ );
198
+
199
+ _Check_return_
200
+ _ACRTIMP int __cdecl _isatty(
201
+ _In_ int _FileHandle
202
+ );
203
+
204
+ _ACRTIMP int __cdecl _locking(
205
+ _In_ int _FileHandle,
206
+ _In_ int _LockMode,
207
+ _In_ long _NumOfBytes
208
+ );
209
+
210
+ _Check_return_opt_
211
+ _ACRTIMP long __cdecl _lseek(
212
+ _In_ int _FileHandle,
213
+ _In_ long _Offset,
214
+ _In_ int _Origin
215
+ );
216
+
217
+ _Success_(return == 0)
218
+ _Check_return_wat_
219
+ _ACRTIMP errno_t __cdecl _mktemp_s(
220
+ _Inout_updates_z_(_Size) char* _TemplateName,
221
+ _In_ size_t _Size
222
+ );
223
+
224
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(
225
+ errno_t, _mktemp_s,
226
+ _Prepost_z_ char, _TemplateName
227
+ )
228
+
229
+ _Success_(return != 0)
230
+ _Check_return_ __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(
231
+ char *, __RETURN_POLICY_DST, _ACRTIMP, _mktemp,
232
+ _Inout_z_, char, _TemplateName
233
+ )
234
+
235
+ _ACRTIMP int __cdecl _open_osfhandle(
236
+ _In_ intptr_t _OSFileHandle,
237
+ _In_ int _Flags
238
+ );
239
+
240
+ #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
241
+ _Success_(return != -1)
242
+ _Check_return_
243
+ _DCRTIMP int __cdecl _pipe(
244
+ _Out_writes_(2) int* _PtHandles,
245
+ _In_ unsigned int _PipeSize,
246
+ _In_ int _TextMode
247
+ );
248
+ #endif
249
+
250
+ _Success_(return != -1)
251
+ _Check_return_
252
+ _ACRTIMP int __cdecl _read(
253
+ _In_ int _FileHandle,
254
+ _Out_writes_bytes_(_MaxCharCount) void* _DstBuf,
255
+ _In_ unsigned int _MaxCharCount
256
+ );
257
+
258
+ _ACRTIMP int __cdecl remove(
259
+ _In_z_ char const* _FileName
260
+ );
261
+
262
+ _Check_return_
263
+ _ACRTIMP int __cdecl rename(
264
+ _In_z_ char const* _OldFilename,
265
+ _In_z_ char const* _NewFilename
266
+ );
267
+
268
+ _ACRTIMP int __cdecl _unlink(
269
+ _In_z_ char const* _FileName
270
+ );
271
+
272
+ _Check_return_
273
+ _ACRTIMP int __cdecl _setmode(
274
+ _In_ int _FileHandle,
275
+ _In_ int _Mode
276
+ );
277
+
278
+ _Check_return_
279
+ _ACRTIMP long __cdecl _tell(
280
+ _In_ int _FileHandle
281
+ );
282
+
283
+ _CRT_INSECURE_DEPRECATE(_umask_s)
284
+ _ACRTIMP int __cdecl _umask(
285
+ _In_ int _Mode
286
+ );
287
+
288
+ _Check_return_wat_
289
+ _ACRTIMP errno_t __cdecl _umask_s(
290
+ _In_ int _NewMode,
291
+ _Out_ int* _OldMode
292
+ );
293
+
294
+ _ACRTIMP int __cdecl _write(
295
+ _In_ int _FileHandle,
296
+ _In_reads_bytes_(_MaxCharCount) void const* _Buf,
297
+ _In_ unsigned int _MaxCharCount
298
+ );
299
+
300
+ _Check_return_
301
+ _ACRTIMP __int64 __cdecl _filelengthi64(
302
+ _In_ int _FileHandle
303
+ );
304
+
305
+ _Success_(return != -1)
306
+ _Check_return_
307
+ _ACRTIMP intptr_t __cdecl _findfirst32i64(
308
+ _In_z_ char const* _FileName,
309
+ _Out_ struct _finddata32i64_t* _FindData
310
+ );
311
+
312
+ _Success_(return != -1)
313
+ _Check_return_
314
+ _ACRTIMP intptr_t __cdecl _findfirst64i32(
315
+ _In_z_ char const* _FileName,
316
+ _Out_ struct _finddata64i32_t* _FindData
317
+ );
318
+
319
+ _Success_(return != -1)
320
+ _Check_return_
321
+ _ACRTIMP intptr_t __cdecl _findfirst64(
322
+ _In_z_ char const* _FileName,
323
+ _Out_ struct __finddata64_t* _FindData
324
+ );
325
+
326
+ _Success_(return != -1)
327
+ _Check_return_
328
+ _ACRTIMP int __cdecl _findnext32i64(
329
+ _In_ intptr_t _FindHandle,
330
+ _Out_ struct _finddata32i64_t* _FindData
331
+ );
332
+
333
+ _Success_(return != -1)
334
+ _Check_return_
335
+ _ACRTIMP int __cdecl _findnext64i32(
336
+ _In_ intptr_t _FindHandle,
337
+ _Out_ struct _finddata64i32_t* _FindData
338
+ );
339
+
340
+ _Success_(return != -1)
341
+ _Check_return_
342
+ _ACRTIMP int __cdecl _findnext64(
343
+ _In_ intptr_t _FindHandle,
344
+ _Out_ struct __finddata64_t* _FindData
345
+ );
346
+
347
+ _Check_return_opt_
348
+ _ACRTIMP __int64 __cdecl _lseeki64(
349
+ _In_ int _FileHandle,
350
+ _In_ __int64 _Offset,
351
+ _In_ int _Origin
352
+ );
353
+
354
+ _Check_return_
355
+ _ACRTIMP __int64 __cdecl _telli64(
356
+ _In_ int _FileHandle
357
+ );
358
+
359
+ _Check_return_wat_
360
+ _ACRTIMP errno_t __cdecl _sopen_s(
361
+ _Out_ int* _FileHandle,
362
+ _In_z_ char const* _FileName,
363
+ _In_ int _OpenFlag,
364
+ _In_ int _ShareFlag,
365
+ _In_ int _PermissionMode
366
+ );
367
+
368
+ _Check_return_
369
+ _ACRTIMP errno_t __cdecl _sopen_s_nolock(
370
+ _Out_ int* _FileHandle,
371
+ _In_z_ char const* _FileName,
372
+ _In_ int _OpenFlag,
373
+ _In_ int _ShareFlag,
374
+ _In_ int _PermissionMode
375
+ );
376
+
377
+ _ACRTIMP errno_t __cdecl _sopen_dispatch(
378
+ _In_z_ char const* _FileName,
379
+ _In_ int _OFlag,
380
+ _In_ int _ShFlag,
381
+ _In_ int _PMode,
382
+ _Out_ int* _PFileHandle,
383
+ _In_ int _BSecure
384
+ );
385
+
386
+
387
+
388
+ #ifdef __cplusplus
389
+
390
+ // These function do not validate pmode; use _sopen_s instead.
391
+ extern "C++" _Check_return_ _CRT_INSECURE_DEPRECATE(_sopen_s)
392
+ inline int __CRTDECL _open(
393
+ _In_z_ char const* const _FileName,
394
+ _In_ int const _OFlag,
395
+ _In_ int const _PMode = 0
396
+ )
397
+ {
398
+ int _FileHandle;
399
+ // Last parameter passed as 0 because we don't want to validate pmode from _open
400
+ errno_t const _Result = _sopen_dispatch(_FileName, _OFlag, _SH_DENYNO, _PMode, &_FileHandle, 0);
401
+ return _Result ? -1 : _FileHandle;
402
+ }
403
+
404
+ extern "C++" _Check_return_ _CRT_INSECURE_DEPRECATE(_sopen_s)
405
+ inline int __CRTDECL _sopen(
406
+ _In_z_ char const* const _FileName,
407
+ _In_ int const _OFlag,
408
+ _In_ int const _ShFlag,
409
+ _In_ int const _PMode = 0
410
+ )
411
+ {
412
+ int _FileHandle;
413
+ // Last parameter passed as 0 because we don't want to validate pmode from _sopen
414
+ errno_t const _Result = _sopen_dispatch(_FileName, _OFlag, _ShFlag, _PMode, &_FileHandle, 0);
415
+ return _Result ? -1 : _FileHandle;
416
+ }
417
+
418
+ #else
419
+
420
+ _Check_return_ _CRT_INSECURE_DEPRECATE(_sopen_s)
421
+ _ACRTIMP int __cdecl _open(
422
+ _In_z_ char const* _FileName,
423
+ _In_ int _OpenFlag,
424
+ ...);
425
+
426
+ _Check_return_ _CRT_INSECURE_DEPRECATE(_sopen_s)
427
+ _ACRTIMP int __cdecl _sopen(
428
+ _In_z_ char const* _FileName,
429
+ _In_ int _OpenFlag,
430
+ _In_ int _ShareFlag,
431
+ ...);
432
+
433
+ #endif
434
+
435
+
436
+
437
+ #if defined(_CRT_INTERNAL_NONSTDC_NAMES) && _CRT_INTERNAL_NONSTDC_NAMES
438
+ // Suppress warnings about double deprecation
439
+ #pragma warning(push)
440
+ #pragma warning(disable: 4141)
441
+
442
+ _Check_return_ _CRT_NONSTDC_DEPRECATE(_access)
443
+ _ACRTIMP int __cdecl access(
444
+ _In_z_ char const* _FileName,
445
+ _In_ int _AccessMode
446
+ );
447
+
448
+ _Check_return_ _CRT_NONSTDC_DEPRECATE(_chmod)
449
+ _ACRTIMP int __cdecl chmod(
450
+ _In_z_ char const* _FileName,
451
+ _In_ int _AccessMode
452
+ );
453
+
454
+ _Check_return_ _CRT_NONSTDC_DEPRECATE(_chsize)
455
+ _ACRTIMP int __cdecl chsize(
456
+ _In_ int _FileHandle,
457
+ _In_ long _Size
458
+ );
459
+
460
+ _Check_return_opt_ _CRT_NONSTDC_DEPRECATE(_close)
461
+ _ACRTIMP int __cdecl close(
462
+ _In_ int _FileHandle
463
+ );
464
+
465
+ _Check_return_ _CRT_NONSTDC_DEPRECATE(_creat) _CRT_INSECURE_DEPRECATE(_sopen_s)
466
+ _ACRTIMP int __cdecl creat(
467
+ _In_z_ char const* _FileName,
468
+ _In_ int _PermissionMode
469
+ );
470
+
471
+ _Check_return_ _CRT_NONSTDC_DEPRECATE(_dup)
472
+ _ACRTIMP int __cdecl dup(
473
+ _In_ int _FileHandle
474
+ );
475
+
476
+ _Check_return_ _CRT_NONSTDC_DEPRECATE(_dup2)
477
+ _ACRTIMP int __cdecl dup2(
478
+ _In_ int _FileHandleSrc,
479
+ _In_ int _FileHandleDst
480
+ );
481
+
482
+ _Check_return_ _CRT_NONSTDC_DEPRECATE(_eof)
483
+ _ACRTIMP int __cdecl eof(
484
+ _In_ int _FileHandle
485
+ );
486
+
487
+ _Check_return_ _CRT_NONSTDC_DEPRECATE(_filelength)
488
+ _ACRTIMP long __cdecl filelength(
489
+ _In_ int _FileHandle
490
+ );
491
+
492
+ _Check_return_ _CRT_NONSTDC_DEPRECATE(_isatty)
493
+ _ACRTIMP int __cdecl isatty(
494
+ _In_ int _FileHandle
495
+ );
496
+
497
+ _Check_return_ _CRT_NONSTDC_DEPRECATE(_locking)
498
+ _ACRTIMP int __cdecl locking(
499
+ _In_ int _FileHandle,
500
+ _In_ int _LockMode,
501
+ _In_ long _NumOfBytes
502
+ );
503
+
504
+ _Check_return_opt_ _CRT_NONSTDC_DEPRECATE(_lseek)
505
+ _ACRTIMP long __cdecl lseek(
506
+ _In_ int _FileHandle,
507
+ _In_ long _Offset,
508
+ _In_ int _Origin
509
+ );
510
+
511
+ _Success_(return != 0)
512
+ _CRT_NONSTDC_DEPRECATE(_mktemp) _CRT_INSECURE_DEPRECATE(_mktemp_s)
513
+ _ACRTIMP char * __cdecl mktemp(
514
+ _Inout_z_ char* _TemplateName
515
+ );
516
+
517
+ _Check_return_ _CRT_NONSTDC_DEPRECATE(_open) _CRT_INSECURE_DEPRECATE(_sopen_s)
518
+ _ACRTIMP int __cdecl open(
519
+ _In_z_ char const* _FileName,
520
+ _In_ int _OpenFlag,
521
+ ...);
522
+
523
+ _Success_(return != -1)
524
+ _CRT_NONSTDC_DEPRECATE(_read)
525
+ _ACRTIMP int __cdecl read(
526
+ _In_ int _FileHandle,
527
+ _Out_writes_bytes_(_MaxCharCount) void* _DstBuf,
528
+ _In_ unsigned int _MaxCharCount
529
+ );
530
+
531
+ _Check_return_ _CRT_NONSTDC_DEPRECATE(_setmode)
532
+ _ACRTIMP int __cdecl setmode(
533
+ _In_ int _FileHandle,
534
+ _In_ int _Mode
535
+ );
536
+
537
+ _CRT_NONSTDC_DEPRECATE(_sopen) _CRT_INSECURE_DEPRECATE(_sopen_s)
538
+ _ACRTIMP int __cdecl sopen(
539
+ _In_ char const* _FileName,
540
+ _In_ int _OpenFlag,
541
+ _In_ int _ShareFlag,
542
+ ...);
543
+
544
+ _Check_return_ _CRT_NONSTDC_DEPRECATE(_tell)
545
+ _ACRTIMP long __cdecl tell(
546
+ _In_ int _FileHandle
547
+ );
548
+
549
+ _CRT_NONSTDC_DEPRECATE(_umask) _CRT_INSECURE_DEPRECATE(_umask_s)
550
+ _ACRTIMP int __cdecl umask(
551
+ _In_ int _Mode
552
+ );
553
+
554
+ _CRT_NONSTDC_DEPRECATE(_unlink)
555
+ _ACRTIMP int __cdecl unlink(
556
+ _In_z_ char const* _FileName
557
+ );
558
+
559
+ _Check_return_ _CRT_NONSTDC_DEPRECATE(_write)
560
+ _ACRTIMP int __cdecl write(
561
+ _In_ int _FileHandle,
562
+ _In_reads_bytes_(_MaxCharCount) void const* _Buf,
563
+ _In_ unsigned int _MaxCharCount
564
+ );
565
+
566
+ #pragma warning(pop)
567
+ #endif // _CRT_INTERNAL_NONSTDC_NAMES
568
+ #endif // _CRT_FUNCTIONS_REQUIRED
569
+
570
+ _CRT_END_C_HEADER
571
+ _UCRT_RESTORE_CLANG_WARNINGS
572
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_malloc.h ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // corecrt_malloc.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // The memory allocation library. These pieces of the allocation library are
7
+ // shared by both <stdlib.h> and <malloc.h>.
8
+ //
9
+ #pragma once
10
+
11
+ #include <corecrt.h>
12
+
13
+ #pragma warning(push)
14
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
15
+ _UCRT_DISABLE_CLANG_WARNINGS
16
+
17
+ _CRT_BEGIN_C_HEADER
18
+
19
+
20
+
21
+ #if defined _DEBUG && defined _CRTDBG_MAP_ALLOC
22
+ #pragma push_macro("_aligned_free")
23
+ #pragma push_macro("_aligned_malloc")
24
+ #pragma push_macro("_aligned_msize")
25
+ #pragma push_macro("_aligned_offset_malloc")
26
+ #pragma push_macro("_aligned_offset_realloc")
27
+ #pragma push_macro("_aligned_offset_recalloc")
28
+ #pragma push_macro("_aligned_realloc")
29
+ #pragma push_macro("_aligned_recalloc")
30
+ #pragma push_macro("_expand")
31
+ #pragma push_macro("_freea")
32
+ #pragma push_macro("_msize")
33
+ #pragma push_macro("_recalloc")
34
+ #pragma push_macro("calloc")
35
+ #pragma push_macro("free")
36
+ #pragma push_macro("malloc")
37
+ #pragma push_macro("realloc")
38
+
39
+ #undef _aligned_free
40
+ #undef _aligned_malloc
41
+ #undef _aligned_msize
42
+ #undef _aligned_offset_malloc
43
+ #undef _aligned_offset_realloc
44
+ #undef _aligned_offset_recalloc
45
+ #undef _aligned_realloc
46
+ #undef _aligned_recalloc
47
+ #undef _expand
48
+ #undef _freea
49
+ #undef _msize
50
+ #undef _recalloc
51
+ #undef calloc
52
+ #undef free
53
+ #undef malloc
54
+ #undef realloc
55
+ #endif
56
+
57
+ _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Count * _Size)
58
+ _ACRTIMP _CRTALLOCATOR _CRTRESTRICT
59
+ void* __cdecl _calloc_base(
60
+ _In_ size_t _Count,
61
+ _In_ size_t _Size
62
+ );
63
+
64
+ _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Count * _Size)
65
+ _ACRTIMP _CRT_JIT_INTRINSIC _CRTALLOCATOR _CRTRESTRICT _CRT_HYBRIDPATCHABLE
66
+ void* __cdecl calloc(
67
+ _In_ _CRT_GUARDOVERFLOW size_t _Count,
68
+ _In_ _CRT_GUARDOVERFLOW size_t _Size
69
+ );
70
+
71
+ _Check_return_
72
+ _ACRTIMP int __cdecl _callnewh(
73
+ _In_ size_t _Size
74
+ );
75
+
76
+ _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Size)
77
+ _ACRTIMP _CRTALLOCATOR _CRT_HYBRIDPATCHABLE
78
+ void* __cdecl _expand(
79
+ _Pre_notnull_ void* _Block,
80
+ _In_ _CRT_GUARDOVERFLOW size_t _Size
81
+ );
82
+
83
+ _ACRTIMP
84
+ void __cdecl _free_base(
85
+ _Pre_maybenull_ _Post_invalid_ void* _Block
86
+ );
87
+
88
+ _ACRTIMP _CRT_HYBRIDPATCHABLE
89
+ void __cdecl free(
90
+ _Pre_maybenull_ _Post_invalid_ void* _Block
91
+ );
92
+
93
+ _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Size)
94
+ _ACRTIMP _CRTALLOCATOR _CRTRESTRICT
95
+ void* __cdecl _malloc_base(
96
+ _In_ size_t _Size
97
+ );
98
+
99
+ _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Size)
100
+ _ACRTIMP _CRTALLOCATOR _CRT_JIT_INTRINSIC _CRTRESTRICT _CRT_HYBRIDPATCHABLE
101
+ void* __cdecl malloc(
102
+ _In_ _CRT_GUARDOVERFLOW size_t _Size
103
+ );
104
+
105
+ _Check_return_
106
+ _ACRTIMP
107
+ size_t __cdecl _msize_base(
108
+ _Pre_notnull_ void* _Block
109
+ ) _CRT_NOEXCEPT;
110
+
111
+ _Check_return_
112
+ _ACRTIMP _CRT_HYBRIDPATCHABLE
113
+ size_t __cdecl _msize(
114
+ _Pre_notnull_ void* _Block
115
+ );
116
+
117
+ _Success_(return != 0) _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Size)
118
+ _ACRTIMP _CRTALLOCATOR _CRTRESTRICT
119
+ void* __cdecl _realloc_base(
120
+ _Pre_maybenull_ _Post_invalid_ void* _Block,
121
+ _In_ size_t _Size
122
+ );
123
+
124
+ _Success_(return != 0) _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Size)
125
+ _ACRTIMP _CRTALLOCATOR _CRTRESTRICT _CRT_HYBRIDPATCHABLE
126
+ void* __cdecl realloc(
127
+ _Pre_maybenull_ _Post_invalid_ void* _Block,
128
+ _In_ _CRT_GUARDOVERFLOW size_t _Size
129
+ );
130
+
131
+ _Success_(return != 0) _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Count * _Size)
132
+ _ACRTIMP _CRTALLOCATOR _CRTRESTRICT
133
+ void* __cdecl _recalloc_base(
134
+ _Pre_maybenull_ _Post_invalid_ void* _Block,
135
+ _In_ size_t _Count,
136
+ _In_ size_t _Size
137
+ );
138
+
139
+ _Success_(return != 0) _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Count * _Size)
140
+ _ACRTIMP _CRTALLOCATOR _CRTRESTRICT
141
+ void* __cdecl _recalloc(
142
+ _Pre_maybenull_ _Post_invalid_ void* _Block,
143
+ _In_ _CRT_GUARDOVERFLOW size_t _Count,
144
+ _In_ _CRT_GUARDOVERFLOW size_t _Size
145
+ );
146
+
147
+ _ACRTIMP
148
+ void __cdecl _aligned_free(
149
+ _Pre_maybenull_ _Post_invalid_ void* _Block
150
+ );
151
+
152
+ _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Size)
153
+ _ACRTIMP _CRTALLOCATOR _CRTRESTRICT
154
+ void* __cdecl _aligned_malloc(
155
+ _In_ _CRT_GUARDOVERFLOW size_t _Size,
156
+ _In_ size_t _Alignment
157
+ );
158
+
159
+ _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Size)
160
+ _ACRTIMP _CRTALLOCATOR _CRTRESTRICT
161
+ void* __cdecl _aligned_offset_malloc(
162
+ _In_ _CRT_GUARDOVERFLOW size_t _Size,
163
+ _In_ size_t _Alignment,
164
+ _In_ size_t _Offset
165
+ );
166
+
167
+ _Check_return_
168
+ _ACRTIMP
169
+ size_t __cdecl _aligned_msize(
170
+ _Pre_notnull_ void* _Block,
171
+ _In_ size_t _Alignment,
172
+ _In_ size_t _Offset
173
+ );
174
+
175
+ _Success_(return != 0) _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Size)
176
+ _ACRTIMP _CRTALLOCATOR _CRTRESTRICT
177
+ void* __cdecl _aligned_offset_realloc(
178
+ _Pre_maybenull_ _Post_invalid_ void* _Block,
179
+ _In_ _CRT_GUARDOVERFLOW size_t _Size,
180
+ _In_ size_t _Alignment,
181
+ _In_ size_t _Offset
182
+ );
183
+
184
+ _Success_(return != 0) _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Count * _Size)
185
+ _ACRTIMP _CRTALLOCATOR _CRTRESTRICT
186
+ void* __cdecl _aligned_offset_recalloc(
187
+ _Pre_maybenull_ _Post_invalid_ void* _Block,
188
+ _In_ _CRT_GUARDOVERFLOW size_t _Count,
189
+ _In_ _CRT_GUARDOVERFLOW size_t _Size,
190
+ _In_ size_t _Alignment,
191
+ _In_ size_t _Offset
192
+ );
193
+
194
+ _Success_(return != 0) _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Size)
195
+ _ACRTIMP _CRTALLOCATOR _CRTRESTRICT
196
+ void* __cdecl _aligned_realloc(
197
+ _Pre_maybenull_ _Post_invalid_ void* _Block,
198
+ _In_ _CRT_GUARDOVERFLOW size_t _Size,
199
+ _In_ size_t _Alignment
200
+ );
201
+
202
+ _Success_(return != 0) _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Count * _Size)
203
+ _ACRTIMP _CRTALLOCATOR _CRTRESTRICT
204
+ void* __cdecl _aligned_recalloc(
205
+ _Pre_maybenull_ _Post_invalid_ void* _Block,
206
+ _In_ _CRT_GUARDOVERFLOW size_t _Count,
207
+ _In_ _CRT_GUARDOVERFLOW size_t _Size,
208
+ _In_ size_t _Alignment
209
+ );
210
+
211
+ #if defined _DEBUG && defined _CRTDBG_MAP_ALLOC
212
+ #pragma pop_macro("realloc")
213
+ #pragma pop_macro("malloc")
214
+ #pragma pop_macro("free")
215
+ #pragma pop_macro("calloc")
216
+ #pragma pop_macro("_recalloc")
217
+ #pragma pop_macro("_msize")
218
+ #pragma pop_macro("_freea")
219
+ #pragma pop_macro("_expand")
220
+ #pragma pop_macro("_aligned_recalloc")
221
+ #pragma pop_macro("_aligned_realloc")
222
+ #pragma pop_macro("_aligned_offset_recalloc")
223
+ #pragma pop_macro("_aligned_offset_realloc")
224
+ #pragma pop_macro("_aligned_offset_malloc")
225
+ #pragma pop_macro("_aligned_msize")
226
+ #pragma pop_macro("_aligned_malloc")
227
+ #pragma pop_macro("_aligned_free")
228
+ #endif
229
+
230
+
231
+
232
+ _CRT_END_C_HEADER
233
+ _UCRT_RESTORE_CLANG_WARNINGS
234
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_math.h ADDED
@@ -0,0 +1,1026 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // corecrt_math.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // The majority of the C Standard Library <math.h> functionality.
7
+ //
8
+ #pragma once
9
+ #ifndef _INC_MATH // include guard for 3rd party interop
10
+ #define _INC_MATH
11
+
12
+ #include <corecrt.h>
13
+
14
+ #pragma warning(push)
15
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
16
+ _UCRT_DISABLE_CLANG_WARNINGS
17
+
18
+ _CRT_BEGIN_C_HEADER
19
+
20
+ #ifndef __assembler
21
+ // Definition of the _exception struct, which is passed to the matherr function
22
+ // when a floating point exception is detected:
23
+ struct _exception
24
+ {
25
+ int type; // exception type - see below
26
+ char* name; // name of function where error occurred
27
+ double arg1; // first argument to function
28
+ double arg2; // second argument (if any) to function
29
+ double retval; // value to be returned by function
30
+ };
31
+
32
+ // Definition of the _complex struct to be used by those who use the complex
33
+ // functions and want type checking.
34
+ #ifndef _COMPLEX_DEFINED
35
+ #define _COMPLEX_DEFINED
36
+
37
+ struct _complex
38
+ {
39
+ double x, y; // real and imaginary parts
40
+ };
41
+
42
+ #if defined(_CRT_INTERNAL_NONSTDC_NAMES) && _CRT_INTERNAL_NONSTDC_NAMES && !defined __cplusplus
43
+ // Non-ANSI name for compatibility
44
+ #define complex _complex
45
+ #endif
46
+ #endif
47
+ #endif // __assembler
48
+
49
+
50
+
51
+ // On x86, when not using /arch:SSE2 or greater, floating point operations
52
+ // are performed using the x87 instruction set and FLT_EVAL_METHOD is 2.
53
+ // (When /fp:fast is used, floating point operations may be consistent, so
54
+ // we use the default types.)
55
+ #if defined _M_IX86 && _M_IX86_FP < 2 && !defined _M_FP_FAST
56
+ typedef long double float_t;
57
+ typedef long double double_t;
58
+ #else
59
+ typedef float float_t;
60
+ typedef double double_t;
61
+ #endif
62
+
63
+
64
+
65
+ // Constant definitions for the exception type passed in the _exception struct
66
+ #define _DOMAIN 1 // argument domain error
67
+ #define _SING 2 // argument singularity
68
+ #define _OVERFLOW 3 // overflow range error
69
+ #define _UNDERFLOW 4 // underflow range error
70
+ #define _TLOSS 5 // total loss of precision
71
+ #define _PLOSS 6 // partial loss of precision
72
+
73
+ // Definitions of _HUGE and HUGE_VAL - respectively the XENIX and ANSI names
74
+ // for a value returned in case of error by a number of the floating point
75
+ // math routines.
76
+ #ifndef __assembler
77
+ #ifndef _M_CEE_PURE
78
+ extern double const _HUGE;
79
+ #else
80
+ double const _HUGE = System::Double::PositiveInfinity;
81
+ #endif
82
+ #endif
83
+
84
+ #if !defined __cplusplus && !defined __midl
85
+ inline float __ucrt_int_to_float(int i)
86
+ {
87
+ union {
88
+ int i;
89
+ float f;
90
+ } __my_int_to_float;
91
+
92
+ __my_int_to_float.i = i;
93
+ return __my_int_to_float.f;
94
+ }
95
+ #endif
96
+
97
+ #ifndef _HUGE_ENUF
98
+ #define _HUGE_ENUF 1e+300 // _HUGE_ENUF*_HUGE_ENUF must overflow
99
+ #endif
100
+ #ifndef _UCRT_LEGACY_INFINITY
101
+ #define INFINITY ((float)(_HUGE_ENUF))
102
+ #else
103
+ #define INFINITY ((float)(_HUGE_ENUF * _HUGE_ENUF))
104
+ #endif
105
+ #define HUGE_VAL ((double)INFINITY)
106
+ #define HUGE_VALF ((float)INFINITY)
107
+ #define HUGE_VALL ((long double)INFINITY)
108
+
109
+ #if defined _UCRT_NOISY_NAN || defined __midl
110
+ #define _UCRT_NAN (-(float)(((float)(_HUGE_ENUF * _HUGE_ENUF)) * 0.0F))
111
+ #elif defined __cplusplus
112
+ #define _UCRT_NAN (__builtin_nanf("0"))
113
+ #else
114
+ #define _UCRT_NAN (__ucrt_int_to_float(0x7FC00000))
115
+ #endif
116
+
117
+ #ifdef _UCRT_NEGATIVE_NAN
118
+ #define NAN (-_UCRT_NAN)
119
+ #else
120
+ #define NAN _UCRT_NAN
121
+ #endif
122
+
123
+ #define _DENORM (-2)
124
+ #define _FINITE (-1)
125
+ #define _INFCODE 1
126
+ #define _NANCODE 2
127
+
128
+ #define FP_INFINITE _INFCODE
129
+ #define FP_NAN _NANCODE
130
+ #define FP_NORMAL _FINITE
131
+ #define FP_SUBNORMAL _DENORM
132
+ #define FP_ZERO 0
133
+
134
+ #define _C2 1 // 0 if not 2's complement
135
+ #define FP_ILOGB0 (-0x7fffffff - _C2)
136
+ #define FP_ILOGBNAN 0x7fffffff
137
+
138
+ #define MATH_ERRNO 1
139
+ #define MATH_ERREXCEPT 2
140
+ #define math_errhandling (MATH_ERRNO | MATH_ERREXCEPT)
141
+
142
+ // Values for use as arguments to the _fperrraise function
143
+ #define _FE_DIVBYZERO 0x04
144
+ #define _FE_INEXACT 0x20
145
+ #define _FE_INVALID 0x01
146
+ #define _FE_OVERFLOW 0x08
147
+ #define _FE_UNDERFLOW 0x10
148
+
149
+ #define _D0_C 3 // little-endian, small long doubles
150
+ #define _D1_C 2
151
+ #define _D2_C 1
152
+ #define _D3_C 0
153
+
154
+ #define _DBIAS 0x3fe
155
+ #define _DOFF 4
156
+
157
+ #define _F0_C 1 // little-endian
158
+ #define _F1_C 0
159
+
160
+ #define _FBIAS 0x7e
161
+ #define _FOFF 7
162
+ #define _FRND 1
163
+
164
+ #define _L0_C 3 // little-endian, 64-bit long doubles
165
+ #define _L1_C 2
166
+ #define _L2_C 1
167
+ #define _L3_C 0
168
+
169
+ #define _LBIAS 0x3fe
170
+ #define _LOFF 4
171
+
172
+ // IEEE 754 double properties
173
+ #define _DFRAC ((unsigned short)((1 << _DOFF) - 1))
174
+ #define _DMASK ((unsigned short)(0x7fff & ~_DFRAC))
175
+ #define _DMAX ((unsigned short)((1 << (15 - _DOFF)) - 1))
176
+ #define _DSIGN ((unsigned short)0x8000)
177
+
178
+ // IEEE 754 float properties
179
+ #define _FFRAC ((unsigned short)((1 << _FOFF) - 1))
180
+ #define _FMASK ((unsigned short)(0x7fff & ~_FFRAC))
181
+ #define _FMAX ((unsigned short)((1 << (15 - _FOFF)) - 1))
182
+ #define _FSIGN ((unsigned short)0x8000)
183
+
184
+ // IEEE 754 long double properties
185
+ #define _LFRAC ((unsigned short)(-1))
186
+ #define _LMASK ((unsigned short)0x7fff)
187
+ #define _LMAX ((unsigned short)0x7fff)
188
+ #define _LSIGN ((unsigned short)0x8000)
189
+
190
+ #define _DHUGE_EXP (int)(_DMAX * 900L / 1000)
191
+ #define _FHUGE_EXP (int)(_FMAX * 900L / 1000)
192
+ #define _LHUGE_EXP (int)(_LMAX * 900L / 1000)
193
+
194
+ #define _DSIGN_C(_Val) (((_double_val *)(char*)&(_Val))->_Sh[_D0_C] & _DSIGN)
195
+ #define _FSIGN_C(_Val) (((_float_val *)(char*)&(_Val))->_Sh[_F0_C] & _FSIGN)
196
+ #define _LSIGN_C(_Val) (((_ldouble_val*)(char*)&(_Val))->_Sh[_L0_C] & _LSIGN)
197
+
198
+ void __cdecl _fperrraise(_In_ int _Except);
199
+
200
+ _Check_return_ _ACRTIMP short __cdecl _dclass(_In_ double _X);
201
+ _Check_return_ _ACRTIMP short __cdecl _ldclass(_In_ long double _X);
202
+ _Check_return_ _ACRTIMP short __cdecl _fdclass(_In_ float _X);
203
+
204
+ _Check_return_ _ACRTIMP int __cdecl _dsign(_In_ double _X);
205
+ _Check_return_ _ACRTIMP int __cdecl _ldsign(_In_ long double _X);
206
+ _Check_return_ _ACRTIMP int __cdecl _fdsign(_In_ float _X);
207
+
208
+ _Check_return_ _ACRTIMP int __cdecl _dpcomp(_In_ double _X, _In_ double _Y);
209
+ _Check_return_ _ACRTIMP int __cdecl _ldpcomp(_In_ long double _X, _In_ long double _Y);
210
+ _Check_return_ _ACRTIMP int __cdecl _fdpcomp(_In_ float _X, _In_ float _Y);
211
+
212
+ _Check_return_ _ACRTIMP short __cdecl _dtest(_In_ double* _Px);
213
+ _Check_return_ _ACRTIMP short __cdecl _ldtest(_In_ long double* _Px);
214
+ _Check_return_ _ACRTIMP short __cdecl _fdtest(_In_ float* _Px);
215
+
216
+ _ACRTIMP short __cdecl _d_int(_Inout_ double* _Px, _In_ short _Xexp);
217
+ _ACRTIMP short __cdecl _ld_int(_Inout_ long double* _Px, _In_ short _Xexp);
218
+ _ACRTIMP short __cdecl _fd_int(_Inout_ float* _Px, _In_ short _Xexp);
219
+
220
+ _ACRTIMP short __cdecl _dscale(_Inout_ double* _Px, _In_ long _Lexp);
221
+ _ACRTIMP short __cdecl _ldscale(_Inout_ long double* _Px, _In_ long _Lexp);
222
+ _ACRTIMP short __cdecl _fdscale(_Inout_ float* _Px, _In_ long _Lexp);
223
+
224
+ _ACRTIMP short __cdecl _dunscale(_Out_ short* _Pex, _Inout_ double* _Px);
225
+ _ACRTIMP short __cdecl _ldunscale(_Out_ short* _Pex, _Inout_ long double* _Px);
226
+ _ACRTIMP short __cdecl _fdunscale(_Out_ short* _Pex, _Inout_ float* _Px);
227
+
228
+ _Check_return_ _ACRTIMP short __cdecl _dexp(_Inout_ double* _Px, _In_ double _Y, _In_ long _Eoff);
229
+ _Check_return_ _ACRTIMP short __cdecl _ldexp(_Inout_ long double* _Px, _In_ long double _Y, _In_ long _Eoff);
230
+ _Check_return_ _ACRTIMP short __cdecl _fdexp(_Inout_ float* _Px, _In_ float _Y, _In_ long _Eoff);
231
+
232
+ _Check_return_ _ACRTIMP short __cdecl _dnorm(_Inout_updates_(4) unsigned short* _Ps);
233
+ _Check_return_ _ACRTIMP short __cdecl _fdnorm(_Inout_updates_(2) unsigned short* _Ps);
234
+
235
+ _Check_return_ _ACRTIMP double __cdecl _dpoly(_In_ double _X, _In_reads_(_N) double const* _Tab, _In_ int _N);
236
+ _Check_return_ _ACRTIMP long double __cdecl _ldpoly(_In_ long double _X, _In_reads_(_N) long double const* _Tab, _In_ int _N);
237
+ _Check_return_ _ACRTIMP float __cdecl _fdpoly(_In_ float _X, _In_reads_(_N) float const* _Tab, _In_ int _N);
238
+
239
+ _Check_return_ _ACRTIMP double __cdecl _dlog(_In_ double _X, _In_ int _Baseflag);
240
+ _Check_return_ _ACRTIMP long double __cdecl _ldlog(_In_ long double _X, _In_ int _Baseflag);
241
+ _Check_return_ _ACRTIMP float __cdecl _fdlog(_In_ float _X, _In_ int _Baseflag);
242
+
243
+ _Check_return_ _ACRTIMP double __cdecl _dsin(_In_ double _X, _In_ unsigned int _Qoff);
244
+ _Check_return_ _ACRTIMP long double __cdecl _ldsin(_In_ long double _X, _In_ unsigned int _Qoff);
245
+ _Check_return_ _ACRTIMP float __cdecl _fdsin(_In_ float _X, _In_ unsigned int _Qoff);
246
+
247
+ // double declarations
248
+ typedef union
249
+ { // pun floating type as integer array
250
+ unsigned short _Sh[4];
251
+ double _Val;
252
+ } _double_val;
253
+
254
+ // float declarations
255
+ typedef union
256
+ { // pun floating type as integer array
257
+ unsigned short _Sh[2];
258
+ float _Val;
259
+ } _float_val;
260
+
261
+ // long double declarations
262
+ typedef union
263
+ { // pun floating type as integer array
264
+ unsigned short _Sh[4];
265
+ long double _Val;
266
+ } _ldouble_val;
267
+
268
+ typedef union
269
+ { // pun float types as integer array
270
+ unsigned short _Word[4];
271
+ float _Float;
272
+ double _Double;
273
+ long double _Long_double;
274
+ } _float_const;
275
+
276
+ extern const _float_const _Denorm_C, _Inf_C, _Nan_C, _Snan_C, _Hugeval_C;
277
+ extern const _float_const _FDenorm_C, _FInf_C, _FNan_C, _FSnan_C;
278
+ extern const _float_const _LDenorm_C, _LInf_C, _LNan_C, _LSnan_C;
279
+
280
+ extern const _float_const _Eps_C, _Rteps_C;
281
+ extern const _float_const _FEps_C, _FRteps_C;
282
+ extern const _float_const _LEps_C, _LRteps_C;
283
+
284
+ extern const double _Zero_C, _Xbig_C;
285
+ extern const float _FZero_C, _FXbig_C;
286
+ extern const long double _LZero_C, _LXbig_C;
287
+
288
+ #define _FP_LT 1
289
+ #define _FP_EQ 2
290
+ #define _FP_GT 4
291
+
292
+ #ifndef __cplusplus
293
+
294
+ #define _CLASS_ARG(_Val) __pragma(warning(suppress:6334))(sizeof ((_Val) + (float)0) == sizeof (float) ? 'f' : sizeof ((_Val) + (double)0) == sizeof (double) ? 'd' : 'l')
295
+ #define _CLASSIFY(_Val, _FFunc, _DFunc, _LDFunc) (_CLASS_ARG(_Val) == 'f' ? _FFunc((float)(_Val)) : _CLASS_ARG(_Val) == 'd' ? _DFunc((double)(_Val)) : _LDFunc((long double)(_Val)))
296
+ #define _CLASSIFY2(_Val1, _Val2, _FFunc, _DFunc, _LDFunc) (_CLASS_ARG((_Val1) + (_Val2)) == 'f' ? _FFunc((float)(_Val1), (float)(_Val2)) : _CLASS_ARG((_Val1) + (_Val2)) == 'd' ? _DFunc((double)(_Val1), (double)(_Val2)) : _LDFunc((long double)(_Val1), (long double)(_Val2)))
297
+
298
+ #define fpclassify(_Val) (_CLASSIFY(_Val, _fdclass, _dclass, _ldclass))
299
+ #define _FPCOMPARE(_Val1, _Val2) (_CLASSIFY2(_Val1, _Val2, _fdpcomp, _dpcomp, _ldpcomp))
300
+
301
+ #define isfinite(_Val) (fpclassify(_Val) <= 0)
302
+ #define isinf(_Val) (fpclassify(_Val) == FP_INFINITE)
303
+ #define isnan(_Val) (fpclassify(_Val) == FP_NAN)
304
+ #define isnormal(_Val) (fpclassify(_Val) == FP_NORMAL)
305
+ #define signbit(_Val) (_CLASSIFY(_Val, _fdsign, _dsign, _ldsign))
306
+
307
+ #define isgreater(x, y) ((_FPCOMPARE(x, y) & _FP_GT) != 0)
308
+ #define isgreaterequal(x, y) ((_FPCOMPARE(x, y) & (_FP_EQ | _FP_GT)) != 0)
309
+ #define isless(x, y) ((_FPCOMPARE(x, y) & _FP_LT) != 0)
310
+ #define islessequal(x, y) ((_FPCOMPARE(x, y) & (_FP_LT | _FP_EQ)) != 0)
311
+ #define islessgreater(x, y) ((_FPCOMPARE(x, y) & (_FP_LT | _FP_GT)) != 0)
312
+ #define isunordered(x, y) (_FPCOMPARE(x, y) == 0)
313
+
314
+ #else // __cplusplus
315
+ extern "C++"
316
+ {
317
+ _Check_return_ inline int fpclassify(_In_ float _X) throw()
318
+ {
319
+ return _fdtest(&_X);
320
+ }
321
+
322
+ _Check_return_ inline int fpclassify(_In_ double _X) throw()
323
+ {
324
+ return _dtest(&_X);
325
+ }
326
+
327
+ _Check_return_ inline int fpclassify(_In_ long double _X) throw()
328
+ {
329
+ return _ldtest(&_X);
330
+ }
331
+
332
+ _Check_return_ inline bool signbit(_In_ float _X) throw()
333
+ {
334
+ return _fdsign(_X) != 0;
335
+ }
336
+
337
+ _Check_return_ inline bool signbit(_In_ double _X) throw()
338
+ {
339
+ return _dsign(_X) != 0;
340
+ }
341
+
342
+ _Check_return_ inline bool signbit(_In_ long double _X) throw()
343
+ {
344
+ return _ldsign(_X) != 0;
345
+ }
346
+
347
+ _Check_return_ inline int _fpcomp(_In_ float _X, _In_ float _Y) throw()
348
+ {
349
+ return _fdpcomp(_X, _Y);
350
+ }
351
+
352
+ _Check_return_ inline int _fpcomp(_In_ double _X, _In_ double _Y) throw()
353
+ {
354
+ return _dpcomp(_X, _Y);
355
+ }
356
+
357
+ _Check_return_ inline int _fpcomp(_In_ long double _X, _In_ long double _Y) throw()
358
+ {
359
+ return _ldpcomp(_X, _Y);
360
+ }
361
+
362
+ template <class _Trc, class _Tre> struct _Combined_type
363
+ { // determine combined type
364
+ typedef float _Type;
365
+ };
366
+
367
+ template <> struct _Combined_type<float, double>
368
+ { // determine combined type
369
+ typedef double _Type;
370
+ };
371
+
372
+ template <> struct _Combined_type<float, long double>
373
+ { // determine combined type
374
+ typedef long double _Type;
375
+ };
376
+
377
+ template <class _Ty, class _T2> struct _Real_widened
378
+ { // determine widened real type
379
+ typedef long double _Type;
380
+ };
381
+
382
+ template <> struct _Real_widened<float, float>
383
+ { // determine widened real type
384
+ typedef float _Type;
385
+ };
386
+
387
+ template <> struct _Real_widened<float, double>
388
+ { // determine widened real type
389
+ typedef double _Type;
390
+ };
391
+
392
+ template <> struct _Real_widened<double, float>
393
+ { // determine widened real type
394
+ typedef double _Type;
395
+ };
396
+
397
+ template <> struct _Real_widened<double, double>
398
+ { // determine widened real type
399
+ typedef double _Type;
400
+ };
401
+
402
+ template <class _Ty> struct _Real_type
403
+ { // determine equivalent real type
404
+ typedef double _Type; // default is double
405
+ };
406
+
407
+ template <> struct _Real_type<float>
408
+ { // determine equivalent real type
409
+ typedef float _Type;
410
+ };
411
+
412
+ template <> struct _Real_type<long double>
413
+ { // determine equivalent real type
414
+ typedef long double _Type;
415
+ };
416
+
417
+ template <class _T1, class _T2>
418
+ _Check_return_ inline int _fpcomp(_In_ _T1 _X, _In_ _T2 _Y) throw()
419
+ { // compare _Left and _Right
420
+ typedef typename _Combined_type<float,
421
+ typename _Real_widened<
422
+ typename _Real_type<_T1>::_Type,
423
+ typename _Real_type<_T2>::_Type>::_Type>::_Type _Tw;
424
+ return _fpcomp((_Tw)_X, (_Tw)_Y);
425
+ }
426
+
427
+ template <class _Ty>
428
+ _Check_return_ inline bool isfinite(_In_ _Ty _X) throw()
429
+ {
430
+ return fpclassify(_X) <= 0;
431
+ }
432
+
433
+ template <class _Ty>
434
+ _Check_return_ inline bool isinf(_In_ _Ty _X) throw()
435
+ {
436
+ return fpclassify(_X) == FP_INFINITE;
437
+ }
438
+
439
+ template <class _Ty>
440
+ _Check_return_ inline bool isnan(_In_ _Ty _X) throw()
441
+ {
442
+ return fpclassify(_X) == FP_NAN;
443
+ }
444
+
445
+ template <class _Ty>
446
+ _Check_return_ inline bool isnormal(_In_ _Ty _X) throw()
447
+ {
448
+ return fpclassify(_X) == FP_NORMAL;
449
+ }
450
+
451
+ template <class _Ty1, class _Ty2>
452
+ _Check_return_ inline bool isgreater(_In_ _Ty1 _X, _In_ _Ty2 _Y) throw()
453
+ {
454
+ return (_fpcomp(_X, _Y) & _FP_GT) != 0;
455
+ }
456
+
457
+ template <class _Ty1, class _Ty2>
458
+ _Check_return_ inline bool isgreaterequal(_In_ _Ty1 _X, _In_ _Ty2 _Y) throw()
459
+ {
460
+ return (_fpcomp(_X, _Y) & (_FP_EQ | _FP_GT)) != 0;
461
+ }
462
+
463
+ template <class _Ty1, class _Ty2>
464
+ _Check_return_ inline bool isless(_In_ _Ty1 _X, _In_ _Ty2 _Y) throw()
465
+ {
466
+ return (_fpcomp(_X, _Y) & _FP_LT) != 0;
467
+ }
468
+
469
+ template <class _Ty1, class _Ty2>
470
+ _Check_return_ inline bool islessequal(_In_ _Ty1 _X, _In_ _Ty2 _Y) throw()
471
+ {
472
+ return (_fpcomp(_X, _Y) & (_FP_LT | _FP_EQ)) != 0;
473
+ }
474
+
475
+ template <class _Ty1, class _Ty2>
476
+ _Check_return_ inline bool islessgreater(_In_ _Ty1 _X, _In_ _Ty2 _Y) throw()
477
+ {
478
+ return (_fpcomp(_X, _Y) & (_FP_LT | _FP_GT)) != 0;
479
+ }
480
+
481
+ template <class _Ty1, class _Ty2>
482
+ _Check_return_ inline bool isunordered(_In_ _Ty1 _X, _In_ _Ty2 _Y) throw()
483
+ {
484
+ return _fpcomp(_X, _Y) == 0;
485
+ }
486
+ } // extern "C++"
487
+ #endif // __cplusplus
488
+
489
+
490
+
491
+ #if _CRT_FUNCTIONS_REQUIRED
492
+
493
+ _Check_return_ int __cdecl abs(_In_ int _X);
494
+ _Check_return_ long __cdecl labs(_In_ long _X);
495
+ _Check_return_ long long __cdecl llabs(_In_ long long _X);
496
+
497
+ _Check_return_ double __cdecl acos(_In_ double _X);
498
+ _Check_return_ double __cdecl asin(_In_ double _X);
499
+ _Check_return_ double __cdecl atan(_In_ double _X);
500
+ _Check_return_ double __cdecl atan2(_In_ double _Y, _In_ double _X);
501
+
502
+ _Check_return_ double __cdecl cos(_In_ double _X);
503
+ _Check_return_ double __cdecl cosh(_In_ double _X);
504
+ _Check_return_ double __cdecl exp(_In_ double _X);
505
+ _Check_return_ _CRT_JIT_INTRINSIC double __cdecl fabs(_In_ double _X);
506
+ _Check_return_ double __cdecl fmod(_In_ double _X, _In_ double _Y);
507
+ _Check_return_ double __cdecl log(_In_ double _X);
508
+ _Check_return_ double __cdecl log10(_In_ double _X);
509
+ _Check_return_ double __cdecl pow(_In_ double _X, _In_ double _Y);
510
+ _Check_return_ double __cdecl sin(_In_ double _X);
511
+ _Check_return_ double __cdecl sinh(_In_ double _X);
512
+ _Check_return_ _CRT_JIT_INTRINSIC double __cdecl sqrt(_In_ double _X);
513
+ _Check_return_ double __cdecl tan(_In_ double _X);
514
+ _Check_return_ double __cdecl tanh(_In_ double _X);
515
+
516
+ _Check_return_ _ACRTIMP double __cdecl acosh(_In_ double _X);
517
+ _Check_return_ _ACRTIMP double __cdecl asinh(_In_ double _X);
518
+ _Check_return_ _ACRTIMP double __cdecl atanh(_In_ double _X);
519
+ _Check_return_ _ACRTIMP double __cdecl atof(_In_z_ char const* _String);
520
+ _Check_return_ _ACRTIMP double __cdecl _atof_l(_In_z_ char const* _String, _In_opt_ _locale_t _Locale);
521
+ _Check_return_ _ACRTIMP double __cdecl _cabs(_In_ struct _complex _Complex_value);
522
+ _Check_return_ _ACRTIMP double __cdecl cbrt(_In_ double _X);
523
+ _Check_return_ _ACRTIMP double __cdecl ceil(_In_ double _X);
524
+ _Check_return_ _ACRTIMP double __cdecl _chgsign(_In_ double _X);
525
+ _Check_return_ _ACRTIMP double __cdecl copysign(_In_ double _Number, _In_ double _Sign);
526
+ _Check_return_ _ACRTIMP double __cdecl _copysign(_In_ double _Number, _In_ double _Sign);
527
+ _Check_return_ _ACRTIMP double __cdecl erf(_In_ double _X);
528
+ _Check_return_ _ACRTIMP double __cdecl erfc(_In_ double _X);
529
+ _Check_return_ _ACRTIMP double __cdecl exp2(_In_ double _X);
530
+ _Check_return_ _ACRTIMP double __cdecl expm1(_In_ double _X);
531
+ _Check_return_ _ACRTIMP double __cdecl fdim(_In_ double _X, _In_ double _Y);
532
+ _Check_return_ _ACRTIMP double __cdecl floor(_In_ double _X);
533
+ _Check_return_ _ACRTIMP double __cdecl fma(_In_ double _X, _In_ double _Y, _In_ double _Z);
534
+ _Check_return_ _ACRTIMP double __cdecl fmax(_In_ double _X, _In_ double _Y);
535
+ _Check_return_ _ACRTIMP double __cdecl fmin(_In_ double _X, _In_ double _Y);
536
+ _Check_return_ _ACRTIMP double __cdecl frexp(_In_ double _X, _Out_ int* _Y);
537
+ _Check_return_ _ACRTIMP double __cdecl hypot(_In_ double _X, _In_ double _Y);
538
+ _Check_return_ _ACRTIMP double __cdecl _hypot(_In_ double _X, _In_ double _Y);
539
+ _Check_return_ _ACRTIMP int __cdecl ilogb(_In_ double _X);
540
+ _Check_return_ _ACRTIMP double __cdecl ldexp(_In_ double _X, _In_ int _Y);
541
+ _Check_return_ _ACRTIMP double __cdecl lgamma(_In_ double _X);
542
+ _Check_return_ _ACRTIMP long long __cdecl llrint(_In_ double _X);
543
+ _Check_return_ _ACRTIMP long long __cdecl llround(_In_ double _X);
544
+ _Check_return_ _ACRTIMP double __cdecl log1p(_In_ double _X);
545
+ _Check_return_ _ACRTIMP double __cdecl log2(_In_ double _X);
546
+ _Check_return_ _ACRTIMP double __cdecl logb(_In_ double _X);
547
+ _Check_return_ _ACRTIMP long __cdecl lrint(_In_ double _X);
548
+ _Check_return_ _ACRTIMP long __cdecl lround(_In_ double _X);
549
+
550
+ int __CRTDECL _matherr(_Inout_ struct _exception* _Except);
551
+
552
+ _Check_return_ _ACRTIMP double __cdecl modf(_In_ double _X, _Out_ double* _Y);
553
+ _Check_return_ _ACRTIMP double __cdecl nan(_In_ char const* _X);
554
+ _Check_return_ _ACRTIMP double __cdecl nearbyint(_In_ double _X);
555
+ _Check_return_ _ACRTIMP double __cdecl nextafter(_In_ double _X, _In_ double _Y);
556
+ _Check_return_ _ACRTIMP double __cdecl nexttoward(_In_ double _X, _In_ long double _Y);
557
+ _Check_return_ _ACRTIMP double __cdecl remainder(_In_ double _X, _In_ double _Y);
558
+ _Check_return_ _ACRTIMP double __cdecl remquo(_In_ double _X, _In_ double _Y, _Out_ int* _Z);
559
+ _Check_return_ _ACRTIMP double __cdecl rint(_In_ double _X);
560
+ _Check_return_ _ACRTIMP double __cdecl round(_In_ double _X);
561
+ _Check_return_ _ACRTIMP double __cdecl scalbln(_In_ double _X, _In_ long _Y);
562
+ _Check_return_ _ACRTIMP double __cdecl scalbn(_In_ double _X, _In_ int _Y);
563
+ _Check_return_ _ACRTIMP double __cdecl tgamma(_In_ double _X);
564
+ _Check_return_ _ACRTIMP double __cdecl trunc(_In_ double _X);
565
+ _Check_return_ _ACRTIMP double __cdecl _j0(_In_ double _X );
566
+ _Check_return_ _ACRTIMP double __cdecl _j1(_In_ double _X );
567
+ _Check_return_ _ACRTIMP double __cdecl _jn(int _X, _In_ double _Y);
568
+ _Check_return_ _ACRTIMP double __cdecl _y0(_In_ double _X);
569
+ _Check_return_ _ACRTIMP double __cdecl _y1(_In_ double _X);
570
+ _Check_return_ _ACRTIMP double __cdecl _yn(_In_ int _X, _In_ double _Y);
571
+
572
+ _Check_return_ _ACRTIMP float __cdecl acoshf(_In_ float _X);
573
+ _Check_return_ _ACRTIMP float __cdecl asinhf(_In_ float _X);
574
+ _Check_return_ _ACRTIMP float __cdecl atanhf(_In_ float _X);
575
+ _Check_return_ _ACRTIMP float __cdecl cbrtf(_In_ float _X);
576
+ _Check_return_ _ACRTIMP float __cdecl _chgsignf(_In_ float _X);
577
+ _Check_return_ _ACRTIMP float __cdecl copysignf(_In_ float _Number, _In_ float _Sign);
578
+ _Check_return_ _ACRTIMP float __cdecl _copysignf(_In_ float _Number, _In_ float _Sign);
579
+ _Check_return_ _ACRTIMP float __cdecl erff(_In_ float _X);
580
+ _Check_return_ _ACRTIMP float __cdecl erfcf(_In_ float _X);
581
+ _Check_return_ _ACRTIMP float __cdecl expm1f(_In_ float _X);
582
+ _Check_return_ _ACRTIMP float __cdecl exp2f(_In_ float _X);
583
+ _Check_return_ _ACRTIMP float __cdecl fdimf(_In_ float _X, _In_ float _Y);
584
+ _Check_return_ _ACRTIMP float __cdecl fmaf(_In_ float _X, _In_ float _Y, _In_ float _Z);
585
+ _Check_return_ _ACRTIMP float __cdecl fmaxf(_In_ float _X, _In_ float _Y);
586
+ _Check_return_ _ACRTIMP float __cdecl fminf(_In_ float _X, _In_ float _Y);
587
+ _Check_return_ _ACRTIMP float __cdecl _hypotf(_In_ float _X, _In_ float _Y);
588
+ _Check_return_ _ACRTIMP int __cdecl ilogbf(_In_ float _X);
589
+ _Check_return_ _ACRTIMP float __cdecl lgammaf(_In_ float _X);
590
+ _Check_return_ _ACRTIMP long long __cdecl llrintf(_In_ float _X);
591
+ _Check_return_ _ACRTIMP long long __cdecl llroundf(_In_ float _X);
592
+ _Check_return_ _ACRTIMP float __cdecl log1pf(_In_ float _X);
593
+ _Check_return_ _ACRTIMP float __cdecl log2f(_In_ float _X);
594
+ _Check_return_ _ACRTIMP float __cdecl logbf(_In_ float _X);
595
+ _Check_return_ _ACRTIMP long __cdecl lrintf(_In_ float _X);
596
+ _Check_return_ _ACRTIMP long __cdecl lroundf(_In_ float _X);
597
+ _Check_return_ _ACRTIMP float __cdecl nanf(_In_ char const* _X);
598
+ _Check_return_ _ACRTIMP float __cdecl nearbyintf(_In_ float _X);
599
+ _Check_return_ _ACRTIMP float __cdecl nextafterf(_In_ float _X, _In_ float _Y);
600
+ _Check_return_ _ACRTIMP float __cdecl nexttowardf(_In_ float _X, _In_ long double _Y);
601
+ _Check_return_ _ACRTIMP float __cdecl remainderf(_In_ float _X, _In_ float _Y);
602
+ _Check_return_ _ACRTIMP float __cdecl remquof(_In_ float _X, _In_ float _Y, _Out_ int* _Z);
603
+ _Check_return_ _ACRTIMP float __cdecl rintf(_In_ float _X);
604
+ _Check_return_ _ACRTIMP float __cdecl roundf(_In_ float _X);
605
+ _Check_return_ _ACRTIMP float __cdecl scalblnf(_In_ float _X, _In_ long _Y);
606
+ _Check_return_ _ACRTIMP float __cdecl scalbnf(_In_ float _X, _In_ int _Y);
607
+ _Check_return_ _ACRTIMP float __cdecl tgammaf(_In_ float _X);
608
+ _Check_return_ _ACRTIMP float __cdecl truncf(_In_ float _X);
609
+
610
+ #if defined _M_IX86
611
+
612
+ _Check_return_ _ACRTIMP int __cdecl _set_SSE2_enable(_In_ int _Flag);
613
+
614
+ #endif
615
+
616
+ #if defined _M_X64
617
+
618
+ _Check_return_ _ACRTIMP float __cdecl _logbf(_In_ float _X);
619
+ _Check_return_ _ACRTIMP float __cdecl _nextafterf(_In_ float _X, _In_ float _Y);
620
+ _Check_return_ _ACRTIMP int __cdecl _finitef(_In_ float _X);
621
+ _Check_return_ _ACRTIMP int __cdecl _isnanf(_In_ float _X);
622
+ _Check_return_ _ACRTIMP int __cdecl _fpclassf(_In_ float _X);
623
+
624
+ _Check_return_ _ACRTIMP int __cdecl _set_FMA3_enable(_In_ int _Flag);
625
+ _Check_return_ _ACRTIMP int __cdecl _get_FMA3_enable(void);
626
+
627
+ #elif defined _M_ARM || defined _M_ARM64 || defined _M_HYBRID_X86_ARM64
628
+
629
+ _Check_return_ _ACRTIMP int __cdecl _finitef(_In_ float _X);
630
+ _Check_return_ _ACRTIMP float __cdecl _logbf(_In_ float _X);
631
+
632
+ #endif
633
+
634
+
635
+
636
+ #if defined _M_X64 || defined _M_ARM || defined _M_ARM64 || defined _M_HYBRID_X86_ARM64 || defined _CORECRT_BUILD_APISET || defined _M_ARM64EC
637
+
638
+ _Check_return_ _ACRTIMP float __cdecl acosf(_In_ float _X);
639
+ _Check_return_ _ACRTIMP float __cdecl asinf(_In_ float _X);
640
+ _Check_return_ _ACRTIMP float __cdecl atan2f(_In_ float _Y, _In_ float _X);
641
+ _Check_return_ _ACRTIMP float __cdecl atanf(_In_ float _X);
642
+ _Check_return_ _ACRTIMP float __cdecl ceilf(_In_ float _X);
643
+ _Check_return_ _ACRTIMP float __cdecl cosf(_In_ float _X);
644
+ _Check_return_ _ACRTIMP float __cdecl coshf(_In_ float _X);
645
+ _Check_return_ _ACRTIMP float __cdecl expf(_In_ float _X);
646
+
647
+ #else
648
+
649
+ _Check_return_ __inline float __CRTDECL acosf(_In_ float _X)
650
+ {
651
+ return (float)acos(_X);
652
+ }
653
+
654
+ _Check_return_ __inline float __CRTDECL asinf(_In_ float _X)
655
+ {
656
+ return (float)asin(_X);
657
+ }
658
+
659
+ _Check_return_ __inline float __CRTDECL atan2f(_In_ float _Y, _In_ float _X)
660
+ {
661
+ return (float)atan2(_Y, _X);
662
+ }
663
+
664
+ _Check_return_ __inline float __CRTDECL atanf(_In_ float _X)
665
+ {
666
+ return (float)atan(_X);
667
+ }
668
+
669
+ _Check_return_ __inline float __CRTDECL ceilf(_In_ float _X)
670
+ {
671
+ return (float)ceil(_X);
672
+ }
673
+
674
+ _Check_return_ __inline float __CRTDECL cosf(_In_ float _X)
675
+ {
676
+ return (float)cos(_X);
677
+ }
678
+
679
+ _Check_return_ __inline float __CRTDECL coshf(_In_ float _X)
680
+ {
681
+ return (float)cosh(_X);
682
+ }
683
+
684
+ _Check_return_ __inline float __CRTDECL expf(_In_ float _X)
685
+ {
686
+ return (float)exp(_X);
687
+ }
688
+
689
+ #endif
690
+
691
+ #if defined _M_ARM || defined _M_ARM64 || defined _M_HYBRID_X86_ARM64
692
+
693
+ _Check_return_ _CRT_JIT_INTRINSIC _ACRTIMP float __cdecl fabsf(_In_ float _X);
694
+
695
+ #else
696
+
697
+ #if defined _M_ARM64EC
698
+ _Check_return_ __inline float __CRTDECL fabsf(_In_ float _X);
699
+ #pragma function(fabsf)
700
+ #endif
701
+
702
+ _Check_return_ __inline float __CRTDECL fabsf(_In_ float _X)
703
+ {
704
+ return (float)fabs(_X);
705
+ }
706
+
707
+ #endif
708
+
709
+ #if defined _M_X64 || defined _M_ARM || defined _M_ARM64 || defined _M_HYBRID_X86_ARM64 || defined _M_ARM64EC
710
+
711
+ _Check_return_ _ACRTIMP float __cdecl floorf(_In_ float _X);
712
+ _Check_return_ _ACRTIMP float __cdecl fmodf(_In_ float _X, _In_ float _Y);
713
+
714
+ #else
715
+
716
+ _Check_return_ __inline float __CRTDECL floorf(_In_ float _X)
717
+ {
718
+ return (float)floor(_X);
719
+ }
720
+
721
+ _Check_return_ __inline float __CRTDECL fmodf(_In_ float _X, _In_ float _Y)
722
+ {
723
+ return (float)fmod(_X, _Y);
724
+ }
725
+
726
+ #endif
727
+
728
+ _Check_return_ __inline float __CRTDECL frexpf(_In_ float _X, _Out_ int *_Y)
729
+ {
730
+ return (float)frexp(_X, _Y);
731
+ }
732
+
733
+ _Check_return_ __inline float __CRTDECL hypotf(_In_ float _X, _In_ float _Y)
734
+ {
735
+ return _hypotf(_X, _Y);
736
+ }
737
+
738
+ _Check_return_ __inline float __CRTDECL ldexpf(_In_ float _X, _In_ int _Y)
739
+ {
740
+ return (float)ldexp(_X, _Y);
741
+ }
742
+
743
+ #if defined _M_X64 || defined _M_ARM || defined _M_ARM64 || defined _M_HYBRID_X86_ARM64 || defined _CORECRT_BUILD_APISET || defined _M_ARM64EC
744
+
745
+ _Check_return_ _ACRTIMP float __cdecl log10f(_In_ float _X);
746
+ _Check_return_ _ACRTIMP float __cdecl logf(_In_ float _X);
747
+ _Check_return_ _ACRTIMP float __cdecl modff(_In_ float _X, _Out_ float *_Y);
748
+ _Check_return_ _ACRTIMP float __cdecl powf(_In_ float _X, _In_ float _Y);
749
+ _Check_return_ _ACRTIMP float __cdecl sinf(_In_ float _X);
750
+ _Check_return_ _ACRTIMP float __cdecl sinhf(_In_ float _X);
751
+ _Check_return_ _ACRTIMP float __cdecl sqrtf(_In_ float _X);
752
+ _Check_return_ _ACRTIMP float __cdecl tanf(_In_ float _X);
753
+ _Check_return_ _ACRTIMP float __cdecl tanhf(_In_ float _X);
754
+
755
+ #else
756
+
757
+ _Check_return_ __inline float __CRTDECL log10f(_In_ float _X)
758
+ {
759
+ return (float)log10(_X);
760
+ }
761
+
762
+ _Check_return_ __inline float __CRTDECL logf(_In_ float _X)
763
+ {
764
+ return (float)log(_X);
765
+ }
766
+
767
+ _Check_return_ __inline float __CRTDECL modff(_In_ float _X, _Out_ float* _Y)
768
+ {
769
+ double _F, _I;
770
+ _F = modf(_X, &_I);
771
+ *_Y = (float)_I;
772
+ return (float)_F;
773
+ }
774
+
775
+ _Check_return_ __inline float __CRTDECL powf(_In_ float _X, _In_ float _Y)
776
+ {
777
+ return (float)pow(_X, _Y);
778
+ }
779
+
780
+ _Check_return_ __inline float __CRTDECL sinf(_In_ float _X)
781
+ {
782
+ return (float)sin(_X);
783
+ }
784
+
785
+ _Check_return_ __inline float __CRTDECL sinhf(_In_ float _X)
786
+ {
787
+ return (float)sinh(_X);
788
+ }
789
+
790
+ _Check_return_ __inline float __CRTDECL sqrtf(_In_ float _X)
791
+ {
792
+ return (float)sqrt(_X);
793
+ }
794
+
795
+ _Check_return_ __inline float __CRTDECL tanf(_In_ float _X)
796
+ {
797
+ return (float)tan(_X);
798
+ }
799
+
800
+ _Check_return_ __inline float __CRTDECL tanhf(_In_ float _X)
801
+ {
802
+ return (float)tanh(_X);
803
+ }
804
+
805
+ #endif
806
+
807
+ _Check_return_ _ACRTIMP long double __cdecl acoshl(_In_ long double _X);
808
+
809
+ _Check_return_ __inline long double __CRTDECL acosl(_In_ long double _X)
810
+ {
811
+ return acos((double)_X);
812
+ }
813
+
814
+ _Check_return_ _ACRTIMP long double __cdecl asinhl(_In_ long double _X);
815
+
816
+ _Check_return_ __inline long double __CRTDECL asinl(_In_ long double _X)
817
+ {
818
+ return asin((double)_X);
819
+ }
820
+
821
+ _Check_return_ __inline long double __CRTDECL atan2l(_In_ long double _Y, _In_ long double _X)
822
+ {
823
+ return atan2((double)_Y, (double)_X);
824
+ }
825
+
826
+ _Check_return_ _ACRTIMP long double __cdecl atanhl(_In_ long double _X);
827
+
828
+ _Check_return_ __inline long double __CRTDECL atanl(_In_ long double _X)
829
+ {
830
+ return atan((double)_X);
831
+ }
832
+
833
+ _Check_return_ _ACRTIMP long double __cdecl cbrtl(_In_ long double _X);
834
+
835
+ _Check_return_ __inline long double __CRTDECL ceill(_In_ long double _X)
836
+ {
837
+ return ceil((double)_X);
838
+ }
839
+
840
+ _Check_return_ __inline long double __CRTDECL _chgsignl(_In_ long double _X)
841
+ {
842
+ return _chgsign((double)_X);
843
+ }
844
+
845
+ _Check_return_ _ACRTIMP long double __cdecl copysignl(_In_ long double _Number, _In_ long double _Sign);
846
+
847
+ _Check_return_ __inline long double __CRTDECL _copysignl(_In_ long double _Number, _In_ long double _Sign)
848
+ {
849
+ return _copysign((double)_Number, (double)_Sign);
850
+ }
851
+
852
+ _Check_return_ __inline long double __CRTDECL coshl(_In_ long double _X)
853
+ {
854
+ return cosh((double)_X);
855
+ }
856
+
857
+ _Check_return_ __inline long double __CRTDECL cosl(_In_ long double _X)
858
+ {
859
+ return cos((double)_X);
860
+ }
861
+
862
+ _Check_return_ _ACRTIMP long double __cdecl erfl(_In_ long double _X);
863
+ _Check_return_ _ACRTIMP long double __cdecl erfcl(_In_ long double _X);
864
+
865
+ _Check_return_ __inline long double __CRTDECL expl(_In_ long double _X)
866
+ {
867
+ return exp((double)_X);
868
+ }
869
+
870
+ _Check_return_ _ACRTIMP long double __cdecl exp2l(_In_ long double _X);
871
+ _Check_return_ _ACRTIMP long double __cdecl expm1l(_In_ long double _X);
872
+
873
+ _Check_return_ __inline long double __CRTDECL fabsl(_In_ long double _X)
874
+ {
875
+ return fabs((double)_X);
876
+ }
877
+
878
+ _Check_return_ _ACRTIMP long double __cdecl fdiml(_In_ long double _X, _In_ long double _Y);
879
+
880
+ _Check_return_ __inline long double __CRTDECL floorl(_In_ long double _X)
881
+ {
882
+ return floor((double)_X);
883
+ }
884
+
885
+ _Check_return_ _ACRTIMP long double __cdecl fmal(_In_ long double _X, _In_ long double _Y, _In_ long double _Z);
886
+ _Check_return_ _ACRTIMP long double __cdecl fmaxl(_In_ long double _X, _In_ long double _Y);
887
+ _Check_return_ _ACRTIMP long double __cdecl fminl(_In_ long double _X, _In_ long double _Y);
888
+
889
+ _Check_return_ __inline long double __CRTDECL fmodl(_In_ long double _X, _In_ long double _Y)
890
+ {
891
+ return fmod((double)_X, (double)_Y);
892
+ }
893
+
894
+ _Check_return_ __inline long double __CRTDECL frexpl(_In_ long double _X, _Out_ int *_Y)
895
+ {
896
+ return frexp((double)_X, _Y);
897
+ }
898
+
899
+ _Check_return_ _ACRTIMP int __cdecl ilogbl(_In_ long double _X);
900
+
901
+ _Check_return_ __inline long double __CRTDECL _hypotl(_In_ long double _X, _In_ long double _Y)
902
+ {
903
+ return _hypot((double)_X, (double)_Y);
904
+ }
905
+
906
+ _Check_return_ __inline long double __CRTDECL hypotl(_In_ long double _X, _In_ long double _Y)
907
+ {
908
+ return _hypot((double)_X, (double)_Y);
909
+ }
910
+
911
+ _Check_return_ __inline long double __CRTDECL ldexpl(_In_ long double _X, _In_ int _Y)
912
+ {
913
+ return ldexp((double)_X, _Y);
914
+ }
915
+
916
+ _Check_return_ _ACRTIMP long double __cdecl lgammal(_In_ long double _X);
917
+ _Check_return_ _ACRTIMP long long __cdecl llrintl(_In_ long double _X);
918
+ _Check_return_ _ACRTIMP long long __cdecl llroundl(_In_ long double _X);
919
+
920
+ _Check_return_ __inline long double __CRTDECL logl(_In_ long double _X)
921
+ {
922
+ return log((double)_X);
923
+ }
924
+
925
+ _Check_return_ __inline long double __CRTDECL log10l(_In_ long double _X)
926
+ {
927
+ return log10((double)_X);
928
+ }
929
+
930
+ _Check_return_ _ACRTIMP long double __cdecl log1pl(_In_ long double _X);
931
+ _Check_return_ _ACRTIMP long double __cdecl log2l(_In_ long double _X);
932
+ _Check_return_ _ACRTIMP long double __cdecl logbl(_In_ long double _X);
933
+ _Check_return_ _ACRTIMP long __cdecl lrintl(_In_ long double _X);
934
+ _Check_return_ _ACRTIMP long __cdecl lroundl(_In_ long double _X);
935
+
936
+ _Check_return_ __inline long double __CRTDECL modfl(_In_ long double _X, _Out_ long double* _Y)
937
+ {
938
+ double _F, _I;
939
+ _F = modf((double)_X, &_I);
940
+ *_Y = _I;
941
+ return _F;
942
+ }
943
+
944
+ _Check_return_ _ACRTIMP long double __cdecl nanl(_In_ char const* _X);
945
+ _Check_return_ _ACRTIMP long double __cdecl nearbyintl(_In_ long double _X);
946
+ _Check_return_ _ACRTIMP long double __cdecl nextafterl(_In_ long double _X, _In_ long double _Y);
947
+ _Check_return_ _ACRTIMP long double __cdecl nexttowardl(_In_ long double _X, _In_ long double _Y);
948
+
949
+ _Check_return_ __inline long double __CRTDECL powl(_In_ long double _X, _In_ long double _Y)
950
+ {
951
+ return pow((double)_X, (double)_Y);
952
+ }
953
+
954
+ _Check_return_ _ACRTIMP long double __cdecl remainderl(_In_ long double _X, _In_ long double _Y);
955
+ _Check_return_ _ACRTIMP long double __cdecl remquol(_In_ long double _X, _In_ long double _Y, _Out_ int* _Z);
956
+ _Check_return_ _ACRTIMP long double __cdecl rintl(_In_ long double _X);
957
+ _Check_return_ _ACRTIMP long double __cdecl roundl(_In_ long double _X);
958
+ _Check_return_ _ACRTIMP long double __cdecl scalblnl(_In_ long double _X, _In_ long _Y);
959
+ _Check_return_ _ACRTIMP long double __cdecl scalbnl(_In_ long double _X, _In_ int _Y);
960
+
961
+ _Check_return_ __inline long double __CRTDECL sinhl(_In_ long double _X)
962
+ {
963
+ return sinh((double)_X);
964
+ }
965
+
966
+ _Check_return_ __inline long double __CRTDECL sinl(_In_ long double _X)
967
+ {
968
+ return sin((double)_X);
969
+ }
970
+
971
+ _Check_return_ __inline long double __CRTDECL sqrtl(_In_ long double _X)
972
+ {
973
+ return sqrt((double)_X);
974
+ }
975
+
976
+ _Check_return_ __inline long double __CRTDECL tanhl(_In_ long double _X)
977
+ {
978
+ return tanh((double)_X);
979
+ }
980
+
981
+ _Check_return_ __inline long double __CRTDECL tanl(_In_ long double _X)
982
+ {
983
+ return tan((double)_X);
984
+ }
985
+
986
+ _Check_return_ _ACRTIMP long double __cdecl tgammal(_In_ long double _X);
987
+ _Check_return_ _ACRTIMP long double __cdecl truncl(_In_ long double _X);
988
+
989
+ #ifndef __cplusplus
990
+ #define _matherrl _matherr
991
+ #endif
992
+
993
+ #endif // _CRT_FUNCTIONS_REQUIRED
994
+
995
+ #if defined(_CRT_INTERNAL_NONSTDC_NAMES) && _CRT_INTERNAL_NONSTDC_NAMES
996
+
997
+ #define DOMAIN _DOMAIN
998
+ #define SING _SING
999
+ #define OVERFLOW _OVERFLOW
1000
+ #define UNDERFLOW _UNDERFLOW
1001
+ #define TLOSS _TLOSS
1002
+ #define PLOSS _PLOSS
1003
+
1004
+ #define matherr _matherr
1005
+
1006
+ #ifndef __assembler
1007
+ #ifndef _M_CEE_PURE
1008
+ extern double HUGE;
1009
+ #else
1010
+ double const HUGE = _HUGE;
1011
+ #endif
1012
+
1013
+ _CRT_NONSTDC_DEPRECATE(_j0) _Check_return_ _ACRTIMP double __cdecl j0(_In_ double _X);
1014
+ _CRT_NONSTDC_DEPRECATE(_j1) _Check_return_ _ACRTIMP double __cdecl j1(_In_ double _X);
1015
+ _CRT_NONSTDC_DEPRECATE(_jn) _Check_return_ _ACRTIMP double __cdecl jn(_In_ int _X, _In_ double _Y);
1016
+ _CRT_NONSTDC_DEPRECATE(_y0) _Check_return_ _ACRTIMP double __cdecl y0(_In_ double _X);
1017
+ _CRT_NONSTDC_DEPRECATE(_y1) _Check_return_ _ACRTIMP double __cdecl y1(_In_ double _X);
1018
+ _CRT_NONSTDC_DEPRECATE(_yn) _Check_return_ _ACRTIMP double __cdecl yn(_In_ int _X, _In_ double _Y);
1019
+ #endif // !__assembler
1020
+
1021
+ #endif // _CRT_INTERNAL_NONSTDC_NAMES
1022
+
1023
+ _CRT_END_C_HEADER
1024
+ _UCRT_RESTORE_CLANG_WARNINGS
1025
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
1026
+ #endif /* _INC_MATH */
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_math_defines.h ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // corecrt_math_defines.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // Definitions of useful mathematical constants
7
+ //
8
+ #pragma once
9
+ #ifndef _MATH_DEFINES_DEFINED
10
+ #define _MATH_DEFINES_DEFINED
11
+
12
+ #include <corecrt.h>
13
+
14
+ #pragma warning(push)
15
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
16
+ _UCRT_DISABLE_CLANG_WARNINGS
17
+
18
+ // Definitions of useful mathematical constants
19
+ //
20
+ // Define _USE_MATH_DEFINES before including <math.h> to expose these macro
21
+ // definitions for common math constants. These are placed under an #ifdef
22
+ // since these commonly-defined names are not part of the C or C++ standards
23
+ #define M_E 2.71828182845904523536 // e
24
+ #define M_LOG2E 1.44269504088896340736 // log2(e)
25
+ #define M_LOG10E 0.434294481903251827651 // log10(e)
26
+ #define M_LN2 0.693147180559945309417 // ln(2)
27
+ #define M_LN10 2.30258509299404568402 // ln(10)
28
+ #define M_PI 3.14159265358979323846 // pi
29
+ #define M_PI_2 1.57079632679489661923 // pi/2
30
+ #define M_PI_4 0.785398163397448309616 // pi/4
31
+ #define M_1_PI 0.318309886183790671538 // 1/pi
32
+ #define M_2_PI 0.636619772367581343076 // 2/pi
33
+ #define M_2_SQRTPI 1.12837916709551257390 // 2/sqrt(pi)
34
+ #define M_SQRT2 1.41421356237309504880 // sqrt(2)
35
+ #define M_SQRT1_2 0.707106781186547524401 // 1/sqrt(2)
36
+
37
+ _UCRT_RESTORE_CLANG_WARNINGS
38
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
39
+ #endif // _MATH_DEFINES_DEFINED
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_memcpy_s.h ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // corecrt_memcpy_s.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // Inline definitions of memcpy_s and memmove_s
7
+ //
8
+ #pragma once
9
+
10
+ #include <corecrt.h>
11
+ #include <errno.h>
12
+ #include <vcruntime_string.h>
13
+
14
+ #pragma warning(push)
15
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
16
+ _UCRT_DISABLE_CLANG_WARNINGS
17
+
18
+ _CRT_BEGIN_C_HEADER
19
+
20
+ #ifndef _CRT_MEMCPY_S_INLINE
21
+ #define _CRT_MEMCPY_S_INLINE static __inline
22
+ #endif
23
+
24
+ #define _CRT_MEMCPY_S_VALIDATE_RETURN_ERRCODE(expr, errorcode) \
25
+ { \
26
+ int _Expr_val=!!(expr); \
27
+ if (!(_Expr_val)) \
28
+ { \
29
+ errno = errorcode; \
30
+ _invalid_parameter_noinfo(); \
31
+ return errorcode; \
32
+ } \
33
+ }
34
+
35
+ #if !defined RC_INVOKED && !defined __midl && __STDC_WANT_SECURE_LIB__
36
+
37
+ _Success_(return == 0)
38
+ _Check_return_opt_
39
+ _CRT_MEMCPY_S_INLINE errno_t __CRTDECL memcpy_s(
40
+ _Out_writes_bytes_to_opt_(_DestinationSize, _SourceSize) void* const _Destination,
41
+ _In_ rsize_t const _DestinationSize,
42
+ _In_reads_bytes_opt_(_SourceSize) void const* const _Source,
43
+ _In_ rsize_t const _SourceSize
44
+ )
45
+ {
46
+ if (_SourceSize == 0)
47
+ {
48
+ return 0;
49
+ }
50
+
51
+ _CRT_MEMCPY_S_VALIDATE_RETURN_ERRCODE(_Destination != NULL, EINVAL);
52
+ if (_Source == NULL || _DestinationSize < _SourceSize)
53
+ {
54
+ memset(_Destination, 0, _DestinationSize);
55
+
56
+ _CRT_MEMCPY_S_VALIDATE_RETURN_ERRCODE(_Source != NULL, EINVAL);
57
+ _CRT_MEMCPY_S_VALIDATE_RETURN_ERRCODE(_DestinationSize >= _SourceSize, ERANGE);
58
+
59
+ // Unreachable, but required to suppress /analyze warnings:
60
+ return EINVAL;
61
+ }
62
+ memcpy(_Destination, _Source, _SourceSize);
63
+ return 0;
64
+ }
65
+
66
+ _Check_return_wat_
67
+ _CRT_MEMCPY_S_INLINE errno_t __CRTDECL memmove_s(
68
+ _Out_writes_bytes_to_opt_(_DestinationSize, _SourceSize) void* const _Destination,
69
+ _In_ rsize_t const _DestinationSize,
70
+ _In_reads_bytes_opt_(_SourceSize) void const* const _Source,
71
+ _In_ rsize_t const _SourceSize
72
+ )
73
+ {
74
+ if (_SourceSize == 0)
75
+ {
76
+ return 0;
77
+ }
78
+
79
+ _CRT_MEMCPY_S_VALIDATE_RETURN_ERRCODE(_Destination != NULL, EINVAL);
80
+ _CRT_MEMCPY_S_VALIDATE_RETURN_ERRCODE(_Source != NULL, EINVAL);
81
+ _CRT_MEMCPY_S_VALIDATE_RETURN_ERRCODE(_DestinationSize >= _SourceSize, ERANGE);
82
+
83
+ memmove(_Destination, _Source, _SourceSize);
84
+ return 0;
85
+ }
86
+
87
+ #endif
88
+
89
+ #undef _CRT_MEMCPY_S_VALIDATE_RETURN_ERRCODE
90
+
91
+ _UCRT_RESTORE_CLANG_WARNINGS
92
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
93
+ _CRT_END_C_HEADER
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_memory.h ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // corecrt_memory.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // The buffer (memory) manipulation library. These declarations are split out
7
+ // so that they may be included by both <string.h> and <memory.h>. <string.h>
8
+ // does not include <memory.h> to avoid introducing conflicts with other user
9
+ // headers named <memory.h>.
10
+ //
11
+ #pragma once
12
+
13
+ #include <corecrt.h>
14
+ #include <corecrt_memcpy_s.h>
15
+ #include <vcruntime_string.h>
16
+
17
+ #pragma warning(push)
18
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
19
+ _UCRT_DISABLE_CLANG_WARNINGS
20
+
21
+ #ifndef __midl
22
+
23
+ _CRT_BEGIN_C_HEADER
24
+
25
+
26
+
27
+ _Check_return_
28
+ _ACRTIMP int __cdecl _memicmp(
29
+ _In_reads_bytes_opt_(_Size) void const* _Buf1,
30
+ _In_reads_bytes_opt_(_Size) void const* _Buf2,
31
+ _In_ size_t _Size
32
+ );
33
+
34
+ _Check_return_
35
+ _ACRTIMP int __cdecl _memicmp_l(
36
+ _In_reads_bytes_opt_(_Size) void const* _Buf1,
37
+ _In_reads_bytes_opt_(_Size) void const* _Buf2,
38
+ _In_ size_t _Size,
39
+ _In_opt_ _locale_t _Locale
40
+ );
41
+
42
+
43
+
44
+ #if !defined RC_INVOKED && __STDC_WANT_SECURE_LIB__
45
+
46
+ #if defined __cplusplus && _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY
47
+ extern "C++"
48
+ {
49
+ template <size_t _Size, typename _DstType>
50
+ inline typename _CrtEnableIf<(_Size > 1), void *>::_Type __cdecl memcpy(
51
+ _DstType (&_Dst)[_Size],
52
+ _In_reads_bytes_opt_(_SrcSize) void const* _Src,
53
+ _In_ size_t _SrcSize
54
+ ) _CRT_SECURE_CPP_NOTHROW
55
+ {
56
+ return memcpy_s(_Dst, _Size * sizeof(_DstType), _Src, _SrcSize) == 0 ? _Dst : 0;
57
+ }
58
+ }
59
+ #endif
60
+
61
+ #if defined __cplusplus && _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY
62
+ extern "C++"
63
+ {
64
+ template <size_t _Size, typename _DstType>
65
+ inline errno_t __CRTDECL memcpy_s(
66
+ _DstType (&_Dst)[_Size],
67
+ _In_reads_bytes_opt_(_SrcSize) void const* _Src,
68
+ _In_ rsize_t _SrcSize
69
+ ) _CRT_SECURE_CPP_NOTHROW
70
+ {
71
+ return memcpy_s(_Dst, _Size * sizeof(_DstType), _Src, _SrcSize);
72
+ }
73
+ }
74
+ #endif
75
+
76
+ #endif // !defined RC_INVOKED && __STDC_WANT_SECURE_LIB__
77
+
78
+
79
+
80
+ #if defined(_CRT_INTERNAL_NONSTDC_NAMES) && _CRT_INTERNAL_NONSTDC_NAMES
81
+
82
+ _CRT_NONSTDC_DEPRECATE(_memccpy)
83
+ _ACRTIMP void* __cdecl memccpy(
84
+ _Out_writes_bytes_opt_(_Size) void* _Dst,
85
+ _In_reads_bytes_opt_(_Size) void const* _Src,
86
+ _In_ int _Val,
87
+ _In_ size_t _Size
88
+ );
89
+
90
+ _Check_return_ _CRT_NONSTDC_DEPRECATE(_memicmp)
91
+ _ACRTIMP int __cdecl memicmp(
92
+ _In_reads_bytes_opt_(_Size) void const* _Buf1,
93
+ _In_reads_bytes_opt_(_Size) void const* _Buf2,
94
+ _In_ size_t _Size
95
+ );
96
+
97
+ #endif // _CRT_INTERNAL_NONSTDC_NAMES
98
+
99
+
100
+
101
+ #if defined __cplusplus
102
+
103
+ extern "C++" _Check_return_
104
+ inline void* __CRTDECL memchr(
105
+ _In_reads_bytes_opt_(_N) void* _Pv,
106
+ _In_ int _C,
107
+ _In_ size_t _N
108
+ )
109
+ {
110
+ void const* const _Pvc = _Pv;
111
+ return const_cast<void*>(memchr(_Pvc, _C, _N));
112
+ }
113
+
114
+ #endif
115
+
116
+
117
+
118
+ _CRT_END_C_HEADER
119
+
120
+ #endif // !__midl
121
+ _UCRT_RESTORE_CLANG_WARNINGS
122
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_search.h ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // corecrt_search.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // Declarations of functions for sorting and searching. These declarations are
7
+ // split out so that they may be included by both <stdlib.h> and <search.h>.
8
+ // <stdlib.h> does not include <search.h> to avoid introducing conflicts with
9
+ // other user headers named <search.h>.
10
+ //
11
+ #pragma once
12
+
13
+ #include <corecrt.h>
14
+ #include <stddef.h>
15
+
16
+ #pragma warning(push)
17
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
18
+ _UCRT_DISABLE_CLANG_WARNINGS
19
+
20
+ _CRT_BEGIN_C_HEADER
21
+
22
+
23
+ typedef int (__cdecl* _CoreCrtSecureSearchSortCompareFunction)(void*, void const*, void const*);
24
+ typedef int (__cdecl* _CoreCrtNonSecureSearchSortCompareFunction)(void const*, void const*);
25
+
26
+
27
+ #if __STDC_WANT_SECURE_LIB__
28
+
29
+ _Check_return_
30
+ _ACRTIMP void* __cdecl bsearch_s(
31
+ _In_ void const* _Key,
32
+ _In_reads_bytes_(_NumOfElements * _SizeOfElements) void const* _Base,
33
+ _In_ rsize_t _NumOfElements,
34
+ _In_ rsize_t _SizeOfElements,
35
+ _In_ _CoreCrtSecureSearchSortCompareFunction _CompareFunction,
36
+ _In_opt_ void* _Context
37
+ );
38
+
39
+ _ACRTIMP void __cdecl qsort_s(
40
+ _Inout_updates_bytes_(_NumOfElements * _SizeOfElements) void* _Base,
41
+ _In_ rsize_t _NumOfElements,
42
+ _In_ rsize_t _SizeOfElements,
43
+ _In_ _CoreCrtSecureSearchSortCompareFunction _CompareFunction,
44
+ _In_opt_ void* _Context
45
+ );
46
+
47
+ #endif // __STDC_WANT_SECURE_LIB__
48
+
49
+
50
+
51
+ _Check_return_
52
+ _ACRTIMP void* __cdecl bsearch(
53
+ _In_ void const* _Key,
54
+ _In_reads_bytes_(_NumOfElements * _SizeOfElements) void const* _Base,
55
+ _In_ size_t _NumOfElements,
56
+ _In_ size_t _SizeOfElements,
57
+ _In_ _CoreCrtNonSecureSearchSortCompareFunction _CompareFunction
58
+ );
59
+
60
+ _ACRTIMP void __cdecl qsort(
61
+ _Inout_updates_bytes_(_NumOfElements * _SizeOfElements) void* _Base,
62
+ _In_ size_t _NumOfElements,
63
+ _In_ size_t _SizeOfElements,
64
+ _In_ _CoreCrtNonSecureSearchSortCompareFunction _CompareFunction
65
+ );
66
+
67
+ _Check_return_
68
+ _ACRTIMP void* __cdecl _lfind_s(
69
+ _In_ void const* _Key,
70
+ _In_reads_bytes_((*_NumOfElements) * _SizeOfElements) void const* _Base,
71
+ _Inout_ unsigned int* _NumOfElements,
72
+ _In_ size_t _SizeOfElements,
73
+ _In_ _CoreCrtSecureSearchSortCompareFunction _CompareFunction,
74
+ _In_ void* _Context
75
+ );
76
+
77
+ _Check_return_
78
+ _ACRTIMP void* __cdecl _lfind(
79
+ _In_ void const* _Key,
80
+ _In_reads_bytes_((*_NumOfElements) * _SizeOfElements) void const* _Base,
81
+ _Inout_ unsigned int* _NumOfElements,
82
+ _In_ unsigned int _SizeOfElements,
83
+ _In_ _CoreCrtNonSecureSearchSortCompareFunction _CompareFunction
84
+ );
85
+
86
+ _Check_return_
87
+ _ACRTIMP void* __cdecl _lsearch_s(
88
+ _In_ void const* _Key,
89
+ _Inout_updates_bytes_((*_NumOfElements ) * _SizeOfElements) void* _Base,
90
+ _Inout_ unsigned int* _NumOfElements,
91
+ _In_ size_t _SizeOfElements,
92
+ _In_ _CoreCrtSecureSearchSortCompareFunction _CompareFunction,
93
+ _In_ void* _Context
94
+ );
95
+
96
+ _Check_return_
97
+ _ACRTIMP void* __cdecl _lsearch(
98
+ _In_ void const* _Key,
99
+ _Inout_updates_bytes_((*_NumOfElements ) * _SizeOfElements) void* _Base,
100
+ _Inout_ unsigned int* _NumOfElements,
101
+ _In_ unsigned int _SizeOfElements,
102
+ _In_ _CoreCrtNonSecureSearchSortCompareFunction _CompareFunction
103
+ );
104
+
105
+
106
+
107
+ // Managed search routines
108
+ #if defined __cplusplus && defined _M_CEE
109
+ extern "C++"
110
+ {
111
+ typedef int (__clrcall* _CoreCrtMgdSecureSearchSortCompareFunction)(void*, void const*, void const*);
112
+ typedef int (__clrcall* _CoreCrtMgdNonSecureSearchSortCompareFunction)(void const*, void const*);
113
+
114
+ #if __STDC_WANT_SECURE_LIB__
115
+
116
+ _Check_return_
117
+ void* __clrcall bsearch_s(
118
+ _In_ void const* _Key,
119
+ _In_reads_bytes_(_NumOfElements * _SizeOfElements) void const* _Base,
120
+ _In_ rsize_t _NumOfElements,
121
+ _In_ rsize_t _SizeOfElements,
122
+ _In_ _CoreCrtMgdSecureSearchSortCompareFunction _CompareFunction,
123
+ _In_ void* _Context);
124
+
125
+ void __clrcall qsort_s(
126
+ _Inout_updates_bytes_(_NumOfElements * _SizeOfElements) void* _Base,
127
+ _In_ rsize_t _NumOfElements,
128
+ _In_ rsize_t _SizeOfElements,
129
+ _In_ _CoreCrtMgdSecureSearchSortCompareFunction _CompareFunction,
130
+ _In_ void* _Context);
131
+
132
+ #endif // __STDC_WANT_SECURE_LIB__
133
+
134
+ _Check_return_
135
+ void* __clrcall bsearch(
136
+ _In_ void const* _Key,
137
+ _In_reads_bytes_(_NumOfElements * _SizeOfElements) void const* _Base,
138
+ _In_ size_t _NumOfElements,
139
+ _In_ size_t _SizeOfElements,
140
+ _In_ _CoreCrtMgdNonSecureSearchSortCompareFunction _CompareFunction
141
+ );
142
+
143
+ _Check_return_
144
+ void* __clrcall _lfind_s(
145
+ _In_ void const* _Key,
146
+ _In_reads_bytes_(_NumOfElements * _SizeOfElements) void const* _Base,
147
+ _Inout_ unsigned int* _NumOfElements,
148
+ _In_ size_t _SizeOfElements,
149
+ _In_ _CoreCrtMgdSecureSearchSortCompareFunction _CompareFunction,
150
+ _In_ void* _Context
151
+ );
152
+
153
+ _Check_return_
154
+ void* __clrcall _lfind(
155
+ _In_ void const* _Key,
156
+ _In_reads_bytes_((*_NumOfElements) * _SizeOfElements) void const* _Base,
157
+ _Inout_ unsigned int* _NumOfElements,
158
+ _In_ unsigned int _SizeOfElements,
159
+ _In_ _CoreCrtMgdNonSecureSearchSortCompareFunction _CompareFunction
160
+ );
161
+
162
+ _Check_return_
163
+ void* __clrcall _lsearch_s(
164
+ _In_ void const* _Key,
165
+ _In_reads_bytes_((*_NumOfElements) * _SizeOfElements) void* _Base,
166
+ _In_ unsigned int* _NumOfElements,
167
+ _In_ size_t _SizeOfElements,
168
+ _In_ _CoreCrtMgdSecureSearchSortCompareFunction _CompareFunction,
169
+ _In_ void* _Context
170
+ );
171
+
172
+ _Check_return_
173
+ void* __clrcall _lsearch(
174
+ _In_ void const* _Key,
175
+ _Inout_updates_bytes_((*_NumOfElements) * _SizeOfElements) void* _Base,
176
+ _Inout_ unsigned int* _NumOfElements,
177
+ _In_ unsigned int _SizeOfElements,
178
+ _In_ _CoreCrtMgdNonSecureSearchSortCompareFunction _CompareFunction
179
+ );
180
+
181
+ void __clrcall qsort(
182
+ _Inout_updates_bytes_(_NumOfElements * _SizeOfElements) void* _Base,
183
+ _In_ size_t _NumOfElements,
184
+ _In_ size_t _SizeOfElements,
185
+ _In_ _CoreCrtMgdNonSecureSearchSortCompareFunction _CompareFunction
186
+ );
187
+ }
188
+ #endif // defined __cplusplus && defined _M_CEE
189
+
190
+
191
+
192
+ #if defined(_CRT_INTERNAL_NONSTDC_NAMES) && _CRT_INTERNAL_NONSTDC_NAMES
193
+
194
+ _Check_return_ _CRT_NONSTDC_DEPRECATE(_lfind)
195
+ _ACRTIMP void* __cdecl lfind(
196
+ _In_ void const* _Key,
197
+ _In_reads_bytes_((*_NumOfElements) * _SizeOfElements) void const* _Base,
198
+ _Inout_ unsigned int* _NumOfElements,
199
+ _In_ unsigned int _SizeOfElements,
200
+ _In_ _CoreCrtNonSecureSearchSortCompareFunction _CompareFunction
201
+ );
202
+
203
+ _Check_return_ _CRT_NONSTDC_DEPRECATE(_lsearch)
204
+ _ACRTIMP void* __cdecl lsearch(
205
+ _In_ void const* _Key,
206
+ _Inout_updates_bytes_((*_NumOfElements) * _SizeOfElements) void* _Base,
207
+ _Inout_ unsigned int* _NumOfElements,
208
+ _In_ unsigned int _SizeOfElements,
209
+ _In_ _CoreCrtNonSecureSearchSortCompareFunction _CompareFunction
210
+ );
211
+
212
+ #endif // _CRT_INTERNAL_NONSTDC_NAMES
213
+
214
+
215
+
216
+ _CRT_END_C_HEADER
217
+ _UCRT_RESTORE_CLANG_WARNINGS
218
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_share.h ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // corecrt_share.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // Defines the file sharing modes for the sopen() family of functions. These
7
+ // declarations are split out to support the Windows build.
8
+ //
9
+ #pragma once
10
+
11
+ #include <corecrt.h>
12
+
13
+ #pragma warning(push)
14
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
15
+ _UCRT_DISABLE_CLANG_WARNINGS
16
+
17
+ #define _SH_DENYRW 0x10 // deny read/write mode
18
+ #define _SH_DENYWR 0x20 // deny write mode
19
+ #define _SH_DENYRD 0x30 // deny read mode
20
+ #define _SH_DENYNO 0x40 // deny none mode
21
+ #define _SH_SECURE 0x80 // secure mode
22
+
23
+
24
+
25
+ #if (defined _CRT_DECLARE_NONSTDC_NAMES && _CRT_DECLARE_NONSTDC_NAMES) || (!defined _CRT_DECLARE_NONSTDC_NAMES && !__STDC__)
26
+ #define SH_DENYRW _SH_DENYRW
27
+ #define SH_DENYWR _SH_DENYWR
28
+ #define SH_DENYRD _SH_DENYRD
29
+ #define SH_DENYNO _SH_DENYNO
30
+ #endif
31
+
32
+ _UCRT_RESTORE_CLANG_WARNINGS
33
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_startup.h ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // corecrt_startup.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // Declarations for the CoreCRT startup functionality, used while initializing
7
+ // the CRT and during app startup and termination.
8
+ //
9
+ #pragma once
10
+
11
+ #include <corecrt.h>
12
+ #include <math.h>
13
+ #include <vcruntime_startup.h>
14
+
15
+ #pragma warning(push)
16
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
17
+ _UCRT_DISABLE_CLANG_WARNINGS
18
+
19
+ _CRT_BEGIN_C_HEADER
20
+
21
+
22
+
23
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
24
+ //
25
+ // Exception Filters for main() and DllMain()
26
+ //
27
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
28
+ struct _EXCEPTION_POINTERS;
29
+
30
+ _ACRTIMP int __cdecl _seh_filter_dll(
31
+ _In_ unsigned long _ExceptionNum,
32
+ _In_ struct _EXCEPTION_POINTERS* _ExceptionPtr
33
+ );
34
+
35
+ _ACRTIMP int __cdecl _seh_filter_exe(
36
+ _In_ unsigned long _ExceptionNum,
37
+ _In_ struct _EXCEPTION_POINTERS* _ExceptionPtr
38
+ );
39
+
40
+
41
+
42
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
43
+ //
44
+ // Miscellaneous Runtime Support
45
+ //
46
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
47
+ typedef enum _crt_app_type
48
+ {
49
+ _crt_unknown_app,
50
+ _crt_console_app,
51
+ _crt_gui_app
52
+ } _crt_app_type;
53
+
54
+ _ACRTIMP _crt_app_type __cdecl _query_app_type(void);
55
+
56
+ _ACRTIMP void __cdecl _set_app_type(
57
+ _In_ _crt_app_type _Type
58
+ );
59
+
60
+ typedef int (__cdecl *_UserMathErrorFunctionPointer)(struct _exception *);
61
+
62
+ _ACRTIMP void __cdecl __setusermatherr(
63
+ _UserMathErrorFunctionPointer _UserMathErrorFunction
64
+ );
65
+
66
+ int __cdecl _is_c_termination_complete(void);
67
+
68
+
69
+
70
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
71
+ //
72
+ // Arguments API for main() et al.
73
+ //
74
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
75
+ _ACRTIMP errno_t __cdecl _configure_narrow_argv(
76
+ _In_ _crt_argv_mode mode
77
+ );
78
+
79
+ _ACRTIMP errno_t __cdecl _configure_wide_argv(
80
+ _In_ _crt_argv_mode mode
81
+ );
82
+
83
+ // There is a linkopt for these to disable environment initialization when using
84
+ // the static CRT, so they are not declared _ACRTIMP.
85
+ int __CRTDECL _initialize_narrow_environment(void);
86
+ int __CRTDECL _initialize_wide_environment(void);
87
+
88
+ _ACRTIMP char** __cdecl _get_initial_narrow_environment(void);
89
+ _ACRTIMP wchar_t** __cdecl _get_initial_wide_environment(void);
90
+
91
+ char* __CRTDECL _get_narrow_winmain_command_line(void);
92
+ wchar_t* __CRTDECL _get_wide_winmain_command_line(void);
93
+
94
+ _ACRTIMP char** __cdecl __p__acmdln(void);
95
+ _ACRTIMP wchar_t** __cdecl __p__wcmdln(void);
96
+
97
+ #ifdef _CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY
98
+ extern char* _acmdln;
99
+ extern wchar_t* _wcmdln;
100
+ #else
101
+ #define _acmdln (*__p__acmdln())
102
+ #define _wcmdln (*__p__wcmdln())
103
+ #endif
104
+
105
+
106
+
107
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
108
+ //
109
+ // Initializer and Terminator Support
110
+ //
111
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
112
+ typedef void (__cdecl* _PVFV)(void);
113
+ typedef int (__cdecl* _PIFV)(void);
114
+ typedef void (__cdecl* _PVFI)(int);
115
+
116
+ #ifndef _M_CEE
117
+ _ACRTIMP void __cdecl _initterm(
118
+ _In_reads_(_Last - _First) _In_ _PVFV* _First,
119
+ _In_ _PVFV* _Last
120
+ );
121
+
122
+ _ACRTIMP int __cdecl _initterm_e(
123
+ _In_reads_(_Last - _First) _PIFV* _First,
124
+ _In_ _PIFV* _Last
125
+ );
126
+ #endif
127
+
128
+ #ifndef _CRT_ONEXIT_T_DEFINED
129
+ #define _CRT_ONEXIT_T_DEFINED
130
+
131
+ typedef int (__CRTDECL* _onexit_t)(void);
132
+ #ifdef _M_CEE
133
+ typedef int (__clrcall* _onexit_m_t)(void);
134
+ #endif
135
+ #endif
136
+
137
+ typedef struct _onexit_table_t
138
+ {
139
+ _PVFV* _first;
140
+ _PVFV* _last;
141
+ _PVFV* _end;
142
+ } _onexit_table_t;
143
+
144
+ _ACRTIMP int __cdecl _initialize_onexit_table(
145
+ _In_opt_ _onexit_table_t* _Table
146
+ );
147
+
148
+ _ACRTIMP int __cdecl _register_onexit_function(
149
+ _In_opt_ _onexit_table_t* _Table,
150
+ _In_opt_ _onexit_t _Function
151
+ );
152
+
153
+ _ACRTIMP int __cdecl _execute_onexit_table(
154
+ _In_opt_ _onexit_table_t* _Table
155
+ );
156
+
157
+ _ACRTIMP int __cdecl _crt_atexit(
158
+ _In_opt_ _PVFV _Function
159
+ );
160
+
161
+ _ACRTIMP int __cdecl _crt_at_quick_exit(
162
+ _In_opt_ _PVFV _Function
163
+ );
164
+
165
+
166
+
167
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
168
+ //
169
+ // Static CRT Initialization Support
170
+ //
171
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
172
+ #if _CRT_FUNCTIONS_REQUIRED
173
+
174
+ _Success_(return != 0)
175
+ __crt_bool __cdecl __acrt_initialize(void);
176
+
177
+ _Success_(return != 0)
178
+ __crt_bool __cdecl __acrt_uninitialize(
179
+ _In_ __crt_bool _Terminating
180
+ );
181
+
182
+ _Success_(return != 0)
183
+ __crt_bool __cdecl __acrt_uninitialize_critical(
184
+ _In_ __crt_bool _Terminating
185
+ );
186
+
187
+ _Success_(return != 0)
188
+ __crt_bool __cdecl __acrt_thread_attach(void);
189
+
190
+ _Success_(return != 0)
191
+ __crt_bool __cdecl __acrt_thread_detach(void);
192
+
193
+ #endif // _CRT_FUNCTIONS_REQUIRED
194
+
195
+
196
+
197
+ _CRT_END_C_HEADER
198
+ _UCRT_RESTORE_CLANG_WARNINGS
199
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_stdio_config.h ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // corecrt_stdio_config.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // Per-module <stdio.h> configuration.
7
+ //
8
+ #pragma once
9
+
10
+ #include <corecrt.h>
11
+
12
+ #pragma warning(push)
13
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
14
+ _UCRT_DISABLE_CLANG_WARNINGS
15
+
16
+ _CRT_BEGIN_C_HEADER
17
+
18
+ #if !defined _NO_CRT_STDIO_INLINE && !_CRT_FUNCTIONS_REQUIRED
19
+ #define _NO_CRT_STDIO_INLINE
20
+ #endif
21
+
22
+ #if defined _NO_CRT_STDIO_INLINE
23
+ #undef _CRT_STDIO_INLINE
24
+ #define _CRT_STDIO_INLINE
25
+ #elif !defined _CRT_STDIO_INLINE
26
+ #define _CRT_STDIO_INLINE __inline
27
+ #endif
28
+
29
+ #if !defined RC_INVOKED // RC has no target architecture
30
+ #if defined _M_IX86
31
+ #define _CRT_INTERNAL_STDIO_SYMBOL_PREFIX "_"
32
+ #elif defined _M_X64 || defined _M_ARM || defined _M_ARM64
33
+ #define _CRT_INTERNAL_STDIO_SYMBOL_PREFIX ""
34
+ #else
35
+ #error Unsupported architecture
36
+ #endif
37
+ #endif
38
+
39
+
40
+
41
+ // Predefine _CRT_STDIO_ISO_WIDE_SPECIFIERS to use ISO-conforming behavior for
42
+ // the wide string printf and scanf functions (%s, %c, and %[] specifiers).
43
+ //
44
+ // Predefine _CRT_STDIO_LEGACY_WIDE_SPECIFIERS to use VC++ 2013 and earlier behavior for
45
+ // the wide string printf and scanf functions (%s, %c, and %[] specifiers).
46
+ //
47
+ // Predefine _CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS when building code that does
48
+ // not use these format specifiers without a length modifier and thus can be
49
+ // used with either the legacy (default) or the conforming mode. (This option
50
+ // is intended for use by static libraries).
51
+ #if !defined RC_INVOKED // _CRT_STDIO_LEGACY_WIDE_SPECIFIERS et al. are too long for rc
52
+ #if defined _CRT_STDIO_ISO_WIDE_SPECIFIERS
53
+ #if defined _CRT_STDIO_LEGACY_WIDE_SPECIFIERS
54
+ #error _CRT_STDIO_ISO_WIDE_SPECIFIERS and _CRT_STDIO_LEGACY_WIDE_SPECIFIERS cannot be defined together.
55
+ #endif
56
+
57
+ #if !defined _M_CEE_PURE
58
+ #pragma comment(lib, "iso_stdio_wide_specifiers")
59
+ #pragma comment(linker, "/include:" _CRT_INTERNAL_STDIO_SYMBOL_PREFIX "__PLEASE_LINK_WITH_iso_stdio_wide_specifiers.lib")
60
+ #endif
61
+ #elif defined _CRT_STDIO_LEGACY_WIDE_SPECIFIERS
62
+ #if !defined _M_CEE_PURE
63
+ #pragma comment(lib, "legacy_stdio_wide_specifiers")
64
+ #pragma comment(linker, "/include:" _CRT_INTERNAL_STDIO_SYMBOL_PREFIX "__PLEASE_LINK_WITH_legacy_stdio_wide_specifiers.lib")
65
+ #endif
66
+ #endif
67
+
68
+ #if defined __cplusplus && !defined _CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS
69
+ #ifdef _CRT_STDIO_ISO_WIDE_SPECIFIERS
70
+ #pragma detect_mismatch("_CRT_STDIO_ISO_WIDE_SPECIFIERS", "1")
71
+ #else
72
+ #pragma detect_mismatch("_CRT_STDIO_ISO_WIDE_SPECIFIERS", "0")
73
+ #endif
74
+ #endif
75
+ #endif
76
+
77
+ // If we're compiling mixed managed code, make sure these inline functions are
78
+ // compiled as native to ensure that there is only one instance of each of the
79
+ // function-local static variables.
80
+ #if defined _M_CEE && !defined _M_CEE_PURE
81
+ #pragma managed(push, off)
82
+ #endif
83
+
84
+ #if _CRT_FUNCTIONS_REQUIRED
85
+ // This function must not be inlined into callers to avoid ODR violations. The
86
+ // static local variable has different names in C and in C++ translation units.
87
+ _Check_return_ _Ret_notnull_
88
+ _CRT_INLINE_PURE_SECURITYCRITICAL_ATTRIBUTE
89
+ __declspec(noinline) __inline unsigned __int64* __CRTDECL __local_stdio_printf_options(void)
90
+ {
91
+ static unsigned __int64 _OptionsStorage;
92
+ return &_OptionsStorage;
93
+ }
94
+
95
+ // This function must not be inlined into callers to avoid ODR violations. The
96
+ // static local variable has different names in C and in C++ translation units.
97
+ _Check_return_ _Ret_notnull_
98
+ _CRT_INLINE_PURE_SECURITYCRITICAL_ATTRIBUTE
99
+ __declspec(noinline) __inline unsigned __int64* __CRTDECL __local_stdio_scanf_options(void)
100
+ {
101
+ static unsigned __int64 _OptionsStorage;
102
+ return &_OptionsStorage;
103
+ }
104
+ #endif
105
+
106
+ #if defined _M_CEE && !defined _M_CEE_PURE
107
+ #pragma managed(pop)
108
+ #endif
109
+
110
+ #define _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS (*__local_stdio_printf_options())
111
+ #define _CRT_INTERNAL_LOCAL_SCANF_OPTIONS (*__local_stdio_scanf_options ())
112
+
113
+
114
+
115
+ #define _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION (1ULL << 0)
116
+ #define _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR (1ULL << 1)
117
+ #define _CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS (1ULL << 2)
118
+ #define _CRT_INTERNAL_PRINTF_LEGACY_MSVCRT_COMPATIBILITY (1ULL << 3)
119
+ #define _CRT_INTERNAL_PRINTF_LEGACY_THREE_DIGIT_EXPONENTS (1ULL << 4)
120
+ #define _CRT_INTERNAL_PRINTF_STANDARD_ROUNDING (1ULL << 5)
121
+
122
+
123
+ #define _CRT_INTERNAL_SCANF_SECURECRT (1ULL << 0)
124
+ #define _CRT_INTERNAL_SCANF_LEGACY_WIDE_SPECIFIERS (1ULL << 1)
125
+ #define _CRT_INTERNAL_SCANF_LEGACY_MSVCRT_COMPATIBILITY (1ULL << 2)
126
+
127
+
128
+
129
+ _CRT_END_C_HEADER
130
+ _UCRT_RESTORE_CLANG_WARNINGS
131
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_terminate.h ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // corecrt_terminate.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // The terminate handler
7
+ //
8
+ #pragma once
9
+
10
+ #include <corecrt.h>
11
+
12
+ #pragma warning(push)
13
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
14
+ _UCRT_DISABLE_CLANG_WARNINGS
15
+
16
+ #ifndef RC_INVOKED
17
+
18
+ _CRT_BEGIN_C_HEADER
19
+
20
+ // terminate_handler is the standard name; terminate_function is defined for
21
+ // source compatibility.
22
+ typedef void (__CRTDECL* terminate_handler )(void);
23
+ typedef void (__CRTDECL* terminate_function)(void);
24
+
25
+ #ifdef _M_CEE
26
+ typedef void (__clrcall* __terminate_function_m)();
27
+ typedef void (__clrcall* __terminate_handler_m )();
28
+ #endif
29
+
30
+ #ifdef __cplusplus
31
+
32
+ _ACRTIMP __declspec(noreturn) void __cdecl abort();
33
+ _ACRTIMP __declspec(noreturn) void __cdecl terminate() throw();
34
+
35
+ #ifndef _M_CEE_PURE
36
+
37
+ _ACRTIMP terminate_handler __cdecl set_terminate(
38
+ _In_opt_ terminate_handler _NewTerminateHandler
39
+ ) throw();
40
+
41
+ _ACRTIMP terminate_handler __cdecl _get_terminate();
42
+
43
+ #endif
44
+
45
+ #endif // __cplusplus
46
+
47
+ _CRT_END_C_HEADER
48
+
49
+ #endif // RC_INVOKED
50
+ _UCRT_RESTORE_CLANG_WARNINGS
51
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_wconio.h ADDED
@@ -0,0 +1,424 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // corecrt_wconio.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // This file declares the wide character (wchar_t) console I/O functionality,
7
+ // shared by both <conio.h> and <wchar.h>
8
+ //
9
+ #pragma once
10
+
11
+ #include <corecrt.h>
12
+ #include <corecrt_stdio_config.h>
13
+
14
+ #pragma warning(push)
15
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
16
+ _UCRT_DISABLE_CLANG_WARNINGS
17
+
18
+ _CRT_BEGIN_C_HEADER
19
+
20
+ #define WEOF ((wint_t)(0xFFFF))
21
+
22
+
23
+
24
+ #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
25
+
26
+ _Check_return_wat_
27
+ _Success_(_BufferCount > 0)
28
+ _DCRTIMP errno_t __cdecl _cgetws_s(
29
+ _Out_writes_to_(_BufferCount, *_SizeRead) wchar_t* _Buffer,
30
+ _In_ size_t _BufferCount,
31
+ _Out_ size_t* _SizeRead
32
+ );
33
+
34
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(
35
+ _Success_(return == 0)
36
+ errno_t, _cgetws_s,
37
+ _Out_writes_z_(*_Buffer) wchar_t, _Buffer,
38
+ _In_ size_t*, _SizeRead
39
+ )
40
+
41
+ _Check_return_opt_
42
+ _DCRTIMP int __cdecl _cputws(
43
+ _In_z_ wchar_t const* _Buffer
44
+ );
45
+
46
+ _Check_return_ _DCRTIMP wint_t __cdecl _getwch (void);
47
+ _Check_return_ _DCRTIMP wint_t __cdecl _getwche (void);
48
+ _Check_return_opt_ _DCRTIMP wint_t __cdecl _putwch (_In_ wchar_t _Character);
49
+ _Check_return_opt_ _DCRTIMP wint_t __cdecl _ungetwch(_In_ wint_t _Character);
50
+
51
+ _Check_return_ _DCRTIMP wint_t __cdecl _getwch_nolock (void);
52
+ _Check_return_ _DCRTIMP wint_t __cdecl _getwche_nolock (void);
53
+ _Check_return_opt_ _DCRTIMP wint_t __cdecl _putwch_nolock (_In_ wchar_t _Character);
54
+ _Check_return_opt_ _DCRTIMP wint_t __cdecl _ungetwch_nolock(_In_ wint_t _Character);
55
+
56
+
57
+
58
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
59
+ //
60
+ // Wide Character Formatted Output Functions (Console)
61
+ //
62
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
63
+ _Check_return_opt_
64
+ _DCRTIMP int __cdecl __conio_common_vcwprintf(
65
+ _In_ unsigned __int64 _Options,
66
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* _Format,
67
+ _In_opt_ _locale_t _Locale,
68
+ va_list _ArgList
69
+ );
70
+
71
+ _Check_return_opt_
72
+ _DCRTIMP int __cdecl __conio_common_vcwprintf_s(
73
+ _In_ unsigned __int64 _Options,
74
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* _Format,
75
+ _In_opt_ _locale_t _Locale,
76
+ va_list _ArgList
77
+ );
78
+
79
+ _Check_return_opt_
80
+ _DCRTIMP int __cdecl __conio_common_vcwprintf_p(
81
+ _In_ unsigned __int64 _Options,
82
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* _Format,
83
+ _In_opt_ _locale_t _Locale,
84
+ va_list _ArgList
85
+ );
86
+
87
+ _Check_return_opt_
88
+ _CRT_STDIO_INLINE int __CRTDECL _vcwprintf_l(
89
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
90
+ _In_opt_ _locale_t const _Locale,
91
+ va_list _ArgList
92
+ )
93
+ #if defined _NO_CRT_STDIO_INLINE
94
+ ;
95
+ #else
96
+ {
97
+ return __conio_common_vcwprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Format, _Locale, _ArgList);
98
+ }
99
+ #endif
100
+
101
+ _Check_return_opt_
102
+ _CRT_STDIO_INLINE int __CRTDECL _vcwprintf(
103
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
104
+ va_list _ArgList
105
+ )
106
+ #if defined _NO_CRT_STDIO_INLINE
107
+ ;
108
+ #else
109
+ {
110
+ return _vcwprintf_l(_Format, NULL, _ArgList);
111
+ }
112
+ #endif
113
+
114
+ _Check_return_opt_
115
+ _CRT_STDIO_INLINE int __CRTDECL _vcwprintf_s_l(
116
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
117
+ _In_opt_ _locale_t const _Locale,
118
+ va_list _ArgList
119
+ )
120
+ #if defined _NO_CRT_STDIO_INLINE
121
+ ;
122
+ #else
123
+ {
124
+ return __conio_common_vcwprintf_s(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Format, _Locale, _ArgList);
125
+ }
126
+ #endif
127
+
128
+ _Check_return_opt_
129
+ _CRT_STDIO_INLINE int __CRTDECL _vcwprintf_s(
130
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
131
+ va_list _ArgList
132
+ )
133
+ #if defined _NO_CRT_STDIO_INLINE
134
+ ;
135
+ #else
136
+ {
137
+ return _vcwprintf_s_l(_Format, NULL, _ArgList);
138
+ }
139
+ #endif
140
+
141
+ _Check_return_opt_
142
+ _CRT_STDIO_INLINE int __CRTDECL _vcwprintf_p_l(
143
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
144
+ _In_opt_ _locale_t const _Locale,
145
+ va_list _ArgList
146
+ )
147
+ #if defined _NO_CRT_STDIO_INLINE
148
+ ;
149
+ #else
150
+ {
151
+ return __conio_common_vcwprintf_p(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Format, _Locale, _ArgList);
152
+ }
153
+ #endif
154
+
155
+ _Check_return_opt_
156
+ _CRT_STDIO_INLINE int __CRTDECL _vcwprintf_p(
157
+ _In_z_ _Printf_format_string_ const wchar_t* const _Format,
158
+ va_list _ArgList
159
+ )
160
+ #if defined _NO_CRT_STDIO_INLINE
161
+ ;
162
+ #else
163
+ {
164
+ return _vcwprintf_p_l(_Format, NULL, _ArgList);
165
+ }
166
+ #endif
167
+
168
+ _Check_return_opt_
169
+ _CRT_STDIO_INLINE int __CRTDECL _cwprintf_l(
170
+ _In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
171
+ _In_opt_ _locale_t const _Locale,
172
+ ...)
173
+ #if defined _NO_CRT_STDIO_INLINE
174
+ ;
175
+ #else
176
+ {
177
+ int _Result;
178
+ va_list _ArgList;
179
+ __crt_va_start(_ArgList, _Locale);
180
+ _Result = _vcwprintf_l(_Format, _Locale, _ArgList);
181
+ __crt_va_end(_ArgList);
182
+ return _Result;
183
+ }
184
+ #endif
185
+
186
+ _Check_return_opt_
187
+ _CRT_STDIO_INLINE int __CRTDECL _cwprintf(
188
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
189
+ ...)
190
+ #if defined _NO_CRT_STDIO_INLINE
191
+ ;
192
+ #else
193
+ {
194
+ int _Result;
195
+ va_list _ArgList;
196
+ __crt_va_start(_ArgList, _Format);
197
+ _Result = _vcwprintf_l(_Format, NULL, _ArgList);
198
+ __crt_va_end(_ArgList);
199
+ return _Result;
200
+ }
201
+ #endif
202
+
203
+ _Check_return_opt_
204
+ _CRT_STDIO_INLINE int __CRTDECL _cwprintf_s_l(
205
+ _In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
206
+ _In_opt_ _locale_t const _Locale,
207
+ ...)
208
+ #if defined _NO_CRT_STDIO_INLINE
209
+ ;
210
+ #else
211
+ {
212
+ int _Result;
213
+ va_list _ArgList;
214
+ __crt_va_start(_ArgList, _Locale);
215
+ _Result = _vcwprintf_s_l(_Format, _Locale, _ArgList);
216
+ __crt_va_end(_ArgList);
217
+ return _Result;
218
+ }
219
+ #endif
220
+
221
+ _Check_return_opt_
222
+ _CRT_STDIO_INLINE int __CRTDECL _cwprintf_s(
223
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
224
+ ...)
225
+ #if defined _NO_CRT_STDIO_INLINE
226
+ ;
227
+ #else
228
+ {
229
+ int _Result;
230
+ va_list _ArgList;
231
+ __crt_va_start(_ArgList, _Format);
232
+ _Result = _vcwprintf_s_l(_Format, NULL, _ArgList);
233
+ __crt_va_end(_ArgList);
234
+ return _Result;
235
+ }
236
+ #endif
237
+
238
+ _Check_return_opt_
239
+ _CRT_STDIO_INLINE int __CRTDECL _cwprintf_p_l(
240
+ _In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
241
+ _In_opt_ _locale_t const _Locale,
242
+ ...)
243
+ #if defined _NO_CRT_STDIO_INLINE
244
+ ;
245
+ #else
246
+ {
247
+ int _Result;
248
+ va_list _ArgList;
249
+ __crt_va_start(_ArgList, _Locale);
250
+ _Result = _vcwprintf_p_l(_Format, _Locale, _ArgList);
251
+ __crt_va_end(_ArgList);
252
+ return _Result;
253
+ }
254
+ #endif
255
+
256
+ _Check_return_opt_
257
+ _CRT_STDIO_INLINE int __CRTDECL _cwprintf_p(
258
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
259
+ ...)
260
+ #if defined _NO_CRT_STDIO_INLINE
261
+ ;
262
+ #else
263
+ {
264
+ int _Result;
265
+ va_list _ArgList;
266
+ __crt_va_start(_ArgList, _Format);
267
+ _Result = _vcwprintf_p_l(_Format, NULL, _ArgList);
268
+ __crt_va_end(_ArgList);
269
+ return _Result;
270
+ }
271
+ #endif
272
+
273
+
274
+
275
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
276
+ //
277
+ // Wide Character Formatted Input Functions (Console)
278
+ //
279
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
280
+ _Check_return_opt_
281
+ _DCRTIMP int __cdecl __conio_common_vcwscanf(
282
+ _In_ unsigned __int64 _Options,
283
+ _In_z_ _Scanf_format_string_params_(2) wchar_t const* _Format,
284
+ _In_opt_ _locale_t _Locale,
285
+ va_list _ArgList
286
+ );
287
+
288
+ _Check_return_opt_ _CRT_INSECURE_DEPRECATE(_vcwscanf_s_l)
289
+ _CRT_STDIO_INLINE int __CRTDECL _vcwscanf_l(
290
+ _In_z_ _Scanf_format_string_params_(2) wchar_t const* const _Format,
291
+ _In_opt_ _locale_t const _Locale,
292
+ va_list _ArgList
293
+ )
294
+ #if defined _NO_CRT_STDIO_INLINE
295
+ ;
296
+ #else
297
+ {
298
+ return __conio_common_vcwscanf(
299
+ _CRT_INTERNAL_LOCAL_SCANF_OPTIONS,
300
+ _Format, _Locale, _ArgList);
301
+ }
302
+ #endif
303
+
304
+ _Check_return_opt_ _CRT_INSECURE_DEPRECATE(_vcwscanf_s)
305
+ _CRT_STDIO_INLINE int __CRTDECL _vcwscanf(
306
+ _In_z_ _Scanf_format_string_params_(1) wchar_t const* const _Format,
307
+ va_list _ArgList
308
+ )
309
+ #if defined _NO_CRT_STDIO_INLINE
310
+ ;
311
+ #else
312
+ {
313
+ return _vcwscanf_l(_Format, NULL, _ArgList);
314
+ }
315
+ #endif
316
+
317
+ _Check_return_opt_
318
+ _CRT_STDIO_INLINE int __CRTDECL _vcwscanf_s_l(
319
+ _In_z_ _Scanf_format_string_params_(2) wchar_t const* const _Format,
320
+ _In_opt_ _locale_t const _Locale,
321
+ va_list _ArgList
322
+ )
323
+ #if defined _NO_CRT_STDIO_INLINE
324
+ ;
325
+ #else
326
+ {
327
+ return __conio_common_vcwscanf(
328
+ _CRT_INTERNAL_LOCAL_SCANF_OPTIONS | _CRT_INTERNAL_SCANF_SECURECRT,
329
+ _Format, _Locale, _ArgList);
330
+ }
331
+ #endif
332
+
333
+ _Check_return_opt_
334
+ _CRT_STDIO_INLINE int __CRTDECL _vcwscanf_s(
335
+ _In_z_ _Scanf_format_string_params_(1) wchar_t const* const _Format,
336
+ va_list _ArgList
337
+ )
338
+ #if defined _NO_CRT_STDIO_INLINE
339
+ ;
340
+ #else
341
+ {
342
+ return _vcwscanf_s_l(_Format, NULL, _ArgList);
343
+ }
344
+ #endif
345
+
346
+ _Check_return_opt_ _CRT_INSECURE_DEPRECATE(_cwscanf_s_l)
347
+ _CRT_STDIO_INLINE int __CRTDECL _cwscanf_l(
348
+ _In_z_ _Scanf_format_string_params_(0) wchar_t const* const _Format,
349
+ _In_opt_ _locale_t const _Locale,
350
+ ...)
351
+ #if defined _NO_CRT_STDIO_INLINE
352
+ ;
353
+ #else
354
+ {
355
+ int _Result;
356
+ va_list _ArgList;
357
+ __crt_va_start(_ArgList, _Locale);
358
+
359
+ _Result = _vcwscanf_l(_Format, _Locale, _ArgList);
360
+
361
+ __crt_va_end(_ArgList);
362
+ return _Result;
363
+ }
364
+ #endif
365
+
366
+ _Check_return_opt_ _CRT_INSECURE_DEPRECATE(_cwscanf_s)
367
+ _CRT_STDIO_INLINE int __CRTDECL _cwscanf(
368
+ _In_z_ _Scanf_format_string_ wchar_t const* const _Format,
369
+ ...)
370
+ #if defined _NO_CRT_STDIO_INLINE
371
+ ;
372
+ #else
373
+ {
374
+ int _Result;
375
+ va_list _ArgList;
376
+ __crt_va_start(_ArgList, _Format);
377
+
378
+ _Result = _vcwscanf_l(_Format, NULL, _ArgList);
379
+
380
+ __crt_va_end(_ArgList);
381
+ return _Result;
382
+ }
383
+ #endif
384
+
385
+ _Check_return_opt_
386
+ _CRT_STDIO_INLINE int __CRTDECL _cwscanf_s_l(
387
+ _In_z_ _Scanf_format_string_params_(0) wchar_t const* const _Format,
388
+ _In_opt_ _locale_t const _Locale,
389
+ ...)
390
+ #if defined _NO_CRT_STDIO_INLINE
391
+ ;
392
+ #else
393
+ {
394
+ int _Result;
395
+ va_list _ArgList;
396
+ __crt_va_start(_ArgList, _Locale);
397
+ _Result = _vcwscanf_s_l(_Format, _Locale, _ArgList);
398
+ __crt_va_end(_ArgList);
399
+ return _Result;
400
+ }
401
+ #endif
402
+
403
+ _Check_return_opt_
404
+ _CRT_STDIO_INLINE int __CRTDECL _cwscanf_s(
405
+ _In_z_ _Scanf_format_string_ wchar_t const* const _Format,
406
+ ...)
407
+ #if defined _NO_CRT_STDIO_INLINE
408
+ ;
409
+ #else
410
+ {
411
+ int _Result;
412
+ va_list _ArgList;
413
+ __crt_va_start(_ArgList, _Format);
414
+ _Result = _vcwscanf_s_l(_Format, NULL, _ArgList);
415
+ __crt_va_end(_ArgList);
416
+ return _Result;
417
+ }
418
+ #endif
419
+
420
+ #endif // _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
421
+
422
+ _CRT_END_C_HEADER
423
+ _UCRT_RESTORE_CLANG_WARNINGS
424
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_wctype.h ADDED
@@ -0,0 +1,205 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // corecrt_wctype.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // This file declares the wide character (wchar_t) classification functionality,
7
+ // shared by <ctype.h>, <wchar.h>, and <wctype.h>.
8
+ //
9
+ #pragma once
10
+
11
+ #include <corecrt.h>
12
+
13
+ #pragma warning(push)
14
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
15
+ _UCRT_DISABLE_CLANG_WARNINGS
16
+
17
+ _CRT_BEGIN_C_HEADER
18
+
19
+
20
+
21
+ #define WEOF ((wint_t)(0xFFFF))
22
+
23
+
24
+
25
+ // This declaration allows the user access to the ctype look-up
26
+ // array _ctype defined in ctype.obj by simply including ctype.h
27
+ #ifndef _CTYPE_DISABLE_MACROS
28
+
29
+ #if defined _CRT_DISABLE_PERFCRIT_LOCKS && !defined _DLL
30
+ #define __PCTYPE_FUNC _pctype
31
+ #else
32
+ #define __PCTYPE_FUNC __pctype_func()
33
+ #endif
34
+
35
+ _ACRTIMP const unsigned short* __cdecl __pctype_func(void);
36
+ _ACRTIMP const wctype_t* __cdecl __pwctype_func(void);
37
+
38
+ #ifdef _CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY
39
+ extern const unsigned short* _pctype;
40
+ extern const wctype_t* _pwctype;
41
+ #else
42
+ #define _pctype (__pctype_func())
43
+ #define _pwctype (__pwctype_func())
44
+ #endif
45
+ #endif
46
+
47
+ // Bit masks for the possible character types
48
+ #define _UPPER 0x01 // uppercase letter
49
+ #define _LOWER 0x02 // lowercase letter
50
+ #define _DIGIT 0x04 // digit[0-9]
51
+ #define _SPACE 0x08 // tab, carriage return, newline, vertical tab, or form feed
52
+ #define _PUNCT 0x10 // punctuation character
53
+ #define _CONTROL 0x20 // control character
54
+ #define _BLANK 0x40 // space char (tab is handled separately)
55
+ #define _HEX 0x80 // hexadecimal digit
56
+
57
+ #define _LEADBYTE 0x8000 // multibyte leadbyte
58
+ #define _ALPHA (0x0100 | _UPPER | _LOWER) // alphabetic character
59
+
60
+
61
+
62
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
63
+ //
64
+ // Wide Character Classification and Conversion Functions
65
+ //
66
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
67
+ _Check_return_ _ACRTIMP int __cdecl iswalnum (_In_ wint_t _C);
68
+ _Check_return_ _ACRTIMP int __cdecl iswalpha (_In_ wint_t _C);
69
+ _Check_return_ _ACRTIMP int __cdecl iswascii (_In_ wint_t _C);
70
+ _Check_return_ _ACRTIMP int __cdecl iswblank (_In_ wint_t _C);
71
+ _Check_return_ _ACRTIMP int __cdecl iswcntrl (_In_ wint_t _C);
72
+
73
+ _When_(_Param_(1) == 0, _Post_equal_to_(0))
74
+ _Check_return_ _ACRTIMP int __cdecl iswdigit (_In_ wint_t _C);
75
+
76
+ _Check_return_ _ACRTIMP int __cdecl iswgraph (_In_ wint_t _C);
77
+ _Check_return_ _ACRTIMP int __cdecl iswlower (_In_ wint_t _C);
78
+ _Check_return_ _ACRTIMP int __cdecl iswprint (_In_ wint_t _C);
79
+ _Check_return_ _ACRTIMP int __cdecl iswpunct (_In_ wint_t _C);
80
+ _Check_return_ _ACRTIMP int __cdecl iswspace (_In_ wint_t _C);
81
+ _Check_return_ _ACRTIMP int __cdecl iswupper (_In_ wint_t _C);
82
+ _Check_return_ _ACRTIMP int __cdecl iswxdigit (_In_ wint_t _C);
83
+ _Check_return_ _ACRTIMP int __cdecl __iswcsymf(_In_ wint_t _C);
84
+ _Check_return_ _ACRTIMP int __cdecl __iswcsym (_In_ wint_t _C);
85
+
86
+ _Check_return_ _ACRTIMP int __cdecl _iswalnum_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale);
87
+ _Check_return_ _ACRTIMP int __cdecl _iswalpha_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale);
88
+ _Check_return_ _ACRTIMP int __cdecl _iswblank_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale);
89
+ _Check_return_ _ACRTIMP int __cdecl _iswcntrl_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale);
90
+ _Check_return_ _ACRTIMP int __cdecl _iswdigit_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale);
91
+ _Check_return_ _ACRTIMP int __cdecl _iswgraph_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale);
92
+ _Check_return_ _ACRTIMP int __cdecl _iswlower_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale);
93
+ _Check_return_ _ACRTIMP int __cdecl _iswprint_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale);
94
+ _Check_return_ _ACRTIMP int __cdecl _iswpunct_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale);
95
+ _Check_return_ _ACRTIMP int __cdecl _iswspace_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale);
96
+ _Check_return_ _ACRTIMP int __cdecl _iswupper_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale);
97
+ _Check_return_ _ACRTIMP int __cdecl _iswxdigit_l(_In_ wint_t _C, _In_opt_ _locale_t _Locale);
98
+ _Check_return_ _ACRTIMP int __cdecl _iswcsymf_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale);
99
+ _Check_return_ _ACRTIMP int __cdecl _iswcsym_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale);
100
+
101
+
102
+ _Check_return_ _ACRTIMP wint_t __cdecl towupper(_In_ wint_t _C);
103
+ _Check_return_ _ACRTIMP wint_t __cdecl towlower(_In_ wint_t _C);
104
+ _Check_return_ _ACRTIMP int __cdecl iswctype(_In_ wint_t _C, _In_ wctype_t _Type);
105
+
106
+ _Check_return_ _ACRTIMP wint_t __cdecl _towupper_l(_In_ wint_t _C, _In_opt_ _locale_t _Locale);
107
+ _Check_return_ _ACRTIMP wint_t __cdecl _towlower_l(_In_ wint_t _C, _In_opt_ _locale_t _Locale);
108
+ _Check_return_ _ACRTIMP int __cdecl _iswctype_l(_In_ wint_t _C, _In_ wctype_t _Type, _In_opt_ _locale_t _Locale);
109
+
110
+
111
+ #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
112
+ _Check_return_ _ACRTIMP int __cdecl isleadbyte(_In_ int _C);
113
+ _Check_return_ _ACRTIMP int __cdecl _isleadbyte_l(_In_ int _C, _In_opt_ _locale_t _Locale);
114
+
115
+ _CRT_OBSOLETE(iswctype) _DCRTIMP int __cdecl is_wctype(_In_ wint_t _C, _In_ wctype_t _Type);
116
+ #endif
117
+
118
+
119
+
120
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
121
+ //
122
+ // Macro and Inline Definitions
123
+ //
124
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
125
+ #if !defined __cplusplus || defined _M_CEE_PURE || defined MRTDLL || defined _CORECRT_BUILD
126
+ #ifndef _CTYPE_DISABLE_MACROS
127
+
128
+ #define iswalpha(_c) (iswctype(_c, _ALPHA))
129
+ #define iswupper(_c) (iswctype(_c, _UPPER))
130
+ #define iswlower(_c) (iswctype(_c, _LOWER))
131
+ #define iswdigit(_c) (iswctype(_c, _DIGIT))
132
+ #define iswxdigit(_c) (iswctype(_c, _HEX))
133
+ #define iswspace(_c) (iswctype(_c, _SPACE))
134
+ #define iswpunct(_c) (iswctype(_c, _PUNCT))
135
+ #define iswblank(_c) (((_c) == '\t') ? _BLANK : iswctype(_c,_BLANK) )
136
+ #define iswalnum(_c) (iswctype(_c, _ALPHA | _DIGIT))
137
+ #define iswprint(_c) (iswctype(_c, _BLANK | _PUNCT | _ALPHA | _DIGIT))
138
+ #define iswgraph(_c) (iswctype(_c, _PUNCT | _ALPHA | _DIGIT))
139
+ #define iswcntrl(_c) (iswctype(_c, _CONTROL))
140
+ #define iswascii(_c) ((unsigned)(_c) < 0x80)
141
+
142
+ #define _iswalpha_l(_c,_p) (iswctype(_c, _ALPHA))
143
+ #define _iswupper_l(_c,_p) (iswctype(_c, _UPPER))
144
+ #define _iswlower_l(_c,_p) (iswctype(_c, _LOWER))
145
+ #define _iswdigit_l(_c,_p) (iswctype(_c, _DIGIT))
146
+ #define _iswxdigit_l(_c,_p) (iswctype(_c, _HEX))
147
+ #define _iswspace_l(_c,_p) (iswctype(_c, _SPACE))
148
+ #define _iswpunct_l(_c,_p) (iswctype(_c, _PUNCT))
149
+ #define _iswblank_l(_c,_p) (iswctype(_c, _BLANK))
150
+ #define _iswalnum_l(_c,_p) (iswctype(_c, _ALPHA | _DIGIT))
151
+ #define _iswprint_l(_c,_p) (iswctype(_c, _BLANK | _PUNCT | _ALPHA | _DIGIT))
152
+ #define _iswgraph_l(_c,_p) (iswctype(_c, _PUNCT | _ALPHA | _DIGIT))
153
+ #define _iswcntrl_l(_c,_p) (iswctype(_c, _CONTROL))
154
+
155
+ #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
156
+ #define isleadbyte(_c) (__PCTYPE_FUNC[(unsigned char)(_c)] & _LEADBYTE)
157
+ #endif
158
+
159
+ #endif // _CTYPE_DISABLE_MACROS
160
+ // CRT_REFACTOR TODO I've had to remove the inline function definitions because
161
+ // they break the debugger build. These were moved here from <wctype.h> in
162
+ // C968560. We need to figure out what is wrong.
163
+ //#else
164
+ // #ifndef _CTYPE_DISABLE_MACROS
165
+ // inline int __cdecl iswalpha (_In_ wint_t _C) { return iswctype(_C, _ALPHA); }
166
+ // inline int __cdecl iswupper (_In_ wint_t _C) { return iswctype(_C, _UPPER); }
167
+ // inline int __cdecl iswlower (_In_ wint_t _C) { return iswctype(_C, _LOWER); }
168
+ // inline int __cdecl iswdigit (_In_ wint_t _C) { return iswctype(_C, _DIGIT); }
169
+ // inline int __cdecl iswxdigit(_In_ wint_t _C) { return iswctype(_C, _HEX); }
170
+ // inline int __cdecl iswspace (_In_ wint_t _C) { return iswctype(_C, _SPACE); }
171
+ // inline int __cdecl iswpunct (_In_ wint_t _C) { return iswctype(_C, _PUNCT); }
172
+ // inline int __cdecl iswblank (_In_ wint_t _C) { return (((_C) == '\t') ? _BLANK : iswctype(_C,_BLANK)); }
173
+ // inline int __cdecl iswalnum (_In_ wint_t _C) { return iswctype(_C, _ALPHA | _DIGIT); }
174
+ // inline int __cdecl iswprint (_In_ wint_t _C) { return iswctype(_C, _BLANK | _PUNCT | _ALPHA | _DIGIT); }
175
+ // inline int __cdecl iswgraph (_In_ wint_t _C) { return iswctype(_C, _PUNCT | _ALPHA | _DIGIT); }
176
+ // inline int __cdecl iswcntrl (_In_ wint_t _C) { return iswctype(_C, _CONTROL); }
177
+ // inline int __cdecl iswascii (_In_ wint_t _C) { return (unsigned)(_C) < 0x80; }
178
+ //
179
+ // inline int __cdecl _iswalpha_l (_In_ wint_t _C, _In_opt_ _locale_t) { return iswctype(_C, _ALPHA); }
180
+ // inline int __cdecl _iswupper_l (_In_ wint_t _C, _In_opt_ _locale_t) { return iswctype(_C, _UPPER); }
181
+ // inline int __cdecl _iswlower_l (_In_ wint_t _C, _In_opt_ _locale_t) { return iswctype(_C, _LOWER); }
182
+ // inline int __cdecl _iswdigit_l (_In_ wint_t _C, _In_opt_ _locale_t) { return iswctype(_C, _DIGIT); }
183
+ // inline int __cdecl _iswxdigit_l(_In_ wint_t _C, _In_opt_ _locale_t) { return iswctype(_C, _HEX); }
184
+ // inline int __cdecl _iswspace_l (_In_ wint_t _C, _In_opt_ _locale_t) { return iswctype(_C, _SPACE); }
185
+ // inline int __cdecl _iswpunct_l (_In_ wint_t _C, _In_opt_ _locale_t) { return iswctype(_C, _PUNCT); }
186
+ // inline int __cdecl _iswblank_l (_In_ wint_t _C, _In_opt_ _locale_t) { return iswctype(_C, _BLANK); }
187
+ // inline int __cdecl _iswalnum_l (_In_ wint_t _C, _In_opt_ _locale_t) { return iswctype(_C, _ALPHA | _DIGIT); }
188
+ // inline int __cdecl _iswprint_l (_In_ wint_t _C, _In_opt_ _locale_t) { return iswctype(_C, _BLANK | _PUNCT | _ALPHA | _DIGIT); }
189
+ // inline int __cdecl _iswgraph_l (_In_ wint_t _C, _In_opt_ _locale_t) { return iswctype(_C, _PUNCT | _ALPHA | _DIGIT); }
190
+ // inline int __cdecl _iswcntrl_l (_In_ wint_t _C, _In_opt_ _locale_t) { return iswctype(_C, _CONTROL); }
191
+ //
192
+ // #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
193
+ // inline int __cdecl isleadbyte(_In_ int _C)
194
+ // {
195
+ // return __pctype_func()[(unsigned char)(_C)] & _LEADBYTE;
196
+ // }
197
+ // #endif
198
+ // #endif
199
+ #endif
200
+
201
+
202
+
203
+ _CRT_END_C_HEADER
204
+ _UCRT_RESTORE_CLANG_WARNINGS
205
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_wdirect.h ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // corecrt_wdirect.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // This file declares the wide character (wchar_t) directory functionality, shared
7
+ // by <direct.h> and <wchar.h>.
8
+ //
9
+ #pragma once
10
+
11
+ #include <corecrt.h>
12
+
13
+ #pragma warning(push)
14
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
15
+ _UCRT_DISABLE_CLANG_WARNINGS
16
+
17
+ _CRT_BEGIN_C_HEADER
18
+
19
+ #pragma push_macro("_wgetcwd")
20
+ #pragma push_macro("_wgetdcwd")
21
+ #undef _wgetcwd
22
+ #undef _wgetdcwd
23
+
24
+ _Success_(return != 0)
25
+ _Check_return_ _Ret_maybenull_z_
26
+ _ACRTIMP _CRTALLOCATOR wchar_t* __cdecl _wgetcwd(
27
+ _Out_writes_opt_z_(_SizeInWords) wchar_t* _DstBuf,
28
+ _In_ int _SizeInWords
29
+ );
30
+
31
+ _Success_(return != 0)
32
+ _Check_return_ _Ret_maybenull_z_
33
+ _ACRTIMP _CRTALLOCATOR wchar_t* __cdecl _wgetdcwd(
34
+ _In_ int _Drive,
35
+ _Out_writes_opt_z_(_SizeInWords) wchar_t* _DstBuf,
36
+ _In_ int _SizeInWords
37
+ );
38
+
39
+ #define _wgetdcwd_nolock _wgetdcwd
40
+
41
+ #pragma pop_macro("_wgetcwd")
42
+ #pragma pop_macro("_wgetdcwd")
43
+
44
+ _Check_return_
45
+ _ACRTIMP int __cdecl _wchdir(
46
+ _In_z_ wchar_t const* _Path
47
+ );
48
+
49
+ _Check_return_
50
+ _ACRTIMP int __cdecl _wmkdir(
51
+ _In_z_ wchar_t const* _Path
52
+ );
53
+
54
+ _Check_return_
55
+ _ACRTIMP int __cdecl _wrmdir(
56
+ _In_z_ wchar_t const* _Path
57
+ );
58
+
59
+
60
+
61
+ _CRT_END_C_HEADER
62
+ _UCRT_RESTORE_CLANG_WARNINGS
63
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_wio.h ADDED
@@ -0,0 +1,270 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // corecrt_wio.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // This file declares the wide character (wchar_t) I/O functionality, shared by
7
+ // <io.h> and <wchar.h>.
8
+ //
9
+ #pragma once
10
+
11
+ #include <corecrt.h>
12
+ #include <corecrt_share.h>
13
+
14
+ #pragma warning(push)
15
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
16
+ _UCRT_DISABLE_CLANG_WARNINGS
17
+
18
+ _CRT_BEGIN_C_HEADER
19
+
20
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
21
+ //
22
+ // Types
23
+ //
24
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
25
+ #ifdef _USE_32BIT_TIME_T
26
+ #define _wfinddata_t _wfinddata32_t
27
+ #define _wfinddatai64_t _wfinddata32i64_t
28
+ #else
29
+ #define _wfinddata_t _wfinddata64i32_t
30
+ #define _wfinddatai64_t _wfinddata64_t
31
+ #endif
32
+
33
+ typedef unsigned long _fsize_t;
34
+
35
+ struct _wfinddata32_t
36
+ {
37
+ unsigned attrib;
38
+ __time32_t time_create; // -1 for FAT file systems
39
+ __time32_t time_access; // -1 for FAT file systems
40
+ __time32_t time_write;
41
+ _fsize_t size;
42
+ wchar_t name[260];
43
+ };
44
+
45
+ struct _wfinddata32i64_t
46
+ {
47
+ unsigned attrib;
48
+ __time32_t time_create; // -1 for FAT file systems
49
+ __time32_t time_access; // -1 for FAT file systems
50
+ __time32_t time_write;
51
+ __int64 size;
52
+ wchar_t name[260];
53
+ };
54
+
55
+ struct _wfinddata64i32_t
56
+ {
57
+ unsigned attrib;
58
+ __time64_t time_create; // -1 for FAT file systems
59
+ __time64_t time_access; // -1 for FAT file systems
60
+ __time64_t time_write;
61
+ _fsize_t size;
62
+ wchar_t name[260];
63
+ };
64
+
65
+ struct _wfinddata64_t
66
+ {
67
+ unsigned attrib;
68
+ __time64_t time_create; // -1 for FAT file systems
69
+ __time64_t time_access; // -1 for FAT file systems
70
+ __time64_t time_write;
71
+ __int64 size;
72
+ wchar_t name[260];
73
+ };
74
+
75
+
76
+
77
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
78
+ //
79
+ // Functions
80
+ //
81
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
82
+ #ifdef _USE_32BIT_TIME_T
83
+ #define _wfindfirst _wfindfirst32
84
+ #define _wfindnext _wfindnext32
85
+ #define _wfindfirsti64 _wfindfirst32i64
86
+ #define _wfindnexti64 _wfindnext32i64
87
+ #else
88
+ #define _wfindfirst _wfindfirst64i32
89
+ #define _wfindnext _wfindnext64i32
90
+ #define _wfindfirsti64 _wfindfirst64
91
+ #define _wfindnexti64 _wfindnext64
92
+ #endif
93
+
94
+ _Check_return_
95
+ _ACRTIMP int __cdecl _waccess(
96
+ _In_z_ wchar_t const* _FileName,
97
+ _In_ int _AccessMode
98
+ );
99
+
100
+ _Check_return_wat_
101
+ _ACRTIMP errno_t __cdecl _waccess_s(
102
+ _In_z_ wchar_t const* _FileName,
103
+ _In_ int _AccessMode
104
+ );
105
+
106
+ _Check_return_
107
+ _ACRTIMP int __cdecl _wchmod(
108
+ _In_z_ wchar_t const* _FileName,
109
+ _In_ int _Mode
110
+ );
111
+
112
+ _Check_return_ _CRT_INSECURE_DEPRECATE(_wsopen_s)
113
+ _ACRTIMP int __cdecl _wcreat(
114
+ _In_z_ wchar_t const* _FileName,
115
+ _In_ int _PermissionMode
116
+ );
117
+
118
+ _Success_(return != -1)
119
+ _Check_return_
120
+ _ACRTIMP intptr_t __cdecl _wfindfirst32(
121
+ _In_z_ wchar_t const* _FileName,
122
+ _Out_ struct _wfinddata32_t* _FindData
123
+ );
124
+
125
+ _Success_(return != -1)
126
+ _Check_return_
127
+ _ACRTIMP int __cdecl _wfindnext32(
128
+ _In_ intptr_t _FindHandle,
129
+ _Out_ struct _wfinddata32_t* _FindData
130
+ );
131
+
132
+ _ACRTIMP int __cdecl _wunlink(
133
+ _In_z_ wchar_t const* _FileName
134
+ );
135
+
136
+ _Check_return_
137
+ _ACRTIMP int __cdecl _wrename(
138
+ _In_z_ wchar_t const* _OldFileName,
139
+ _In_z_ wchar_t const* _NewFileName
140
+ );
141
+
142
+ _ACRTIMP errno_t __cdecl _wmktemp_s(
143
+ _Inout_updates_z_(_SizeInWords) wchar_t* _TemplateName,
144
+ _In_ size_t _SizeInWords
145
+ );
146
+
147
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(
148
+ errno_t, _wmktemp_s,
149
+ wchar_t, _TemplateName
150
+ )
151
+
152
+ _Success_(return != 0)
153
+ __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(
154
+ wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, _wmktemp,
155
+ _Inout_z_, wchar_t, _TemplateName
156
+ )
157
+
158
+ _Success_(return != -1)
159
+ _Check_return_
160
+ _ACRTIMP intptr_t __cdecl _wfindfirst32i64(
161
+ _In_z_ wchar_t const* _FileName,
162
+ _Out_ struct _wfinddata32i64_t* _FindData
163
+ );
164
+
165
+ _Success_(return != -1)
166
+ _Check_return_
167
+ _ACRTIMP intptr_t __cdecl _wfindfirst64i32(
168
+ _In_z_ wchar_t const* _FileName,
169
+ _Out_ struct _wfinddata64i32_t* _FindData
170
+ );
171
+
172
+ _Success_(return != -1)
173
+ _Check_return_
174
+ _ACRTIMP intptr_t __cdecl _wfindfirst64(
175
+ _In_z_ wchar_t const* _FileName,
176
+ _Out_ struct _wfinddata64_t* _FindData
177
+ );
178
+
179
+ _Success_(return != -1)
180
+ _Check_return_
181
+ _ACRTIMP int __cdecl _wfindnext32i64(
182
+ _In_ intptr_t _FindHandle,
183
+ _Out_ struct _wfinddata32i64_t* _FindData
184
+ );
185
+
186
+ _Success_(return != -1)
187
+ _Check_return_
188
+ _ACRTIMP int __cdecl _wfindnext64i32(
189
+ _In_ intptr_t _FindHandle,
190
+ _Out_ struct _wfinddata64i32_t* _FindData
191
+ );
192
+
193
+ _Success_(return != -1)
194
+ _Check_return_
195
+ _ACRTIMP int __cdecl _wfindnext64(
196
+ _In_ intptr_t _FindHandle,
197
+ _Out_ struct _wfinddata64_t* _FindData
198
+ );
199
+
200
+ _Check_return_wat_
201
+ _ACRTIMP errno_t __cdecl _wsopen_s(
202
+ _Out_ int* _FileHandle,
203
+ _In_z_ wchar_t const* _FileName,
204
+ _In_ int _OpenFlag,
205
+ _In_ int _ShareFlag,
206
+ _In_ int _PermissionFlag
207
+ );
208
+
209
+ _ACRTIMP errno_t __cdecl _wsopen_dispatch(
210
+ _In_z_ wchar_t const* _FileName,
211
+ _In_ int _OFlag,
212
+ _In_ int _ShFlag,
213
+ _In_ int _PMode,
214
+ _Out_ int* _PFileHandle,
215
+ _In_ int _BSecure
216
+ );
217
+
218
+
219
+
220
+ #if defined __cplusplus
221
+
222
+ // These functions do not validate pmode; use _wsopen_s instead.
223
+ extern "C++" _Check_return_ _CRT_INSECURE_DEPRECATE(_wsopen_s)
224
+ inline int __CRTDECL _wopen(
225
+ _In_z_ wchar_t const* _FileName,
226
+ _In_ int _OFlag,
227
+ _In_ int _PMode = 0
228
+ )
229
+ {
230
+ int _FileHandle;
231
+ // Last parameter passed as 0 because we don't want to validate pmode from _open
232
+ errno_t const _Result = _wsopen_dispatch(_FileName, _OFlag, _SH_DENYNO, _PMode, &_FileHandle, 0);
233
+ return _Result ? -1 : _FileHandle;
234
+ }
235
+
236
+ extern "C++" _Check_return_ _CRT_INSECURE_DEPRECATE(_wsopen_s)
237
+ inline int __CRTDECL _wsopen(
238
+ _In_z_ wchar_t const* _FileName,
239
+ _In_ int _OFlag,
240
+ _In_ int _ShFlag,
241
+ _In_ int _PMode = 0
242
+ )
243
+ {
244
+ int _FileHandle;
245
+ // Last parameter passed as 0 because we don't want to validate pmode from _sopen
246
+ errno_t const _Result = _wsopen_dispatch(_FileName, _OFlag, _ShFlag, _PMode, &_FileHandle, 0);
247
+ return _Result ? -1 : _FileHandle;
248
+ }
249
+
250
+
251
+ #else
252
+
253
+ _Check_return_ _CRT_INSECURE_DEPRECATE(_wsopen_s)
254
+ _ACRTIMP int __cdecl _wopen(
255
+ _In_z_ wchar_t const* _FileName,
256
+ _In_ int _OpenFlag,
257
+ ...);
258
+
259
+ _Check_return_ _CRT_INSECURE_DEPRECATE(_wsopen_s)
260
+ _ACRTIMP int __cdecl _wsopen(
261
+ _In_z_ wchar_t const* _FileName,
262
+ _In_ int _OpenFlag,
263
+ _In_ int _ShareFlag,
264
+ ...);
265
+
266
+ #endif
267
+
268
+ _CRT_END_C_HEADER
269
+ _UCRT_RESTORE_CLANG_WARNINGS
270
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_wprocess.h ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // corecrt_wprocess.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // This file declares the wide character (wchar_t) process functionality, shared
7
+ // by <process.h> and <wchar.h>.
8
+ //
9
+ #pragma once
10
+
11
+ #include <corecrt.h>
12
+
13
+ #pragma warning(push)
14
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
15
+ _UCRT_DISABLE_CLANG_WARNINGS
16
+
17
+ _CRT_BEGIN_C_HEADER
18
+
19
+
20
+
21
+ #if _CRT_FUNCTIONS_REQUIRED
22
+ #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
23
+
24
+ _DCRTIMP intptr_t __cdecl _wexecl(
25
+ _In_z_ wchar_t const* _FileName,
26
+ _In_z_ wchar_t const* _ArgList,
27
+ ...);
28
+
29
+ _DCRTIMP intptr_t __cdecl _wexecle(
30
+ _In_z_ wchar_t const* _FileName,
31
+ _In_z_ wchar_t const* _ArgList,
32
+ ...);
33
+
34
+ _DCRTIMP intptr_t __cdecl _wexeclp(
35
+ _In_z_ wchar_t const* _FileName,
36
+ _In_z_ wchar_t const* _ArgList,
37
+ ...);
38
+
39
+ _DCRTIMP intptr_t __cdecl _wexeclpe(
40
+ _In_z_ wchar_t const* _FileName,
41
+ _In_z_ wchar_t const* _ArgList,
42
+ ...);
43
+
44
+ _DCRTIMP intptr_t __cdecl _wexecv(
45
+ _In_z_ wchar_t const* _FileName,
46
+ _In_z_ wchar_t const* const* _ArgList
47
+ );
48
+
49
+ _DCRTIMP intptr_t __cdecl _wexecve(
50
+ _In_z_ wchar_t const* _FileName,
51
+ _In_z_ wchar_t const* const* _ArgList,
52
+ _In_opt_z_ wchar_t const* const* _Env
53
+ );
54
+
55
+ _DCRTIMP intptr_t __cdecl _wexecvp(
56
+ _In_z_ wchar_t const* _FileName,
57
+ _In_z_ wchar_t const* const* _ArgList
58
+ );
59
+
60
+ _DCRTIMP intptr_t __cdecl _wexecvpe(
61
+ _In_z_ wchar_t const* _FileName,
62
+ _In_z_ wchar_t const* const* _ArgList,
63
+ _In_opt_z_ wchar_t const* const* _Env
64
+ );
65
+
66
+ _DCRTIMP intptr_t __cdecl _wspawnl(
67
+ _In_ int _Mode,
68
+ _In_z_ wchar_t const* _FileName,
69
+ _In_z_ wchar_t const* _ArgList,
70
+ ...);
71
+
72
+ _DCRTIMP intptr_t __cdecl _wspawnle(
73
+ _In_ int _Mode,
74
+ _In_z_ wchar_t const* _FileName,
75
+ _In_z_ wchar_t const* _ArgList,
76
+ ...);
77
+
78
+ _DCRTIMP intptr_t __cdecl _wspawnlp(
79
+ _In_ int _Mode,
80
+ _In_z_ wchar_t const* _FileName,
81
+ _In_z_ wchar_t const* _ArgList,
82
+ ...);
83
+
84
+ _DCRTIMP intptr_t __cdecl _wspawnlpe(
85
+ _In_ int _Mode,
86
+ _In_z_ wchar_t const* _FileName,
87
+ _In_z_ wchar_t const* _ArgList,
88
+ ...);
89
+
90
+ _DCRTIMP intptr_t __cdecl _wspawnv(
91
+ _In_ int _Mode,
92
+ _In_z_ wchar_t const* _FileName,
93
+ _In_z_ wchar_t const* const* _ArgList
94
+ );
95
+
96
+ _DCRTIMP intptr_t __cdecl _wspawnve(
97
+ _In_ int _Mode,
98
+ _In_z_ wchar_t const* _FileName,
99
+ _In_z_ wchar_t const* const* _ArgList,
100
+ _In_opt_z_ wchar_t const* const* _Env
101
+ );
102
+
103
+ _DCRTIMP intptr_t __cdecl _wspawnvp(
104
+ _In_ int _Mode,
105
+ _In_z_ wchar_t const* _FileName,
106
+ _In_z_ wchar_t const* const* _ArgList
107
+ );
108
+
109
+ _DCRTIMP intptr_t __cdecl _wspawnvpe(
110
+ _In_ int _Mode,
111
+ _In_z_ wchar_t const* _FileName,
112
+ _In_z_ wchar_t const* const* _ArgList,
113
+ _In_opt_z_ wchar_t const* const* _Env
114
+ );
115
+
116
+ _DCRTIMP int __cdecl _wsystem(
117
+ _In_opt_z_ wchar_t const* _Command
118
+ );
119
+
120
+ #endif // _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
121
+ #endif // _CRT_FUNCTIONS_REQUIRED
122
+
123
+
124
+
125
+ _CRT_END_C_HEADER
126
+ _UCRT_RESTORE_CLANG_WARNINGS
127
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_wstdio.h ADDED
@@ -0,0 +1,2171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // corecrt_wstdio.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // This file declares the wide character (wchar_t) I/O functionality, shared by
7
+ // <stdio.h> and <wchar.h>. It also defines several core I/O types, which are
8
+ // also shared by those two headers.
9
+ //
10
+ #pragma once
11
+
12
+ #include <corecrt.h>
13
+ #include <corecrt_stdio_config.h>
14
+
15
+ #pragma warning(push)
16
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
17
+ _UCRT_DISABLE_CLANG_WARNINGS
18
+
19
+ _CRT_BEGIN_C_HEADER
20
+
21
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
22
+ //
23
+ // Stream I/O Declarations Required by this Header
24
+ //
25
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
26
+ #ifndef _FILE_DEFINED
27
+ #define _FILE_DEFINED
28
+ typedef struct _iobuf
29
+ {
30
+ void* _Placeholder;
31
+ } FILE;
32
+ #endif
33
+
34
+ _ACRTIMP_ALT FILE* __cdecl __acrt_iob_func(unsigned _Ix);
35
+
36
+ #define stdin (__acrt_iob_func(0))
37
+ #define stdout (__acrt_iob_func(1))
38
+ #define stderr (__acrt_iob_func(2))
39
+
40
+ #define WEOF ((wint_t)(0xFFFF))
41
+
42
+
43
+
44
+ #if _CRT_FUNCTIONS_REQUIRED
45
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
46
+ //
47
+ // Wide Character Stream I/O Functions
48
+ //
49
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
50
+ _Check_return_opt_
51
+ _ACRTIMP wint_t __cdecl fgetwc(
52
+ _Inout_ FILE* _Stream
53
+ );
54
+
55
+ _Check_return_opt_
56
+ _ACRTIMP wint_t __cdecl _fgetwchar(void);
57
+
58
+ _Check_return_opt_
59
+ _ACRTIMP wint_t __cdecl fputwc(
60
+ _In_ wchar_t _Character,
61
+ _Inout_ FILE* _Stream);
62
+
63
+ _Check_return_opt_
64
+ _ACRTIMP wint_t __cdecl _fputwchar(
65
+ _In_ wchar_t _Character
66
+ );
67
+
68
+ _Check_return_
69
+ _ACRTIMP wint_t __cdecl getwc(
70
+ _Inout_ FILE* _Stream
71
+ );
72
+
73
+ _Check_return_
74
+ _ACRTIMP wint_t __cdecl getwchar(void);
75
+
76
+
77
+ _Check_return_opt_
78
+ _Success_(return == _Buffer)
79
+ _ACRTIMP wchar_t* __cdecl fgetws(
80
+ _Out_writes_z_(_BufferCount) wchar_t* _Buffer,
81
+ _In_ int _BufferCount,
82
+ _Inout_ FILE* _Stream
83
+ );
84
+
85
+ _Check_return_opt_
86
+ _ACRTIMP int __cdecl fputws(
87
+ _In_z_ wchar_t const* _Buffer,
88
+ _Inout_ FILE* _Stream
89
+ );
90
+
91
+ _Check_return_opt_
92
+ _Success_(return != 0)
93
+ _ACRTIMP wchar_t* __cdecl _getws_s(
94
+ _Out_writes_z_(_BufferCount) wchar_t* _Buffer,
95
+ _In_ size_t _BufferCount
96
+ );
97
+
98
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(
99
+ _Success_(return != 0)
100
+ wchar_t*, _getws_s,
101
+ _Always_(_Post_z_) wchar_t, _Buffer
102
+ )
103
+
104
+ _Check_return_opt_
105
+ _ACRTIMP wint_t __cdecl putwc(
106
+ _In_ wchar_t _Character,
107
+ _Inout_ FILE* _Stream
108
+ );
109
+
110
+ _Check_return_opt_
111
+ _ACRTIMP wint_t __cdecl putwchar(
112
+ _In_ wchar_t _Character
113
+ );
114
+
115
+ _Check_return_opt_
116
+ _ACRTIMP int __cdecl _putws(
117
+ _In_z_ wchar_t const* _Buffer
118
+ );
119
+
120
+ _Check_return_opt_
121
+ _ACRTIMP wint_t __cdecl ungetwc(
122
+ _In_ wint_t _Character,
123
+ _Inout_ FILE* _Stream
124
+ );
125
+
126
+ _Check_return_
127
+ _ACRTIMP FILE * __cdecl _wfdopen(
128
+ _In_ int _FileHandle,
129
+ _In_z_ wchar_t const* _Mode
130
+ );
131
+
132
+ _Check_return_ _CRT_INSECURE_DEPRECATE(_wfopen_s)
133
+ _ACRTIMP FILE* __cdecl _wfopen(
134
+ _In_z_ wchar_t const* _FileName,
135
+ _In_z_ wchar_t const* _Mode
136
+ );
137
+
138
+ _Check_return_wat_
139
+ _ACRTIMP errno_t __cdecl _wfopen_s(
140
+ _Outptr_result_maybenull_ FILE** _Stream,
141
+ _In_z_ wchar_t const* _FileName,
142
+ _In_z_ wchar_t const* _Mode
143
+ );
144
+
145
+ _Check_return_
146
+ _CRT_INSECURE_DEPRECATE(_wfreopen_s)
147
+ _ACRTIMP FILE* __cdecl _wfreopen(
148
+ _In_z_ wchar_t const* _FileName,
149
+ _In_z_ wchar_t const* _Mode,
150
+ _Inout_ FILE* _OldStream
151
+ );
152
+
153
+ _Check_return_wat_
154
+ _ACRTIMP errno_t __cdecl _wfreopen_s(
155
+ _Outptr_result_maybenull_ FILE** _Stream,
156
+ _In_z_ wchar_t const* _FileName,
157
+ _In_z_ wchar_t const* _Mode,
158
+ _Inout_ FILE* _OldStream
159
+ );
160
+
161
+ _Check_return_
162
+ _ACRTIMP FILE* __cdecl _wfsopen(
163
+ _In_z_ wchar_t const* _FileName,
164
+ _In_z_ wchar_t const* _Mode,
165
+ _In_ int _ShFlag
166
+ );
167
+
168
+ _ACRTIMP void __cdecl _wperror(
169
+ _In_opt_z_ wchar_t const* _ErrorMessage
170
+ );
171
+
172
+ #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
173
+
174
+ _Check_return_
175
+ _DCRTIMP FILE* __cdecl _wpopen(
176
+ _In_z_ wchar_t const* _Command,
177
+ _In_z_ wchar_t const* _Mode
178
+ );
179
+
180
+ #endif
181
+
182
+ _ACRTIMP int __cdecl _wremove(
183
+ _In_z_ wchar_t const* _FileName
184
+ );
185
+
186
+ #pragma push_macro("_wtempnam")
187
+ #undef _wtempnam
188
+
189
+ _Check_return_
190
+ _ACRTIMP _CRTALLOCATOR wchar_t* __cdecl _wtempnam(
191
+ _In_opt_z_ wchar_t const* _Directory,
192
+ _In_opt_z_ wchar_t const* _FilePrefix
193
+ );
194
+
195
+ #pragma pop_macro("_wtempnam")
196
+
197
+ _Success_(return == 0)
198
+ _Check_return_wat_
199
+ _ACRTIMP errno_t __cdecl _wtmpnam_s(
200
+ _Out_writes_z_(_BufferCount) wchar_t* _Buffer,
201
+ _In_ size_t _BufferCount
202
+ );
203
+
204
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(
205
+ _Success_(return == 0)
206
+ errno_t, _wtmpnam_s,
207
+ _Always_(_Post_z_) wchar_t, _Buffer
208
+ )
209
+
210
+ __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(
211
+ _Success_(return != 0)
212
+ wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, _wtmpnam,
213
+ _Pre_maybenull_ _Always_(_Post_z_), wchar_t, _Buffer
214
+ )
215
+
216
+
217
+
218
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
219
+ //
220
+ // I/O Synchronization and _nolock family of I/O functions
221
+ //
222
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
223
+ _Check_return_opt_
224
+ _ACRTIMP wint_t __cdecl _fgetwc_nolock(
225
+ _Inout_ FILE* _Stream
226
+ );
227
+
228
+ _Check_return_opt_
229
+ _ACRTIMP wint_t __cdecl _fputwc_nolock(
230
+ _In_ wchar_t _Character,
231
+ _Inout_ FILE* _Stream
232
+ );
233
+
234
+ _Check_return_opt_
235
+ _ACRTIMP wint_t __cdecl _getwc_nolock(
236
+ _Inout_ FILE* _Stream
237
+ );
238
+
239
+ _Check_return_opt_
240
+ _ACRTIMP wint_t __cdecl _putwc_nolock(
241
+ _In_ wchar_t _Character,
242
+ _Inout_ FILE* _Stream
243
+ );
244
+
245
+ _Check_return_opt_
246
+ _ACRTIMP wint_t __cdecl _ungetwc_nolock(
247
+ _In_ wint_t _Character,
248
+ _Inout_ FILE* _Stream
249
+ );
250
+
251
+ #if defined _CRT_DISABLE_PERFCRIT_LOCKS && !defined _DLL
252
+ #define fgetwc(stream) _getwc_nolock(stream)
253
+ #define fputwc(c, stream) _putwc_nolock(c, stream)
254
+ #define ungetwc(c, stream) _ungetwc_nolock(c, stream)
255
+ #endif
256
+
257
+
258
+
259
+ // Variadic functions are not supported in managed code under /clr
260
+ #ifdef _M_CEE_MIXED
261
+ #pragma managed(push, off)
262
+ #endif
263
+
264
+
265
+
266
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
267
+ //
268
+ // Wide Character Formatted Output Functions (Stream)
269
+ //
270
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
271
+ _Check_return_opt_
272
+ _ACRTIMP int __cdecl __stdio_common_vfwprintf(
273
+ _In_ unsigned __int64 _Options,
274
+ _Inout_ FILE* _Stream,
275
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* _Format,
276
+ _In_opt_ _locale_t _Locale,
277
+ va_list _ArgList
278
+ );
279
+
280
+ _Check_return_opt_
281
+ _ACRTIMP int __cdecl __stdio_common_vfwprintf_s(
282
+ _In_ unsigned __int64 _Options,
283
+ _Inout_ FILE* _Stream,
284
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* _Format,
285
+ _In_opt_ _locale_t _Locale,
286
+ va_list _ArgList
287
+ );
288
+
289
+ _Check_return_opt_
290
+ _ACRTIMP int __cdecl __stdio_common_vfwprintf_p(
291
+ _In_ unsigned __int64 _Options,
292
+ _Inout_ FILE* _Stream,
293
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* _Format,
294
+ _In_opt_ _locale_t _Locale,
295
+ va_list _ArgList
296
+ );
297
+
298
+ _Check_return_opt_
299
+ _CRT_STDIO_INLINE int __CRTDECL _vfwprintf_l(
300
+ _Inout_ FILE* const _Stream,
301
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
302
+ _In_opt_ _locale_t const _Locale,
303
+ va_list _ArgList
304
+ )
305
+ #if defined _NO_CRT_STDIO_INLINE
306
+ ;
307
+ #else
308
+ {
309
+ return __stdio_common_vfwprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Stream, _Format, _Locale, _ArgList);
310
+ }
311
+ #endif
312
+
313
+ _Check_return_opt_
314
+ _CRT_STDIO_INLINE int __CRTDECL vfwprintf(
315
+ _Inout_ FILE* const _Stream,
316
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
317
+ va_list _ArgList
318
+ )
319
+ #if defined _NO_CRT_STDIO_INLINE
320
+ ;
321
+ #else
322
+ {
323
+ return _vfwprintf_l(_Stream, _Format, NULL, _ArgList);
324
+ }
325
+ #endif
326
+
327
+ _Check_return_opt_
328
+ _CRT_STDIO_INLINE int __CRTDECL _vfwprintf_s_l(
329
+ _Inout_ FILE* const _Stream,
330
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
331
+ _In_opt_ _locale_t const _Locale,
332
+ va_list _ArgList
333
+ )
334
+ #if defined _NO_CRT_STDIO_INLINE
335
+ ;
336
+ #else
337
+ {
338
+ return __stdio_common_vfwprintf_s(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Stream, _Format, _Locale, _ArgList);
339
+ }
340
+ #endif
341
+
342
+ #if __STDC_WANT_SECURE_LIB__
343
+
344
+ _Check_return_opt_
345
+ _CRT_STDIO_INLINE int __CRTDECL vfwprintf_s(
346
+ _Inout_ FILE* const _Stream,
347
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
348
+ va_list _ArgList
349
+ )
350
+ #if defined _NO_CRT_STDIO_INLINE
351
+ ;
352
+ #else
353
+ {
354
+ return _vfwprintf_s_l(_Stream, _Format, NULL, _ArgList);
355
+ }
356
+ #endif
357
+
358
+ #endif
359
+
360
+ _Check_return_opt_
361
+ _CRT_STDIO_INLINE int __CRTDECL _vfwprintf_p_l(
362
+ _Inout_ FILE* const _Stream,
363
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
364
+ _In_opt_ _locale_t const _Locale,
365
+ va_list _ArgList
366
+ )
367
+ #if defined _NO_CRT_STDIO_INLINE
368
+ ;
369
+ #else
370
+ {
371
+ return __stdio_common_vfwprintf_p(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Stream, _Format, _Locale, _ArgList);
372
+ }
373
+ #endif
374
+
375
+ _Check_return_opt_
376
+ _CRT_STDIO_INLINE int __CRTDECL _vfwprintf_p(
377
+ _Inout_ FILE* const _Stream,
378
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
379
+ va_list _ArgList
380
+ )
381
+ #if defined _NO_CRT_STDIO_INLINE
382
+ ;
383
+ #else
384
+ {
385
+ return _vfwprintf_p_l(_Stream, _Format, NULL, _ArgList);
386
+ }
387
+ #endif
388
+
389
+ _Check_return_opt_
390
+ _CRT_STDIO_INLINE int __CRTDECL _vwprintf_l(
391
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
392
+ _In_opt_ _locale_t const _Locale,
393
+ va_list _ArgList
394
+ )
395
+ #if defined _NO_CRT_STDIO_INLINE
396
+ ;
397
+ #else
398
+ {
399
+ return _vfwprintf_l(stdout, _Format, _Locale, _ArgList);
400
+ }
401
+ #endif
402
+
403
+ _Check_return_opt_
404
+ _CRT_STDIO_INLINE int __CRTDECL vwprintf(
405
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
406
+ va_list _ArgList
407
+ )
408
+ #if defined _NO_CRT_STDIO_INLINE
409
+ ;
410
+ #else
411
+ {
412
+ return _vfwprintf_l(stdout, _Format, NULL, _ArgList);
413
+ }
414
+ #endif
415
+
416
+ _Check_return_opt_
417
+ _CRT_STDIO_INLINE int __CRTDECL _vwprintf_s_l(
418
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
419
+ _In_opt_ _locale_t const _Locale,
420
+ va_list _ArgList
421
+ )
422
+ #if defined _NO_CRT_STDIO_INLINE
423
+ ;
424
+ #else
425
+ {
426
+ return _vfwprintf_s_l(stdout, _Format, _Locale, _ArgList);
427
+ }
428
+ #endif
429
+
430
+ #if __STDC_WANT_SECURE_LIB__
431
+
432
+ _Check_return_opt_
433
+ _CRT_STDIO_INLINE int __CRTDECL vwprintf_s(
434
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
435
+ va_list _ArgList
436
+ )
437
+ #if defined _NO_CRT_STDIO_INLINE
438
+ ;
439
+ #else
440
+ {
441
+ return _vfwprintf_s_l(stdout, _Format, NULL, _ArgList);
442
+ }
443
+ #endif
444
+
445
+ #endif
446
+
447
+ _Check_return_opt_
448
+ _CRT_STDIO_INLINE int __CRTDECL _vwprintf_p_l(
449
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
450
+ _In_opt_ _locale_t const _Locale,
451
+ va_list _ArgList
452
+ )
453
+ #if defined _NO_CRT_STDIO_INLINE
454
+ ;
455
+ #else
456
+ {
457
+ return _vfwprintf_p_l(stdout, _Format, _Locale, _ArgList);
458
+ }
459
+ #endif
460
+
461
+ _Check_return_opt_
462
+ _CRT_STDIO_INLINE int __CRTDECL _vwprintf_p(
463
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
464
+ va_list _ArgList
465
+ )
466
+ #if defined _NO_CRT_STDIO_INLINE
467
+ ;
468
+ #else
469
+ {
470
+ return _vfwprintf_p_l(stdout, _Format, NULL, _ArgList);
471
+ }
472
+ #endif
473
+
474
+ _Check_return_opt_
475
+ _CRT_STDIO_INLINE int __CRTDECL _fwprintf_l(
476
+ _Inout_ FILE* const _Stream,
477
+ _In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
478
+ _In_opt_ _locale_t const _Locale,
479
+ ...)
480
+ #if defined _NO_CRT_STDIO_INLINE
481
+ ;
482
+ #else
483
+ {
484
+ int _Result;
485
+ va_list _ArgList;
486
+ __crt_va_start(_ArgList, _Locale);
487
+ _Result = _vfwprintf_l(_Stream, _Format, _Locale, _ArgList);
488
+ __crt_va_end(_ArgList);
489
+ return _Result;
490
+ }
491
+ #endif
492
+
493
+ _Check_return_opt_
494
+ _CRT_STDIO_INLINE int __CRTDECL fwprintf(
495
+ _Inout_ FILE* const _Stream,
496
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
497
+ ...)
498
+ #if defined _NO_CRT_STDIO_INLINE
499
+ ;
500
+ #else
501
+ {
502
+ int _Result;
503
+ va_list _ArgList;
504
+ __crt_va_start(_ArgList, _Format);
505
+ _Result = _vfwprintf_l(_Stream, _Format, NULL, _ArgList);
506
+ __crt_va_end(_ArgList);
507
+ return _Result;
508
+ }
509
+ #endif
510
+
511
+ _Check_return_opt_
512
+ _CRT_STDIO_INLINE int __CRTDECL _fwprintf_s_l(
513
+ _Inout_ FILE* const _Stream,
514
+ _In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
515
+ _In_opt_ _locale_t const _Locale,
516
+ ...)
517
+ #if defined _NO_CRT_STDIO_INLINE
518
+ ;
519
+ #else
520
+ {
521
+ int _Result;
522
+ va_list _ArgList;
523
+ __crt_va_start(_ArgList, _Locale);
524
+ _Result = _vfwprintf_s_l(_Stream, _Format, _Locale, _ArgList);
525
+ __crt_va_end(_ArgList);
526
+ return _Result;
527
+ }
528
+ #endif
529
+
530
+ #if __STDC_WANT_SECURE_LIB__
531
+
532
+ _Check_return_opt_
533
+ _CRT_STDIO_INLINE int __CRTDECL fwprintf_s(
534
+ _Inout_ FILE* const _Stream,
535
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
536
+ ...)
537
+ #if defined _NO_CRT_STDIO_INLINE
538
+ ;
539
+ #else
540
+ {
541
+ int _Result;
542
+ va_list _ArgList;
543
+ __crt_va_start(_ArgList, _Format);
544
+ _Result = _vfwprintf_s_l(_Stream, _Format, NULL, _ArgList);
545
+ __crt_va_end(_ArgList);
546
+ return _Result;
547
+ }
548
+ #endif
549
+
550
+ #endif
551
+
552
+ _Check_return_opt_
553
+ _CRT_STDIO_INLINE int __CRTDECL _fwprintf_p_l(
554
+ _Inout_ FILE* const _Stream,
555
+ _In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
556
+ _In_opt_ _locale_t const _Locale,
557
+ ...)
558
+ #if defined _NO_CRT_STDIO_INLINE
559
+ ;
560
+ #else
561
+ {
562
+ int _Result;
563
+ va_list _ArgList;
564
+ __crt_va_start(_ArgList, _Locale);
565
+ _Result = _vfwprintf_p_l(_Stream, _Format, _Locale, _ArgList);
566
+ __crt_va_end(_ArgList);
567
+ return _Result;
568
+ }
569
+ #endif
570
+
571
+ _Check_return_opt_
572
+ _CRT_STDIO_INLINE int __CRTDECL _fwprintf_p(
573
+ _Inout_ FILE* const _Stream,
574
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
575
+ ...)
576
+ #if defined _NO_CRT_STDIO_INLINE
577
+ ;
578
+ #else
579
+ {
580
+ int _Result;
581
+ va_list _ArgList;
582
+ __crt_va_start(_ArgList, _Format);
583
+ _Result = _vfwprintf_p_l(_Stream, _Format, NULL, _ArgList);
584
+ __crt_va_end(_ArgList);
585
+ return _Result;
586
+ }
587
+ #endif
588
+
589
+ _Check_return_opt_
590
+ _CRT_STDIO_INLINE int __CRTDECL _wprintf_l(
591
+ _In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
592
+ _In_opt_ _locale_t const _Locale,
593
+ ...)
594
+ #if defined _NO_CRT_STDIO_INLINE
595
+ ;
596
+ #else
597
+ {
598
+ int _Result;
599
+ va_list _ArgList;
600
+ __crt_va_start(_ArgList, _Locale);
601
+ _Result = _vfwprintf_l(stdout, _Format, _Locale, _ArgList);
602
+ __crt_va_end(_ArgList);
603
+ return _Result;
604
+ }
605
+ #endif
606
+
607
+ _Check_return_opt_
608
+ _CRT_STDIO_INLINE int __CRTDECL wprintf(
609
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
610
+ ...)
611
+ #if defined _NO_CRT_STDIO_INLINE
612
+ ;
613
+ #else
614
+ {
615
+ int _Result;
616
+ va_list _ArgList;
617
+ __crt_va_start(_ArgList, _Format);
618
+ _Result = _vfwprintf_l(stdout, _Format, NULL, _ArgList);
619
+ __crt_va_end(_ArgList);
620
+ return _Result;
621
+ }
622
+ #endif
623
+
624
+ _Check_return_opt_
625
+ _CRT_STDIO_INLINE int __CRTDECL _wprintf_s_l(
626
+ _In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
627
+ _In_opt_ _locale_t const _Locale,
628
+ ...)
629
+ #if defined _NO_CRT_STDIO_INLINE
630
+ ;
631
+ #else
632
+ {
633
+ int _Result;
634
+ va_list _ArgList;
635
+ __crt_va_start(_ArgList, _Locale);
636
+ _Result = _vfwprintf_s_l(stdout, _Format, _Locale, _ArgList);
637
+ __crt_va_end(_ArgList);
638
+ return _Result;
639
+ }
640
+ #endif
641
+
642
+ #if __STDC_WANT_SECURE_LIB__
643
+
644
+ _Check_return_opt_
645
+ _CRT_STDIO_INLINE int __CRTDECL wprintf_s(
646
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
647
+ ...)
648
+ #if defined _NO_CRT_STDIO_INLINE
649
+ ;
650
+ #else
651
+ {
652
+ int _Result;
653
+ va_list _ArgList;
654
+ __crt_va_start(_ArgList, _Format);
655
+ _Result = _vfwprintf_s_l(stdout, _Format, NULL, _ArgList);
656
+ __crt_va_end(_ArgList);
657
+ return _Result;
658
+ }
659
+ #endif
660
+
661
+ #endif
662
+
663
+ _Check_return_opt_
664
+ _CRT_STDIO_INLINE int __CRTDECL _wprintf_p_l(
665
+ _In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
666
+ _In_opt_ _locale_t const _Locale,
667
+ ...)
668
+ #if defined _NO_CRT_STDIO_INLINE
669
+ ;
670
+ #else
671
+ {
672
+ int _Result;
673
+ va_list _ArgList;
674
+ __crt_va_start(_ArgList, _Locale);
675
+ _Result = _vfwprintf_p_l(stdout, _Format, _Locale, _ArgList);
676
+ __crt_va_end(_ArgList);
677
+ return _Result;
678
+ }
679
+ #endif
680
+
681
+ _Check_return_opt_
682
+ _CRT_STDIO_INLINE int __CRTDECL _wprintf_p(
683
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
684
+ ...)
685
+ #if defined _NO_CRT_STDIO_INLINE
686
+ ;
687
+ #else
688
+ {
689
+ int _Result;
690
+ va_list _ArgList;
691
+ __crt_va_start(_ArgList, _Format);
692
+ _Result = _vfwprintf_p_l(stdout, _Format, NULL, _ArgList);
693
+ __crt_va_end(_ArgList);
694
+ return _Result;
695
+ }
696
+ #endif
697
+
698
+
699
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
700
+ //
701
+ // Wide Character Formatted Input Functions (Stream)
702
+ //
703
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
704
+ _Check_return_opt_
705
+ _ACRTIMP int __cdecl __stdio_common_vfwscanf(
706
+ _In_ unsigned __int64 _Options,
707
+ _Inout_ FILE* _Stream,
708
+ _In_z_ _Scanf_format_string_params_(2) wchar_t const* _Format,
709
+ _In_opt_ _locale_t _Locale,
710
+ va_list _ArgList
711
+ );
712
+
713
+ _Check_return_opt_
714
+ _CRT_STDIO_INLINE int __CRTDECL _vfwscanf_l(
715
+ _Inout_ FILE* const _Stream,
716
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
717
+ _In_opt_ _locale_t const _Locale,
718
+ va_list _ArgList
719
+ )
720
+ #if defined _NO_CRT_STDIO_INLINE
721
+ ;
722
+ #else
723
+ {
724
+ return __stdio_common_vfwscanf(
725
+ _CRT_INTERNAL_LOCAL_SCANF_OPTIONS,
726
+ _Stream, _Format, _Locale, _ArgList);
727
+ }
728
+ #endif
729
+
730
+ _Check_return_opt_
731
+ _CRT_STDIO_INLINE int __CRTDECL vfwscanf(
732
+ _Inout_ FILE* const _Stream,
733
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
734
+ va_list _ArgList
735
+ )
736
+ #if defined _NO_CRT_STDIO_INLINE
737
+ ;
738
+ #else
739
+ {
740
+ return _vfwscanf_l(_Stream, _Format, NULL, _ArgList);
741
+ }
742
+ #endif
743
+
744
+ _Check_return_opt_
745
+ _CRT_STDIO_INLINE int __CRTDECL _vfwscanf_s_l(
746
+ _Inout_ FILE* const _Stream,
747
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
748
+ _In_opt_ _locale_t const _Locale,
749
+ va_list _ArgList
750
+ )
751
+ #if defined _NO_CRT_STDIO_INLINE
752
+ ;
753
+ #else
754
+ {
755
+ return __stdio_common_vfwscanf(
756
+ _CRT_INTERNAL_LOCAL_SCANF_OPTIONS | _CRT_INTERNAL_SCANF_SECURECRT,
757
+ _Stream, _Format, _Locale, _ArgList);
758
+ }
759
+ #endif
760
+
761
+ #if __STDC_WANT_SECURE_LIB__
762
+
763
+ _Check_return_opt_
764
+ _CRT_STDIO_INLINE int __CRTDECL vfwscanf_s(
765
+ _Inout_ FILE* const _Stream,
766
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
767
+ va_list _ArgList
768
+ )
769
+ #if defined _NO_CRT_STDIO_INLINE
770
+ ;
771
+ #else
772
+ {
773
+ return _vfwscanf_s_l(_Stream, _Format, NULL, _ArgList);
774
+ }
775
+ #endif
776
+
777
+ #endif
778
+
779
+ _CRT_STDIO_INLINE int __CRTDECL _vwscanf_l(
780
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
781
+ _In_opt_ _locale_t const _Locale,
782
+ va_list _ArgList
783
+ )
784
+ #if defined _NO_CRT_STDIO_INLINE
785
+ ;
786
+ #else
787
+ {
788
+ return _vfwscanf_l(stdin, _Format, _Locale, _ArgList);
789
+ }
790
+ #endif
791
+
792
+ _Check_return_opt_
793
+ _CRT_STDIO_INLINE int __CRTDECL vwscanf(
794
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
795
+ va_list _ArgList
796
+ )
797
+ #if defined _NO_CRT_STDIO_INLINE
798
+ ;
799
+ #else
800
+ {
801
+ return _vfwscanf_l(stdin, _Format, NULL, _ArgList);
802
+ }
803
+ #endif
804
+
805
+ _Check_return_opt_
806
+ _CRT_STDIO_INLINE int __CRTDECL _vwscanf_s_l(
807
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
808
+ _In_opt_ _locale_t const _Locale,
809
+ va_list _ArgList
810
+ )
811
+ #if defined _NO_CRT_STDIO_INLINE
812
+ ;
813
+ #else
814
+ {
815
+ return _vfwscanf_s_l(stdin, _Format, _Locale, _ArgList);
816
+ }
817
+ #endif
818
+
819
+ #if __STDC_WANT_SECURE_LIB__
820
+
821
+ _Check_return_opt_
822
+ _CRT_STDIO_INLINE int __CRTDECL vwscanf_s(
823
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
824
+ va_list _ArgList
825
+ )
826
+ #if defined _NO_CRT_STDIO_INLINE
827
+ ;
828
+ #else
829
+ {
830
+ return _vfwscanf_s_l(stdin, _Format, NULL, _ArgList);
831
+ }
832
+ #endif
833
+
834
+ #endif
835
+
836
+ _Check_return_opt_ _CRT_INSECURE_DEPRECATE(_fwscanf_s_l)
837
+ _CRT_STDIO_INLINE int __CRTDECL _fwscanf_l(
838
+ _Inout_ FILE* const _Stream,
839
+ _In_z_ _Scanf_format_string_params_(0) wchar_t const* const _Format,
840
+ _In_opt_ _locale_t const _Locale,
841
+ ...)
842
+ #if defined _NO_CRT_STDIO_INLINE // SCANF
843
+ ;
844
+ #else
845
+ {
846
+ int _Result;
847
+ va_list _ArgList;
848
+ __crt_va_start(_ArgList, _Locale);
849
+ _Result = _vfwscanf_l(_Stream, _Format, _Locale, _ArgList);
850
+ __crt_va_end(_ArgList);
851
+ return _Result;
852
+ }
853
+ #endif
854
+
855
+ _Check_return_ _CRT_INSECURE_DEPRECATE(fwscanf_s)
856
+ _CRT_STDIO_INLINE int __CRTDECL fwscanf(
857
+ _Inout_ FILE* const _Stream,
858
+ _In_z_ _Scanf_format_string_ wchar_t const* const _Format,
859
+ ...)
860
+ #if defined _NO_CRT_STDIO_INLINE // SCANF
861
+ ;
862
+ #else
863
+ {
864
+ int _Result;
865
+ va_list _ArgList;
866
+ __crt_va_start(_ArgList, _Format);
867
+ _Result = _vfwscanf_l(_Stream, _Format, NULL, _ArgList);
868
+ __crt_va_end(_ArgList);
869
+ return _Result;
870
+ }
871
+ #endif
872
+
873
+ _Check_return_opt_
874
+ _CRT_STDIO_INLINE int __CRTDECL _fwscanf_s_l(
875
+ _Inout_ FILE* const _Stream,
876
+ _In_z_ _Scanf_s_format_string_params_(0) wchar_t const* const _Format,
877
+ _In_opt_ _locale_t const _Locale,
878
+ ...)
879
+ #if defined _NO_CRT_STDIO_INLINE // SCANF
880
+ ;
881
+ #else
882
+ {
883
+ int _Result;
884
+ va_list _ArgList;
885
+ __crt_va_start(_ArgList, _Locale);
886
+ _Result = _vfwscanf_s_l(_Stream, _Format, _Locale, _ArgList);
887
+ __crt_va_end(_ArgList);
888
+ return _Result;
889
+ }
890
+ #endif
891
+
892
+ #if __STDC_WANT_SECURE_LIB__
893
+
894
+ _Check_return_opt_
895
+ _CRT_STDIO_INLINE int __CRTDECL fwscanf_s(
896
+ _Inout_ FILE* const _Stream,
897
+ _In_z_ _Scanf_s_format_string_ wchar_t const* const _Format,
898
+ ...)
899
+ #if defined _NO_CRT_STDIO_INLINE // SCANF
900
+ ;
901
+ #else
902
+ {
903
+ int _Result;
904
+ va_list _ArgList;
905
+ __crt_va_start(_ArgList, _Format);
906
+ _Result = _vfwscanf_s_l(_Stream, _Format, NULL, _ArgList);
907
+ __crt_va_end(_ArgList);
908
+ return _Result;
909
+ }
910
+ #endif
911
+
912
+ #endif
913
+
914
+ _Check_return_opt_ _CRT_INSECURE_DEPRECATE(_wscanf_s_l)
915
+ _CRT_STDIO_INLINE int __CRTDECL _wscanf_l(
916
+ _In_z_ _Scanf_format_string_params_(0) wchar_t const* const _Format,
917
+ _In_opt_ _locale_t const _Locale,
918
+ ...)
919
+ #if defined _NO_CRT_STDIO_INLINE // SCANF
920
+ ;
921
+ #else
922
+ {
923
+ int _Result;
924
+ va_list _ArgList;
925
+ __crt_va_start(_ArgList, _Locale);
926
+ _Result = _vfwscanf_l(stdin, _Format, _Locale, _ArgList);
927
+ __crt_va_end(_ArgList);
928
+ return _Result;
929
+ }
930
+ #endif
931
+
932
+ _Check_return_ _CRT_INSECURE_DEPRECATE(wscanf_s)
933
+ _CRT_STDIO_INLINE int __CRTDECL wscanf(
934
+ _In_z_ _Scanf_format_string_ wchar_t const* const _Format,
935
+ ...)
936
+ #if defined _NO_CRT_STDIO_INLINE // SCANF
937
+ ;
938
+ #else
939
+ {
940
+ int _Result;
941
+ va_list _ArgList;
942
+ __crt_va_start(_ArgList, _Format);
943
+ _Result = _vfwscanf_l(stdin, _Format, NULL, _ArgList);
944
+ __crt_va_end(_ArgList);
945
+ return _Result;
946
+ }
947
+ #endif
948
+
949
+ _Check_return_opt_
950
+ _CRT_STDIO_INLINE int __CRTDECL _wscanf_s_l(
951
+ _In_z_ _Scanf_s_format_string_params_(0) wchar_t const* const _Format,
952
+ _In_opt_ _locale_t const _Locale,
953
+ ...)
954
+ #if defined _NO_CRT_STDIO_INLINE // SCANF
955
+ ;
956
+ #else
957
+ {
958
+ int _Result;
959
+ va_list _ArgList;
960
+ __crt_va_start(_ArgList, _Locale);
961
+ _Result = _vfwscanf_s_l(stdin, _Format, _Locale, _ArgList);
962
+ __crt_va_end(_ArgList);
963
+ return _Result;
964
+ }
965
+ #endif
966
+
967
+ #if __STDC_WANT_SECURE_LIB__
968
+
969
+ _Check_return_opt_
970
+ _CRT_STDIO_INLINE int __CRTDECL wscanf_s(
971
+ _In_z_ _Scanf_s_format_string_ wchar_t const* const _Format,
972
+ ...)
973
+ #if defined _NO_CRT_STDIO_INLINE // SCANF
974
+ ;
975
+ #else
976
+ {
977
+ int _Result;
978
+ va_list _ArgList;
979
+ __crt_va_start(_ArgList, _Format);
980
+ _Result = _vfwscanf_s_l(stdin, _Format, NULL, _ArgList);
981
+ __crt_va_end(_ArgList);
982
+ return _Result;
983
+ }
984
+ #endif
985
+
986
+ #endif
987
+
988
+
989
+
990
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
991
+ //
992
+ // Wide Character Formatted Output Functions (String)
993
+ //
994
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
995
+ #ifndef _CRT_NON_CONFORMING_SWPRINTFS
996
+ #define _SWPRINTFS_DEPRECATED _CRT_DEPRECATE_TEXT( \
997
+ "function has been changed to conform with the ISO C standard, " \
998
+ "adding an extra character count parameter. To use the traditional " \
999
+ "Microsoft version, set _CRT_NON_CONFORMING_SWPRINTFS.")
1000
+ #else
1001
+ #define _SWPRINTFS_DEPRECATED
1002
+ #endif
1003
+
1004
+ _Success_(return >= 0)
1005
+ _Check_return_opt_
1006
+ _ACRTIMP int __cdecl __stdio_common_vswprintf(
1007
+ _In_ unsigned __int64 _Options,
1008
+ _Out_writes_opt_z_(_BufferCount) wchar_t* _Buffer,
1009
+ _In_ size_t _BufferCount,
1010
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* _Format,
1011
+ _In_opt_ _locale_t _Locale,
1012
+ va_list _ArgList
1013
+ );
1014
+
1015
+ _Success_(return >= 0)
1016
+ _Check_return_opt_
1017
+ _ACRTIMP int __cdecl __stdio_common_vswprintf_s(
1018
+ _In_ unsigned __int64 _Options,
1019
+ _Out_writes_z_(_BufferCount) wchar_t* _Buffer,
1020
+ _In_ size_t _BufferCount,
1021
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* _Format,
1022
+ _In_opt_ _locale_t _Locale,
1023
+ va_list _ArgList
1024
+ );
1025
+
1026
+ _Success_(return >= 0)
1027
+ _Check_return_opt_
1028
+ _ACRTIMP int __cdecl __stdio_common_vsnwprintf_s(
1029
+ _In_ unsigned __int64 _Options,
1030
+ _Out_writes_opt_z_(_BufferCount) wchar_t* _Buffer,
1031
+ _In_ size_t _BufferCount,
1032
+ _In_ size_t _MaxCount,
1033
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* _Format,
1034
+ _In_opt_ _locale_t _Locale,
1035
+ va_list _ArgList
1036
+ );
1037
+
1038
+ _Success_(return >= 0)
1039
+ _Check_return_opt_
1040
+ _ACRTIMP int __cdecl __stdio_common_vswprintf_p(
1041
+ _In_ unsigned __int64 _Options,
1042
+ _Out_writes_z_(_BufferCount) wchar_t* _Buffer,
1043
+ _In_ size_t _BufferCount,
1044
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* _Format,
1045
+ _In_opt_ _locale_t _Locale,
1046
+ va_list _ArgList
1047
+ );
1048
+
1049
+ _Success_(return >= 0)
1050
+ _Check_return_opt_ _CRT_INSECURE_DEPRECATE(_vsnwprintf_s_l)
1051
+ _CRT_STDIO_INLINE int __CRTDECL _vsnwprintf_l(
1052
+ _Out_writes_opt_(_BufferCount) _Post_maybez_ wchar_t* const _Buffer,
1053
+ _In_ size_t const _BufferCount,
1054
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
1055
+ _In_opt_ _locale_t const _Locale,
1056
+ va_list _ArgList
1057
+ )
1058
+ #if defined _NO_CRT_STDIO_INLINE
1059
+ ;
1060
+ #else
1061
+ {
1062
+ int const _Result = __stdio_common_vswprintf(
1063
+ _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION,
1064
+ _Buffer, _BufferCount, _Format, _Locale, _ArgList);
1065
+
1066
+ return _Result < 0 ? -1 : _Result;
1067
+ }
1068
+ #endif
1069
+
1070
+ _Success_(return >= 0)
1071
+ _Check_return_opt_
1072
+ _CRT_STDIO_INLINE int __CRTDECL _vsnwprintf_s_l(
1073
+ _Out_writes_opt_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
1074
+ _In_ size_t const _BufferCount,
1075
+ _In_ size_t const _MaxCount,
1076
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
1077
+ _In_opt_ _locale_t const _Locale,
1078
+ va_list _ArgList
1079
+ )
1080
+ #if defined _NO_CRT_STDIO_INLINE
1081
+ ;
1082
+ #else
1083
+ {
1084
+ int const _Result = __stdio_common_vsnwprintf_s(
1085
+ _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS,
1086
+ _Buffer, _BufferCount, _MaxCount, _Format, _Locale, _ArgList);
1087
+
1088
+ return _Result < 0 ? -1 : _Result;
1089
+ }
1090
+ #endif
1091
+
1092
+ _Success_(return >= 0)
1093
+ _Check_return_opt_
1094
+ _CRT_STDIO_INLINE int __CRTDECL _vsnwprintf_s(
1095
+ _Out_writes_opt_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
1096
+ _In_ size_t const _BufferCount,
1097
+ _In_ size_t const _MaxCount,
1098
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
1099
+ va_list _ArgList
1100
+ )
1101
+ #if defined _NO_CRT_STDIO_INLINE
1102
+ ;
1103
+ #else
1104
+ {
1105
+ return _vsnwprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format, NULL, _ArgList);
1106
+ }
1107
+ #endif
1108
+
1109
+ __DEFINE_CPP_OVERLOAD_STANDARD_NFUNC_0_2_ARGLIST_EX(
1110
+ _Success_(return >= 0)
1111
+ int, __RETURN_POLICY_SAME, _CRT_STDIO_INLINE, __CRTDECL, _snwprintf, _vsnwprintf,
1112
+ _Pre_notnull_ _Post_maybez_ wchar_t,
1113
+ _Out_writes_opt_(_BufferCount) _Post_maybez_, wchar_t, _Buffer,
1114
+ _In_ size_t, _BufferCount,
1115
+ _In_z_ _Printf_format_string_ wchar_t const*, _Format
1116
+ )
1117
+
1118
+ _Success_(return >= 0)
1119
+ _Check_return_opt_ _CRT_INSECURE_DEPRECATE(_vsnwprintf_s)
1120
+ _CRT_STDIO_INLINE int __CRTDECL _vsnwprintf(
1121
+ _Out_writes_opt_(_BufferCount) _Post_maybez_ wchar_t* _Buffer,
1122
+ _In_ size_t _BufferCount,
1123
+ _In_z_ _Printf_format_string_ wchar_t const* _Format,
1124
+ va_list _ArgList
1125
+ )
1126
+ #if defined _NO_CRT_STDIO_INLINE
1127
+ ;
1128
+ #else
1129
+ {
1130
+ return _vsnwprintf_l(_Buffer, _BufferCount, _Format, NULL, _ArgList);
1131
+ }
1132
+ #endif
1133
+
1134
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_3(
1135
+ _Success_(return >= 0)
1136
+ int, _vsnwprintf_s,
1137
+ _Always_(_Post_z_) wchar_t, _Buffer,
1138
+ _In_ size_t, _BufferCount,
1139
+ _In_z_ _Printf_format_string_ wchar_t const*, _Format,
1140
+ va_list, _ArgList
1141
+ )
1142
+
1143
+ _Success_(return >= 0)
1144
+ _Check_return_opt_
1145
+ _CRT_STDIO_INLINE int __CRTDECL _vswprintf_c_l(
1146
+ _Out_writes_opt_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
1147
+ _In_ size_t const _BufferCount,
1148
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
1149
+ _In_opt_ _locale_t const _Locale,
1150
+ va_list _ArgList
1151
+ )
1152
+ #if defined _NO_CRT_STDIO_INLINE
1153
+ ;
1154
+ #else
1155
+ {
1156
+ int const _Result = __stdio_common_vswprintf(
1157
+ _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS,
1158
+ _Buffer, _BufferCount, _Format, _Locale, _ArgList);
1159
+
1160
+ return _Result < 0 ? -1 : _Result;
1161
+ }
1162
+ #endif
1163
+
1164
+ _Success_(return >= 0)
1165
+ _Check_return_opt_
1166
+ _CRT_STDIO_INLINE int __CRTDECL _vswprintf_c(
1167
+ _Out_writes_opt_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
1168
+ _In_ size_t const _BufferCount,
1169
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
1170
+ va_list _ArgList
1171
+ )
1172
+ #if defined _NO_CRT_STDIO_INLINE
1173
+ ;
1174
+ #else
1175
+ {
1176
+ return _vswprintf_c_l(_Buffer, _BufferCount, _Format, NULL, _ArgList);
1177
+ }
1178
+ #endif
1179
+
1180
+ _Success_(return >= 0)
1181
+ _Check_return_opt_
1182
+ _CRT_STDIO_INLINE int __CRTDECL _vswprintf_l(
1183
+ _Out_writes_opt_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
1184
+ _In_ size_t const _BufferCount,
1185
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
1186
+ _In_opt_ _locale_t const _Locale,
1187
+ va_list _ArgList
1188
+ )
1189
+ #if defined _NO_CRT_STDIO_INLINE
1190
+ ;
1191
+ #else
1192
+ {
1193
+ return _vswprintf_c_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);
1194
+ }
1195
+ #endif
1196
+
1197
+ _Success_(return >= 0)
1198
+ _Check_return_opt_
1199
+ _CRT_STDIO_INLINE int __CRTDECL __vswprintf_l(
1200
+ _Pre_notnull_ _Always_(_Post_z_) wchar_t* const _Buffer,
1201
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
1202
+ _In_opt_ _locale_t const _Locale,
1203
+ va_list _ArgList
1204
+ )
1205
+ #if defined _NO_CRT_STDIO_INLINE
1206
+ ;
1207
+ #else
1208
+ {
1209
+ return _vswprintf_l(_Buffer, (size_t)-1, _Format, _Locale, _ArgList);
1210
+ }
1211
+ #endif
1212
+
1213
+ _Success_(return >= 0)
1214
+ _Check_return_opt_
1215
+ _CRT_STDIO_INLINE int __CRTDECL _vswprintf(
1216
+ _Pre_notnull_ _Always_(_Post_z_) wchar_t* const _Buffer,
1217
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
1218
+ va_list _ArgList
1219
+ )
1220
+ #if defined _NO_CRT_STDIO_INLINE
1221
+ ;
1222
+ #else
1223
+ {
1224
+ return _vswprintf_l(_Buffer, (size_t)-1, _Format, NULL, _ArgList);
1225
+ }
1226
+ #endif
1227
+
1228
+ _Success_(return >= 0)
1229
+ _Check_return_opt_
1230
+ _CRT_STDIO_INLINE int __CRTDECL vswprintf(
1231
+ _Out_writes_opt_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
1232
+ _In_ size_t const _BufferCount,
1233
+ _In_z_ _Printf_format_string_params_(1) wchar_t const* const _Format,
1234
+ va_list _ArgList
1235
+ )
1236
+ #if defined _NO_CRT_STDIO_INLINE
1237
+ ;
1238
+ #else
1239
+ {
1240
+ return _vswprintf_c_l(_Buffer, _BufferCount, _Format, NULL, _ArgList);
1241
+ }
1242
+ #endif
1243
+
1244
+ _Success_(return >= 0)
1245
+ _Check_return_opt_
1246
+ _CRT_STDIO_INLINE int __CRTDECL _vswprintf_s_l(
1247
+ _Out_writes_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
1248
+ _In_ size_t const _BufferCount,
1249
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
1250
+ _In_opt_ _locale_t const _Locale,
1251
+ va_list _ArgList
1252
+ )
1253
+ #if defined _NO_CRT_STDIO_INLINE
1254
+ ;
1255
+ #else
1256
+ {
1257
+ int const _Result = __stdio_common_vswprintf_s(
1258
+ _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS,
1259
+ _Buffer, _BufferCount, _Format, _Locale, _ArgList);
1260
+
1261
+ return _Result < 0 ? -1 : _Result;
1262
+ }
1263
+ #endif
1264
+
1265
+ #if __STDC_WANT_SECURE_LIB__
1266
+
1267
+ _Success_(return >= 0)
1268
+ _CRT_STDIO_INLINE int __CRTDECL vswprintf_s(
1269
+ _Out_writes_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
1270
+ _In_ size_t const _BufferCount,
1271
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
1272
+ va_list _ArgList
1273
+ )
1274
+ #if defined _NO_CRT_STDIO_INLINE
1275
+ ;
1276
+ #else
1277
+ {
1278
+ return _vswprintf_s_l(_Buffer, _BufferCount, _Format, NULL, _ArgList);
1279
+ }
1280
+ #endif
1281
+
1282
+ #endif
1283
+
1284
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(
1285
+ _Success_(return >= 0)
1286
+ int, vswprintf_s,
1287
+ _Always_(_Post_z_) wchar_t, _Buffer,
1288
+ _In_z_ _Printf_format_string_ wchar_t const*, _Format,
1289
+ va_list, _ArgList
1290
+ )
1291
+
1292
+ _Success_(return >= 0)
1293
+ _Check_return_opt_
1294
+ _CRT_STDIO_INLINE int __CRTDECL _vswprintf_p_l(
1295
+ _Out_writes_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
1296
+ _In_ size_t const _BufferCount,
1297
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
1298
+ _In_opt_ _locale_t const _Locale,
1299
+ va_list _ArgList
1300
+ )
1301
+ #if defined _NO_CRT_STDIO_INLINE
1302
+ ;
1303
+ #else
1304
+ {
1305
+ int const _Result = __stdio_common_vswprintf_p(
1306
+ _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS,
1307
+ _Buffer, _BufferCount, _Format, _Locale, _ArgList);
1308
+
1309
+ return _Result < 0 ? -1 : _Result;
1310
+ }
1311
+ #endif
1312
+
1313
+ _Success_(return >= 0)
1314
+ _Check_return_opt_
1315
+ _CRT_STDIO_INLINE int __CRTDECL _vswprintf_p(
1316
+ _Out_writes_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
1317
+ _In_ size_t const _BufferCount,
1318
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
1319
+ va_list _ArgList
1320
+ )
1321
+ #if defined _NO_CRT_STDIO_INLINE
1322
+ ;
1323
+ #else
1324
+ {
1325
+ return _vswprintf_p_l(_Buffer, _BufferCount, _Format, NULL, _ArgList);
1326
+ }
1327
+ #endif
1328
+
1329
+ _Success_(return >= 0)
1330
+ _Check_return_
1331
+ _CRT_STDIO_INLINE int __CRTDECL _vscwprintf_l(
1332
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
1333
+ _In_opt_ _locale_t const _Locale,
1334
+ va_list _ArgList
1335
+ )
1336
+ #if defined _NO_CRT_STDIO_INLINE
1337
+ ;
1338
+ #else
1339
+ {
1340
+ int const _Result = __stdio_common_vswprintf(
1341
+ _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR,
1342
+ NULL, 0, _Format, _Locale, _ArgList);
1343
+
1344
+ return _Result < 0 ? -1 : _Result;
1345
+ }
1346
+ #endif
1347
+
1348
+ _Success_(return >= 0)
1349
+ _Check_return_
1350
+ _CRT_STDIO_INLINE int __CRTDECL _vscwprintf(
1351
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
1352
+ va_list _ArgList
1353
+ )
1354
+ #if defined _NO_CRT_STDIO_INLINE
1355
+ ;
1356
+ #else
1357
+ {
1358
+ return _vscwprintf_l(_Format, NULL, _ArgList);
1359
+ }
1360
+ #endif
1361
+
1362
+ _Success_(return >= 0)
1363
+ _Check_return_
1364
+ _CRT_STDIO_INLINE int __CRTDECL _vscwprintf_p_l(
1365
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
1366
+ _In_opt_ _locale_t const _Locale,
1367
+ va_list _ArgList
1368
+ )
1369
+ #if defined _NO_CRT_STDIO_INLINE
1370
+ ;
1371
+ #else
1372
+ {
1373
+ int const _Result = __stdio_common_vswprintf_p(
1374
+ _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR,
1375
+ NULL, 0, _Format, _Locale, _ArgList);
1376
+
1377
+ return _Result < 0 ? -1 : _Result;
1378
+ }
1379
+ #endif
1380
+
1381
+ _Success_(return >= 0)
1382
+ _Check_return_
1383
+ _CRT_STDIO_INLINE int __CRTDECL _vscwprintf_p(
1384
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
1385
+ va_list _ArgList
1386
+ )
1387
+ #if defined _NO_CRT_STDIO_INLINE
1388
+ ;
1389
+ #else
1390
+ {
1391
+ return _vscwprintf_p_l(_Format, NULL, _ArgList);
1392
+ }
1393
+ #endif
1394
+
1395
+ _Success_(return >= 0)
1396
+ _Check_return_opt_
1397
+ _CRT_STDIO_INLINE int __CRTDECL __swprintf_l(
1398
+ _Pre_notnull_ _Always_(_Post_z_) wchar_t* const _Buffer,
1399
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
1400
+ _In_opt_ _locale_t const _Locale,
1401
+ ...)
1402
+ #if defined _NO_CRT_STDIO_INLINE
1403
+ ;
1404
+ #else
1405
+ {
1406
+ int _Result;
1407
+ va_list _ArgList;
1408
+ __crt_va_start(_ArgList, _Locale);
1409
+ _Result = __vswprintf_l(_Buffer, _Format, _Locale, _ArgList);
1410
+ __crt_va_end(_ArgList);
1411
+ return _Result;
1412
+ }
1413
+ #endif
1414
+
1415
+ _Success_(return >= 0)
1416
+ _Check_return_opt_
1417
+ _CRT_STDIO_INLINE int __CRTDECL _swprintf_l(
1418
+ _Out_writes_opt_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
1419
+ _In_ size_t const _BufferCount,
1420
+ _In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
1421
+ _In_opt_ _locale_t const _Locale,
1422
+ ...)
1423
+ #if defined _NO_CRT_STDIO_INLINE
1424
+ ;
1425
+ #else
1426
+ {
1427
+ int _Result;
1428
+ va_list _ArgList;
1429
+ __crt_va_start(_ArgList, _Locale);
1430
+ _Result = _vswprintf_c_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);
1431
+ __crt_va_end(_ArgList);
1432
+ return _Result;
1433
+ }
1434
+ #endif
1435
+
1436
+ _Success_(return >= 0)
1437
+ _Check_return_opt_
1438
+ _CRT_STDIO_INLINE int __CRTDECL _swprintf(
1439
+ _Pre_notnull_ _Always_(_Post_z_) wchar_t* const _Buffer,
1440
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
1441
+ ...)
1442
+ #if defined _NO_CRT_STDIO_INLINE
1443
+ ;
1444
+ #else
1445
+ {
1446
+ int _Result;
1447
+ va_list _ArgList;
1448
+ __crt_va_start(_ArgList, _Format);
1449
+ _Result = __vswprintf_l(_Buffer, _Format, NULL, _ArgList);
1450
+ __crt_va_end(_ArgList);
1451
+ return _Result;
1452
+ }
1453
+ #endif
1454
+
1455
+ _Success_(return >= 0)
1456
+ _Check_return_opt_
1457
+ _CRT_STDIO_INLINE int __CRTDECL swprintf(
1458
+ _Out_writes_opt_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
1459
+ _In_ size_t const _BufferCount,
1460
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
1461
+ ...)
1462
+ #if defined _NO_CRT_STDIO_INLINE
1463
+ ;
1464
+ #else
1465
+ {
1466
+ int _Result;
1467
+ va_list _ArgList;
1468
+ __crt_va_start(_ArgList, _Format);
1469
+ _Result = _vswprintf_c_l(_Buffer, _BufferCount, _Format, NULL, _ArgList);
1470
+ __crt_va_end(_ArgList);
1471
+ return _Result;
1472
+ }
1473
+ #endif
1474
+
1475
+ __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_2_ARGLIST_EX(
1476
+ _Success_(return >= 0)
1477
+ int, __RETURN_POLICY_SAME, _CRT_STDIO_INLINE, __CRTDECL, __swprintf_l, __vswprintf_l, _vswprintf_s_l,
1478
+ _Pre_notnull_ _Always_(_Post_z_) wchar_t,
1479
+ _Pre_notnull_ _Always_(_Post_z_), wchar_t, _Buffer,
1480
+ _In_z_ _Printf_format_string_params_(2) wchar_t const*, _Format,
1481
+ _In_opt_ _locale_t, _Locale
1482
+ )
1483
+
1484
+ __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_ARGLIST_EX(
1485
+ _Success_(return >= 0)
1486
+ int, __RETURN_POLICY_SAME, _CRT_STDIO_INLINE, __CRTDECL, _swprintf, swprintf_s, _vswprintf, vswprintf_s,
1487
+ _Pre_notnull_ _Always_(_Post_z_), wchar_t, _Buffer,
1488
+ _In_z_ _Printf_format_string_ wchar_t const*, _Format
1489
+ )
1490
+
1491
+ _Success_(return >= 0)
1492
+ _Check_return_opt_
1493
+ _CRT_STDIO_INLINE int __CRTDECL _swprintf_s_l(
1494
+ _Out_writes_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
1495
+ _In_ size_t const _BufferCount,
1496
+ _In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
1497
+ _In_opt_ _locale_t const _Locale,
1498
+ ...)
1499
+ #if defined _NO_CRT_STDIO_INLINE
1500
+ ;
1501
+ #else
1502
+ {
1503
+ int _Result;
1504
+ va_list _ArgList;
1505
+ __crt_va_start(_ArgList, _Locale);
1506
+ _Result = _vswprintf_s_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);
1507
+ __crt_va_end(_ArgList);
1508
+ return _Result;
1509
+ }
1510
+ #endif
1511
+
1512
+ #if __STDC_WANT_SECURE_LIB__
1513
+
1514
+ _Success_(return >= 0)
1515
+ _CRT_STDIO_INLINE int __CRTDECL swprintf_s(
1516
+ _Out_writes_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
1517
+ _In_ size_t const _BufferCount,
1518
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
1519
+ ...)
1520
+ #if defined _NO_CRT_STDIO_INLINE
1521
+ ;
1522
+ #else
1523
+ {
1524
+ int _Result;
1525
+ va_list _ArgList;
1526
+ __crt_va_start(_ArgList, _Format);
1527
+ _Result = _vswprintf_s_l(_Buffer, _BufferCount, _Format, NULL, _ArgList);
1528
+ __crt_va_end(_ArgList);
1529
+ return _Result;
1530
+ }
1531
+ #endif
1532
+
1533
+ #endif
1534
+
1535
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1_ARGLIST(
1536
+ _Success_(return >= 0)
1537
+ int, swprintf_s, vswprintf_s,
1538
+ _Always_(_Post_z_) wchar_t, _Buffer,
1539
+ _In_z_ _Printf_format_string_ wchar_t const*, _Format
1540
+ )
1541
+
1542
+ _Success_(return >= 0)
1543
+ _Check_return_opt_
1544
+ _CRT_STDIO_INLINE int __CRTDECL _swprintf_p_l(
1545
+ _Out_writes_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
1546
+ _In_ size_t const _BufferCount,
1547
+ _In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
1548
+ _In_opt_ _locale_t const _Locale,
1549
+ ...)
1550
+ #if defined _NO_CRT_STDIO_INLINE
1551
+ ;
1552
+ #else
1553
+ {
1554
+ int _Result;
1555
+ va_list _ArgList;
1556
+ __crt_va_start(_ArgList, _Locale);
1557
+ _Result = _vswprintf_p_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);
1558
+ __crt_va_end(_ArgList);
1559
+ return _Result;
1560
+ }
1561
+ #endif
1562
+
1563
+ _Success_(return >= 0)
1564
+ _Check_return_opt_
1565
+ _CRT_STDIO_INLINE int __CRTDECL _swprintf_p(
1566
+ _Out_writes_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
1567
+ _In_ size_t const _BufferCount,
1568
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
1569
+ ...)
1570
+ #if defined _NO_CRT_STDIO_INLINE
1571
+ ;
1572
+ #else
1573
+ {
1574
+ int _Result;
1575
+ va_list _ArgList;
1576
+ __crt_va_start(_ArgList, _Format);
1577
+ _Result = _vswprintf_p_l(_Buffer, _BufferCount, _Format, NULL, _ArgList);
1578
+ __crt_va_end(_ArgList);
1579
+ return _Result;
1580
+ }
1581
+ #endif
1582
+
1583
+ _Success_(return >= 0)
1584
+ _Check_return_opt_
1585
+ _CRT_STDIO_INLINE int __CRTDECL _swprintf_c_l(
1586
+ _Out_writes_opt_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
1587
+ _In_ size_t const _BufferCount,
1588
+ _In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
1589
+ _In_opt_ _locale_t const _Locale,
1590
+ ...)
1591
+ #if defined _NO_CRT_STDIO_INLINE
1592
+ ;
1593
+ #else
1594
+ {
1595
+ int _Result;
1596
+ va_list _ArgList;
1597
+ __crt_va_start(_ArgList, _Locale);
1598
+ _Result = _vswprintf_c_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);
1599
+ __crt_va_end(_ArgList);
1600
+ return _Result;
1601
+ }
1602
+ #endif
1603
+
1604
+ _Success_(return >= 0)
1605
+ _Check_return_opt_
1606
+ _CRT_STDIO_INLINE int __CRTDECL _swprintf_c(
1607
+ _Out_writes_opt_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
1608
+ _In_ size_t const _BufferCount,
1609
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
1610
+ ...)
1611
+ #if defined _NO_CRT_STDIO_INLINE
1612
+ ;
1613
+ #else
1614
+ {
1615
+ int _Result;
1616
+ va_list _ArgList;
1617
+ __crt_va_start(_ArgList, _Format);
1618
+ _Result = _vswprintf_c_l(_Buffer, _BufferCount, _Format, NULL, _ArgList);
1619
+ __crt_va_end(_ArgList);
1620
+ return _Result;
1621
+ }
1622
+ #endif
1623
+
1624
+ _Success_(return >= 0)
1625
+ _Check_return_opt_ _CRT_INSECURE_DEPRECATE(_snwprintf_s_l)
1626
+ _CRT_STDIO_INLINE int __CRTDECL _snwprintf_l(
1627
+ _Out_writes_opt_(_BufferCount) _Post_maybez_ wchar_t* const _Buffer,
1628
+ _In_ size_t const _BufferCount,
1629
+ _In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
1630
+ _In_opt_ _locale_t const _Locale,
1631
+ ...)
1632
+ #if defined _NO_CRT_STDIO_INLINE
1633
+ ;
1634
+ #else
1635
+ {
1636
+ int _Result;
1637
+ va_list _ArgList;
1638
+ __crt_va_start(_ArgList, _Locale);
1639
+
1640
+ _Result = _vsnwprintf_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);
1641
+
1642
+ __crt_va_end(_ArgList);
1643
+ return _Result;
1644
+ }
1645
+ #endif
1646
+
1647
+ _Success_(return >= 0)
1648
+ _Check_return_opt_
1649
+ _CRT_STDIO_INLINE int __CRTDECL _snwprintf(
1650
+ _Out_writes_opt_(_BufferCount) _Post_maybez_ wchar_t* _Buffer,
1651
+ _In_ size_t _BufferCount,
1652
+ _In_z_ _Printf_format_string_ wchar_t const* _Format,
1653
+ ...)
1654
+ #if defined _NO_CRT_STDIO_INLINE
1655
+ ;
1656
+ #else
1657
+ {
1658
+ int _Result;
1659
+ va_list _ArgList;
1660
+ __crt_va_start(_ArgList, _Format);
1661
+
1662
+ _Result = _vsnwprintf_l(_Buffer, _BufferCount, _Format, NULL, _ArgList);
1663
+
1664
+ __crt_va_end(_ArgList);
1665
+ return _Result;
1666
+ }
1667
+ #endif
1668
+
1669
+ _Success_(return >= 0)
1670
+ _Check_return_opt_
1671
+ _CRT_STDIO_INLINE int __CRTDECL _snwprintf_s_l(
1672
+ _Out_writes_opt_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
1673
+ _In_ size_t const _BufferCount,
1674
+ _In_ size_t const _MaxCount,
1675
+ _In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
1676
+ _In_opt_ _locale_t const _Locale,
1677
+ ...)
1678
+ #if defined _NO_CRT_STDIO_INLINE
1679
+ ;
1680
+ #else
1681
+ {
1682
+ int _Result;
1683
+ va_list _ArgList;
1684
+ __crt_va_start(_ArgList, _Locale);
1685
+ _Result = _vsnwprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format, _Locale, _ArgList);
1686
+ __crt_va_end(_ArgList);
1687
+ return _Result;
1688
+ }
1689
+ #endif
1690
+
1691
+ _Success_(return >= 0)
1692
+ _Check_return_opt_
1693
+ _CRT_STDIO_INLINE int __CRTDECL _snwprintf_s(
1694
+ _Out_writes_opt_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
1695
+ _In_ size_t const _BufferCount,
1696
+ _In_ size_t const _MaxCount,
1697
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
1698
+ ...)
1699
+ #if defined _NO_CRT_STDIO_INLINE
1700
+ ;
1701
+ #else
1702
+ {
1703
+ int _Result;
1704
+ va_list _ArgList;
1705
+ __crt_va_start(_ArgList, _Format);
1706
+ _Result = _vsnwprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format, NULL, _ArgList);
1707
+ __crt_va_end(_ArgList);
1708
+ return _Result;
1709
+ }
1710
+ #endif
1711
+
1712
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2_ARGLIST(
1713
+ _Success_(return >= 0)
1714
+ int, _snwprintf_s, _vsnwprintf_s,
1715
+ _Always_(_Post_z_) wchar_t, _Buffer,
1716
+ _In_ size_t, _BufferCount,
1717
+ _In_z_ _Printf_format_string_ wchar_t const*, _Format
1718
+ )
1719
+
1720
+ _Check_return_
1721
+ _CRT_STDIO_INLINE int __CRTDECL _scwprintf_l(
1722
+ _In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
1723
+ _In_opt_ _locale_t const _Locale,
1724
+ ...)
1725
+ #if defined _NO_CRT_STDIO_INLINE
1726
+ ;
1727
+ #else
1728
+ {
1729
+ int _Result;
1730
+ va_list _ArgList;
1731
+ __crt_va_start(_ArgList, _Locale);
1732
+ _Result = _vscwprintf_l(_Format, _Locale, _ArgList);
1733
+ __crt_va_end(_ArgList);
1734
+ return _Result;
1735
+ }
1736
+ #endif
1737
+
1738
+ _Success_(return >= 0)
1739
+ _Check_return_
1740
+ _CRT_STDIO_INLINE int __CRTDECL _scwprintf(
1741
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
1742
+ ...)
1743
+ #if defined _NO_CRT_STDIO_INLINE
1744
+ ;
1745
+ #else
1746
+ {
1747
+ int _Result;
1748
+ va_list _ArgList;
1749
+ __crt_va_start(_ArgList, _Format);
1750
+ _Result = _vscwprintf_l(_Format, NULL, _ArgList);
1751
+ __crt_va_end(_ArgList);
1752
+ return _Result;
1753
+ }
1754
+ #endif
1755
+
1756
+ _Success_(return >= 0)
1757
+ _Check_return_
1758
+ _CRT_STDIO_INLINE int __CRTDECL _scwprintf_p_l(
1759
+ _In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
1760
+ _In_opt_ _locale_t const _Locale,
1761
+ ...)
1762
+ #if defined _NO_CRT_STDIO_INLINE
1763
+ ;
1764
+ #else
1765
+ {
1766
+ int _Result;
1767
+ va_list _ArgList;
1768
+ __crt_va_start(_ArgList, _Locale);
1769
+ _Result = _vscwprintf_p_l(_Format, _Locale, _ArgList);
1770
+ __crt_va_end(_ArgList);
1771
+ return _Result;
1772
+ }
1773
+ #endif
1774
+
1775
+ _Success_(return >= 0)
1776
+ _Check_return_
1777
+ _CRT_STDIO_INLINE int __CRTDECL _scwprintf_p(
1778
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
1779
+ ...)
1780
+ #if defined _NO_CRT_STDIO_INLINE
1781
+ ;
1782
+ #else
1783
+ {
1784
+ int _Result;
1785
+ va_list _ArgList;
1786
+ __crt_va_start(_ArgList, _Format);
1787
+ _Result = _vscwprintf_p_l(_Format, NULL, _ArgList);
1788
+ __crt_va_end(_ArgList);
1789
+ return _Result;
1790
+ }
1791
+ #endif
1792
+
1793
+
1794
+ #if !defined RC_INVOKED && !defined __midl && !defined _INC_SWPRINTF_INL_
1795
+ // C4141: double deprecation
1796
+ // C6054: string may not be zero-terminated
1797
+ #pragma warning(push)
1798
+ #pragma warning(disable: 4141 6054)
1799
+
1800
+ #ifdef __cplusplus
1801
+
1802
+ extern "C++" _SWPRINTFS_DEPRECATED _CRT_INSECURE_DEPRECATE(swprintf_s)
1803
+ inline int swprintf(
1804
+ _Pre_notnull_ _Post_z_ wchar_t* const _Buffer,
1805
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
1806
+ ...) throw()
1807
+ {
1808
+ int _Result;
1809
+ va_list _ArgList;
1810
+ __crt_va_start(_ArgList, _Format);
1811
+ _Result = vswprintf(_Buffer, _CRT_INT_MAX, _Format, _ArgList);
1812
+ __crt_va_end(_ArgList);
1813
+ return _Result;
1814
+ }
1815
+
1816
+ extern "C++" _SWPRINTFS_DEPRECATED _CRT_INSECURE_DEPRECATE(vswprintf_s)
1817
+ inline int __CRTDECL vswprintf(
1818
+ _Pre_notnull_ _Post_z_ wchar_t* const _Buffer,
1819
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
1820
+ va_list _ArgList
1821
+ ) throw()
1822
+ {
1823
+ return vswprintf(_Buffer, _CRT_INT_MAX, _Format, _ArgList);
1824
+ }
1825
+
1826
+ extern "C++" _SWPRINTFS_DEPRECATED _CRT_INSECURE_DEPRECATE(_swprintf_s_l)
1827
+ inline int _swprintf_l(
1828
+ _Pre_notnull_ _Post_z_ wchar_t* const _Buffer,
1829
+ _In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
1830
+ _In_opt_ _locale_t const _Locale,
1831
+ ...) throw()
1832
+ {
1833
+ int _Result;
1834
+ va_list _ArgList;
1835
+ __crt_va_start(_ArgList, _Locale);
1836
+ _Result = _vswprintf_l(_Buffer, (size_t)-1, _Format, _Locale, _ArgList);
1837
+ __crt_va_end(_ArgList);
1838
+ return _Result;
1839
+ }
1840
+
1841
+ extern "C++" _SWPRINTFS_DEPRECATED _CRT_INSECURE_DEPRECATE(_vswprintf_s_l)
1842
+ inline int __CRTDECL _vswprintf_l(
1843
+ _Pre_notnull_ _Post_z_ wchar_t* const _Buffer,
1844
+ _In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
1845
+ _In_opt_ _locale_t const _Locale,
1846
+ va_list _ArgList
1847
+ ) throw()
1848
+ {
1849
+ return _vswprintf_l(_Buffer, (size_t)-1, _Format, _Locale, _ArgList);
1850
+ }
1851
+
1852
+ #endif // __cplusplus
1853
+
1854
+ #pragma warning(pop)
1855
+ #endif // !_INC_SWPRINTF_INL_
1856
+
1857
+ #if defined _CRT_NON_CONFORMING_SWPRINTFS && !defined __cplusplus
1858
+ #define swprintf _swprintf
1859
+ #define vswprintf _vswprintf
1860
+ #define _swprintf_l __swprintf_l
1861
+ #define _vswprintf_l __vswprintf_l
1862
+ #endif
1863
+
1864
+
1865
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
1866
+ //
1867
+ // Wide Character Formatted Input Functions (String)
1868
+ //
1869
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
1870
+ _Success_(return >= 0)
1871
+ _ACRTIMP int __cdecl __stdio_common_vswscanf(
1872
+ _In_ unsigned __int64 _Options,
1873
+ _In_reads_(_BufferCount) _Pre_z_ wchar_t const* _Buffer,
1874
+ _In_ size_t _BufferCount,
1875
+ _In_z_ _Scanf_format_string_params_(2) wchar_t const* _Format,
1876
+ _In_opt_ _locale_t _Locale,
1877
+ va_list _ArgList
1878
+ );
1879
+
1880
+ _Success_(return >= 0)
1881
+ _Check_return_opt_
1882
+ _CRT_STDIO_INLINE int __CRTDECL _vswscanf_l(
1883
+ _In_z_ wchar_t const* const _Buffer,
1884
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
1885
+ _In_opt_ _locale_t const _Locale,
1886
+ va_list _ArgList
1887
+ )
1888
+ #if defined _NO_CRT_STDIO_INLINE
1889
+ ;
1890
+ #else
1891
+ {
1892
+ return __stdio_common_vswscanf(
1893
+ _CRT_INTERNAL_LOCAL_SCANF_OPTIONS,
1894
+ _Buffer, (size_t)-1, _Format, _Locale, _ArgList);
1895
+ }
1896
+ #endif
1897
+
1898
+ _Success_(return >= 0)
1899
+ _Check_return_opt_
1900
+ _CRT_STDIO_INLINE int __CRTDECL vswscanf(
1901
+ _In_z_ wchar_t const* _Buffer,
1902
+ _In_z_ _Printf_format_string_ wchar_t const* _Format,
1903
+ va_list _ArgList
1904
+ )
1905
+ #if defined _NO_CRT_STDIO_INLINE
1906
+ ;
1907
+ #else
1908
+ {
1909
+ return _vswscanf_l(_Buffer, _Format, NULL, _ArgList);
1910
+ }
1911
+ #endif
1912
+
1913
+ _Success_(return >= 0)
1914
+ _Check_return_opt_
1915
+ _CRT_STDIO_INLINE int __CRTDECL _vswscanf_s_l(
1916
+ _In_z_ wchar_t const* const _Buffer,
1917
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
1918
+ _In_opt_ _locale_t const _Locale,
1919
+ va_list _ArgList
1920
+ )
1921
+ #if defined _NO_CRT_STDIO_INLINE
1922
+ ;
1923
+ #else
1924
+ {
1925
+ return __stdio_common_vswscanf(
1926
+ _CRT_INTERNAL_LOCAL_SCANF_OPTIONS | _CRT_INTERNAL_SCANF_SECURECRT,
1927
+ _Buffer, (size_t)-1, _Format, _Locale, _ArgList);
1928
+ }
1929
+ #endif
1930
+
1931
+ #if __STDC_WANT_SECURE_LIB__
1932
+
1933
+ _Success_(return >= 0)
1934
+ _Check_return_opt_
1935
+ _CRT_STDIO_INLINE int __CRTDECL vswscanf_s(
1936
+ _In_z_ wchar_t const* const _Buffer,
1937
+ _In_z_ _Printf_format_string_ wchar_t const* const _Format,
1938
+ va_list _ArgList
1939
+ )
1940
+ #if defined _NO_CRT_STDIO_INLINE
1941
+ ;
1942
+ #else
1943
+ {
1944
+ return _vswscanf_s_l(_Buffer, _Format, NULL, _ArgList);
1945
+ }
1946
+ #endif
1947
+
1948
+ #endif
1949
+
1950
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(
1951
+ _Success_(return >= 0)
1952
+ int, vswscanf_s,
1953
+ _In_z_ wchar_t, _Buffer,
1954
+ _In_z_ _Printf_format_string_ wchar_t const*, _Format,
1955
+ va_list, _ArgList
1956
+ )
1957
+
1958
+ _Success_(return >= 0)
1959
+ _Check_return_opt_ _CRT_INSECURE_DEPRECATE(_vsnwscanf_s_l)
1960
+ _CRT_STDIO_INLINE int __CRTDECL _vsnwscanf_l(
1961
+ _In_reads_(_BufferCount) _Pre_z_ wchar_t const* const _Buffer,
1962
+ _In_ size_t const _BufferCount,
1963
+ _In_z_ _Scanf_format_string_params_(2) wchar_t const* const _Format,
1964
+ _In_opt_ _locale_t const _Locale,
1965
+ va_list _ArgList
1966
+ )
1967
+ #if defined _NO_CRT_STDIO_INLINE
1968
+ ;
1969
+ #else
1970
+ {
1971
+ return __stdio_common_vswscanf(
1972
+ _CRT_INTERNAL_LOCAL_SCANF_OPTIONS,
1973
+ _Buffer, _BufferCount, _Format, _Locale, _ArgList);
1974
+ }
1975
+ #endif
1976
+
1977
+ _Success_(return >= 0)
1978
+ _Check_return_opt_
1979
+ _CRT_STDIO_INLINE int __CRTDECL _vsnwscanf_s_l(
1980
+ _In_reads_(_BufferCount) _Pre_z_ wchar_t const* const _Buffer,
1981
+ _In_ size_t const _BufferCount,
1982
+ _In_z_ _Scanf_s_format_string_params_(2) wchar_t const* const _Format,
1983
+ _In_opt_ _locale_t const _Locale,
1984
+ va_list _ArgList
1985
+ )
1986
+ #if defined _NO_CRT_STDIO_INLINE
1987
+ ;
1988
+ #else
1989
+ {
1990
+ return __stdio_common_vswscanf(
1991
+ _CRT_INTERNAL_LOCAL_SCANF_OPTIONS | _CRT_INTERNAL_SCANF_SECURECRT,
1992
+ _Buffer, _BufferCount, _Format, _Locale, _ArgList);
1993
+ }
1994
+ #endif
1995
+
1996
+ _Success_(return >= 0)
1997
+ _Check_return_opt_ _CRT_INSECURE_DEPRECATE(_swscanf_s_l)
1998
+ _CRT_STDIO_INLINE int __CRTDECL _swscanf_l(
1999
+ _In_z_ wchar_t const* const _Buffer,
2000
+ _In_z_ _Scanf_format_string_params_(0) wchar_t const* const _Format,
2001
+ _In_opt_ _locale_t _Locale,
2002
+ ...)
2003
+ #if defined _NO_CRT_STDIO_INLINE // SCANF
2004
+ ;
2005
+ #else
2006
+ {
2007
+ int _Result;
2008
+ va_list _ArgList;
2009
+ __crt_va_start(_ArgList, _Locale);
2010
+ _Result = _vswscanf_l(_Buffer, _Format, _Locale, _ArgList);
2011
+ __crt_va_end(_ArgList);
2012
+ return _Result;
2013
+ }
2014
+ #endif
2015
+
2016
+ _Success_(return >= 0)
2017
+ _Check_return_ _CRT_INSECURE_DEPRECATE(swscanf_s)
2018
+ _CRT_STDIO_INLINE int __CRTDECL swscanf(
2019
+ _In_z_ wchar_t const* const _Buffer,
2020
+ _In_z_ _Scanf_format_string_ wchar_t const* const _Format,
2021
+ ...)
2022
+ #if defined _NO_CRT_STDIO_INLINE // SCANF
2023
+ ;
2024
+ #else
2025
+ {
2026
+ int _Result;
2027
+ va_list _ArgList;
2028
+ __crt_va_start(_ArgList, _Format);
2029
+ _Result = _vswscanf_l(_Buffer, _Format, NULL, _ArgList);
2030
+ __crt_va_end(_ArgList);
2031
+ return _Result;
2032
+ }
2033
+ #endif
2034
+
2035
+ _Success_(return >= 0)
2036
+ _Check_return_opt_
2037
+ _CRT_STDIO_INLINE int __CRTDECL _swscanf_s_l(
2038
+ _In_z_ wchar_t const* const _Buffer,
2039
+ _In_z_ _Scanf_s_format_string_params_(0) wchar_t const* const _Format,
2040
+ _In_opt_ _locale_t const _Locale,
2041
+ ...)
2042
+ #if defined _NO_CRT_STDIO_INLINE // SCANF
2043
+ ;
2044
+ #else
2045
+ {
2046
+ int _Result;
2047
+ va_list _ArgList;
2048
+ __crt_va_start(_ArgList, _Locale);
2049
+ _Result = _vswscanf_s_l(_Buffer, _Format, _Locale, _ArgList);
2050
+ __crt_va_end(_ArgList);
2051
+ return _Result;
2052
+ }
2053
+ #endif
2054
+
2055
+ #if __STDC_WANT_SECURE_LIB__
2056
+
2057
+ _Success_(return >= 0)
2058
+ _Check_return_opt_
2059
+ _CRT_STDIO_INLINE int __CRTDECL swscanf_s(
2060
+ _In_z_ wchar_t const* const _Buffer,
2061
+ _In_z_ _Scanf_s_format_string_ wchar_t const* const _Format,
2062
+ ...)
2063
+ #if defined _NO_CRT_STDIO_INLINE // SCANF
2064
+ ;
2065
+ #else
2066
+ {
2067
+ int _Result;
2068
+ va_list _ArgList;
2069
+ __crt_va_start(_ArgList, _Format);
2070
+ _Result = _vswscanf_s_l(_Buffer, _Format, NULL, _ArgList);
2071
+ __crt_va_end(_ArgList);
2072
+ return _Result;
2073
+ }
2074
+ #endif
2075
+
2076
+ #endif
2077
+
2078
+ _Success_(return >= 0)
2079
+ _Check_return_opt_ _CRT_INSECURE_DEPRECATE(_snwscanf_s_l)
2080
+ _CRT_STDIO_INLINE int __CRTDECL _snwscanf_l(
2081
+ _In_reads_(_BufferCount) _Pre_z_ wchar_t const* const _Buffer,
2082
+ _In_ size_t const _BufferCount,
2083
+ _In_z_ _Scanf_format_string_params_(0) wchar_t const* const _Format,
2084
+ _In_opt_ _locale_t const _Locale,
2085
+ ...)
2086
+ #if defined _NO_CRT_STDIO_INLINE // SCANF
2087
+ ;
2088
+ #else
2089
+ {
2090
+ int _Result;
2091
+ va_list _ArgList;
2092
+ __crt_va_start(_ArgList, _Locale);
2093
+
2094
+ _Result = _vsnwscanf_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);
2095
+
2096
+ __crt_va_end(_ArgList);
2097
+ return _Result;
2098
+ }
2099
+ #endif
2100
+
2101
+ _Success_(return >= 0)
2102
+ _Check_return_opt_ _CRT_INSECURE_DEPRECATE(_snwscanf_s)
2103
+ _CRT_STDIO_INLINE int __CRTDECL _snwscanf(
2104
+ _In_reads_(_BufferCount) _Pre_z_ wchar_t const* const _Buffer,
2105
+ _In_ size_t const _BufferCount,
2106
+ _In_z_ _Scanf_format_string_ wchar_t const* const _Format,
2107
+ ...)
2108
+ #if defined _NO_CRT_STDIO_INLINE // SCANF
2109
+ ;
2110
+ #else
2111
+ {
2112
+ int _Result;
2113
+ va_list _ArgList;
2114
+ __crt_va_start(_ArgList, _Format);
2115
+
2116
+ _Result = _vsnwscanf_l(_Buffer, _BufferCount, _Format, NULL, _ArgList);
2117
+
2118
+ __crt_va_end(_ArgList);
2119
+ return _Result;
2120
+ }
2121
+ #endif
2122
+
2123
+ _Success_(return >= 0)
2124
+ _Check_return_opt_
2125
+ _CRT_STDIO_INLINE int __CRTDECL _snwscanf_s_l(
2126
+ _In_reads_(_BufferCount) _Pre_z_ wchar_t const* const _Buffer,
2127
+ _In_ size_t const _BufferCount,
2128
+ _In_z_ _Scanf_s_format_string_params_(0) wchar_t const* const _Format,
2129
+ _In_opt_ _locale_t const _Locale,
2130
+ ...)
2131
+ #if defined _NO_CRT_STDIO_INLINE // SCANF
2132
+ ;
2133
+ #else
2134
+ {
2135
+ int _Result;
2136
+ va_list _ArgList;
2137
+ __crt_va_start(_ArgList, _Locale);
2138
+ _Result = _vsnwscanf_s_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);
2139
+ __crt_va_end(_ArgList);
2140
+ return _Result;
2141
+ }
2142
+ #endif
2143
+
2144
+ _Success_(return >= 0)
2145
+ _Check_return_opt_
2146
+ _CRT_STDIO_INLINE int __CRTDECL _snwscanf_s(
2147
+ _In_reads_(_BufferCount) _Pre_z_ wchar_t const* const _Buffer,
2148
+ _In_ size_t const _BufferCount,
2149
+ _In_z_ _Scanf_s_format_string_ wchar_t const* const _Format,
2150
+ ...)
2151
+ #if defined _NO_CRT_STDIO_INLINE // SCANF
2152
+ ;
2153
+ #else
2154
+ {
2155
+ int _Result;
2156
+ va_list _ArgList;
2157
+ __crt_va_start(_ArgList, _Format);
2158
+ _Result = _vsnwscanf_s_l(_Buffer, _BufferCount, _Format, NULL, _ArgList);
2159
+ __crt_va_end(_ArgList);
2160
+ return _Result;
2161
+ }
2162
+ #endif
2163
+
2164
+ #ifdef _M_CEE_MIXED
2165
+ #pragma managed(pop)
2166
+ #endif
2167
+ #endif // _CRT_FUNCTIONS_REQUIRED
2168
+
2169
+ _CRT_END_C_HEADER
2170
+ _UCRT_RESTORE_CLANG_WARNINGS
2171
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_wstdlib.h ADDED
@@ -0,0 +1,481 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // corecrt_wstdlib.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // This file declares the wide character (wchar_t) C Standard Library functions
7
+ // that are declared by both <stdlib.h> and <wchar.h>.
8
+ //
9
+ #pragma once
10
+
11
+ #include <corecrt.h>
12
+
13
+ #pragma warning(push)
14
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
15
+ _UCRT_DISABLE_CLANG_WARNINGS
16
+
17
+ _CRT_BEGIN_C_HEADER
18
+
19
+
20
+
21
+ // Maximum number of elements, including null terminator (and negative sign
22
+ // where appropriate), needed for integer-to-string conversions for several
23
+ // bases and integer types.
24
+ #define _MAX_ITOSTR_BASE16_COUNT (8 + 1)
25
+ #define _MAX_ITOSTR_BASE10_COUNT (1 + 10 + 1)
26
+ #define _MAX_ITOSTR_BASE8_COUNT (11 + 1)
27
+ #define _MAX_ITOSTR_BASE2_COUNT (32 + 1)
28
+
29
+ #define _MAX_LTOSTR_BASE16_COUNT (8 + 1)
30
+ #define _MAX_LTOSTR_BASE10_COUNT (1 + 10 + 1)
31
+ #define _MAX_LTOSTR_BASE8_COUNT (11 + 1)
32
+ #define _MAX_LTOSTR_BASE2_COUNT (32 + 1)
33
+
34
+ #define _MAX_ULTOSTR_BASE16_COUNT (8 + 1)
35
+ #define _MAX_ULTOSTR_BASE10_COUNT (10 + 1)
36
+ #define _MAX_ULTOSTR_BASE8_COUNT (11 + 1)
37
+ #define _MAX_ULTOSTR_BASE2_COUNT (32 + 1)
38
+
39
+ #define _MAX_I64TOSTR_BASE16_COUNT (16 + 1)
40
+ #define _MAX_I64TOSTR_BASE10_COUNT (1 + 19 + 1)
41
+ #define _MAX_I64TOSTR_BASE8_COUNT (22 + 1)
42
+ #define _MAX_I64TOSTR_BASE2_COUNT (64 + 1)
43
+
44
+ #define _MAX_U64TOSTR_BASE16_COUNT (16 + 1)
45
+ #define _MAX_U64TOSTR_BASE10_COUNT (20 + 1)
46
+ #define _MAX_U64TOSTR_BASE8_COUNT (22 + 1)
47
+ #define _MAX_U64TOSTR_BASE2_COUNT (64 + 1)
48
+
49
+
50
+ #if _CRT_FUNCTIONS_REQUIRED
51
+
52
+ _Success_(return == 0)
53
+ _Check_return_wat_
54
+ _ACRTIMP errno_t __cdecl _itow_s(
55
+ _In_ int _Value,
56
+ _Out_writes_z_(_BufferCount) wchar_t* _Buffer,
57
+ _In_ size_t _BufferCount,
58
+ _In_ int _Radix
59
+ );
60
+
61
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_1(
62
+ errno_t, _itow_s,
63
+ _In_ int, _Value,
64
+ wchar_t, _Buffer,
65
+ _In_ int, _Radix
66
+ )
67
+
68
+ __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_1_1(
69
+ wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, _itow,
70
+ _In_ int, _Value,
71
+ _Pre_notnull_ _Post_z_, wchar_t, _Buffer,
72
+ _In_ int, _Radix
73
+ )
74
+
75
+ _Success_(return == 0)
76
+ _Check_return_wat_
77
+ _ACRTIMP errno_t __cdecl _ltow_s(
78
+ _In_ long _Value,
79
+ _Out_writes_z_(_BufferCount) wchar_t* _Buffer,
80
+ _In_ size_t _BufferCount,
81
+ _In_ int _Radix
82
+ );
83
+
84
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_1(
85
+ errno_t, _ltow_s,
86
+ _In_ long, _Value,
87
+ wchar_t, _Buffer,
88
+ _In_ int, _Radix
89
+ )
90
+
91
+ __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_1_1(
92
+ wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, _ltow,
93
+ _In_ long, _Value,
94
+ _Pre_notnull_ _Post_z_, wchar_t, _Buffer,
95
+ _In_ int, _Radix
96
+ )
97
+
98
+ _Check_return_wat_
99
+ _ACRTIMP errno_t __cdecl _ultow_s(
100
+ _In_ unsigned long _Value,
101
+ _Out_writes_z_(_BufferCount) wchar_t* _Buffer,
102
+ _In_ size_t _BufferCount,
103
+ _In_ int _Radix
104
+ );
105
+
106
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_1(
107
+ errno_t, _ultow_s,
108
+ _In_ unsigned long, _Value,
109
+ wchar_t, _Buffer,
110
+ _In_ int, _Radix
111
+ )
112
+
113
+ __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_1_1(
114
+ wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, _ultow,
115
+ _In_ unsigned long, _Value,
116
+ _Pre_notnull_ _Post_z_, wchar_t, _Buffer,
117
+ _In_ int, _Radix
118
+ )
119
+
120
+ _Check_return_
121
+ _ACRTIMP double __cdecl wcstod(
122
+ _In_z_ wchar_t const* _String,
123
+ _Out_opt_ _Deref_post_z_ wchar_t** _EndPtr
124
+ );
125
+
126
+ _Check_return_
127
+ _ACRTIMP double __cdecl _wcstod_l(
128
+ _In_z_ wchar_t const* _String,
129
+ _Out_opt_ _Deref_post_z_ wchar_t** _EndPtr,
130
+ _In_opt_ _locale_t _Locale
131
+ );
132
+
133
+ _Check_return_
134
+ _ACRTIMP long __cdecl wcstol(
135
+ _In_z_ wchar_t const* _String,
136
+ _Out_opt_ _Deref_post_z_ wchar_t** _EndPtr,
137
+ _In_ int _Radix
138
+ );
139
+
140
+ _Check_return_
141
+ _ACRTIMP long __cdecl _wcstol_l(
142
+ _In_z_ wchar_t const* _String,
143
+ _Out_opt_ _Deref_post_z_ wchar_t** _EndPtr,
144
+ _In_ int _Radix,
145
+ _In_opt_ _locale_t _Locale
146
+ );
147
+
148
+ _Check_return_
149
+ _ACRTIMP long long __cdecl wcstoll(
150
+ _In_z_ wchar_t const* _String,
151
+ _Out_opt_ _Deref_post_z_ wchar_t** _EndPtr,
152
+ _In_ int _Radix
153
+ );
154
+
155
+ _Check_return_
156
+ _ACRTIMP long long __cdecl _wcstoll_l(
157
+ _In_z_ wchar_t const* _String,
158
+ _Out_opt_ _Deref_post_z_ wchar_t** _EndPtr,
159
+ _In_ int _Radix,
160
+ _In_opt_ _locale_t _Locale
161
+ );
162
+
163
+ _Check_return_
164
+ _ACRTIMP unsigned long __cdecl wcstoul(
165
+ _In_z_ wchar_t const* _String,
166
+ _Out_opt_ _Deref_post_z_ wchar_t** _EndPtr,
167
+ _In_ int _Radix
168
+ );
169
+
170
+ _Check_return_
171
+ _ACRTIMP unsigned long __cdecl _wcstoul_l(
172
+ _In_z_ wchar_t const* _String,
173
+ _Out_opt_ _Deref_post_z_ wchar_t** _EndPtr,
174
+ _In_ int _Radix,
175
+ _In_opt_ _locale_t _Locale
176
+ );
177
+
178
+ _Check_return_
179
+ _ACRTIMP unsigned long long __cdecl wcstoull(
180
+ _In_z_ wchar_t const* _String,
181
+ _Out_opt_ _Deref_post_z_ wchar_t** _EndPtr,
182
+ _In_ int _Radix
183
+ );
184
+
185
+ _Check_return_
186
+ _ACRTIMP unsigned long long __cdecl _wcstoull_l(
187
+ _In_z_ wchar_t const* _String,
188
+ _Out_opt_ _Deref_post_z_ wchar_t** _EndPtr,
189
+ _In_ int _Radix,
190
+ _In_opt_ _locale_t _Locale
191
+ );
192
+
193
+ _Check_return_
194
+ _ACRTIMP long double __cdecl wcstold(
195
+ _In_z_ wchar_t const* _String,
196
+ _Out_opt_ _Deref_post_z_ wchar_t** _EndPtr
197
+ );
198
+
199
+ _Check_return_
200
+ _ACRTIMP long double __cdecl _wcstold_l(
201
+ _In_z_ wchar_t const* _String,
202
+ _Out_opt_ _Deref_post_z_ wchar_t** _EndPtr,
203
+ _In_opt_ _locale_t _Locale
204
+ );
205
+
206
+ _Check_return_
207
+ _ACRTIMP float __cdecl wcstof(
208
+ _In_z_ wchar_t const* _String,
209
+ _Out_opt_ _Deref_post_z_ wchar_t** _EndPtr
210
+ );
211
+
212
+ _Check_return_
213
+ _ACRTIMP float __cdecl _wcstof_l(
214
+ _In_z_ wchar_t const* _String,
215
+ _Out_opt_ _Deref_post_z_ wchar_t** _EndPtr,
216
+ _In_opt_ _locale_t _Locale
217
+ );
218
+
219
+ _Check_return_
220
+ _ACRTIMP double __cdecl _wtof(
221
+ _In_z_ wchar_t const* _String
222
+ );
223
+
224
+ _Check_return_
225
+ _ACRTIMP double __cdecl _wtof_l(
226
+ _In_z_ wchar_t const* _String,
227
+ _In_opt_ _locale_t _Locale
228
+ );
229
+
230
+ _Check_return_
231
+ _ACRTIMP int __cdecl _wtoi(
232
+ _In_z_ wchar_t const* _String
233
+ );
234
+
235
+ _Check_return_
236
+ _ACRTIMP int __cdecl _wtoi_l(
237
+ _In_z_ wchar_t const* _String,
238
+ _In_opt_ _locale_t _Locale
239
+ );
240
+
241
+ _Check_return_
242
+ _ACRTIMP long __cdecl _wtol(
243
+ _In_z_ wchar_t const* _String
244
+ );
245
+
246
+ _Check_return_
247
+ _ACRTIMP long __cdecl _wtol_l(
248
+ _In_z_ wchar_t const* _String,
249
+ _In_opt_ _locale_t _Locale
250
+ );
251
+
252
+ _Check_return_
253
+ _ACRTIMP long long __cdecl _wtoll(
254
+ _In_z_ wchar_t const* _String
255
+ );
256
+
257
+ _Check_return_
258
+ _ACRTIMP long long __cdecl _wtoll_l(
259
+ _In_z_ wchar_t const* _String,
260
+ _In_opt_ _locale_t _Locale
261
+ );
262
+
263
+ _Check_return_wat_
264
+ _ACRTIMP errno_t __cdecl _i64tow_s(
265
+ _In_ __int64 _Value,
266
+ _Out_writes_z_(_BufferCount) wchar_t* _Buffer,
267
+ _In_ size_t _BufferCount,
268
+ _In_ int _Radix
269
+ );
270
+
271
+ _CRT_INSECURE_DEPRECATE(_i64tow_s)
272
+ _ACRTIMP wchar_t* __cdecl _i64tow(
273
+ _In_ __int64 _Value,
274
+ _Pre_notnull_ _Post_z_ wchar_t* _Buffer,
275
+ _In_ int _Radix
276
+ );
277
+
278
+ _Check_return_wat_
279
+ _ACRTIMP errno_t __cdecl _ui64tow_s(
280
+ _In_ unsigned __int64 _Value,
281
+ _Out_writes_z_(_BufferCount) wchar_t* _Buffer,
282
+ _In_ size_t _BufferCount,
283
+ _In_ int _Radix
284
+ );
285
+
286
+ _CRT_INSECURE_DEPRECATE(_ui64tow_s)
287
+ _ACRTIMP wchar_t* __cdecl _ui64tow(
288
+ _In_ unsigned __int64 _Value,
289
+ _Pre_notnull_ _Post_z_ wchar_t* _Buffer,
290
+ _In_ int _Radix
291
+ );
292
+
293
+ _Check_return_
294
+ _ACRTIMP __int64 __cdecl _wtoi64(
295
+ _In_z_ wchar_t const* _String
296
+ );
297
+
298
+ _Check_return_
299
+ _ACRTIMP __int64 __cdecl _wtoi64_l(
300
+ _In_z_ wchar_t const* _String,
301
+ _In_opt_ _locale_t _Locale
302
+ );
303
+
304
+ _Check_return_
305
+ _ACRTIMP __int64 __cdecl _wcstoi64(
306
+ _In_z_ wchar_t const* _String,
307
+ _Out_opt_ _Deref_post_z_ wchar_t** _EndPtr,
308
+ _In_ int _Radix
309
+ );
310
+
311
+ _Check_return_
312
+ _ACRTIMP __int64 __cdecl _wcstoi64_l(
313
+ _In_z_ wchar_t const* _String,
314
+ _Out_opt_ _Deref_post_z_ wchar_t** _EndPtr,
315
+ _In_ int _Radix,
316
+ _In_opt_ _locale_t _Locale
317
+ );
318
+
319
+ _Check_return_
320
+ _ACRTIMP unsigned __int64 __cdecl _wcstoui64(
321
+ _In_z_ wchar_t const* _String,
322
+ _Out_opt_ _Deref_post_z_ wchar_t** _EndPtr,
323
+ _In_ int _Radix
324
+ );
325
+
326
+ _Check_return_
327
+ _ACRTIMP unsigned __int64 __cdecl _wcstoui64_l(
328
+ _In_z_ wchar_t const* _String,
329
+ _Out_opt_ _Deref_post_z_ wchar_t** _EndPtr,
330
+ _In_ int _Radix,
331
+ _In_opt_ _locale_t _Locale
332
+ );
333
+
334
+ #pragma push_macro("_wfullpath")
335
+ #undef _wfullpath
336
+
337
+ _Success_(return != 0)
338
+ _Check_return_
339
+ _ACRTIMP _CRTALLOCATOR wchar_t* __cdecl _wfullpath(
340
+ _Out_writes_opt_z_(_BufferCount) wchar_t* _Buffer,
341
+ _In_z_ wchar_t const* _Path,
342
+ _In_ size_t _BufferCount
343
+ );
344
+
345
+ #pragma pop_macro("_wfullpath")
346
+
347
+ _Check_return_wat_
348
+ _ACRTIMP errno_t __cdecl _wmakepath_s(
349
+ _Out_writes_z_(_BufferCount) wchar_t* _Buffer,
350
+ _In_ size_t _BufferCount,
351
+ _In_opt_z_ wchar_t const* _Drive,
352
+ _In_opt_z_ wchar_t const* _Dir,
353
+ _In_opt_z_ wchar_t const* _Filename,
354
+ _In_opt_z_ wchar_t const* _Ext
355
+ );
356
+
357
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_4(
358
+ errno_t, _wmakepath_s,
359
+ wchar_t, _Buffer,
360
+ _In_opt_z_ wchar_t const*, _Drive,
361
+ _In_opt_z_ wchar_t const*, _Dir,
362
+ _In_opt_z_ wchar_t const*, _Filename,
363
+ _In_opt_z_ wchar_t const*, _Ext
364
+ )
365
+
366
+ __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_4(
367
+ void, __RETURN_POLICY_VOID, _ACRTIMP, _wmakepath,
368
+ _Pre_notnull_ _Post_z_, wchar_t, _Buffer,
369
+ _In_opt_z_ wchar_t const*, _Drive,
370
+ _In_opt_z_ wchar_t const*, _Dir,
371
+ _In_opt_z_ wchar_t const*, _Filename,
372
+ _In_opt_z_ wchar_t const*, _Ext
373
+ )
374
+
375
+ _ACRTIMP void __cdecl _wperror(
376
+ _In_opt_z_ wchar_t const* _ErrorMessage
377
+ );
378
+
379
+ _CRT_INSECURE_DEPRECATE(_wsplitpath_s)
380
+ _ACRTIMP void __cdecl _wsplitpath(
381
+ _In_z_ wchar_t const* _FullPath,
382
+ _Pre_maybenull_ _Post_z_ wchar_t* _Drive,
383
+ _Pre_maybenull_ _Post_z_ wchar_t* _Dir,
384
+ _Pre_maybenull_ _Post_z_ wchar_t* _Filename,
385
+ _Pre_maybenull_ _Post_z_ wchar_t* _Ext
386
+ );
387
+
388
+ _ACRTIMP errno_t __cdecl _wsplitpath_s(
389
+ _In_z_ wchar_t const* _FullPath,
390
+ _Out_writes_opt_z_(_DriveCount) wchar_t* _Drive,
391
+ _In_ size_t _DriveCount,
392
+ _Out_writes_opt_z_(_DirCount) wchar_t* _Dir,
393
+ _In_ size_t _DirCount,
394
+ _Out_writes_opt_z_(_FilenameCount) wchar_t* _Filename,
395
+ _In_ size_t _FilenameCount,
396
+ _Out_writes_opt_z_(_ExtCount) wchar_t* _Ext,
397
+ _In_ size_t _ExtCount
398
+ );
399
+
400
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_SPLITPATH(
401
+ errno_t, _wsplitpath_s,
402
+ wchar_t, _Path
403
+ )
404
+
405
+ #pragma push_macro("_wdupenv_s")
406
+ #undef _wdupenv_s
407
+
408
+ _Check_return_wat_
409
+ _DCRTIMP errno_t __cdecl _wdupenv_s(
410
+ _Outptr_result_buffer_maybenull_(*_BufferCount) _Outptr_result_maybenull_z_ wchar_t** _Buffer,
411
+ _Out_opt_ size_t* _BufferCount,
412
+ _In_z_ wchar_t const* _VarName
413
+ );
414
+
415
+ #pragma pop_macro("_wdupenv_s")
416
+
417
+ _Check_return_ _CRT_INSECURE_DEPRECATE(_wdupenv_s)
418
+ _DCRTIMP wchar_t* __cdecl _wgetenv(
419
+ _In_z_ wchar_t const* _VarName
420
+ );
421
+
422
+ _Success_(return == 0)
423
+ _Check_return_wat_
424
+ _DCRTIMP errno_t __cdecl _wgetenv_s(
425
+ _Out_ size_t* _RequiredCount,
426
+ _Out_writes_opt_z_(_BufferCount) wchar_t* _Buffer,
427
+ _In_ size_t _BufferCount,
428
+ _In_z_ wchar_t const* _VarName
429
+ );
430
+
431
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_1(
432
+ _Success_(return == 0)
433
+ errno_t, _wgetenv_s,
434
+ _Out_ size_t*, _RequiredCount,
435
+ wchar_t, _Buffer,
436
+ _In_z_ wchar_t const*, _VarName
437
+ )
438
+
439
+ _Check_return_
440
+ _DCRTIMP int __cdecl _wputenv(
441
+ _In_z_ wchar_t const* _EnvString
442
+ );
443
+
444
+ _Check_return_wat_
445
+ _DCRTIMP errno_t __cdecl _wputenv_s(
446
+ _In_z_ wchar_t const* _Name,
447
+ _In_z_ wchar_t const* _Value
448
+ );
449
+
450
+ _DCRTIMP errno_t __cdecl _wsearchenv_s(
451
+ _In_z_ wchar_t const* _Filename,
452
+ _In_z_ wchar_t const* _VarName,
453
+ _Out_writes_z_(_BufferCount) wchar_t* _Buffer,
454
+ _In_ size_t _BufferCount
455
+ );
456
+
457
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_2_0(
458
+ errno_t, _wsearchenv_s,
459
+ _In_z_ wchar_t const*, _Filename,
460
+ _In_z_ wchar_t const*, _VarName,
461
+ wchar_t, _ResultPath
462
+ )
463
+
464
+ __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_2_0(
465
+ void, __RETURN_POLICY_VOID, _DCRTIMP, _wsearchenv,
466
+ _In_z_ wchar_t const*, _Filename,
467
+ _In_z_ wchar_t const*, _VarName,
468
+ _Pre_notnull_ _Post_z_, wchar_t, _ResultPath
469
+ )
470
+
471
+ _DCRTIMP int __cdecl _wsystem(
472
+ _In_opt_z_ wchar_t const* _Command
473
+ );
474
+
475
+ #endif // _CRT_FUNCTIONS_REQUIRED
476
+
477
+
478
+
479
+ _CRT_END_C_HEADER
480
+ _UCRT_RESTORE_CLANG_WARNINGS
481
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_wstring.h ADDED
@@ -0,0 +1,641 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // corecrt_wstring.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // This file declares the wide character (wchar_t) string functionality, shared
7
+ // by <string.h> and <wchar.h>.
8
+ //
9
+ #pragma once
10
+
11
+ #include <corecrt.h>
12
+ #include <vcruntime_string.h>
13
+
14
+ #pragma warning(push)
15
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
16
+ _UCRT_DISABLE_CLANG_WARNINGS
17
+
18
+ #ifndef __midl
19
+
20
+ _CRT_BEGIN_C_HEADER
21
+
22
+
23
+
24
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
25
+ //
26
+ // Secure Alternatives
27
+ //
28
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
29
+ #if __STDC_WANT_SECURE_LIB__
30
+
31
+ _Check_return_wat_
32
+ _ACRTIMP errno_t __cdecl wcscat_s(
33
+ _Inout_updates_z_(_SizeInWords) wchar_t* _Destination,
34
+ _In_ rsize_t _SizeInWords,
35
+ _In_z_ wchar_t const* _Source
36
+ );
37
+
38
+ _Check_return_wat_
39
+ _ACRTIMP errno_t __cdecl wcscpy_s(
40
+ _Out_writes_z_(_SizeInWords) wchar_t* _Destination,
41
+ _In_ rsize_t _SizeInWords,
42
+ _In_z_ wchar_t const* _Source
43
+ );
44
+
45
+ _Check_return_wat_
46
+ _ACRTIMP errno_t __cdecl wcsncat_s(
47
+ _Inout_updates_z_(_SizeInWords) wchar_t* _Destination,
48
+ _In_ rsize_t _SizeInWords,
49
+ _In_reads_or_z_(_MaxCount) wchar_t const* _Source,
50
+ _In_ rsize_t _MaxCount
51
+ );
52
+
53
+ _Check_return_wat_
54
+ _ACRTIMP errno_t __cdecl wcsncpy_s(
55
+ _Out_writes_z_(_SizeInWords) wchar_t* _Destination,
56
+ _In_ rsize_t _SizeInWords,
57
+ _In_reads_or_z_(_MaxCount) wchar_t const* _Source,
58
+ _In_ rsize_t _MaxCount
59
+ );
60
+
61
+ _Check_return_
62
+ _ACRTIMP wchar_t* __cdecl wcstok_s(
63
+ _Inout_opt_z_ wchar_t* _String,
64
+ _In_z_ wchar_t const* _Delimiter,
65
+ _Inout_ _Deref_prepost_opt_z_ wchar_t** _Context
66
+ );
67
+
68
+ #endif // __STDC_WANT_SECURE_LIB__
69
+
70
+
71
+
72
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
73
+ //
74
+ // Wide-Character <string.h> Functions
75
+ //
76
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
77
+ #if defined _DEBUG && defined _CRTDBG_MAP_ALLOC
78
+ #pragma push_macro("_wcsdup")
79
+ #undef _wcsdup
80
+ #endif
81
+
82
+ _Check_return_
83
+ _ACRTIMP _CRTALLOCATOR wchar_t* __cdecl _wcsdup(
84
+ _In_z_ wchar_t const* _String
85
+ );
86
+
87
+ #if defined _DEBUG && defined _CRTDBG_MAP_ALLOC
88
+ #pragma pop_macro("_wcsdup")
89
+ #endif
90
+
91
+
92
+
93
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(
94
+ errno_t, wcscat_s,
95
+ wchar_t, _Destination,
96
+ _In_z_ wchar_t const*, _Source
97
+ )
98
+
99
+ #ifndef RC_INVOKED
100
+ __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1(
101
+ wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, wcscat,
102
+ _Inout_updates_z_(_String_length_(_Destination) + _String_length_(_Source) + 1), wchar_t, _Destination,
103
+ _In_z_ wchar_t const*, _Source
104
+ )
105
+ #endif
106
+
107
+ _Check_return_
108
+ _ACRTIMP int __cdecl wcscmp(
109
+ _In_z_ wchar_t const* _String1,
110
+ _In_z_ wchar_t const* _String2
111
+ );
112
+
113
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(
114
+ errno_t, wcscpy_s,
115
+ wchar_t, _Destination,
116
+ _In_z_ wchar_t const*, _Source
117
+ )
118
+
119
+ __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1(
120
+ wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, wcscpy,
121
+ _Out_writes_z_(_String_length_(_Source) + 1), wchar_t, _Destination,
122
+ _In_z_ wchar_t const*, _Source
123
+ )
124
+
125
+ _Check_return_
126
+ _ACRTIMP size_t __cdecl wcscspn(
127
+ _In_z_ wchar_t const* _String,
128
+ _In_z_ wchar_t const* _Control
129
+ );
130
+
131
+ _Check_return_
132
+ _ACRTIMP size_t __cdecl wcslen(
133
+ _In_z_ wchar_t const* _String
134
+ );
135
+
136
+ _Check_return_
137
+ _When_(
138
+ _MaxCount > _String_length_(_Source),
139
+ _Post_satisfies_(return == _String_length_(_Source))
140
+ )
141
+ _When_(
142
+ _MaxCount <= _String_length_(_Source),
143
+ _Post_satisfies_(return == _MaxCount)
144
+ )
145
+ _ACRTIMP size_t __cdecl wcsnlen(
146
+ _In_reads_or_z_(_MaxCount) wchar_t const* _Source,
147
+ _In_ size_t _MaxCount
148
+ );
149
+
150
+ #if __STDC_WANT_SECURE_LIB__ && !defined(__midl)
151
+
152
+ _Check_return_
153
+ _When_(
154
+ _MaxCount > _String_length_(_Source),
155
+ _Post_satisfies_(return == _String_length_(_Source))
156
+ )
157
+ _When_(
158
+ _MaxCount <= _String_length_(_Source),
159
+ _Post_satisfies_(return == _MaxCount)
160
+ )
161
+ static __inline size_t __CRTDECL wcsnlen_s(
162
+ _In_reads_or_z_(_MaxCount) wchar_t const* _Source,
163
+ _In_ size_t _MaxCount
164
+ )
165
+ {
166
+ return (_Source == 0) ? 0 : wcsnlen(_Source, _MaxCount);
167
+ }
168
+
169
+ #endif // __STDC_WANT_SECURE_LIB__ && !defined(__midl)
170
+
171
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(
172
+ errno_t, wcsncat_s,
173
+ _Prepost_z_ wchar_t, _Destination,
174
+ _In_reads_or_z_(_Count) wchar_t const*, _Source,
175
+ _In_ size_t, _Count
176
+ )
177
+
178
+ __DEFINE_CPP_OVERLOAD_STANDARD_NFUNC_0_2_EX(
179
+ wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, wcsncat, wcsncat_s,
180
+ _Inout_updates_z_(_Size) wchar_t,
181
+ _Inout_updates_z_(_Count), wchar_t, _Destination,
182
+ _In_reads_or_z_(_Count) wchar_t const*, _Source,
183
+ _In_ size_t, _Count
184
+ )
185
+
186
+ _Check_return_
187
+ _ACRTIMP int __cdecl wcsncmp(
188
+ _In_reads_or_z_(_MaxCount) wchar_t const* _String1,
189
+ _In_reads_or_z_(_MaxCount) wchar_t const* _String2,
190
+ _In_ size_t _MaxCount
191
+ );
192
+
193
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(
194
+ errno_t, wcsncpy_s,
195
+ wchar_t, _Destination,
196
+ _In_reads_or_z_(_Count) wchar_t const*, _Source,
197
+ _In_ size_t, _Count
198
+ )
199
+
200
+ __DEFINE_CPP_OVERLOAD_STANDARD_NFUNC_0_2_EX(
201
+ wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, wcsncpy, wcsncpy_s,
202
+ _Pre_notnull_ _Post_maybez_ wchar_t,
203
+ _Out_writes_(_Count) _Post_maybez_, wchar_t, _Destination,
204
+ _In_reads_or_z_(_Count) wchar_t const*, _Source,
205
+ _In_ size_t, _Count
206
+ )
207
+
208
+ _Check_return_
209
+ _ACRTIMP wchar_t _CONST_RETURN* __cdecl wcspbrk(
210
+ _In_z_ wchar_t const* _String,
211
+ _In_z_ wchar_t const* _Control
212
+ );
213
+
214
+ _Check_return_
215
+ _ACRTIMP size_t __cdecl wcsspn(
216
+ _In_z_ wchar_t const* _String,
217
+ _In_z_ wchar_t const* _Control
218
+ );
219
+
220
+ _Check_return_ _CRT_INSECURE_DEPRECATE(wcstok_s)
221
+ _ACRTIMP wchar_t* __cdecl wcstok(
222
+ _Inout_opt_z_ wchar_t* _String,
223
+ _In_z_ wchar_t const* _Delimiter,
224
+ _Inout_opt_ _Deref_prepost_opt_z_ wchar_t** _Context
225
+ );
226
+
227
+ #if !defined RC_INVOKED && !defined __midl
228
+
229
+ #if defined _CRT_NON_CONFORMING_WCSTOK
230
+ #define _WCSTOK_DEPRECATED _CRT_INSECURE_DEPRECATE(wcstok_s)
231
+ #else
232
+ #define _WCSTOK_DEPRECATED _CRT_DEPRECATE_TEXT( \
233
+ "wcstok has been changed to conform with the ISO C standard, " \
234
+ "adding an extra context parameter. To use the legacy Microsoft " \
235
+ "wcstok, define _CRT_NON_CONFORMING_WCSTOK.")
236
+ #endif
237
+
238
+ _Check_return_ _CRT_INSECURE_DEPRECATE(wcstok_s)
239
+ static __inline wchar_t* __CRTDECL _wcstok(
240
+ _Inout_opt_z_ wchar_t* const _String,
241
+ _In_z_ wchar_t const* const _Delimiter
242
+ )
243
+ {
244
+ return wcstok(_String, _Delimiter, 0);
245
+ }
246
+
247
+ #if defined _CRT_NON_CONFORMING_WCSTOK && !defined __cplusplus
248
+ #define wcstok _wcstok
249
+ #endif
250
+
251
+ #if defined __cplusplus && !defined _CRT_NO_INLINE_DEPRECATED_WCSTOK
252
+ extern "C++" _Check_return_ _WCSTOK_DEPRECATED
253
+ inline wchar_t* __CRTDECL wcstok(
254
+ _Inout_opt_z_ wchar_t* _String,
255
+ _In_z_ wchar_t const* _Delimiter
256
+ ) throw()
257
+ {
258
+ return wcstok(_String, _Delimiter, 0);
259
+ }
260
+ #endif
261
+
262
+ #endif // !defined RC_INVOKED && !defined __midl
263
+
264
+
265
+
266
+ _Ret_z_
267
+ _Check_return_ _CRT_INSECURE_DEPRECATE(_wcserror_s)
268
+ _ACRTIMP wchar_t* __cdecl _wcserror(
269
+ _In_ int _ErrorNumber
270
+ );
271
+
272
+ _Check_return_wat_
273
+ _ACRTIMP errno_t __cdecl _wcserror_s(
274
+ _Out_writes_opt_z_(_SizeInWords) wchar_t* _Buffer,
275
+ _In_ size_t _SizeInWords,
276
+ _In_ int _ErrorNumber
277
+ );
278
+
279
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(
280
+ errno_t, _wcserror_s,
281
+ wchar_t, _Buffer,
282
+ _In_ int, _Error
283
+ )
284
+
285
+ _Ret_z_
286
+ _Success_(return != 0)
287
+ _Check_return_ _CRT_INSECURE_DEPRECATE(__wcserror_s)
288
+ _ACRTIMP wchar_t* __cdecl __wcserror(
289
+ _In_opt_z_ wchar_t const* _String
290
+ );
291
+
292
+ _Check_return_wat_ _ACRTIMP_ALT errno_t __cdecl __wcserror_s(
293
+ _Out_writes_opt_z_(_SizeInWords) wchar_t* _Buffer,
294
+ _In_ size_t _SizeInWords,
295
+ _In_z_ wchar_t const* _ErrorMessage
296
+ );
297
+
298
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(
299
+ errno_t, __wcserror_s,
300
+ wchar_t, _Buffer,
301
+ _In_z_ wchar_t const*, _ErrorMessage
302
+ )
303
+
304
+ _Check_return_ _ACRTIMP int __cdecl _wcsicmp(
305
+ _In_z_ wchar_t const* _String1,
306
+ _In_z_ wchar_t const* _String2
307
+ );
308
+
309
+ _Check_return_ _ACRTIMP int __cdecl _wcsicmp_l(
310
+ _In_z_ wchar_t const* _String1,
311
+ _In_z_ wchar_t const* _String2,
312
+ _In_opt_ _locale_t _Locale
313
+ );
314
+
315
+ _Check_return_ _ACRTIMP int __cdecl _wcsnicmp(
316
+ _In_reads_or_z_(_MaxCount) wchar_t const* _String1,
317
+ _In_reads_or_z_(_MaxCount) wchar_t const* _String2,
318
+ _In_ size_t _MaxCount
319
+ );
320
+
321
+ _Check_return_ _ACRTIMP int __cdecl _wcsnicmp_l(
322
+ _In_reads_or_z_(_MaxCount) wchar_t const* _String1,
323
+ _In_reads_or_z_(_MaxCount) wchar_t const* _String2,
324
+ _In_ size_t _MaxCount,
325
+ _In_opt_ _locale_t _Locale
326
+ );
327
+
328
+ _Check_return_wat_ _ACRTIMP errno_t __cdecl _wcsnset_s(
329
+ _Inout_updates_z_(_SizeInWords) wchar_t* _Destination,
330
+ _In_ size_t _SizeInWords,
331
+ _In_ wchar_t _Value,
332
+ _In_ size_t _MaxCount
333
+ );
334
+
335
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(
336
+ errno_t, _wcsnset_s,
337
+ _Prepost_z_ wchar_t, _Destination,
338
+ _In_ wchar_t, _Value,
339
+ _In_ size_t, _MaxCount
340
+ )
341
+
342
+ __DEFINE_CPP_OVERLOAD_STANDARD_NFUNC_0_2_EX(
343
+ wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, _wcsnset, _wcsnset_s,
344
+ _Inout_updates_z_(_Size) wchar_t,
345
+ _Inout_updates_z_(_MaxCount), wchar_t, _String,
346
+ _In_ wchar_t, _Value,
347
+ _In_ size_t, _MaxCount
348
+ )
349
+
350
+ _ACRTIMP wchar_t* __cdecl _wcsrev(
351
+ _Inout_z_ wchar_t* _String
352
+ );
353
+
354
+ _Check_return_wat_ _ACRTIMP errno_t __cdecl _wcsset_s(
355
+ _Inout_updates_z_(_SizeInWords) wchar_t* _Destination,
356
+ _In_ size_t _SizeInWords,
357
+ _In_ wchar_t _Value
358
+ );
359
+
360
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(
361
+ errno_t, _wcsset_s,
362
+ _Prepost_z_ wchar_t, _String,
363
+ _In_ wchar_t, _Value
364
+ )
365
+
366
+ __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_EX(
367
+ wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, _wcsset, _wcsset_s,
368
+ _Inout_updates_z_(_Size) wchar_t,
369
+ _Inout_z_, wchar_t, _String,
370
+ _In_ wchar_t, _Value
371
+ )
372
+
373
+ _Check_return_wat_ _ACRTIMP errno_t __cdecl _wcslwr_s(
374
+ _Inout_updates_z_(_SizeInWords) wchar_t* _String,
375
+ _In_ size_t _SizeInWords
376
+ );
377
+
378
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(
379
+ errno_t, _wcslwr_s,
380
+ _Prepost_z_ wchar_t, _String
381
+ )
382
+
383
+ __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(
384
+ wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, _wcslwr,
385
+ _Inout_z_, wchar_t, _String
386
+ )
387
+
388
+ _Check_return_wat_
389
+ _ACRTIMP errno_t __cdecl _wcslwr_s_l(
390
+ _Inout_updates_z_(_SizeInWords) wchar_t* _String,
391
+ _In_ size_t _SizeInWords,
392
+ _In_opt_ _locale_t _Locale
393
+ );
394
+
395
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(
396
+ errno_t, _wcslwr_s_l,
397
+ _Prepost_z_ wchar_t, _String,
398
+ _In_opt_ _locale_t, _Locale
399
+ )
400
+
401
+ __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_EX(
402
+ wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, _wcslwr_l, _wcslwr_s_l,
403
+ _Inout_updates_z_(_Size) wchar_t,
404
+ _Inout_z_, wchar_t, _String,
405
+ _In_opt_ _locale_t, _Locale
406
+ )
407
+
408
+ _Check_return_wat_
409
+ _ACRTIMP errno_t __cdecl _wcsupr_s(
410
+ _Inout_updates_z_(_Size) wchar_t* _String,
411
+ _In_ size_t _Size
412
+ );
413
+
414
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(
415
+ errno_t, _wcsupr_s,
416
+ _Prepost_z_ wchar_t, _String
417
+ )
418
+
419
+ __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(
420
+ wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, _wcsupr,
421
+ _Inout_z_, wchar_t, _String
422
+ )
423
+
424
+ _Check_return_wat_
425
+ _ACRTIMP errno_t __cdecl _wcsupr_s_l(
426
+ _Inout_updates_z_(_Size) wchar_t* _String,
427
+ _In_ size_t _Size,
428
+ _In_opt_ _locale_t _Locale
429
+ );
430
+
431
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(
432
+ errno_t, _wcsupr_s_l,
433
+ _Prepost_z_ wchar_t, _String,
434
+ _In_opt_ _locale_t, _Locale
435
+ )
436
+
437
+ __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_EX(
438
+ wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, _wcsupr_l, _wcsupr_s_l,
439
+ _Inout_updates_z_(_Size) wchar_t,
440
+ _Inout_z_, wchar_t, _String,
441
+ _In_opt_ _locale_t, _Locale
442
+ )
443
+
444
+ _Success_(return < _MaxCount)
445
+ _Check_return_opt_
446
+ _ACRTIMP size_t __cdecl wcsxfrm(
447
+ _Out_writes_opt_(_MaxCount) _Post_maybez_ wchar_t* _Destination,
448
+ _In_z_ wchar_t const* _Source,
449
+ _In_ _In_range_(<= ,_CRT_INT_MAX) size_t _MaxCount
450
+ );
451
+
452
+ _Success_(return < _MaxCount)
453
+ _Check_return_opt_
454
+ _ACRTIMP size_t __cdecl _wcsxfrm_l(
455
+ _Out_writes_opt_(_MaxCount) _Post_maybez_ wchar_t* _Destination,
456
+ _In_z_ wchar_t const* _Source,
457
+ _In_ _In_range_(<= ,_CRT_INT_MAX) size_t _MaxCount,
458
+ _In_opt_ _locale_t _Locale
459
+ );
460
+
461
+ _Check_return_
462
+ _ACRTIMP int __cdecl wcscoll(
463
+ _In_z_ wchar_t const* _String1,
464
+ _In_z_ wchar_t const* _String2
465
+ );
466
+
467
+ _Check_return_
468
+ _ACRTIMP int __cdecl _wcscoll_l(
469
+ _In_z_ wchar_t const* _String1,
470
+ _In_z_ wchar_t const* _String2,
471
+ _In_opt_ _locale_t _Locale
472
+ );
473
+
474
+ _Check_return_
475
+ _ACRTIMP int __cdecl _wcsicoll(
476
+ _In_z_ wchar_t const* _String1,
477
+ _In_z_ wchar_t const* _String2
478
+ );
479
+
480
+ _Check_return_
481
+ _ACRTIMP int __cdecl _wcsicoll_l(
482
+ _In_z_ wchar_t const* _String1,
483
+ _In_z_ wchar_t const* _String2,
484
+ _In_opt_ _locale_t _Locale
485
+ );
486
+
487
+ _Check_return_
488
+ _ACRTIMP int __cdecl _wcsncoll(
489
+ _In_reads_or_z_(_MaxCount) wchar_t const* _String1,
490
+ _In_reads_or_z_(_MaxCount) wchar_t const* _String2,
491
+ _In_ size_t _MaxCount
492
+ );
493
+
494
+ _Check_return_
495
+ _ACRTIMP int __cdecl _wcsncoll_l(
496
+ _In_reads_or_z_(_MaxCount) wchar_t const* _String1,
497
+ _In_reads_or_z_(_MaxCount) wchar_t const* _String2,
498
+ _In_ size_t _MaxCount,
499
+ _In_opt_ _locale_t _Locale
500
+ );
501
+
502
+ _Check_return_
503
+ _ACRTIMP int __cdecl _wcsnicoll(
504
+ _In_reads_or_z_(_MaxCount) wchar_t const* _String1,
505
+ _In_reads_or_z_(_MaxCount) wchar_t const* _String2,
506
+ _In_ size_t _MaxCount
507
+ );
508
+
509
+ _Check_return_
510
+ _ACRTIMP int __cdecl _wcsnicoll_l(
511
+ _In_reads_or_z_(_MaxCount) wchar_t const* _String1,
512
+ _In_reads_or_z_(_MaxCount) wchar_t const* _String2,
513
+ _In_ size_t _MaxCount,
514
+ _In_opt_ _locale_t _Locale
515
+ );
516
+
517
+
518
+
519
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
520
+ //
521
+ // Inline C++ Overloads
522
+ //
523
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
524
+ #ifdef __cplusplus
525
+ extern "C++" {
526
+
527
+ _Check_return_
528
+ _When_(return != NULL, _Ret_range_(_String, _String+_String_length_(_String)-1))
529
+ inline wchar_t* __CRTDECL wcschr(_In_z_ wchar_t* _String, wchar_t _C)
530
+ {
531
+ return const_cast<wchar_t*>(wcschr(static_cast<wchar_t const*>(_String), _C));
532
+ }
533
+
534
+ _Check_return_
535
+ inline wchar_t* __CRTDECL wcspbrk(_In_z_ wchar_t* _String, _In_z_ wchar_t const* _Control)
536
+ {
537
+ return const_cast<wchar_t*>(wcspbrk(static_cast<wchar_t const*>(_String), _Control));
538
+ }
539
+
540
+ _Check_return_
541
+ inline wchar_t* __CRTDECL wcsrchr(_In_z_ wchar_t* _String, _In_ wchar_t _C)
542
+ {
543
+ return const_cast<wchar_t*>(wcsrchr(static_cast<wchar_t const*>(_String), _C));
544
+ }
545
+
546
+ _Check_return_ _Ret_maybenull_
547
+ _When_(return != NULL, _Ret_range_(_String, _String+_String_length_(_String)-1))
548
+ inline wchar_t* __CRTDECL wcsstr(_In_z_ wchar_t* _String, _In_z_ wchar_t const*_SubStr)
549
+ {
550
+ return const_cast<wchar_t*>(wcsstr(static_cast<wchar_t const*>(_String), _SubStr));
551
+ }
552
+
553
+ }
554
+ #endif // __cplusplus
555
+
556
+
557
+
558
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
559
+ //
560
+ // Non-Standard Names
561
+ //
562
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
563
+ #if defined(_CRT_INTERNAL_NONSTDC_NAMES) && _CRT_INTERNAL_NONSTDC_NAMES
564
+ #if defined _DEBUG && defined _CRTDBG_MAP_ALLOC
565
+ #pragma push_macro("wcsdup")
566
+ #undef wcsdup
567
+ #endif
568
+
569
+ _Check_return_ _CRT_NONSTDC_DEPRECATE(_wcsdup)
570
+ _ACRTIMP wchar_t* __cdecl wcsdup(
571
+ _In_z_ wchar_t const* _String
572
+ );
573
+
574
+ #if defined _DEBUG && defined _CRTDBG_MAP_ALLOC
575
+ #pragma pop_macro("wcsdup")
576
+ #endif
577
+
578
+ // Declarations of functions defined in oldnames.lib:
579
+ #define wcswcs wcsstr
580
+
581
+ _Check_return_ _CRT_NONSTDC_DEPRECATE(_wcsicmp)
582
+ _ACRTIMP int __cdecl wcsicmp(
583
+ _In_z_ wchar_t const* _String1,
584
+ _In_z_ wchar_t const* _String2
585
+ );
586
+
587
+ _Check_return_ _CRT_NONSTDC_DEPRECATE(_wcsnicmp)
588
+ _ACRTIMP int __cdecl wcsnicmp(
589
+ _In_reads_or_z_(_MaxCount) wchar_t const* _String1,
590
+ _In_reads_or_z_(_MaxCount) wchar_t const* _String2,
591
+ _In_ size_t _MaxCount
592
+ );
593
+
594
+ _CRT_NONSTDC_DEPRECATE(_wcsnset)
595
+ _Ret_z_
596
+ _ACRTIMP wchar_t* __cdecl wcsnset(
597
+ _Inout_updates_z_(_MaxCount) wchar_t* _String,
598
+ _In_ wchar_t _Value,
599
+ _In_ size_t _MaxCount
600
+ );
601
+
602
+ _CRT_NONSTDC_DEPRECATE(_wcsrev)
603
+ _Ret_z_
604
+ _ACRTIMP wchar_t* __cdecl wcsrev(
605
+ _Inout_z_ wchar_t* _String
606
+ );
607
+
608
+ _CRT_NONSTDC_DEPRECATE(_wcsset)
609
+ _Ret_z_
610
+ _ACRTIMP wchar_t* __cdecl wcsset(
611
+ _Inout_z_ wchar_t* _String,
612
+ _In_ wchar_t _Value
613
+ );
614
+
615
+ _CRT_NONSTDC_DEPRECATE(_wcslwr)
616
+ _Ret_z_
617
+ _ACRTIMP wchar_t* __cdecl wcslwr(
618
+ _Inout_z_ wchar_t* _String
619
+ );
620
+
621
+ _CRT_NONSTDC_DEPRECATE(_wcsupr)
622
+ _Ret_z_
623
+ _ACRTIMP wchar_t* __cdecl wcsupr(
624
+ _Inout_z_ wchar_t* _String
625
+ );
626
+
627
+ _Check_return_ _CRT_NONSTDC_DEPRECATE(_wcsicoll)
628
+ _ACRTIMP int __cdecl wcsicoll(
629
+ _In_z_ wchar_t const* _String1,
630
+ _In_z_ wchar_t const* _String2
631
+ );
632
+
633
+ #endif // _CRT_INTERNAL_NONSTDC_NAMES
634
+
635
+
636
+
637
+ _CRT_END_C_HEADER
638
+
639
+ #endif // !__midl
640
+ _UCRT_RESTORE_CLANG_WARNINGS
641
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/corecrt_wtime.h ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // corecrt_wtime.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // This file declares the wide character (wchar_t) time functionality, shared
7
+ // by <time.h> and <wchar.h>.
8
+ //
9
+ #pragma once
10
+
11
+ #include <corecrt.h>
12
+
13
+ #pragma warning(push)
14
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
15
+ _UCRT_DISABLE_CLANG_WARNINGS
16
+
17
+ _CRT_BEGIN_C_HEADER
18
+
19
+
20
+
21
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
22
+ //
23
+ // Types
24
+ //
25
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
26
+ struct tm
27
+ {
28
+ int tm_sec; // seconds after the minute - [0, 60] including leap second
29
+ int tm_min; // minutes after the hour - [0, 59]
30
+ int tm_hour; // hours since midnight - [0, 23]
31
+ int tm_mday; // day of the month - [1, 31]
32
+ int tm_mon; // months since January - [0, 11]
33
+ int tm_year; // years since 1900
34
+ int tm_wday; // days since Sunday - [0, 6]
35
+ int tm_yday; // days since January 1 - [0, 365]
36
+ int tm_isdst; // daylight savings time flag
37
+ };
38
+
39
+
40
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
41
+ //
42
+ // Wide String Time Functions
43
+ //
44
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
45
+ _Check_return_ _CRT_INSECURE_DEPRECATE(_wasctime_s)
46
+ _Success_(return != 0)
47
+ _Ret_writes_z_(26)
48
+ _ACRTIMP wchar_t* __cdecl _wasctime(
49
+ _In_ struct tm const* _Tm
50
+ );
51
+
52
+ _Success_(return == 0)
53
+ _Check_return_wat_
54
+ _ACRTIMP errno_t __cdecl _wasctime_s(
55
+ _Out_writes_z_(_SizeInWords) _Post_readable_size_(26) wchar_t* _Buffer,
56
+ _In_range_(>=,26) size_t _SizeInWords,
57
+ _In_ struct tm const* _Tm
58
+ );
59
+
60
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(
61
+ _Success_(return == 0)
62
+ errno_t, _wasctime_s,
63
+ _Post_readable_size_(26) wchar_t, _Buffer,
64
+ _In_ struct tm const*, _Time
65
+ )
66
+
67
+ _Success_(return > 0)
68
+ _Check_return_wat_
69
+ _ACRTIMP size_t __cdecl wcsftime(
70
+ _Out_writes_z_(_SizeInWords) wchar_t* _Buffer,
71
+ _In_ size_t _SizeInWords,
72
+ _In_z_ wchar_t const* _Format,
73
+ _In_ struct tm const* _Tm
74
+ );
75
+
76
+ _Success_(return > 0)
77
+ _Check_return_wat_
78
+ _ACRTIMP size_t __cdecl _wcsftime_l(
79
+ _Out_writes_z_(_SizeInWords) wchar_t* _Buffer,
80
+ _In_ size_t _SizeInWords,
81
+ _In_z_ wchar_t const* _Format,
82
+ _In_ struct tm const* _Tm,
83
+ _In_opt_ _locale_t _Locale
84
+ );
85
+
86
+ _Success_(return != 0)
87
+ _Check_return_ _CRT_INSECURE_DEPRECATE(_wctime32_s)
88
+ _ACRTIMP wchar_t* __cdecl _wctime32(
89
+ _In_ __time32_t const* _Time
90
+ );
91
+
92
+ _Check_return_wat_
93
+ _ACRTIMP errno_t __cdecl _wctime32_s(
94
+ _Out_writes_z_(_SizeInWords) _Post_readable_size_(26) wchar_t* _Buffer,
95
+ _In_ _In_range_(>=, 26) size_t _SizeInWords,
96
+ _In_ __time32_t const* _Time
97
+ );
98
+
99
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(
100
+ errno_t, _wctime32_s,
101
+ _Post_readable_size_(26) wchar_t, _Buffer,
102
+ _In_ __time32_t const*, _Time
103
+ )
104
+
105
+ _Success_(return != 0)
106
+ _Ret_writes_z_(26)
107
+ _Check_return_ _CRT_INSECURE_DEPRECATE(_wctime64_s)
108
+ _ACRTIMP wchar_t* __cdecl _wctime64(
109
+ _In_ __time64_t const* _Time
110
+ );
111
+
112
+ _Check_return_wat_
113
+ _ACRTIMP errno_t __cdecl _wctime64_s(
114
+ _Out_writes_z_(_SizeInWords) _Post_readable_size_(26) wchar_t* _Buffer,
115
+ _In_ _In_range_(>=, 26) size_t _SizeInWords,
116
+ _In_ __time64_t const* _Time);
117
+
118
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(
119
+ errno_t, _wctime64_s,
120
+ _Post_readable_size_(26) wchar_t, _Buffer,
121
+ _In_ __time64_t const*, _Time
122
+ )
123
+
124
+ _Check_return_wat_
125
+ _ACRTIMP errno_t __cdecl _wstrdate_s(
126
+ _Out_writes_z_(_SizeInWords) _When_(_SizeInWords >=9, _Post_readable_size_(9)) wchar_t* _Buffer,
127
+ _In_ size_t _SizeInWords
128
+ );
129
+
130
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(
131
+ errno_t, _wstrdate_s,
132
+ _Post_readable_size_(9) wchar_t, _Buffer
133
+ )
134
+
135
+ __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(
136
+ _Success_(return != 0) _Ret_writes_z_(9) wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, _wstrdate,
137
+ _Out_writes_z_(9), wchar_t, _Buffer
138
+ )
139
+
140
+ _Check_return_wat_
141
+ _ACRTIMP errno_t __cdecl _wstrtime_s(
142
+ _Out_writes_z_(_SizeInWords) _When_(_SizeInWords >=9, _Post_readable_size_(9)) wchar_t* _Buffer,
143
+ _In_ size_t _SizeInWords
144
+ );
145
+
146
+ __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(
147
+ errno_t, _wstrtime_s,
148
+ _Post_readable_size_(9) wchar_t, _Buffer
149
+ )
150
+
151
+ __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(
152
+ _Success_(return != 0) _Ret_writes_z_(9) wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, _wstrtime,
153
+ _Out_writes_z_(9), wchar_t, _Buffer
154
+ )
155
+
156
+
157
+
158
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
159
+ //
160
+ // Inline Definitions
161
+ //
162
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
163
+ #if !defined RC_INVOKED && !defined __midl && !defined _INC_WTIME_INL && !defined _CRT_NO_TIME_T
164
+ #ifdef _USE_32BIT_TIME_T
165
+
166
+ _Check_return_
167
+ static __inline wchar_t* __CRTDECL _wctime(
168
+ _In_ time_t const* const _Time
169
+ )
170
+ {
171
+ return _wctime32(_Time);
172
+ }
173
+
174
+ _Check_return_wat_
175
+ static __inline errno_t __CRTDECL _wctime_s(
176
+ _Pre_notnull_ _Post_z_ _Out_writes_z_(_SizeInWords) wchar_t* const _Buffer,
177
+ _In_ size_t const _SizeInWords,
178
+ _In_ time_t const* const _Time)
179
+ {
180
+ return _wctime32_s(_Buffer, _SizeInWords, _Time);
181
+ }
182
+
183
+ #else // ^^^ _USE_32BIT_TIME_T ^^^ // vvv !_USE_32BIT_TIME_T vvv //
184
+
185
+ _Check_return_
186
+ static __inline wchar_t * __CRTDECL _wctime(
187
+ _In_ time_t const* const _Time)
188
+ {
189
+ return _wctime64(_Time);
190
+ }
191
+
192
+ _Check_return_wat_
193
+ static __inline errno_t __CRTDECL _wctime_s(
194
+ _Pre_notnull_ _Post_z_ _Out_writes_z_(_SizeInWords) wchar_t* const _Buffer,
195
+ _In_ size_t const _SizeInWords,
196
+ _In_ time_t const* const _Time
197
+ )
198
+ {
199
+ return _wctime64_s(_Buffer, _SizeInWords, _Time);
200
+ }
201
+
202
+ #endif // !_USE_32BIT_TIME_T
203
+ #endif
204
+
205
+ _CRT_END_C_HEADER
206
+ _UCRT_RESTORE_CLANG_WARNINGS
207
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/crtdbg.h ADDED
@@ -0,0 +1,816 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // crtdbg.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // Public debugging facilities for the CRT
7
+ //
8
+ #pragma once
9
+ #ifndef _INC_CRTDBG // include guard for 3rd party interop
10
+ #define _INC_CRTDBG
11
+
12
+ #include <corecrt.h>
13
+ #include <vcruntime_new_debug.h>
14
+
15
+ #pragma warning(push)
16
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
17
+ _UCRT_DISABLE_CLANG_WARNINGS
18
+
19
+ _CRT_BEGIN_C_HEADER
20
+
21
+
22
+
23
+ typedef void* _HFILE; // file handle pointer
24
+
25
+ #define _CRT_WARN 0
26
+ #define _CRT_ERROR 1
27
+ #define _CRT_ASSERT 2
28
+ #define _CRT_ERRCNT 3
29
+
30
+ #define _CRTDBG_MODE_FILE 0x1
31
+ #define _CRTDBG_MODE_DEBUG 0x2
32
+ #define _CRTDBG_MODE_WNDW 0x4
33
+ #define _CRTDBG_REPORT_MODE -1
34
+
35
+ #define _CRTDBG_INVALID_HFILE ((_HFILE)(intptr_t)-1)
36
+ #define _CRTDBG_HFILE_ERROR ((_HFILE)(intptr_t)-2)
37
+ #define _CRTDBG_FILE_STDOUT ((_HFILE)(intptr_t)-4)
38
+ #define _CRTDBG_FILE_STDERR ((_HFILE)(intptr_t)-5)
39
+ #define _CRTDBG_REPORT_FILE ((_HFILE)(intptr_t)-6)
40
+
41
+
42
+
43
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
44
+ //
45
+ // Client-defined reporting and allocation hooks
46
+ //
47
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
48
+
49
+ typedef int (__CRTDECL* _CRT_REPORT_HOOK )(int, char*, int*);
50
+ typedef int (__CRTDECL* _CRT_REPORT_HOOKW)(int, wchar_t*, int*);
51
+
52
+ #define _CRT_RPTHOOK_INSTALL 0
53
+ #define _CRT_RPTHOOK_REMOVE 1
54
+
55
+
56
+ typedef int (__CRTDECL* _CRT_ALLOC_HOOK)(int, void*, size_t, int, long, unsigned char const*, int);
57
+
58
+ #ifdef _M_CEE
59
+ typedef int (__clrcall* _CRT_ALLOC_HOOK_M)(int, void*, size_t, int, long, unsigned char const*, int);
60
+ #endif
61
+
62
+ #define _HOOK_ALLOC 1
63
+ #define _HOOK_REALLOC 2
64
+ #define _HOOK_FREE 3
65
+
66
+
67
+
68
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
69
+ //
70
+ // Memory Management and State Tracking
71
+ //
72
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
73
+
74
+ // Bit values for _crtDbgFlag flag. These bitflags control debug heap behavior.
75
+ #define _CRTDBG_ALLOC_MEM_DF 0x01 // Turn on debug allocation
76
+ #define _CRTDBG_DELAY_FREE_MEM_DF 0x02 // Don't actually free memory
77
+ #define _CRTDBG_CHECK_ALWAYS_DF 0x04 // Check heap every alloc/dealloc
78
+ #define _CRTDBG_RESERVED_DF 0x08 // Reserved - do not use
79
+ #define _CRTDBG_CHECK_CRT_DF 0x10 // Leak check/diff CRT blocks
80
+ #define _CRTDBG_LEAK_CHECK_DF 0x20 // Leak check at program exit
81
+
82
+ // Some bit values for _crtDbgFlag which correspond to frequencies for checking
83
+ // the heap.
84
+ #define _CRTDBG_CHECK_EVERY_16_DF 0x00100000 // Check heap every 16 heap ops
85
+ #define _CRTDBG_CHECK_EVERY_128_DF 0x00800000 // Check heap every 128 heap ops
86
+ #define _CRTDBG_CHECK_EVERY_1024_DF 0x04000000 // Check heap every 1024 heap ops
87
+
88
+ // We do not check the heap by default at this point because the cost was too
89
+ // high for some applications. You can still turn this feature on manually.
90
+ #define _CRTDBG_CHECK_DEFAULT_DF 0
91
+
92
+ #define _CRTDBG_REPORT_FLAG -1 // Query bitflag status
93
+
94
+ #define _BLOCK_TYPE(block) (block & 0xFFFF)
95
+ #define _BLOCK_SUBTYPE(block) (block >> 16 & 0xFFFF)
96
+
97
+ // Memory block identification
98
+ #define _FREE_BLOCK 0
99
+ #define _NORMAL_BLOCK 1
100
+ #define _CRT_BLOCK 2
101
+ #define _IGNORE_BLOCK 3
102
+ #define _CLIENT_BLOCK 4
103
+ #define _MAX_BLOCKS 5
104
+
105
+ // _UNKNOWN_BLOCK is a sentinel value that may be passed to some functions that
106
+ // expect a block type as an argument. If this value is passed, those functions
107
+ // will use the block type specified in the block header instead. This is used
108
+ // in cases where the heap lock cannot be acquired to compute the block type
109
+ // before calling the function (e.g. when the caller is outside of the CoreCRT).
110
+ #define _UNKNOWN_BLOCK (-1)
111
+
112
+ typedef void (__CRTDECL* _CRT_DUMP_CLIENT)(void*, size_t);
113
+
114
+ #ifdef _M_CEE
115
+ typedef void (__clrcall* _CRT_DUMP_CLIENT_M)(void*, size_t);
116
+ #endif
117
+
118
+ struct _CrtMemBlockHeader;
119
+
120
+ typedef struct _CrtMemState
121
+ {
122
+ struct _CrtMemBlockHeader* pBlockHeader;
123
+ size_t lCounts[_MAX_BLOCKS];
124
+ size_t lSizes[_MAX_BLOCKS];
125
+ size_t lHighWaterCount;
126
+ size_t lTotalCount;
127
+ } _CrtMemState;
128
+
129
+ #ifndef _DEBUG
130
+
131
+ #define _CrtGetAllocHook() ((_CRT_ALLOC_HOOK)0)
132
+ #define _CrtSetAllocHook(f) ((_CRT_ALLOC_HOOK)0)
133
+
134
+ #define _CrtGetDumpClient() ((_CRT_DUMP_CLIENT)0)
135
+ #define _CrtSetDumpClient(f) ((_CRT_DUMP_CLIENT)0)
136
+
137
+ #define _CrtCheckMemory() ((int)1)
138
+ #define _CrtDoForAllClientObjects(f, c) ((void)0)
139
+ #define _CrtDumpMemoryLeaks() ((int)0)
140
+ #define _CrtIsMemoryBlock(p, t, r, f, l) ((int)1)
141
+ #define _CrtIsValidHeapPointer(p) ((int)1)
142
+ #define _CrtIsValidPointer(p, n, r) ((int)1)
143
+ #define _CrtMemCheckpoint(s) ((void)0)
144
+ #define _CrtMemDifference(s1, s2, s3) ((int)0)
145
+ #define _CrtMemDumpAllObjectsSince(s) ((void)0)
146
+ #define _CrtMemDumpStatistics(s) ((void)0)
147
+ #define _CrtReportBlockType(p) ((int)-1)
148
+ #define _CrtSetBreakAlloc(a) ((long)0)
149
+ #define _CrtSetDbgFlag(f) ((int)0)
150
+
151
+
152
+ #else // ^^^ !_DEBUG ^^^ // vvv _DEBUG vvv //
153
+
154
+ #ifndef _M_CEE_PURE
155
+
156
+ _ACRTIMP int* __cdecl __p__crtDbgFlag(void);
157
+ _ACRTIMP long* __cdecl __p__crtBreakAlloc(void);
158
+
159
+ #define _crtDbgFlag (*__p__crtDbgFlag())
160
+ #define _crtBreakAlloc (*__p__crtBreakAlloc())
161
+
162
+ _ACRTIMP _CRT_ALLOC_HOOK __cdecl _CrtGetAllocHook(void);
163
+
164
+ _ACRTIMP _CRT_ALLOC_HOOK __cdecl _CrtSetAllocHook(
165
+ _In_opt_ _CRT_ALLOC_HOOK _PfnNewHook
166
+ );
167
+
168
+ _ACRTIMP _CRT_DUMP_CLIENT __cdecl _CrtGetDumpClient(void);
169
+
170
+ _ACRTIMP _CRT_DUMP_CLIENT __cdecl _CrtSetDumpClient(
171
+ _In_opt_ _CRT_DUMP_CLIENT _PFnNewDump
172
+ );
173
+
174
+ #endif // _M_CEE_PURE
175
+
176
+ _ACRTIMP int __cdecl _CrtCheckMemory(void);
177
+
178
+ typedef void (__cdecl* _CrtDoForAllClientObjectsCallback)(void*, void*);
179
+
180
+ _ACRTIMP void __cdecl _CrtDoForAllClientObjects(
181
+ _In_ _CrtDoForAllClientObjectsCallback _Callback,
182
+ _In_ void* _Context
183
+ );
184
+
185
+ _ACRTIMP int __cdecl _CrtDumpMemoryLeaks(void);
186
+
187
+ _ACRTIMP int __cdecl _CrtIsMemoryBlock(
188
+ _In_opt_ void const* _Block,
189
+ _In_ unsigned int _Size,
190
+ _Out_opt_ long* _RequestNumber,
191
+ _Out_opt_ char** _FileName,
192
+ _Out_opt_ int* _LineNumber
193
+ );
194
+
195
+ _Check_return_
196
+ _ACRTIMP int __cdecl _CrtIsValidHeapPointer(
197
+ _In_opt_ void const* _Pointer
198
+ );
199
+
200
+ _Check_return_
201
+ _ACRTIMP int __cdecl _CrtIsValidPointer(
202
+ _In_opt_ void const* _Pointer,
203
+ _In_ unsigned int _Size,
204
+ _In_ int _ReadWrite
205
+ );
206
+
207
+ _ACRTIMP void __cdecl _CrtMemCheckpoint(
208
+ _Out_ _CrtMemState* _State
209
+ );
210
+
211
+ _ACRTIMP int __cdecl _CrtMemDifference(
212
+ _Out_ _CrtMemState* _State,
213
+ _In_ _CrtMemState const* _OldState,
214
+ _In_ _CrtMemState const* _NewState
215
+ );
216
+
217
+ _ACRTIMP void __cdecl _CrtMemDumpAllObjectsSince(
218
+ _In_opt_ _CrtMemState const* _State
219
+ );
220
+
221
+ _ACRTIMP void __cdecl _CrtMemDumpStatistics(
222
+ _In_ _CrtMemState const* _State
223
+ );
224
+
225
+ _Check_return_
226
+ _ACRTIMP int __cdecl _CrtReportBlockType(
227
+ _In_opt_ void const* _Block
228
+ );
229
+
230
+ _ACRTIMP long __cdecl _CrtSetBreakAlloc(
231
+ _In_ long _NewValue
232
+ );
233
+
234
+ _ACRTIMP int __cdecl _CrtSetDbgFlag(
235
+ _In_ int _NewFlag
236
+ );
237
+
238
+ #endif // _DEBUG
239
+
240
+
241
+
242
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
243
+ //
244
+ // Debug Heap Routines
245
+ //
246
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
247
+ #ifndef _DEBUG
248
+
249
+ #define _calloc_dbg(c, s, t, f, l) calloc(c, s)
250
+ #define _expand_dbg(p, s, t, f, l) _expand(p, s)
251
+ #define _free_dbg(p, t) free(p)
252
+ #define _malloc_dbg(s, t, f, l) malloc(s)
253
+ #define _msize_dbg(p, t) _msize(p)
254
+ #define _realloc_dbg(p, s, t, f, l) realloc(p, s)
255
+ #define _recalloc_dbg(p, c, s, t, f, l) _recalloc(p, c, s)
256
+
257
+ #define _aligned_free_dbg(p) _aligned_free(p)
258
+ #define _aligned_malloc_dbg(s, a, f, l) _aligned_malloc(s, a)
259
+ #define _aligned_msize_dbg(p, a, o) _aligned_msize(p, a, o)
260
+ #define _aligned_offset_malloc_dbg(s, a, o, f, l) _aligned_offset_malloc(s, a, o)
261
+ #define _aligned_offset_realloc_dbg(p, s, a, o, f, l) _aligned_offset_realloc(p, s, a, o)
262
+ #define _aligned_offset_recalloc_dbg(p, c, s, a, o, f, l) _aligned_offset_recalloc(p, c, s, a, o)
263
+ #define _aligned_realloc_dbg(p, s, a, f, l) _aligned_realloc(p, s, a)
264
+ #define _aligned_recalloc_dbg(p, c, s, a, f, l) _aligned_recalloc(p, c, s, a)
265
+
266
+ #define _freea_dbg(p, t) _freea(p)
267
+ #define _malloca_dbg(s, t, f, l) _malloca(s)
268
+
269
+ #define _dupenv_s_dbg(ps1, size, s2, t, f, l) _dupenv_s(ps1, size, s2)
270
+ #define _fullpath_dbg(s1, s2, le, t, f, l) _fullpath(s1, s2, le)
271
+ #define _getcwd_dbg(s, le, t, f, l) _getcwd(s, le)
272
+ #define _getdcwd_dbg(d, s, le, t, f, l) _getdcwd(d, s, le)
273
+ #define _getdcwd_lk_dbg(d, s, le, t, f, l) _getdcwd(d, s, le)
274
+ #define _mbsdup_dbg(s, t, f, l) _mbsdup(s)
275
+ #define _strdup_dbg(s, t, f, l) _strdup(s)
276
+ #define _tempnam_dbg(s1, s2, t, f, l) _tempnam(s1, s2)
277
+ #define _wcsdup_dbg(s, t, f, l) _wcsdup(s)
278
+ #define _wdupenv_s_dbg(ps1, size, s2, t, f, l) _wdupenv_s(ps1, size, s2)
279
+ #define _wfullpath_dbg(s1, s2, le, t, f, l) _wfullpath(s1, s2, le)
280
+ #define _wgetcwd_dbg(s, le, t, f, l) _wgetcwd(s, le)
281
+ #define _wgetdcwd_dbg(d, s, le, t, f, l) _wgetdcwd(d, s, le)
282
+ #define _wgetdcwd_lk_dbg(d, s, le, t, f, l) _wgetdcwd(d, s, le)
283
+ #define _wtempnam_dbg(s1, s2, t, f, l) _wtempnam(s1, s2)
284
+
285
+ #else // ^^^ !_DEBUG ^^^ // vvv _DEBUG vvv //
286
+
287
+ #ifdef _CRTDBG_MAP_ALLOC
288
+
289
+ #define calloc(c, s) _calloc_dbg(c, s, _NORMAL_BLOCK, __FILE__, __LINE__)
290
+ #define _expand(p, s) _expand_dbg(p, s, _NORMAL_BLOCK, __FILE__, __LINE__)
291
+ #define free(p) _free_dbg(p, _NORMAL_BLOCK)
292
+ #define malloc(s) _malloc_dbg(s, _NORMAL_BLOCK, __FILE__, __LINE__)
293
+ #define _msize(p) _msize_dbg(p, _NORMAL_BLOCK)
294
+ #define realloc(p, s) _realloc_dbg(p, s, _NORMAL_BLOCK, __FILE__, __LINE__)
295
+ #define _recalloc(p, c, s) _recalloc_dbg(p, c, s, _NORMAL_BLOCK, __FILE__, __LINE__)
296
+
297
+ #define _aligned_free(p) _aligned_free_dbg(p)
298
+ #define _aligned_malloc(s, a) _aligned_malloc_dbg(s, a, __FILE__, __LINE__)
299
+ #define _aligned_msize(p, a, o) _aligned_msize_dbg(p, a, o)
300
+ #define _aligned_offset_malloc(s, a, o) _aligned_offset_malloc_dbg(s, a, o, __FILE__, __LINE__)
301
+ #define _aligned_offset_realloc(p, s, a, o) _aligned_offset_realloc_dbg(p, s, a, o, __FILE__, __LINE__)
302
+ #define _aligned_offset_recalloc(p, c, s, a, o) _aligned_offset_recalloc_dbg(p, c, s, a, o, __FILE__, __LINE__)
303
+ #define _aligned_realloc(p, s, a) _aligned_realloc_dbg(p, s, a, __FILE__, __LINE__)
304
+ #define _aligned_recalloc(p, c, s, a) _aligned_recalloc_dbg(p, c, s, a, __FILE__, __LINE__)
305
+
306
+ #define _freea(p) _freea_dbg(p, _NORMAL_BLOCK)
307
+ #define _malloca(s) _malloca_dbg(s, _NORMAL_BLOCK, __FILE__, __LINE__)
308
+
309
+ #define _dupenv_s(ps1, size, s2) _dupenv_s_dbg(ps1, size, s2, _NORMAL_BLOCK, __FILE__, __LINE__)
310
+ #define _fullpath(s1, s2, le) _fullpath_dbg(s1, s2, le, _NORMAL_BLOCK, __FILE__, __LINE__)
311
+ #define _getcwd(s, le) _getcwd_dbg(s, le, _NORMAL_BLOCK, __FILE__, __LINE__)
312
+ #define _getdcwd(d, s, le) _getdcwd_dbg(d, s, le, _NORMAL_BLOCK, __FILE__, __LINE__)
313
+ #define _mbsdup(s) _strdup_dbg(s, _NORMAL_BLOCK, __FILE__, __LINE__)
314
+ #define _strdup(s) _strdup_dbg(s, _NORMAL_BLOCK, __FILE__, __LINE__)
315
+ #define _tempnam(s1, s2) _tempnam_dbg(s1, s2, _NORMAL_BLOCK, __FILE__, __LINE__)
316
+ #define _wcsdup(s) _wcsdup_dbg(s, _NORMAL_BLOCK, __FILE__, __LINE__)
317
+ #define _wdupenv_s(ps1, size, s2) _wdupenv_s_dbg(ps1, size, s2, _NORMAL_BLOCK, __FILE__, __LINE__)
318
+ #define _wfullpath(s1, s2, le) _wfullpath_dbg(s1, s2, le, _NORMAL_BLOCK, __FILE__, __LINE__)
319
+ #define _wgetcwd(s, le) _wgetcwd_dbg(s, le, _NORMAL_BLOCK, __FILE__, __LINE__)
320
+ #define _wgetdcwd(d, s, le) _wgetdcwd_dbg(d, s, le, _NORMAL_BLOCK, __FILE__, __LINE__)
321
+ #define _wtempnam(s1, s2) _wtempnam_dbg(s1, s2, _NORMAL_BLOCK, __FILE__, __LINE__)
322
+
323
+ #if defined(_CRT_INTERNAL_NONSTDC_NAMES) && _CRT_INTERNAL_NONSTDC_NAMES
324
+ #define strdup(s) _strdup_dbg(s, _NORMAL_BLOCK, __FILE__, __LINE__)
325
+ #define wcsdup(s) _wcsdup_dbg(s, _NORMAL_BLOCK, __FILE__, __LINE__)
326
+ #define tempnam(s1, s2) _tempnam_dbg(s1, s2, _NORMAL_BLOCK, __FILE__, __LINE__)
327
+ #define getcwd(s, le) _getcwd_dbg(s, le, _NORMAL_BLOCK, __FILE__, __LINE__)
328
+ #endif
329
+
330
+ #endif // _CRTDBG_MAP_ALLOC
331
+
332
+ _ACRTIMP void __cdecl _aligned_free_dbg(
333
+ _Pre_maybenull_ _Post_invalid_ void* _Block
334
+ );
335
+
336
+ _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Size)
337
+ _ACRTIMP _CRTALLOCATOR void* __cdecl _aligned_malloc_dbg(
338
+ _In_ size_t _Size,
339
+ _In_ size_t _Alignment,
340
+ _In_opt_z_ char const* _FileName,
341
+ _In_ int _LineNumber
342
+ );
343
+
344
+ _ACRTIMP size_t __cdecl _aligned_msize_dbg(
345
+ _Pre_notnull_ void* _Block,
346
+ _In_ size_t _Alignment,
347
+ _In_ size_t _Offset
348
+ );
349
+
350
+ _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Size)
351
+ _ACRTIMP _CRTALLOCATOR void* __cdecl _aligned_offset_malloc_dbg(
352
+ _In_ size_t _Size,
353
+ _In_ size_t _Alignment,
354
+ _In_ size_t _Offset,
355
+ _In_opt_z_ char const* _FileName,
356
+ _In_ int _LineNumber
357
+ );
358
+
359
+ _Success_(return != 0) _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Size)
360
+ _ACRTIMP _CRTALLOCATOR void* __cdecl _aligned_offset_realloc_dbg(
361
+ _Pre_maybenull_ _Post_invalid_ void* _Block,
362
+ _In_ size_t _Size,
363
+ _In_ size_t _Alignment,
364
+ _In_ size_t _Offset,
365
+ _In_opt_z_ char const* _FileName,
366
+ _In_ int _LineNumber
367
+ );
368
+
369
+ _Success_(return != 0) _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Count * _Size)
370
+ _ACRTIMP _CRTALLOCATOR void* __cdecl _aligned_offset_recalloc_dbg(
371
+ _Pre_maybenull_ _Post_invalid_ void* _Block,
372
+ _In_ size_t _Count,
373
+ _In_ size_t _Size,
374
+ _In_ size_t _Alignment,
375
+ _In_ size_t _Offset,
376
+ _In_opt_z_ char const* _FileName,
377
+ _In_ int _LineNumber
378
+ );
379
+
380
+ _Success_(return != 0) _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Size)
381
+ _ACRTIMP _CRTALLOCATOR void* __cdecl _aligned_realloc_dbg(
382
+ _Pre_maybenull_ _Post_invalid_ void* _Block,
383
+ _In_ size_t _Size,
384
+ _In_ size_t _Alignment,
385
+ _In_opt_z_ char const* _FileName,
386
+ _In_ int _LineNumber
387
+ );
388
+
389
+ _Success_(return != 0) _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Count * _Size)
390
+ _ACRTIMP _CRTALLOCATOR void* __cdecl _aligned_recalloc_dbg(
391
+ _Pre_maybenull_ _Post_invalid_ void* _Block,
392
+ _In_ size_t _Count,
393
+ _In_ size_t _Size,
394
+ _In_ size_t _Alignment,
395
+ _In_opt_z_ char const* _FileName,
396
+ _In_ int _LineNumber
397
+ );
398
+
399
+ _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Count * _Size)
400
+ _ACRTIMP _CRTALLOCATOR void* __cdecl _calloc_dbg(
401
+ _In_ size_t _Count,
402
+ _In_ size_t _Size,
403
+ _In_ int _BlockUse,
404
+ _In_opt_z_ char const* _FileName,
405
+ _In_ int _LineNumber
406
+ );
407
+
408
+ _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Size)
409
+ _ACRTIMP _CRTALLOCATOR void* __cdecl _expand_dbg(
410
+ _Pre_notnull_ void* _Block,
411
+ _In_ size_t _Size,
412
+ _In_ int _BlockUse,
413
+ _In_opt_z_ char const* _FileName,
414
+ _In_ int _LineNumber
415
+ );
416
+
417
+ _ACRTIMP void __cdecl _free_dbg(
418
+ _Pre_maybenull_ _Post_invalid_ void* _Block,
419
+ _In_ int _BlockUse
420
+ );
421
+
422
+ _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Size)
423
+ _ACRTIMP _CRTALLOCATOR void* __cdecl _malloc_dbg(
424
+ _In_ size_t _Size,
425
+ _In_ int _BlockUse,
426
+ _In_opt_z_ char const* _FileName,
427
+ _In_ int _LineNumber
428
+ );
429
+
430
+ _ACRTIMP size_t __cdecl _msize_dbg(
431
+ _Pre_notnull_ void* _Block,
432
+ _In_ int _BlockUse
433
+ );
434
+
435
+ _Success_(return != 0) _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Size)
436
+ _ACRTIMP _CRTALLOCATOR void* __cdecl _realloc_dbg(
437
+ _Pre_maybenull_ _Post_invalid_ void* _Block,
438
+ _In_ size_t _Size,
439
+ _In_ int _BlockUse,
440
+ _In_opt_z_ char const* _FileName,
441
+ _In_ int _LineNumber
442
+ );
443
+
444
+ _Success_(return != 0) _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Count * _Size)
445
+ _ACRTIMP _CRTALLOCATOR void* __cdecl _recalloc_dbg(
446
+ _Pre_maybenull_ _Post_invalid_ void* _Block,
447
+ _In_ size_t _Count,
448
+ _In_ size_t _Size,
449
+ _In_ int _BlockUse,
450
+ _In_opt_z_ char const* _FileName,
451
+ _In_ int _LineNumber
452
+ );
453
+
454
+ _Success_(return == 0)
455
+ _Check_return_wat_
456
+ _DCRTIMP errno_t __cdecl _dupenv_s_dbg(
457
+ _Outptr_result_buffer_maybenull_(*_PBufferSizeInBytes) char** _PBuffer,
458
+ _Out_opt_ size_t* _PBufferSizeInBytes,
459
+ _In_z_ char const* _VarName,
460
+ _In_ int _BlockType,
461
+ _In_opt_z_ char const* _FileName,
462
+ _In_ int _LineNumber
463
+ );
464
+
465
+ _Success_(return != 0)
466
+ _Check_return_ _Ret_maybenull_z_
467
+ _ACRTIMP _CRTALLOCATOR char* __cdecl _fullpath_dbg(
468
+ _Out_writes_opt_z_(_SizeInBytes) char* _FullPath,
469
+ _In_z_ char const* _Path,
470
+ _In_ size_t _SizeInBytes,
471
+ _In_ int _BlockType,
472
+ _In_opt_z_ char const* _FileName,
473
+ _In_ int _LineNumber
474
+ );
475
+
476
+ _Success_(return != 0)
477
+ _Check_return_ _Ret_maybenull_z_
478
+ _DCRTIMP _CRTALLOCATOR char* __cdecl _getcwd_dbg(
479
+ _Out_writes_opt_z_(_SizeInBytes) char* _DstBuf,
480
+ _In_ int _SizeInBytes,
481
+ _In_ int _BlockType,
482
+ _In_opt_z_ char const* _FileName,
483
+ _In_ int _LineNumber
484
+ );
485
+
486
+
487
+ _Success_(return != 0)
488
+ _Check_return_ _Ret_maybenull_z_
489
+ _DCRTIMP _CRTALLOCATOR char* __cdecl _getdcwd_dbg(
490
+ _In_ int _Drive,
491
+ _Out_writes_opt_z_(_SizeInBytes) char* _DstBuf,
492
+ _In_ int _SizeInBytes,
493
+ _In_ int _BlockType,
494
+ _In_opt_z_ char const* _FileName,
495
+ _In_ int _LineNumber
496
+ );
497
+
498
+ _Check_return_ _Ret_maybenull_z_
499
+ _ACRTIMP _CRTALLOCATOR char* __cdecl _strdup_dbg(
500
+ _In_opt_z_ char const* _String,
501
+ _In_ int _BlockUse,
502
+ _In_opt_z_ char const* _FileName,
503
+ _In_ int _LineNumber
504
+ );
505
+
506
+ _Check_return_ _Ret_maybenull_z_
507
+ _ACRTIMP _CRTALLOCATOR char* __cdecl _tempnam_dbg(
508
+ _In_opt_z_ char const* _DirName,
509
+ _In_opt_z_ char const* _FilePrefix,
510
+ _In_ int _BlockType,
511
+ _In_opt_z_ char const* _FileName,
512
+ _In_ int _LineNumber
513
+ );
514
+
515
+ _Success_(return != 0)
516
+ _Check_return_ _Ret_maybenull_z_
517
+ _ACRTIMP _CRTALLOCATOR wchar_t* __cdecl _wcsdup_dbg(
518
+ _In_opt_z_ wchar_t const* _String,
519
+ _In_ int _BlockUse,
520
+ _In_opt_z_ char const* _FileName,
521
+ _In_ int _LineNumber
522
+ );
523
+
524
+ _Success_(return == 0)
525
+ _Check_return_wat_
526
+ _DCRTIMP errno_t __cdecl _wdupenv_s_dbg(
527
+ _Outptr_result_buffer_maybenull_(*_PBufferSizeInWords) wchar_t** _PBuffer,
528
+ _Out_opt_ size_t* _PBufferSizeInWords,
529
+ _In_z_ wchar_t const* _VarName,
530
+ _In_ int _BlockType,
531
+ _In_opt_z_ char const* _FileName,
532
+ _In_ int _LineNumber
533
+ );
534
+
535
+ _Success_(return != 0)
536
+ _Check_return_ _Ret_maybenull_z_
537
+ _ACRTIMP _CRTALLOCATOR wchar_t* __cdecl _wfullpath_dbg(
538
+ _Out_writes_opt_z_(_SizeInWords) wchar_t* _FullPath,
539
+ _In_z_ wchar_t const* _Path,
540
+ _In_ size_t _SizeInWords,
541
+ _In_ int _BlockType,
542
+ _In_opt_z_ char const* _FileName,
543
+ _In_ int _LineNumber
544
+ );
545
+
546
+ _Success_(return != 0)
547
+ _Check_return_ _Ret_maybenull_z_
548
+ _DCRTIMP _CRTALLOCATOR wchar_t* __cdecl _wgetcwd_dbg(
549
+ _Out_writes_opt_z_(_SizeInWords) wchar_t* _DstBuf,
550
+ _In_ int _SizeInWords,
551
+ _In_ int _BlockType,
552
+ _In_opt_z_ char const* _FileName,
553
+ _In_ int _LineNumber
554
+ );
555
+
556
+ _Success_(return != 0)
557
+ _Check_return_ _Ret_maybenull_z_
558
+ _DCRTIMP _CRTALLOCATOR wchar_t* __cdecl _wgetdcwd_dbg(
559
+ _In_ int _Drive,
560
+ _Out_writes_opt_z_(_SizeInWords) wchar_t* _DstBuf,
561
+ _In_ int _SizeInWords,
562
+ _In_ int _BlockType,
563
+ _In_opt_z_ char const* _FileName,
564
+ _In_ int _LineNumber
565
+ );
566
+
567
+ _Check_return_ _Ret_maybenull_z_
568
+ _ACRTIMP _CRTALLOCATOR wchar_t* __cdecl _wtempnam_dbg(
569
+ _In_opt_z_ wchar_t const* _DirName,
570
+ _In_opt_z_ wchar_t const* _FilePrefix,
571
+ _In_ int _BlockType,
572
+ _In_opt_z_ char const* _FileName,
573
+ _In_ int _LineNumber
574
+ );
575
+
576
+ #define _malloca_dbg(s, t, f, l) _malloc_dbg(s, t, f, l)
577
+ #define _freea_dbg(p, t) _free_dbg(p, t)
578
+
579
+ #if defined __cplusplus && defined _CRTDBG_MAP_ALLOC
580
+ namespace std
581
+ {
582
+ using ::_calloc_dbg;
583
+ using ::_free_dbg;
584
+ using ::_malloc_dbg;
585
+ using ::_realloc_dbg;
586
+ }
587
+ #endif
588
+
589
+ #endif // _DEBUG
590
+
591
+
592
+
593
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
594
+ //
595
+ // Debug Reporting
596
+ //
597
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
598
+
599
+ #ifndef _DEBUG
600
+
601
+ #define _CrtSetDebugFillThreshold(t) ((size_t)0)
602
+ #define _CrtSetReportFile(t, f) ((_HFILE)0)
603
+ #define _CrtSetReportMode(t, f) ((int)0)
604
+ #define _CrtGetReportHook() ((_CRT_REPORT_HOOK)0)
605
+ #define _CrtSetReportHook(f) ((_CRT_REPORT_HOOK)0)
606
+ #define _CrtSetReportHook2(t, f) ((int)0)
607
+ #define _CrtSetReportHookW2(t, f) ((int)0)
608
+
609
+ #else // ^^^ !_DEBUG ^^^ // vvv _DEBUG vvv //
610
+
611
+ _ACRTIMP int __cdecl _CrtDbgReport(
612
+ _In_ int _ReportType,
613
+ _In_opt_z_ char const* _FileName,
614
+ _In_ int _Linenumber,
615
+ _In_opt_z_ char const* _ModuleName,
616
+ _In_opt_z_ char const* _Format,
617
+ ...);
618
+
619
+ _ACRTIMP int __cdecl _CrtDbgReportW(
620
+ _In_ int _ReportType,
621
+ _In_opt_z_ wchar_t const* _FileName,
622
+ _In_ int _LineNumber,
623
+ _In_opt_z_ wchar_t const* _ModuleName,
624
+ _In_opt_z_ wchar_t const* _Format,
625
+ ...);
626
+
627
+
628
+ _ACRTIMP int __cdecl _VCrtDbgReportA(
629
+ _In_ int _ReportType,
630
+ _In_opt_ void* _ReturnAddress,
631
+ _In_opt_z_ char const* _FileName,
632
+ _In_ int _LineNumber,
633
+ _In_opt_z_ char const* _ModuleName,
634
+ _In_opt_z_ char const* _Format,
635
+ va_list _ArgList
636
+ );
637
+
638
+ _ACRTIMP int __cdecl _VCrtDbgReportW(
639
+ _In_ int _ReportType,
640
+ _In_opt_ void* _ReturnAddress,
641
+ _In_opt_z_ wchar_t const* _FileName,
642
+ _In_ int _LineNumber,
643
+ _In_opt_z_ wchar_t const* _ModuleName,
644
+ _In_opt_z_ wchar_t const* _Format,
645
+ va_list _ArgList
646
+ );
647
+
648
+ _ACRTIMP size_t __cdecl _CrtSetDebugFillThreshold(
649
+ _In_ size_t _NewDebugFillThreshold
650
+ );
651
+
652
+ _ACRTIMP size_t __cdecl _CrtGetDebugFillThreshold(void);
653
+
654
+ _ACRTIMP _HFILE __cdecl _CrtSetReportFile(
655
+ _In_ int _ReportType,
656
+ _In_opt_ _HFILE _ReportFile
657
+ );
658
+
659
+ _ACRTIMP int __cdecl _CrtSetReportMode(
660
+ _In_ int _ReportType,
661
+ _In_ int _ReportMode
662
+ );
663
+
664
+ #ifndef _M_CEE_PURE
665
+
666
+ extern long _crtAssertBusy;
667
+
668
+ _ACRTIMP _CRT_REPORT_HOOK __cdecl _CrtGetReportHook(void);
669
+
670
+ // _CrtSetReportHook[[W]2]:
671
+ // For IJW, we need two versions: one for clrcall and one for cdecl.
672
+ // For pure and native, we just need clrcall and cdecl, respectively.
673
+ _ACRTIMP _CRT_REPORT_HOOK __cdecl _CrtSetReportHook(
674
+ _In_opt_ _CRT_REPORT_HOOK _PFnNewHook
675
+ );
676
+
677
+ _ACRTIMP int __cdecl _CrtSetReportHook2(
678
+ _In_ int _Mode,
679
+ _In_opt_ _CRT_REPORT_HOOK _PFnNewHook
680
+ );
681
+
682
+ _ACRTIMP int __cdecl _CrtSetReportHookW2(
683
+ _In_ int _Mode,
684
+ _In_opt_ _CRT_REPORT_HOOKW _PFnNewHook
685
+ );
686
+
687
+ #endif // !_M_CEE_PURE
688
+
689
+ #endif // _DEBUG
690
+
691
+
692
+
693
+
694
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
695
+ //
696
+ // Assertions and Error Reporting Macros
697
+ //
698
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
699
+ #ifndef _DEBUG
700
+
701
+ #define _CrtDbgBreak() ((void)0)
702
+
703
+ #ifndef _ASSERT_EXPR
704
+ #define _ASSERT_EXPR(expr, msg) ((void)0)
705
+ #endif
706
+
707
+ #ifndef _ASSERT
708
+ #define _ASSERT(expr) ((void)0)
709
+ #endif
710
+
711
+ #ifndef _ASSERTE
712
+ #define _ASSERTE(expr) ((void)0)
713
+ #endif
714
+
715
+ #define _RPT0(rptno, msg)
716
+ #define _RPTN(rptno, msg, ...)
717
+
718
+ #define _RPTW0(rptno, msg)
719
+ #define _RPTWN(rptno, msg, ...)
720
+
721
+ #define _RPTF0(rptno, msg)
722
+ #define _RPTFN(rptno, msg, ...)
723
+
724
+ #define _RPTFW0(rptno, msg)
725
+ #define _RPTFWN(rptno, msg, ...)
726
+
727
+ #else // ^^^ !_DEBUG ^^^ // vvv _DEBUG vvv //
728
+
729
+ #define _CrtDbgBreak() __debugbreak()
730
+
731
+ // !! is used to ensure that any overloaded operators used to evaluate expr
732
+ // do not end up at &&.
733
+ #ifndef _ASSERT_EXPR
734
+ #define _ASSERT_EXPR(expr, msg) \
735
+ (void)( \
736
+ (!!(expr)) || \
737
+ (1 != _CrtDbgReportW(_CRT_ASSERT, _CRT_WIDE(__FILE__), __LINE__, NULL, L"%ls", msg)) || \
738
+ (_CrtDbgBreak(), 0) \
739
+ )
740
+ #endif
741
+
742
+ #ifndef _ASSERT
743
+ #define _ASSERT(expr) _ASSERT_EXPR((expr), NULL)
744
+ #endif
745
+
746
+ #ifndef _ASSERTE
747
+ #define _ASSERTE(expr) _ASSERT_EXPR((expr), _CRT_WIDE(#expr))
748
+ #endif
749
+
750
+ #define _RPT_BASE(...) \
751
+ (void) ((1 != _CrtDbgReport(__VA_ARGS__)) || \
752
+ (_CrtDbgBreak(), 0))
753
+
754
+ #define _RPT_BASE_W(...) \
755
+ (void) ((1 != _CrtDbgReportW(__VA_ARGS__)) || \
756
+ (_CrtDbgBreak(), 0))
757
+
758
+ #define _RPT0(rptno, msg) _RPT_BASE(rptno, NULL, 0, NULL, "%s", msg)
759
+ #define _RPTN(rptno, msg, ...) _RPT_BASE(rptno, NULL, 0, NULL, msg, __VA_ARGS__)
760
+
761
+ #define _RPTW0(rptno, msg) _RPT_BASE_W(rptno, NULL, 0, NULL, L"%ls", msg)
762
+ #define _RPTWN(rptno, msg, ...) _RPT_BASE_W(rptno, NULL, 0, NULL, msg, __VA_ARGS__)
763
+
764
+ #define _RPTF0(rptno, msg) _RPT_BASE(rptno, __FILE__, __LINE__, NULL, "%s", msg)
765
+ #define _RPTFN(rptno, msg, ...) _RPT_BASE(rptno, __FILE__, __LINE__, NULL, msg, __VA_ARGS__)
766
+
767
+ #define _RPTFW0(rptno, msg) _RPT_BASE_W(rptno, _CRT_WIDE(__FILE__), __LINE__, NULL, L"%ls", msg)
768
+ #define _RPTFWN(rptno, msg, ...) _RPT_BASE_W(rptno, _CRT_WIDE(__FILE__), __LINE__, NULL, msg, __VA_ARGS__)
769
+
770
+ #endif // _DEBUG
771
+
772
+ // Asserts in debug. Invokes Watson in both debug and release
773
+ #define _ASSERT_AND_INVOKE_WATSON(expr) \
774
+ { \
775
+ _ASSERTE((expr)); \
776
+ if (!(expr)) \
777
+ { \
778
+ _invoke_watson(_CRT_WIDE(#expr), __FUNCTIONW__, __FILEW__, __LINE__, 0); \
779
+ } \
780
+ }
781
+
782
+ // _ASSERT_BASE is provided only for backwards compatibility.
783
+ #ifndef _ASSERT_BASE
784
+ #define _ASSERT_BASE _ASSERT_EXPR
785
+ #endif
786
+
787
+ #define _RPT1 _RPTN
788
+ #define _RPT2 _RPTN
789
+ #define _RPT3 _RPTN
790
+ #define _RPT4 _RPTN
791
+ #define _RPT5 _RPTN
792
+
793
+ #define _RPTW1 _RPTWN
794
+ #define _RPTW2 _RPTWN
795
+ #define _RPTW3 _RPTWN
796
+ #define _RPTW4 _RPTWN
797
+ #define _RPTW5 _RPTWN
798
+
799
+ #define _RPTF1 _RPTFN
800
+ #define _RPTF2 _RPTFN
801
+ #define _RPTF3 _RPTFN
802
+ #define _RPTF4 _RPTFN
803
+ #define _RPTF5 _RPTFN
804
+
805
+ #define _RPTFW1 _RPTFWN
806
+ #define _RPTFW2 _RPTFWN
807
+ #define _RPTFW3 _RPTFWN
808
+ #define _RPTFW4 _RPTFWN
809
+ #define _RPTFW5 _RPTFWN
810
+
811
+
812
+
813
+ _CRT_END_C_HEADER
814
+ _UCRT_RESTORE_CLANG_WARNINGS
815
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
816
+ #endif // _INC_CRTDBG
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/ctype.h ADDED
@@ -0,0 +1,310 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // ctype.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // This file declares the narrow character (char) classification functionality.
7
+ //
8
+ #pragma once
9
+ #ifndef _INC_CTYPE // include guard for 3rd party interop
10
+ #define _INC_CTYPE
11
+
12
+ #include <corecrt.h>
13
+ #include <corecrt_wctype.h>
14
+
15
+ #pragma warning(push)
16
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
17
+ _UCRT_DISABLE_CLANG_WARNINGS
18
+
19
+ _CRT_BEGIN_C_HEADER
20
+ #if !defined __midl && !defined RC_INVOKED
21
+
22
+
23
+
24
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
25
+ //
26
+ // Character Classification Function Declarations
27
+ //
28
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
29
+ _Check_return_ _ACRTIMP int __cdecl _isctype(_In_ int _C, _In_ int _Type);
30
+ _Check_return_ _ACRTIMP int __cdecl _isctype_l(_In_ int _C, _In_ int _Type, _In_opt_ _locale_t _Locale);
31
+ _Check_return_ _CRT_JIT_INTRINSIC _ACRTIMP int __cdecl isalpha(_In_ int _C);
32
+ _Check_return_ _ACRTIMP int __cdecl _isalpha_l(_In_ int _C, _In_opt_ _locale_t _Locale);
33
+ _Check_return_ _CRT_JIT_INTRINSIC _ACRTIMP int __cdecl isupper(_In_ int _C);
34
+ _Check_return_ _ACRTIMP int __cdecl _isupper_l(_In_ int _C, _In_opt_ _locale_t _Locale);
35
+ _Check_return_ _CRT_JIT_INTRINSIC _ACRTIMP int __cdecl islower(_In_ int _C);
36
+ _Check_return_ _ACRTIMP int __cdecl _islower_l(_In_ int _C, _In_opt_ _locale_t _Locale);
37
+
38
+ _When_(_Param_(1) == 0, _Post_equal_to_(0))
39
+ _Check_return_ _CRT_JIT_INTRINSIC _ACRTIMP int __cdecl isdigit(_In_ int _C);
40
+
41
+ _Check_return_ _ACRTIMP int __cdecl _isdigit_l(_In_ int _C, _In_opt_ _locale_t _Locale);
42
+ _Check_return_ _ACRTIMP int __cdecl isxdigit(_In_ int _C);
43
+ _Check_return_ _ACRTIMP int __cdecl _isxdigit_l(_In_ int _C, _In_opt_ _locale_t _Locale);
44
+
45
+ _When_(_Param_(1) == 0, _Post_equal_to_(0))
46
+ _Check_return_ _CRT_JIT_INTRINSIC _ACRTIMP int __cdecl isspace(_In_ int _C);
47
+
48
+ _Check_return_ _ACRTIMP int __cdecl _isspace_l(_In_ int _C, _In_opt_ _locale_t _Locale);
49
+ _Check_return_ _ACRTIMP int __cdecl ispunct(_In_ int _C);
50
+ _Check_return_ _ACRTIMP int __cdecl _ispunct_l(_In_ int _C, _In_opt_ _locale_t _Locale);
51
+ _Check_return_ _ACRTIMP int __cdecl isblank(_In_ int _C);
52
+ _Check_return_ _ACRTIMP int __cdecl _isblank_l(_In_ int _C, _In_opt_ _locale_t _Locale);
53
+ _Check_return_ _CRT_JIT_INTRINSIC _ACRTIMP int __cdecl isalnum(_In_ int _C);
54
+ _Check_return_ _ACRTIMP int __cdecl _isalnum_l(_In_ int _C, _In_opt_ _locale_t _Locale);
55
+ _Check_return_ _ACRTIMP int __cdecl isprint(_In_ int _C);
56
+ _Check_return_ _ACRTIMP int __cdecl _isprint_l(_In_ int _C, _In_opt_ _locale_t _Locale);
57
+ _Check_return_ _ACRTIMP int __cdecl isgraph(_In_ int _C);
58
+ _Check_return_ _ACRTIMP int __cdecl _isgraph_l(_In_ int _C, _In_opt_ _locale_t _Locale);
59
+ _Check_return_ _ACRTIMP int __cdecl iscntrl(_In_ int _C);
60
+ _Check_return_ _ACRTIMP int __cdecl _iscntrl_l(_In_ int _C, _In_opt_ _locale_t _Locale);
61
+
62
+ _When_(_Param_(1) == 0, _Post_equal_to_(0))
63
+ _Check_return_ _CRT_JIT_INTRINSIC _ACRTIMP int __cdecl toupper(_In_ int _C);
64
+
65
+ _When_(_Param_(1) == 0, _Post_equal_to_(0))
66
+ _Check_return_ _CRT_JIT_INTRINSIC _ACRTIMP int __cdecl tolower(_In_ int _C);
67
+
68
+ _Check_return_ _CRT_JIT_INTRINSIC _ACRTIMP int __cdecl _tolower(_In_ int _C);
69
+ _Check_return_ _ACRTIMP int __cdecl _tolower_l(_In_ int _C, _In_opt_ _locale_t _Locale);
70
+ _Check_return_ _CRT_JIT_INTRINSIC _ACRTIMP int __cdecl _toupper(_In_ int _C);
71
+ _Check_return_ _ACRTIMP int __cdecl _toupper_l(_In_ int _C, _In_opt_ _locale_t _Locale);
72
+
73
+ _Check_return_ _ACRTIMP int __cdecl __isascii(_In_ int _C);
74
+ _Check_return_ _ACRTIMP int __cdecl __toascii(_In_ int _C);
75
+ _Check_return_ _ACRTIMP int __cdecl __iscsymf(_In_ int _C);
76
+ _Check_return_ _ACRTIMP int __cdecl __iscsym(_In_ int _C);
77
+
78
+
79
+
80
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
81
+ //
82
+ // Character Classification Macro Definitions
83
+ //
84
+ //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
85
+ __inline int __CRTDECL __acrt_locale_get_ctype_array_value(
86
+ _In_reads_(_Char_value + 1) unsigned short const * const _Locale_pctype_array,
87
+ _In_range_(-1, 255) int const _Char_value,
88
+ _In_ int const _Mask
89
+ )
90
+ {
91
+ // The C Standard specifies valid input to a ctype function ranges from -1 to 255.
92
+ // To avoid undefined behavior, we should check this range for all accesses.
93
+ // Note _locale_pctype array does extend to -127 to support accessing
94
+ // _pctype directly with signed chars.
95
+
96
+ if (_Char_value >= -1 && _Char_value <= 255)
97
+ {
98
+ return _Locale_pctype_array[_Char_value] & _Mask;
99
+ }
100
+
101
+ return 0;
102
+ }
103
+
104
+ #ifndef _CTYPE_DISABLE_MACROS
105
+
106
+ // Maximum number of bytes in multi-byte character in the current locale
107
+ // (also defined in stdlib.h).
108
+ #ifndef MB_CUR_MAX
109
+ #if defined _CRT_DISABLE_PERFCRIT_LOCKS && !defined _DLL
110
+ #define MB_CUR_MAX __mb_cur_max
111
+ #else
112
+ #define MB_CUR_MAX ___mb_cur_max_func()
113
+ #endif
114
+
115
+ #ifdef _CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY
116
+ extern int __mb_cur_max;
117
+ #else
118
+ #define __mb_cur_max (___mb_cur_max_func())
119
+ #endif
120
+
121
+ // MB_LEN_MAX = 5 in limits.h but we do not include that header here so use 5
122
+ // directly.
123
+ _Post_satisfies_(return > 0 && return < 5)
124
+ _ACRTIMP int __cdecl ___mb_cur_max_func(void);
125
+ _Post_satisfies_(return > 0 && return < 5)
126
+ _ACRTIMP int __cdecl ___mb_cur_max_l_func(_locale_t _Locale);
127
+ #endif
128
+
129
+ // In the debug CRT, we make all calls through the validation function to catch
130
+ // invalid integer inputs that yield undefined behavior.
131
+ #ifdef _DEBUG
132
+ _ACRTIMP int __cdecl _chvalidator(_In_ int _Ch, _In_ int _Mask);
133
+ #define __chvalidchk(a, b) _chvalidator(a, b)
134
+ #else
135
+
136
+ #define __chvalidchk(a, b) (__acrt_locale_get_ctype_array_value(__PCTYPE_FUNC, (a), (b)))
137
+ #endif
138
+
139
+
140
+
141
+ #define __ascii_isalpha(c) ( __chvalidchk(c, _ALPHA))
142
+ #define __ascii_isdigit(c) ( __chvalidchk(c, _DIGIT))
143
+
144
+ #ifdef _CRT_DEFINE_ASCII_CTYPE_MACROS
145
+ #define __ascii_tolower(c) ( (((c) >= 'A') && ((c) <= 'Z')) ? ((c) - 'A' + 'a') : (c) )
146
+ #define __ascii_toupper(c) ( (((c) >= 'a') && ((c) <= 'z')) ? ((c) - 'a' + 'A') : (c) )
147
+ #define __ascii_iswalpha(c) ( ('A' <= (c) && (c) <= 'Z') || ( 'a' <= (c) && (c) <= 'z'))
148
+ #define __ascii_iswdigit(c) ( '0' <= (c) && (c) <= '9')
149
+ #define __ascii_towlower(c) ( (((c) >= L'A') && ((c) <= L'Z')) ? ((c) - L'A' + L'a') : (c) )
150
+ #define __ascii_towupper(c) ( (((c) >= L'a') && ((c) <= L'z')) ? ((c) - L'a' + L'A') : (c) )
151
+ #else
152
+ __forceinline int __CRTDECL __ascii_tolower(int const _C)
153
+ {
154
+ if (_C >= 'A' && _C <= 'Z')
155
+ {
156
+ return _C - ('A' - 'a');
157
+ }
158
+ return _C;
159
+ }
160
+
161
+ __forceinline int __CRTDECL __ascii_toupper(int const _C)
162
+ {
163
+ if (_C >= 'a' && _C <= 'z')
164
+ {
165
+ return _C - ('a' - 'A');
166
+ }
167
+ return _C;
168
+ }
169
+
170
+ __forceinline int __CRTDECL __ascii_iswalpha(int const _C)
171
+ {
172
+ return (_C >= 'A' && _C <= 'Z') || (_C >= 'a' && _C <= 'z');
173
+ }
174
+
175
+ __forceinline int __CRTDECL __ascii_iswdigit(int const _C)
176
+ {
177
+ return _C >= '0' && _C <= '9';
178
+ }
179
+
180
+ __forceinline int __CRTDECL __ascii_towlower(int const _C)
181
+ {
182
+ return __ascii_tolower(_C);
183
+ }
184
+
185
+ __forceinline int __CRTDECL __ascii_towupper(int const _C)
186
+ {
187
+ return __ascii_toupper(_C);
188
+ }
189
+ #endif
190
+
191
+
192
+
193
+ #if defined _CRT_DISABLE_PERFCRIT_LOCKS && !defined _DLL && !defined __cplusplus
194
+ #define isalpha(c) (MB_CUR_MAX > 1 ? _isctype(c, _ALPHA) : __chvalidchk(c, _ALPHA))
195
+ #define isupper(c) (MB_CUR_MAX > 1 ? _isctype(c, _UPPER) : __chvalidchk(c, _UPPER))
196
+ #define islower(c) (MB_CUR_MAX > 1 ? _isctype(c, _LOWER) : __chvalidchk(c, _LOWER))
197
+ #define isdigit(c) (MB_CUR_MAX > 1 ? _isctype(c, _DIGIT) : __chvalidchk(c, _DIGIT))
198
+ #define isxdigit(c) (MB_CUR_MAX > 1 ? _isctype(c, _HEX) : __chvalidchk(c, _HEX))
199
+ #define isspace(c) (MB_CUR_MAX > 1 ? _isctype(c, _SPACE) : __chvalidchk(c, _SPACE))
200
+ #define ispunct(c) (MB_CUR_MAX > 1 ? _isctype(c, _PUNCT) : __chvalidchk(c, _PUNCT))
201
+ #define isblank(c) (MB_CUR_MAX > 1 ? (((c) == '\t') ? _BLANK : _isctype(c, _BLANK)) : (((c) == '\t') ? _BLANK : __chvalidchk(c, _BLANK)))
202
+ #define isalnum(c) (MB_CUR_MAX > 1 ? _isctype(c, _ALPHA | _DIGIT) : __chvalidchk(c, (_ALPHA | _DIGIT)))
203
+ #define isprint(c) (MB_CUR_MAX > 1 ? _isctype(c, _BLANK | _PUNCT | _ALPHA | _DIGIT) : __chvalidchk(c, (_BLANK | _PUNCT | _ALPHA | _DIGIT)))
204
+ #define isgraph(c) (MB_CUR_MAX > 1 ? _isctype(c, _PUNCT | _ALPHA | _DIGIT) : __chvalidchk(c, (_PUNCT | _ALPHA | _DIGIT)))
205
+ #define iscntrl(c) (MB_CUR_MAX > 1 ? _isctype(c, _CONTROL) : __chvalidchk(c, _CONTROL))
206
+ #endif
207
+
208
+ __inline __crt_locale_data_public* __CRTDECL __acrt_get_locale_data_prefix(void const volatile* const _LocalePointers)
209
+ {
210
+ _locale_t const _TypedLocalePointers = (_locale_t)_LocalePointers;
211
+ return (__crt_locale_data_public*)_TypedLocalePointers->locinfo;
212
+ }
213
+
214
+ #ifdef _DEBUG
215
+ _ACRTIMP int __cdecl _chvalidator_l(_In_opt_ _locale_t, _In_ int _Ch, _In_ int _Mask);
216
+ #endif
217
+
218
+ __inline int __CRTDECL _chvalidchk_l(
219
+ _In_ int const _C,
220
+ _In_ int const _Mask,
221
+ _In_opt_ _locale_t const _Locale
222
+ )
223
+ {
224
+ #ifdef _DEBUG
225
+ return _chvalidator_l(_Locale, _C, _Mask);
226
+ #else
227
+ if (!_Locale)
228
+ {
229
+ return __chvalidchk(_C, _Mask);
230
+ }
231
+
232
+ return __acrt_locale_get_ctype_array_value(__acrt_get_locale_data_prefix(_Locale)->_locale_pctype, _C, _Mask);
233
+ #endif
234
+ }
235
+
236
+ #define __ascii_isalpha_l(c, locale) (_chvalidchk_l(c, _ALPHA, locale))
237
+ #define __ascii_isdigit_l(c, locale) (_chvalidchk_l(c, _DIGIT, locale))
238
+
239
+ __inline int __CRTDECL _ischartype_l(
240
+ _In_ int const _C,
241
+ _In_ int const _Mask,
242
+ _In_opt_ _locale_t const _Locale
243
+ )
244
+ {
245
+ if (!_Locale)
246
+ {
247
+ return _chvalidchk_l(_C, _Mask, 0);
248
+ }
249
+
250
+ if (_C >= -1 && _C <= 255)
251
+ {
252
+ return __acrt_get_locale_data_prefix(_Locale)->_locale_pctype[_C] & _Mask;
253
+ }
254
+
255
+ if (__acrt_get_locale_data_prefix(_Locale)->_locale_mb_cur_max > 1)
256
+ {
257
+ return _isctype_l(_C, _Mask, _Locale);
258
+ }
259
+
260
+ return 0; // >0xFF and SBCS locale
261
+ }
262
+
263
+ #define _isalpha_l(c, locale) _ischartype_l(c, _ALPHA, locale)
264
+ #define _isupper_l(c, locale) _ischartype_l(c, _UPPER, locale)
265
+ #define _islower_l(c, locale) _ischartype_l(c, _LOWER, locale)
266
+ #define _isdigit_l(c, locale) _ischartype_l(c, _DIGIT, locale)
267
+ #define _isxdigit_l(c, locale) _ischartype_l(c, _HEX, locale)
268
+ #define _isspace_l(c, locale) _ischartype_l(c, _SPACE, locale)
269
+ #define _ispunct_l(c, locale) _ischartype_l(c, _PUNCT, locale)
270
+ #define _isblank_l(c, locale) (((c) == '\t') ? _BLANK : _ischartype_l(c, _BLANK, locale))
271
+ #define _isalnum_l(c, locale) _ischartype_l(c, _ALPHA | _DIGIT, locale)
272
+ #define _isprint_l(c, locale) _ischartype_l(c, _BLANK | _PUNCT | _ALPHA | _DIGIT, locale)
273
+ #define _isgraph_l(c, locale) _ischartype_l(c, _PUNCT | _ALPHA | _DIGIT, locale)
274
+ #define _iscntrl_l(c, locale) _ischartype_l(c, _CONTROL, locale)
275
+
276
+ #define _tolower(c) ((c) - 'A' + 'a')
277
+ #define _toupper(c) ((c) - 'a' + 'A')
278
+
279
+ #define __isascii(c) ((unsigned)(c) < 0x80)
280
+ #define __toascii(c) ((c) & 0x7f)
281
+
282
+
283
+ // Microsoft C version 2.0 extended ctype macros
284
+ #define __iscsymf(c) (isalpha(c) || ((c) == '_'))
285
+ #define __iscsym(c) (isalnum(c) || ((c) == '_'))
286
+ #define __iswcsymf(c) (iswalpha(c) || ((c) == '_'))
287
+ #define __iswcsym(c) (iswalnum(c) || ((c) == '_'))
288
+
289
+ #define _iscsymf_l(c, p) (_isalpha_l(c, p) || ((c) == '_'))
290
+ #define _iscsym_l(c, p) (_isalnum_l(c, p) || ((c) == '_'))
291
+ #define _iswcsymf_l(c, p) (iswalpha(c) || ((c) == '_'))
292
+ #define _iswcsym_l(c, p) (iswalnum(c) || ((c) == '_'))
293
+
294
+ #endif // _CTYPE_DISABLE_MACROS
295
+
296
+
297
+ #if defined(_CRT_INTERNAL_NONSTDC_NAMES) && _CRT_INTERNAL_NONSTDC_NAMES
298
+ #define isascii __isascii
299
+ #define toascii __toascii
300
+ #define iscsymf __iscsymf
301
+ #define iscsym __iscsym
302
+ #endif
303
+
304
+
305
+
306
+ #endif // !defined __midl && !defined RC_INVOKED
307
+ _CRT_END_C_HEADER
308
+ _UCRT_RESTORE_CLANG_WARNINGS
309
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
310
+ #endif // _INC_CTYPE
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/direct.h ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // direct.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // Functions for directory handling and creation.
7
+ //
8
+ #pragma once
9
+ #ifndef _INC_DIRECT // include guard for 3rd party interop
10
+ #define _INC_DIRECT
11
+
12
+ #include <corecrt.h>
13
+ #include <corecrt_wdirect.h>
14
+
15
+ #pragma warning(push)
16
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
17
+ _UCRT_DISABLE_CLANG_WARNINGS
18
+
19
+ _CRT_BEGIN_C_HEADER
20
+
21
+
22
+
23
+ #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
24
+
25
+ #ifndef _DISKFREE_T_DEFINED
26
+ #define _DISKFREE_T_DEFINED
27
+ struct _diskfree_t
28
+ {
29
+ unsigned total_clusters;
30
+ unsigned avail_clusters;
31
+ unsigned sectors_per_cluster;
32
+ unsigned bytes_per_sector;
33
+ };
34
+ #endif
35
+
36
+ #if _CRT_FUNCTIONS_REQUIRED
37
+
38
+ _Success_(return == 0)
39
+ _Check_return_
40
+ _DCRTIMP unsigned __cdecl _getdiskfree(
41
+ _In_ unsigned _Drive,
42
+ _Out_ struct _diskfree_t* _DiskFree
43
+ );
44
+
45
+ _Check_return_ _DCRTIMP int __cdecl _chdrive(_In_ int _Drive);
46
+
47
+ _Check_return_ _DCRTIMP int __cdecl _getdrive(void);
48
+
49
+ _Check_return_ _DCRTIMP unsigned long __cdecl _getdrives(void);
50
+
51
+ #endif // _CRT_FUNCTIONS_REQUIRED
52
+ #endif // _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
53
+
54
+
55
+
56
+ #pragma push_macro("_getcwd")
57
+ #pragma push_macro("_getdcwd")
58
+ #undef _getcwd
59
+ #undef _getdcwd
60
+
61
+ _Success_(return != 0)
62
+ _Check_return_ _Ret_maybenull_z_
63
+ _ACRTIMP _CRTALLOCATOR char* __cdecl _getcwd(
64
+ _Out_writes_opt_z_(_SizeInBytes) char* _DstBuf,
65
+ _In_ int _SizeInBytes
66
+ );
67
+
68
+ _Success_(return != 0)
69
+ _Check_return_ _Ret_maybenull_z_
70
+ _ACRTIMP _CRTALLOCATOR char* __cdecl _getdcwd(
71
+ _In_ int _Drive,
72
+ _Out_writes_opt_z_(_SizeInBytes) char* _DstBuf,
73
+ _In_ int _SizeInBytes
74
+ );
75
+
76
+ #define _getdcwd_nolock _getdcwd
77
+
78
+ #pragma pop_macro("_getcwd")
79
+ #pragma pop_macro("_getdcwd")
80
+
81
+ _Check_return_ _ACRTIMP int __cdecl _chdir(_In_z_ char const* _Path);
82
+
83
+ _Check_return_ _ACRTIMP int __cdecl _mkdir(_In_z_ char const* _Path);
84
+
85
+ _Check_return_ _ACRTIMP int __cdecl _rmdir(_In_z_ char const* _Path);
86
+
87
+
88
+
89
+ #if defined(_CRT_INTERNAL_NONSTDC_NAMES) && _CRT_INTERNAL_NONSTDC_NAMES
90
+
91
+ #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
92
+
93
+ #pragma push_macro("getcwd")
94
+ #undef getcwd
95
+
96
+ _Success_(return != 0)
97
+ _Check_return_ _Ret_maybenull_z_ _CRT_NONSTDC_DEPRECATE(_getcwd)
98
+ _DCRTIMP char* __cdecl getcwd(
99
+ _Out_writes_opt_z_(_SizeInBytes) char* _DstBuf,
100
+ _In_ int _SizeInBytes
101
+ );
102
+
103
+ #pragma pop_macro("getcwd")
104
+
105
+ _Check_return_ _CRT_NONSTDC_DEPRECATE(_chdir)
106
+ _DCRTIMP int __cdecl chdir(
107
+ _In_z_ char const* _Path
108
+ );
109
+
110
+ #define diskfree_t _diskfree_t
111
+
112
+ #endif // _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
113
+
114
+ _Check_return_ _CRT_NONSTDC_DEPRECATE(_mkdir)
115
+ _ACRTIMP int __cdecl mkdir(
116
+ _In_z_ char const* _Path
117
+ );
118
+
119
+ _Check_return_ _CRT_NONSTDC_DEPRECATE(_rmdir)
120
+ _ACRTIMP int __cdecl rmdir(
121
+ _In_z_ char const* _Path
122
+ );
123
+
124
+ #endif // _CRT_INTERNAL_NONSTDC_NAMES
125
+
126
+
127
+
128
+ _CRT_END_C_HEADER
129
+ _UCRT_RESTORE_CLANG_WARNINGS
130
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
131
+ #endif // _INC_DIRECT
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/dos.h ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // dos.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // This file declares the structures, constants, and functions used for the
7
+ // legacy DOS interface.
8
+ //
9
+ #pragma once
10
+ #ifndef _INC_DOS // include guard for 3rd party interop
11
+ #define _INC_DOS
12
+
13
+ #include <corecrt.h>
14
+
15
+ #pragma warning(push)
16
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
17
+ _UCRT_DISABLE_CLANG_WARNINGS
18
+
19
+ _CRT_BEGIN_C_HEADER
20
+
21
+ // File attribute constants
22
+ #define _A_NORMAL 0x00 // Normal file - No read/write restrictions
23
+ #define _A_RDONLY 0x01 // Read only file
24
+ #define _A_HIDDEN 0x02 // Hidden file
25
+ #define _A_SYSTEM 0x04 // System file
26
+ #define _A_SUBDIR 0x10 // Subdirectory
27
+ #define _A_ARCH 0x20 // Archive file
28
+
29
+ #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
30
+
31
+ #ifndef _DISKFREE_T_DEFINED
32
+ #define _DISKFREE_T_DEFINED
33
+
34
+ struct _diskfree_t
35
+ {
36
+ unsigned total_clusters;
37
+ unsigned avail_clusters;
38
+ unsigned sectors_per_cluster;
39
+ unsigned bytes_per_sector;
40
+ };
41
+ #endif
42
+
43
+ #if _CRT_FUNCTIONS_REQUIRED
44
+ _Success_(return == 0)
45
+ _Check_return_
46
+ _DCRTIMP unsigned __cdecl _getdiskfree(
47
+ _In_ unsigned _Drive,
48
+ _Out_ struct _diskfree_t* _DiskFree
49
+ );
50
+ #endif
51
+
52
+ #if defined(_CRT_INTERNAL_NONSTDC_NAMES) && _CRT_INTERNAL_NONSTDC_NAMES
53
+ #define diskfree_t _diskfree_t
54
+ #endif
55
+
56
+ #endif
57
+
58
+ _CRT_END_C_HEADER
59
+ _UCRT_RESTORE_CLANG_WARNINGS
60
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
61
+ #endif // _INC_DOS
miniMSVC/Windows Kits/10/Include/10.0.26100.0/ucrt/errno.h ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // errno.h
3
+ //
4
+ // Copyright (c) Microsoft Corporation. All rights reserved.
5
+ //
6
+ // System error numbers for use with errno and errno_t.
7
+ //
8
+ #pragma once
9
+ #ifndef _INC_ERRNO // include guard for 3rd party interop
10
+ #define _INC_ERRNO
11
+
12
+ #include <corecrt.h>
13
+
14
+ #pragma warning(push)
15
+ #pragma warning(disable: _UCRT_DISABLED_WARNINGS)
16
+ _UCRT_DISABLE_CLANG_WARNINGS
17
+
18
+ _CRT_BEGIN_C_HEADER
19
+
20
+
21
+
22
+ #if _CRT_FUNCTIONS_REQUIRED
23
+ _ACRTIMP int* __cdecl _errno(void);
24
+ #define errno (*_errno())
25
+
26
+ _ACRTIMP errno_t __cdecl _set_errno(_In_ int _Value);
27
+ _ACRTIMP errno_t __cdecl _get_errno(_Out_ int* _Value);
28
+
29
+ _ACRTIMP unsigned long* __cdecl __doserrno(void);
30
+ #define _doserrno (*__doserrno())
31
+
32
+ _ACRTIMP errno_t __cdecl _set_doserrno(_In_ unsigned long _Value);
33
+ _ACRTIMP errno_t __cdecl _get_doserrno(_Out_ unsigned long * _Value);
34
+ #endif // _CRT_FUNCTIONS_REQUIRED
35
+
36
+
37
+
38
+ // Error codes
39
+ #define EPERM 1
40
+ #define ENOENT 2
41
+ #define ESRCH 3
42
+ #define EINTR 4
43
+ #define EIO 5
44
+ #define ENXIO 6
45
+ #define E2BIG 7
46
+ #define ENOEXEC 8
47
+ #define EBADF 9
48
+ #define ECHILD 10
49
+ #define EAGAIN 11
50
+ #define ENOMEM 12
51
+ #define EACCES 13
52
+ #define EFAULT 14
53
+ #define EBUSY 16
54
+ #define EEXIST 17
55
+ #define EXDEV 18
56
+ #define ENODEV 19
57
+ #define ENOTDIR 20
58
+ #define EISDIR 21
59
+ #define ENFILE 23
60
+ #define EMFILE 24
61
+ #define ENOTTY 25
62
+ #define EFBIG 27
63
+ #define ENOSPC 28
64
+ #define ESPIPE 29
65
+ #define EROFS 30
66
+ #define EMLINK 31
67
+ #define EPIPE 32
68
+ #define EDOM 33
69
+ #define EDEADLK 36
70
+ #define ENAMETOOLONG 38
71
+ #define ENOLCK 39
72
+ #define ENOSYS 40
73
+ #define ENOTEMPTY 41
74
+
75
+ // Error codes used in the Secure CRT functions
76
+ #ifndef RC_INVOKED
77
+ #define _SECURECRT_ERRCODE_VALUES_DEFINED
78
+ #define EINVAL 22
79
+ #define ERANGE 34
80
+ #define EILSEQ 42
81
+ #define STRUNCATE 80
82
+ #endif
83
+
84
+ // Support EDEADLOCK for compatibility with older Microsoft C versions
85
+ #define EDEADLOCK EDEADLK
86
+
87
+ // POSIX Supplement
88
+ #ifndef _CRT_NO_POSIX_ERROR_CODES
89
+ #define EADDRINUSE 100
90
+ #define EADDRNOTAVAIL 101
91
+ #define EAFNOSUPPORT 102
92
+ #define EALREADY 103
93
+ #define EBADMSG 104
94
+ #define ECANCELED 105
95
+ #define ECONNABORTED 106
96
+ #define ECONNREFUSED 107
97
+ #define ECONNRESET 108
98
+ #define EDESTADDRREQ 109
99
+ #define EHOSTUNREACH 110
100
+ #define EIDRM 111
101
+ #define EINPROGRESS 112
102
+ #define EISCONN 113
103
+ #define ELOOP 114
104
+ #define EMSGSIZE 115
105
+ #define ENETDOWN 116
106
+ #define ENETRESET 117
107
+ #define ENETUNREACH 118
108
+ #define ENOBUFS 119
109
+ #define ENODATA 120
110
+ #define ENOLINK 121
111
+ #define ENOMSG 122
112
+ #define ENOPROTOOPT 123
113
+ #define ENOSR 124
114
+ #define ENOSTR 125
115
+ #define ENOTCONN 126
116
+ #define ENOTRECOVERABLE 127
117
+ #define ENOTSOCK 128
118
+ #define ENOTSUP 129
119
+ #define EOPNOTSUPP 130
120
+ #define EOTHER 131
121
+ #define EOVERFLOW 132
122
+ #define EOWNERDEAD 133
123
+ #define EPROTO 134
124
+ #define EPROTONOSUPPORT 135
125
+ #define EPROTOTYPE 136
126
+ #define ETIME 137
127
+ #define ETIMEDOUT 138
128
+ #define ETXTBSY 139
129
+ #define EWOULDBLOCK 140
130
+ #endif // _CRT_NO_POSIX_ERROR_CODES
131
+
132
+
133
+
134
+ _CRT_END_C_HEADER
135
+ _UCRT_RESTORE_CLANG_WARNINGS
136
+ #pragma warning(pop) // _UCRT_DISABLED_WARNINGS
137
+ #endif // _INC_ERRNO
miniMSVC/Windows Kits/10/bin/10.0.26100.0/x64/1033/wstracedumpresources.dll ADDED
Binary file (22.1 kB). View file
 
miniMSVC/Windows Kits/10/bin/10.0.26100.0/x64/1033/wstraceutilresources.dll ADDED
Binary file (26.2 kB). View file
 
miniMSVC/Windows Kits/10/bin/10.0.26100.0/x64/AccChecker/AccCheck.dll ADDED
Binary file (80.4 kB). View file
 
miniMSVC/Windows Kits/10/bin/10.0.26100.0/x64/AccChecker/AccCheckConsole.exe ADDED
Binary file (27.6 kB). View file
 
miniMSVC/Windows Kits/10/bin/10.0.26100.0/x64/AccChecker/AccCheckerCustomVerificationsHelp.htm ADDED
@@ -0,0 +1,350 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml" >
3
+ <head>
4
+ <title>AccChecker Custom Verification Routines</title>
5
+ <style>
6
+ <!--
7
+ /* Style Definitions */
8
+ p.MsoNormal, li.MsoNormal, div.MsoNormal
9
+ {mso-style-unhide:no;
10
+ mso-style-qformat:yes;
11
+ mso-style-parent:"";
12
+ margin-top:0in;
13
+ margin-right:0in;
14
+ margin-bottom:10.0pt;
15
+ margin-left:0in;
16
+ line-height:115%;
17
+ mso-pagination:widow-orphan;
18
+ font-size:11.0pt;
19
+ font-family:"Calibri","sans-serif";
20
+ mso-fareast-font-family:"Times New Roman";
21
+ mso-fareast-theme-font:minor-fareast;
22
+ mso-bidi-font-family:"Times New Roman";}
23
+ h1
24
+ {mso-style-priority:9;
25
+ mso-style-unhide:no;
26
+ mso-style-qformat:yes;
27
+ mso-style-link:"Heading 1 Char";
28
+ margin-top:24.0pt;
29
+ margin-right:0in;
30
+ margin-bottom:0in;
31
+ margin-left:0in;
32
+ margin-bottom:.0001pt;
33
+ line-height:115%;
34
+ mso-pagination:widow-orphan;
35
+ page-break-after:avoid;
36
+ mso-outline-level:1;
37
+ font-size:14.0pt;
38
+ font-family:"Cambria","serif";
39
+ mso-fareast-font-family:"Times New Roman";
40
+ mso-fareast-theme-font:minor-fareast;
41
+ color:#365F91;}
42
+ h2
43
+ {mso-style-priority:9;
44
+ mso-style-unhide:no;
45
+ mso-style-qformat:yes;
46
+ mso-style-link:"Heading 2 Char";
47
+ margin-top:10.0pt;
48
+ margin-right:0in;
49
+ margin-bottom:0in;
50
+ margin-left:0in;
51
+ margin-bottom:.0001pt;
52
+ line-height:115%;
53
+ mso-pagination:widow-orphan;
54
+ page-break-after:avoid;
55
+ mso-outline-level:2;
56
+ font-size:13.0pt;
57
+ font-family:"Cambria","serif";
58
+ mso-fareast-font-family:"Times New Roman";
59
+ mso-fareast-theme-font:minor-fareast;
60
+ color:#4F81BD;}
61
+ h3
62
+ {mso-style-priority:9;
63
+ mso-style-unhide:no;
64
+ mso-style-qformat:yes;
65
+ mso-style-link:"Heading 3 Char";
66
+ margin-top:10.0pt;
67
+ margin-right:0in;
68
+ margin-bottom:0in;
69
+ margin-left:0in;
70
+ margin-bottom:.0001pt;
71
+ line-height:115%;
72
+ mso-pagination:widow-orphan;
73
+ page-break-after:avoid;
74
+ mso-outline-level:3;
75
+ font-size:11.0pt;
76
+ font-family:"Cambria","serif";
77
+ mso-fareast-font-family:"Times New Roman";
78
+ mso-fareast-theme-font:minor-fareast;
79
+ color:#4F81BD;}
80
+ h4
81
+ {mso-style-priority:9;
82
+ mso-style-unhide:no;
83
+ mso-style-qformat:yes;
84
+ mso-style-link:"Heading 4 Char";
85
+ margin-top:10.0pt;
86
+ margin-right:0in;
87
+ margin-bottom:0in;
88
+ margin-left:0in;
89
+ margin-bottom:.0001pt;
90
+ line-height:115%;
91
+ mso-pagination:widow-orphan;
92
+ page-break-after:avoid;
93
+ mso-outline-level:4;
94
+ font-size:11.0pt;
95
+ font-family:"Cambria","serif";
96
+ mso-fareast-font-family:"Times New Roman";
97
+ mso-fareast-theme-font:minor-fareast;
98
+ color:#4F81BD;
99
+ font-style:italic;}
100
+ a:link, span.MsoHyperlink
101
+ {mso-style-priority:99;
102
+ color:blue;
103
+ text-decoration:underline;
104
+ text-underline:single;}
105
+ a:visited, span.MsoHyperlinkFollowed
106
+ {mso-style-noshow:yes;
107
+ mso-style-priority:99;
108
+ color:purple;
109
+ text-decoration:underline;
110
+ text-underline:single;}
111
+ code
112
+ {mso-style-noshow:yes;
113
+ mso-style-priority:99;
114
+ font-family:Consolas;
115
+ mso-ascii-font-family:Consolas;
116
+ mso-fareast-font-family:"Times New Roman";
117
+ mso-fareast-theme-font:minor-fareast;
118
+ mso-hansi-font-family:Consolas;
119
+ mso-bidi-font-family:"Courier New";}
120
+ p.MsoCaption, li.MsoCaption, div.MsoCaption
121
+ {mso-style-priority:35;
122
+ mso-style-unhide:no;
123
+ mso-style-qformat:yes;
124
+ margin-top:0in;
125
+ margin-right:0in;
126
+ margin-bottom:10.0pt;
127
+ margin-left:0in;
128
+ mso-pagination:widow-orphan;
129
+ font-size:9.0pt;
130
+ font-family:"Calibri","sans-serif";
131
+ mso-fareast-font-family:"Times New Roman";
132
+ mso-fareast-theme-font:minor-fareast;
133
+ mso-bidi-font-family:"Times New Roman";
134
+ color:#4F81BD;
135
+ font-weight:bold;}
136
+ -->
137
+ </style>
138
+ </head>
139
+ <body lang="EN-US" link="blue" vlink="purple" style="tab-interval:.5in">
140
+ <h1>AccChecker Custom Verification Routines</h1>
141
+ <p class="MsoNormal">This document describes how to create a custom verification routine for the UI Accessibility Checker (AccChecker) tool. </p>
142
+ <h2>Overview</h2>
143
+ <p class="MsoNormal">
144
+ UI Accessibility Checker (AccChecker) is an accessibility test tool designed to verify the implementation of Microsoft Active Accessibility (Active Accessibility) in a control or application user interface (UI). High impact accessibility issues that might be exposed by the Active Accessibility implementation are tested with a set of built-in automated verification routines. These native verification routines can be augmented with customized routines using the extensible AccChecker platform.
145
+ </p>
146
+ <h2>Creating a Custom Verification</h2>
147
+ <p class="MsoNormal">A custom verification is built as a class library (DLL) that implements a single interface (IVerificationRoutine) containing one member (Execute):
148
+ </p>
149
+ <pre><code>
150
+ void Execute(System.IntPtr hwnd, AccCheck.Logging.ILogger logger, bool AllowUI, AccCheck.GraphicsHelper graphics)
151
+ </code></pre>
152
+ <p class="MsoNormal">
153
+ <strong>Parameters</strong>
154
+ </p>
155
+ <p class="MsoNormal">
156
+ hwnd<br />
157
+ Type: System.IntPtr
158
+ </p>
159
+ <p class="MsoNormal">
160
+ The hWnd of the element being verified.
161
+ </p>
162
+ <p class="MsoNormal">
163
+ logger<br />
164
+ Type: AccCheck.Logging.ILogger
165
+ </p>
166
+ <p class="MsoNormal">
167
+ The selected logging method. Possible types include AccumulatingLogger (used by AccChecker to cache all log entries until verifications are complete), ConsoleLogger, TextFileLogger, and XMLSerializingLogger.
168
+ </p>
169
+ <p class="MsoNormal">
170
+ AllowUI<br />
171
+ Type: bool
172
+ </p>
173
+ <p class="MsoNormal">
174
+ Indicates whether the verification routine displays the UI it is testing. Generally set to false in automated testing scenarios.
175
+ </p>
176
+ <p class="MsoNormal">
177
+ graphics<br />
178
+ Type: AccCheck.GraphicsHelper
179
+ </p>
180
+ <p class="MsoNormal">
181
+ Used for screenshots and other visualizations within AccChecker.
182
+ </p>
183
+ <a name="SampleCustomVerification" /><h3>Sample Custom Verification</h3>
184
+ <p class="MsoNormal">
185
+ The following is a C# custom verification that performs a simple element tree depth check. An error is logged if the element tree is greater than 50 levels deep, a warning is logged if the element tree is 20
186
+ to 50 levels deep, and an informational message is logged otherwise.
187
+ </p>
188
+ <pre>
189
+ <code>using System;
190
+ using System.Collections.Generic;
191
+ using System.Text;
192
+ using AccCheck;
193
+ using AccCheck.Logging;
194
+ using AccCheck.Verification;
195
+
196
+ namespace VerificationRoutines
197
+ {
198
+ \\ Verification routine attributes.
199
+ \\ If these values are not specified, the verification will not be displayed in the
200
+ \\ AccChecker UI. However, it is still loaded and will be included in all subsequent
201
+ \\ verification runs since it cannot be unchecked and excluded.
202
+ [Verification(
203
+ // Title - the title of the verification routine.
204
+ "Sample Check Tree Depth",
205
+ // Description - this attribute is not currently displayed.
206
+ "Checks that the accessibility tree isn't excessively deep.",
207
+ // Group Title - the verification group to add the routine. This can be a new or existing group.
208
+ Group = "TreeDepthCheck"
209
+ )]
210
+
211
+ public class CheckTreeDepth : IVerificationRoutine
212
+ {
213
+ private const int S_OK = 0;
214
+ private const int ERROR_TREE_DEPTH = 50;
215
+ private const int WARNING_TREE_DEPTH = 20;
216
+ private int _depth = 0;
217
+
218
+ private void TraverseTree(Accessible parent, int level)
219
+ {
220
+ if (level > _depth)
221
+ {
222
+ _depth = level;
223
+ }
224
+
225
+ // never go deeper than ERROR_TREE_DEPTH, that's a sign of a loop
226
+ if (_depth > ERROR_TREE_DEPTH)
227
+ {
228
+ return;
229
+ }
230
+
231
+ Accessible[] children;
232
+ if (parent.Children(out children) == S_OK)
233
+ {
234
+ foreach (Accessible child in children)
235
+ {
236
+ TraverseTree(child, level + 1);
237
+ }
238
+ }
239
+ }
240
+
241
+ public void Execute(IntPtr hwnd, ILogger logger, bool AllowUI, GraphicsHelper graphics)
242
+ {
243
+ Accessible root;
244
+ if (Accessible.FromWindow(hwnd, out root) == S_OK)
245
+ {
246
+ TraverseTree(root, 0);
247
+ }
248
+ else
249
+ {
250
+ return;
251
+ }
252
+
253
+ if (_depth >= ERROR_TREE_DEPTH)
254
+ {
255
+ logger.Log(new LogEvent(EventLevel.Error, "DepthCheck", String.Format("The tree is too deep; the tree is {0} levels deep", _depth), "", System.Drawing.Rectangle.Empty, this.GetType()));
256
+ }
257
+ else if (_depth >= WARNING_TREE_DEPTH)
258
+ {
259
+ logger.Log(new LogEvent(EventLevel.Warning, "DepthCheck", String.Format("The tree might be too deep; the tree is {0} levels deep", _depth), "", System.Drawing.Rectangle.Empty, this.GetType()));
260
+ }
261
+ else
262
+ {
263
+ logger.Log(new LogEvent(EventLevel.Information, "DepthCheck", string.Format("The tree is {0} levels deep", _depth), "", System.Drawing.Rectangle.Empty, this.GetType()));
264
+ }
265
+ }
266
+ }
267
+ }</code></pre>
268
+ <p class="MsoNormal">
269
+ <strong>Note: </strong>
270
+ A Microsoft Visual Studio 2008 solution that contains verification sample code is included with the help documentation. The files are located in the AccChecker installation path.
271
+ </p>
272
+ <h2>Using a Custom Verification</h2>
273
+ <p class="MsoNormal">
274
+ This section describes how to incorporate a custom verification into AccChecker test scenarios.
275
+ </p>
276
+ <h3>The AccChecker Graphical User Interface (GUI)</h3>
277
+ <p class="MsoNormal">
278
+ To include a custom verification routine in the AccChecker application, simply click <strong>Open DLL</strong> from the <strong>File</strong> menu and locate the DLL for the routine. The custom routine will be added to the bottom of the list of verifications in the <strong>Select verification routines</strong> pane.
279
+ </p>
280
+ <p class="MsoNormal">
281
+ The following screen shot shows the <a href="#SampleCustomVerification">Sample Check Tree Depth</a> custom verification added to AccChecker.
282
+ </p>
283
+ <p>
284
+ <img border="0" width="266" height="381" id="AccChecker_CustomVerification"
285
+ src="AccChecker_HelpFiles/AccChecker_CustomVerification.PNG" alt="The Sample Check Tree Depth custom verification routine added to the AccChecker UI."/>
286
+ </p>
287
+ <p class=MsoCaption>Figure 1. The Sample Check Tree Depth custom verification routine added to the AccChecker UI.</p>
288
+ <p class="MsoNormal">
289
+ <strong>Note: </strong>If the verification attribute values are not specified in the custom verification routine, the verification is still loaded into AccChecker even though it does not appear in the UI. Since it is not displayed in the UI, it cannot be unchecked and excluded from subsequent verification runs.
290
+ </p>
291
+ <h3>AccChecker Automation</h3>
292
+ <p class="MsoNormal">
293
+ Incorporating a custom verification routine into an automated AccChecker framework is as simple as adding the verification DLL and enabling the desired verification routines.
294
+ </p>
295
+ <p class="MsoNormal">The following code snippet demonstrates how to use the AccChecker API to test tabbing functionality
296
+ in the Windows Firewall control panel application.</p>
297
+
298
+ <pre>
299
+ <code>using System;
300
+ using System.Collections.Generic;
301
+ using System.Linq;
302
+ using System.Text;
303
+ using AccCheck.Logging;
304
+
305
+ public class TestCases : TestBase
306
+ {
307
+ public void AccessibilityTestCase()
308
+ {
309
+ // Get our user interface ready for AccChecker.
310
+ Setup();
311
+
312
+ // AccChecker's class representing verifications that you can run
313
+ AccCheck.Verification.VerificationManager vm = new AccCheck.Verification.VerificationManager();
314
+
315
+ // Create a console logger to get output in the console.
316
+ ConsoleLogger consoleLogger = new ConsoleLogger();
317
+
318
+ // Add the AccChecker Console Logger.
319
+ vm.AddLogger(consoleLogger);
320
+
321
+ // Disable all verifications; all verifications are enabled by default.
322
+ vm.DisableVerifications(AccCheck.Verification.VerificationFilter.All);
323
+
324
+ // Add a custom verification DLL.
325
+ vm.AddVerificationDll("CheckTreeDepthVerification.dll");
326
+
327
+ // Enable the routine we want to run.
328
+ vm.EnableRoutine("Sample Check Tree Depth");
329
+
330
+ // Run the verification routine against the firewall.
331
+ vm.ExecuteEnabled(_fireWallHwnd);
332
+
333
+ // Check the logger to see if the verification failed.
334
+ if (consoleLogger.ErrorCount > 0)
335
+ {
336
+ Console.WriteLine("Test failed!");
337
+
338
+ Console.WriteLine("Error count = " + consoleLogger.ErrorCount);
339
+ }
340
+
341
+ // Cleanup the user interface.
342
+ Cleanup();
343
+ }
344
+ }</code></pre>
345
+ <p class="MsoNormal">
346
+ <strong>Note: </strong>
347
+ A Microsoft Visual Studio 2008 solution that contains verification sample code is included with the help documentation. The files are located in the AccChecker installation path.
348
+ </p>
349
+ </body>
350
+ </html>
miniMSVC/Windows Kits/10/bin/10.0.26100.0/x64/AccChecker/AccCheckerHelp.htm ADDED
The diff for this file is too large to render. See raw diff
 
miniMSVC/Windows Kits/10/bin/10.0.26100.0/x64/AccChecker/AccCheckerWebARIAHelp.htm ADDED
The diff for this file is too large to render. See raw diff
 
miniMSVC/Windows Kits/10/bin/10.0.26100.0/x64/AccChecker/AccCheckerWebPluginHelp.htm ADDED
@@ -0,0 +1,1226 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml" >
3
+ <head>
4
+ <title>AccChecker Web Plug-in Help</title>
5
+ <style>
6
+ <!--
7
+ /* Style Definitions */
8
+ p.MsoNormal, li.MsoNormal, div.MsoNormal
9
+ {mso-style-unhide:no;
10
+ mso-style-qformat:yes;
11
+ mso-style-parent:"";
12
+ margin-top:0in;
13
+ margin-right:0in;
14
+ margin-bottom:10.0pt;
15
+ margin-left:0in;
16
+ line-height:115%;
17
+ mso-pagination:widow-orphan;
18
+ font-size:11.0pt;
19
+ font-family:"Calibri","sans-serif";
20
+ mso-fareast-font-family:"Times New Roman";
21
+ mso-fareast-theme-font:minor-fareast;
22
+ mso-bidi-font-family:"Times New Roman";}
23
+ h1
24
+ {mso-style-priority:9;
25
+ mso-style-unhide:no;
26
+ mso-style-qformat:yes;
27
+ mso-style-link:"Heading 1 Char";
28
+ margin-top:24.0pt;
29
+ margin-right:0in;
30
+ margin-bottom:0in;
31
+ margin-left:0in;
32
+ margin-bottom:.0001pt;
33
+ line-height:115%;
34
+ mso-pagination:widow-orphan;
35
+ page-break-after:avoid;
36
+ mso-outline-level:1;
37
+ font-size:14.0pt;
38
+ font-family:"Cambria","serif";
39
+ mso-fareast-font-family:"Times New Roman";
40
+ mso-fareast-theme-font:minor-fareast;
41
+ color:#365F91;}
42
+ h2
43
+ {mso-style-priority:9;
44
+ mso-style-unhide:no;
45
+ mso-style-qformat:yes;
46
+ mso-style-link:"Heading 2 Char";
47
+ margin-top:10.0pt;
48
+ margin-right:0in;
49
+ margin-bottom:0in;
50
+ margin-left:0in;
51
+ margin-bottom:.0001pt;
52
+ line-height:115%;
53
+ mso-pagination:widow-orphan;
54
+ page-break-after:avoid;
55
+ mso-outline-level:2;
56
+ font-size:13.0pt;
57
+ font-family:"Cambria","serif";
58
+ mso-fareast-font-family:"Times New Roman";
59
+ mso-fareast-theme-font:minor-fareast;
60
+ color:#4F81BD;}
61
+ h3
62
+ {mso-style-priority:9;
63
+ mso-style-unhide:no;
64
+ mso-style-qformat:yes;
65
+ mso-style-link:"Heading 3 Char";
66
+ margin-top:10.0pt;
67
+ margin-right:0in;
68
+ margin-bottom:0in;
69
+ margin-left:0in;
70
+ margin-bottom:.0001pt;
71
+ line-height:115%;
72
+ mso-pagination:widow-orphan;
73
+ page-break-after:avoid;
74
+ mso-outline-level:3;
75
+ font-size:11.0pt;
76
+ font-family:"Cambria","serif";
77
+ mso-fareast-font-family:"Times New Roman";
78
+ mso-fareast-theme-font:minor-fareast;
79
+ color:#4F81BD;}
80
+ h4
81
+ {mso-style-priority:9;
82
+ mso-style-unhide:no;
83
+ mso-style-qformat:yes;
84
+ mso-style-link:"Heading 4 Char";
85
+ margin-top:10.0pt;
86
+ margin-right:0in;
87
+ margin-bottom:0in;
88
+ margin-left:0in;
89
+ margin-bottom:.0001pt;
90
+ line-height:115%;
91
+ mso-pagination:widow-orphan;
92
+ page-break-after:avoid;
93
+ mso-outline-level:4;
94
+ font-size:11.0pt;
95
+ font-family:"Cambria","serif";
96
+ mso-fareast-font-family:"Times New Roman";
97
+ mso-fareast-theme-font:minor-fareast;
98
+ color:#4F81BD;
99
+ font-style:italic;}
100
+ p.MsoToc1, li.MsoToc1, div.MsoToc1
101
+ {mso-style-update:auto;
102
+ mso-style-noshow:yes;
103
+ mso-style-priority:39;
104
+ margin-top:0in;
105
+ margin-right:0in;
106
+ margin-bottom:5.0pt;
107
+ margin-left:0in;
108
+ line-height:115%;
109
+ mso-pagination:widow-orphan;
110
+ font-size:11.0pt;
111
+ font-family:"Calibri","sans-serif";
112
+ mso-fareast-font-family:"Times New Roman";
113
+ mso-fareast-theme-font:minor-fareast;
114
+ mso-bidi-font-family:"Times New Roman";}
115
+ p.MsoToc2, li.MsoToc2, div.MsoToc2
116
+ {mso-style-update:auto;
117
+ mso-style-noshow:yes;
118
+ mso-style-priority:39;
119
+ margin-top:0in;
120
+ margin-right:0in;
121
+ margin-bottom:5.0pt;
122
+ margin-left:11.0pt;
123
+ line-height:115%;
124
+ mso-pagination:widow-orphan;
125
+ font-size:11.0pt;
126
+ font-family:"Calibri","sans-serif";
127
+ mso-fareast-font-family:"Times New Roman";
128
+ mso-fareast-theme-font:minor-fareast;
129
+ mso-bidi-font-family:"Times New Roman";}
130
+ p.MsoToc3, li.MsoToc3, div.MsoToc3
131
+ {mso-style-update:auto;
132
+ mso-style-noshow:yes;
133
+ mso-style-priority:39;
134
+ margin-top:0in;
135
+ margin-right:0in;
136
+ margin-bottom:5.0pt;
137
+ margin-left:22.0pt;
138
+ line-height:115%;
139
+ mso-pagination:widow-orphan;
140
+ font-size:11.0pt;
141
+ font-family:"Calibri","sans-serif";
142
+ mso-fareast-font-family:"Times New Roman";
143
+ mso-fareast-theme-font:minor-fareast;
144
+ mso-bidi-font-family:"Times New Roman";}
145
+ p.MsoToc4, li.MsoToc4, div.MsoToc4
146
+ {mso-style-update:auto;
147
+ mso-style-noshow:yes;
148
+ mso-style-priority:40;
149
+ margin-top:0in;
150
+ margin-right:0in;
151
+ margin-bottom:5.0pt;
152
+ margin-left:33.0pt;
153
+ line-height:115%;
154
+ mso-pagination:widow-orphan;
155
+ font-size:11.0pt;
156
+ font-family:"Calibri","sans-serif";
157
+ mso-fareast-font-family:"Times New Roman";
158
+ mso-fareast-theme-font:minor-fareast;
159
+ mso-bidi-font-family:"Times New Roman";}
160
+ p.MsoCommentText, li.MsoCommentText, div.MsoCommentText
161
+ {mso-style-noshow:yes;
162
+ mso-style-priority:99;
163
+ mso-style-link:"Comment Text Char";
164
+ margin-top:0in;
165
+ margin-right:0in;
166
+ margin-bottom:10.0pt;
167
+ margin-left:0in;
168
+ mso-pagination:widow-orphan;
169
+ font-size:10.0pt;
170
+ font-family:"Calibri","sans-serif";
171
+ mso-fareast-font-family:"Times New Roman";
172
+ mso-fareast-theme-font:minor-fareast;
173
+ mso-bidi-font-family:"Times New Roman";}
174
+ p.MsoHeader, li.MsoHeader, div.MsoHeader
175
+ {mso-style-noshow:yes;
176
+ mso-style-priority:99;
177
+ mso-style-link:"Header Char";
178
+ margin:0in;
179
+ margin-bottom:.0001pt;
180
+ mso-pagination:widow-orphan;
181
+ font-size:11.0pt;
182
+ font-family:"Calibri","sans-serif";
183
+ mso-fareast-font-family:"Times New Roman";
184
+ mso-fareast-theme-font:minor-fareast;
185
+ mso-bidi-font-family:"Times New Roman";}
186
+ p.MsoFooter, li.MsoFooter, div.MsoFooter
187
+ {mso-style-noshow:yes;
188
+ mso-style-priority:99;
189
+ mso-style-link:"Footer Char";
190
+ margin:0in;
191
+ margin-bottom:.0001pt;
192
+ mso-pagination:widow-orphan;
193
+ font-size:11.0pt;
194
+ font-family:"Calibri","sans-serif";
195
+ mso-fareast-font-family:"Times New Roman";
196
+ mso-fareast-theme-font:minor-fareast;
197
+ mso-bidi-font-family:"Times New Roman";}
198
+ p.MsoCaption, li.MsoCaption, div.MsoCaption
199
+ {mso-style-priority:35;
200
+ mso-style-unhide:no;
201
+ mso-style-qformat:yes;
202
+ margin-top:0in;
203
+ margin-right:0in;
204
+ margin-bottom:10.0pt;
205
+ margin-left:0in;
206
+ mso-pagination:widow-orphan;
207
+ font-size:9.0pt;
208
+ font-family:"Calibri","sans-serif";
209
+ mso-fareast-font-family:"Times New Roman";
210
+ mso-fareast-theme-font:minor-fareast;
211
+ mso-bidi-font-family:"Times New Roman";
212
+ color:#4F81BD;
213
+ font-weight:bold;}
214
+ p.MsoMacroText, li.MsoMacroText, div.MsoMacroText
215
+ {mso-style-noshow:yes;
216
+ mso-style-priority:99;
217
+ mso-style-link:"Macro Text Char";
218
+ margin:0in;
219
+ margin-bottom:.0001pt;
220
+ line-height:115%;
221
+ mso-pagination:widow-orphan;
222
+ font-size:10.0pt;
223
+ font-family:Consolas;
224
+ mso-fareast-font-family:"Times New Roman";
225
+ mso-fareast-theme-font:minor-fareast;
226
+ mso-bidi-font-family:"Times New Roman";}
227
+ p.MsoTitle, li.MsoTitle, div.MsoTitle
228
+ {mso-style-priority:10;
229
+ mso-style-unhide:no;
230
+ mso-style-qformat:yes;
231
+ mso-style-link:"Title Char";
232
+ margin-top:0in;
233
+ margin-right:0in;
234
+ margin-bottom:15.0pt;
235
+ margin-left:0in;
236
+ mso-pagination:widow-orphan;
237
+ font-size:26.0pt;
238
+ font-family:"Cambria","serif";
239
+ mso-fareast-font-family:"Times New Roman";
240
+ mso-fareast-theme-font:minor-fareast;
241
+ mso-bidi-font-family:"Times New Roman";
242
+ color:#17365D;
243
+ letter-spacing:.25pt;}
244
+ a:link, span.MsoHyperlink
245
+ {mso-style-priority:99;
246
+ color:blue;
247
+ text-decoration:underline;
248
+ text-underline:single;}
249
+ a:visited, span.MsoHyperlinkFollowed
250
+ {mso-style-noshow:yes;
251
+ mso-style-priority:99;
252
+ color:purple;
253
+ text-decoration:underline;
254
+ text-underline:single;}
255
+ code
256
+ {mso-style-noshow:yes;
257
+ mso-style-priority:99;
258
+ font-family:Consolas;
259
+ mso-ascii-font-family:Consolas;
260
+ mso-fareast-font-family:"Times New Roman";
261
+ mso-fareast-theme-font:minor-fareast;
262
+ mso-hansi-font-family:Consolas;
263
+ mso-bidi-font-family:"Courier New";}
264
+ p.MsoCommentSubject, li.MsoCommentSubject, div.MsoCommentSubject
265
+ {mso-style-noshow:yes;
266
+ mso-style-priority:99;
267
+ mso-style-link:"Comment Subject Char";
268
+ margin-top:0in;
269
+ margin-right:0in;
270
+ margin-bottom:10.0pt;
271
+ margin-left:0in;
272
+ mso-pagination:widow-orphan;
273
+ font-size:10.0pt;
274
+ font-family:"Calibri","sans-serif";
275
+ mso-fareast-font-family:"Times New Roman";
276
+ mso-fareast-theme-font:minor-fareast;
277
+ mso-bidi-font-family:"Times New Roman";
278
+ font-weight:bold;}
279
+ p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
280
+ {mso-style-noshow:yes;
281
+ mso-style-priority:99;
282
+ mso-style-link:"Balloon Text Char";
283
+ margin:0in;
284
+ margin-bottom:.0001pt;
285
+ mso-pagination:widow-orphan;
286
+ font-size:8.0pt;
287
+ font-family:"Tahoma","sans-serif";
288
+ mso-fareast-font-family:"Times New Roman";
289
+ mso-fareast-theme-font:minor-fareast;}
290
+ p.MsoNoSpacing, li.MsoNoSpacing, div.MsoNoSpacing
291
+ {mso-style-priority:1;
292
+ mso-style-unhide:no;
293
+ mso-style-qformat:yes;
294
+ margin:0in;
295
+ margin-bottom:.0001pt;
296
+ mso-pagination:widow-orphan;
297
+ font-size:11.0pt;
298
+ font-family:"Calibri","sans-serif";
299
+ mso-fareast-font-family:"Times New Roman";
300
+ mso-fareast-theme-font:minor-fareast;
301
+ mso-bidi-font-family:"Times New Roman";}
302
+ p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
303
+ {mso-style-priority:34;
304
+ mso-style-unhide:no;
305
+ mso-style-qformat:yes;
306
+ margin-top:0in;
307
+ margin-right:0in;
308
+ margin-bottom:10.0pt;
309
+ margin-left:.5in;
310
+ line-height:115%;
311
+ mso-pagination:widow-orphan;
312
+ font-size:11.0pt;
313
+ font-family:"Calibri","sans-serif";
314
+ mso-fareast-font-family:"Times New Roman";
315
+ mso-fareast-theme-font:minor-fareast;
316
+ mso-bidi-font-family:"Times New Roman";}
317
+ p.MsoTocHeading, li.MsoTocHeading, div.MsoTocHeading
318
+ {mso-style-priority:39;
319
+ mso-style-unhide:no;
320
+ mso-style-qformat:yes;
321
+ margin-top:24.0pt;
322
+ margin-right:0in;
323
+ margin-bottom:0in;
324
+ margin-left:0in;
325
+ margin-bottom:.0001pt;
326
+ line-height:115%;
327
+ mso-pagination:widow-orphan;
328
+ page-break-after:avoid;
329
+ font-size:14.0pt;
330
+ font-family:"Cambria","serif";
331
+ mso-fareast-font-family:"Times New Roman";
332
+ mso-fareast-theme-font:minor-fareast;
333
+ mso-bidi-font-family:"Times New Roman";
334
+ color:#365F91;
335
+ font-weight:bold;}
336
+ span.Heading1Char
337
+ {mso-style-name:"Heading 1 Char";
338
+ mso-style-priority:9;
339
+ mso-style-unhide:no;
340
+ mso-style-locked:yes;
341
+ mso-style-link:"Heading 1";
342
+ font-family:"Cambria","serif";
343
+ mso-ascii-font-family:Cambria;
344
+ mso-hansi-font-family:Cambria;
345
+ color:#365F91;
346
+ font-weight:bold;}
347
+ span.Heading2Char
348
+ {mso-style-name:"Heading 2 Char";
349
+ mso-style-noshow:yes;
350
+ mso-style-priority:9;
351
+ mso-style-unhide:no;
352
+ mso-style-locked:yes;
353
+ mso-style-link:"Heading 2";
354
+ font-family:"Cambria","serif";
355
+ mso-ascii-font-family:Cambria;
356
+ mso-hansi-font-family:Cambria;
357
+ color:#4F81BD;
358
+ font-weight:bold;}
359
+ span.Heading3Char
360
+ {mso-style-name:"Heading 3 Char";
361
+ mso-style-noshow:yes;
362
+ mso-style-priority:9;
363
+ mso-style-unhide:no;
364
+ mso-style-locked:yes;
365
+ mso-style-link:"Heading 3";
366
+ font-family:"Cambria","serif";
367
+ mso-ascii-font-family:Cambria;
368
+ mso-hansi-font-family:Cambria;
369
+ color:#4F81BD;
370
+ font-weight:bold;}
371
+ span.Heading4Char
372
+ {mso-style-name:"Heading 4 Char";
373
+ mso-style-noshow:yes;
374
+ mso-style-priority:9;
375
+ mso-style-unhide:no;
376
+ mso-style-locked:yes;
377
+ mso-style-link:"Heading 4";
378
+ font-family:"Cambria","serif";
379
+ mso-ascii-font-family:Cambria;
380
+ mso-hansi-font-family:Cambria;
381
+ color:#4F81BD;
382
+ font-weight:bold;
383
+ font-style:italic;}
384
+ span.CommentTextChar
385
+ {mso-style-name:"Comment Text Char";
386
+ mso-style-noshow:yes;
387
+ mso-style-priority:99;
388
+ mso-style-unhide:no;
389
+ mso-style-locked:yes;
390
+ mso-style-link:"Comment Text";}
391
+ span.HeaderChar
392
+ {mso-style-name:"Header Char";
393
+ mso-style-noshow:yes;
394
+ mso-style-priority:99;
395
+ mso-style-unhide:no;
396
+ mso-style-locked:yes;
397
+ mso-style-link:Header;}
398
+ span.FooterChar
399
+ {mso-style-name:"Footer Char";
400
+ mso-style-noshow:yes;
401
+ mso-style-priority:99;
402
+ mso-style-unhide:no;
403
+ mso-style-locked:yes;
404
+ mso-style-link:Footer;}
405
+ span.MacroTextChar
406
+ {mso-style-name:"Macro Text Char";
407
+ mso-style-noshow:yes;
408
+ mso-style-priority:99;
409
+ mso-style-unhide:no;
410
+ mso-style-locked:yes;
411
+ mso-style-link:"Macro Text";
412
+ font-family:Consolas;
413
+ mso-ascii-font-family:Consolas;
414
+ mso-hansi-font-family:Consolas;}
415
+ span.TitleChar
416
+ {mso-style-name:"Title Char";
417
+ mso-style-priority:10;
418
+ mso-style-unhide:no;
419
+ mso-style-locked:yes;
420
+ mso-style-link:Title;
421
+ font-family:"Cambria","serif";
422
+ mso-ascii-font-family:Cambria;
423
+ mso-hansi-font-family:Cambria;
424
+ color:#17365D;
425
+ letter-spacing:.25pt;}
426
+ span.CommentSubjectChar
427
+ {mso-style-name:"Comment Subject Char";
428
+ mso-style-noshow:yes;
429
+ mso-style-priority:99;
430
+ mso-style-unhide:no;
431
+ mso-style-locked:yes;
432
+ mso-style-link:"Comment Subject";
433
+ font-weight:bold;}
434
+ span.BalloonTextChar
435
+ {mso-style-name:"Balloon Text Char";
436
+ mso-style-noshow:yes;
437
+ mso-style-priority:99;
438
+ mso-style-unhide:no;
439
+ mso-style-locked:yes;
440
+ mso-style-link:"Balloon Text";
441
+ font-family:"Tahoma","sans-serif";
442
+ mso-ascii-font-family:Tahoma;
443
+ mso-hansi-font-family:Tahoma;
444
+ mso-bidi-font-family:Tahoma;}
445
+ p.msotitlecxspfirst, li.msotitlecxspfirst, div.msotitlecxspfirst
446
+ {mso-style-name:msotitlecxspfirst;
447
+ mso-style-unhide:no;
448
+ mso-style-link:"Title Char";
449
+ margin:0in;
450
+ margin-bottom:.0001pt;
451
+ mso-pagination:widow-orphan;
452
+ font-size:26.0pt;
453
+ font-family:"Cambria","serif";
454
+ mso-fareast-font-family:"Times New Roman";
455
+ mso-fareast-theme-font:minor-fareast;
456
+ mso-bidi-font-family:"Times New Roman";
457
+ color:#17365D;
458
+ letter-spacing:.25pt;}
459
+ p.msotitlecxspmiddle, li.msotitlecxspmiddle, div.msotitlecxspmiddle
460
+ {mso-style-name:msotitlecxspmiddle;
461
+ mso-style-unhide:no;
462
+ mso-style-link:"Title Char";
463
+ margin:0in;
464
+ margin-bottom:.0001pt;
465
+ mso-pagination:widow-orphan;
466
+ font-size:26.0pt;
467
+ font-family:"Cambria","serif";
468
+ mso-fareast-font-family:"Times New Roman";
469
+ mso-fareast-theme-font:minor-fareast;
470
+ mso-bidi-font-family:"Times New Roman";
471
+ color:#17365D;
472
+ letter-spacing:.25pt;}
473
+ p.msotitlecxsplast, li.msotitlecxsplast, div.msotitlecxsplast
474
+ {mso-style-name:msotitlecxsplast;
475
+ mso-style-unhide:no;
476
+ mso-style-link:"Title Char";
477
+ margin-top:0in;
478
+ margin-right:0in;
479
+ margin-bottom:15.0pt;
480
+ margin-left:0in;
481
+ mso-pagination:widow-orphan;
482
+ font-size:26.0pt;
483
+ font-family:"Cambria","serif";
484
+ mso-fareast-font-family:"Times New Roman";
485
+ mso-fareast-theme-font:minor-fareast;
486
+ mso-bidi-font-family:"Times New Roman";
487
+ color:#17365D;
488
+ letter-spacing:.25pt;}
489
+ p.msolistparagraphcxspfirst, li.msolistparagraphcxspfirst, div.msolistparagraphcxspfirst
490
+ {mso-style-name:msolistparagraphcxspfirst;
491
+ mso-style-unhide:no;
492
+ margin-top:0in;
493
+ margin-right:0in;
494
+ margin-bottom:0in;
495
+ margin-left:.5in;
496
+ margin-bottom:.0001pt;
497
+ line-height:115%;
498
+ mso-pagination:widow-orphan;
499
+ font-size:11.0pt;
500
+ font-family:"Calibri","sans-serif";
501
+ mso-fareast-font-family:"Times New Roman";
502
+ mso-fareast-theme-font:minor-fareast;
503
+ mso-bidi-font-family:"Times New Roman";}
504
+ p.msolistparagraphcxspmiddle, li.msolistparagraphcxspmiddle, div.msolistparagraphcxspmiddle
505
+ {mso-style-name:msolistparagraphcxspmiddle;
506
+ mso-style-unhide:no;
507
+ margin-top:0in;
508
+ margin-right:0in;
509
+ margin-bottom:0in;
510
+ margin-left:.5in;
511
+ margin-bottom:.0001pt;
512
+ line-height:115%;
513
+ mso-pagination:widow-orphan;
514
+ font-size:11.0pt;
515
+ font-family:"Calibri","sans-serif";
516
+ mso-fareast-font-family:"Times New Roman";
517
+ mso-fareast-theme-font:minor-fareast;
518
+ mso-bidi-font-family:"Times New Roman";}
519
+ p.msolistparagraphcxsplast, li.msolistparagraphcxsplast, div.msolistparagraphcxsplast
520
+ {mso-style-name:msolistparagraphcxsplast;
521
+ mso-style-unhide:no;
522
+ margin-top:0in;
523
+ margin-right:0in;
524
+ margin-bottom:10.0pt;
525
+ margin-left:.5in;
526
+ line-height:115%;
527
+ mso-pagination:widow-orphan;
528
+ font-size:11.0pt;
529
+ font-family:"Calibri","sans-serif";
530
+ mso-fareast-font-family:"Times New Roman";
531
+ mso-fareast-theme-font:minor-fareast;
532
+ mso-bidi-font-family:"Times New Roman";}
533
+ p.msopapdefault, li.msopapdefault, div.msopapdefault
534
+ {mso-style-name:msopapdefault;
535
+ mso-style-unhide:no;
536
+ mso-margin-top-alt:auto;
537
+ margin-right:0in;
538
+ margin-bottom:10.0pt;
539
+ margin-left:0in;
540
+ line-height:115%;
541
+ mso-pagination:widow-orphan;
542
+ font-size:12.0pt;
543
+ font-family:"Times New Roman","serif";
544
+ mso-fareast-font-family:"Times New Roman";
545
+ mso-fareast-theme-font:minor-fareast;}
546
+ .MsoChpDefault
547
+ {mso-style-type:export-only;
548
+ mso-default-props:yes;
549
+ font-size:10.0pt;
550
+ mso-ansi-font-size:10.0pt;
551
+ mso-bidi-font-size:10.0pt;}
552
+ -->
553
+ </style>
554
+ </head>
555
+ <body lang="EN-US" link="blue" vlink="purple" style="tab-interval:.5in">
556
+
557
+ <div style="border:none;border-bottom:solid #4F81BD 1.0pt;padding:0in 0in 4.0pt 0in">
558
+
559
+ <p class="MsoTitle">UI Accessibility Checker Web Plug-in</p>
560
+
561
+ </div>
562
+
563
+ <p class="MsoTocHeading">Contents</p>
564
+
565
+ <p class="MsoToc1"><span class="MsoHyperlink"><a href="#WebVerificationLogMessages">Web Verification
566
+ Log Messages</a></span></p>
567
+
568
+
569
+ <p class="MsoToc2"><span class="MsoHyperlink"><a href="#WebCheckHtml">Web
570
+ � Check Html</a></span></p>
571
+
572
+ <p class="MsoToc3"><span class="MsoHyperlink"><a href="#HeaderMissing">Error
573
+ - HeaderMissing</a></span></p>
574
+
575
+ <p class="MsoToc3"><span class="MsoHyperlink"><a href="#TableShouldHaveHeader">Warning
576
+ - TableShouldHaveHeader</a></span></p>
577
+
578
+ <p class="MsoToc3"><span class="MsoHyperlink"><a href="#TableShouldNotHaveHeader">Error
579
+ - TableShouldNotHaveHeader</a></span></p>
580
+
581
+ <p class="MsoToc3"><span class="MsoHyperlink"><a href="#TableHasNoName">Error
582
+ - TableHasNoName</a></span></p>
583
+
584
+ <p class="MsoToc3"><span class="MsoHyperlink"><a href="#TableShouldNotHaveName">Error
585
+ - TableShouldNotHaveName</a></span></p>
586
+
587
+ <p class="MsoToc3"><span class="MsoHyperlink"><a href="#FrameHasNoName">Error
588
+ - FrameHasNoName</a></span></p>
589
+
590
+ <p class="MsoToc3"><span class="MsoHyperlink"><a href="#HeaderAndTitleShouldMatch">Error
591
+ - HeaderAndTitleShouldMatch</a></span></p>
592
+
593
+ <p class="MsoToc3"><span class="MsoHyperlink"><a href="#LackOfHeaders">Error
594
+ - LackOfHeaders</a></span></p>
595
+
596
+
597
+
598
+
599
+ <p class="MsoToc2"><span class="MsoHyperlink"><a href="#WebCheckRole">Web
600
+ � Check Role</a></span></p>
601
+
602
+ <p class="MsoToc3"><span class="MsoHyperlink"><a href="#InvalidRole">Error -
603
+ InvalidRole</a></span></p>
604
+
605
+ <p class="MsoToc3"><span class="MsoHyperlink"><a
606
+ href="#ControlShouldHaveValue">Error - ControlShouldHaveValue</a></span></p>
607
+
608
+
609
+
610
+ <p class="MsoToc2"><span class="MsoHyperlink"><a href="#WebCheckName">Web
611
+ � Check Name</a></span></p>
612
+
613
+ <p class="MsoToc3"><span class="MsoHyperlink"><a href="#ElementHasNoName">Error
614
+ - ElementHasNoName</a></span></p>
615
+
616
+ <p class="MsoToc3"><span class="MsoHyperlink"><a href="#ElementHasNoNameLabel">Error
617
+ - ElementHasNoNameLabel</a></span></p>
618
+
619
+ <p class="MsoToc3"><span class="MsoHyperlink"><a href="#ElementHasEmptyStringAsName">Warning
620
+ - ElementHasEmptyStringAsName</a></span></p>
621
+
622
+ <p class="MsoToc3"><span class="MsoHyperlink"><a href="#RepeatLinkNameWithDifferentValue">Error
623
+ - RepeatLinkNameWithDifferentValue</a></span></p>
624
+
625
+ <p class="MsoToc3"><span class="MsoHyperlink"><a href="#AccNameLengthTooLong">Error
626
+ - AccNameLengthTooLong</a></span></p>
627
+
628
+ <p class="MsoToc3"><span class="MsoHyperlink"><a
629
+ href="#AccNameContainsInvalidString">Error - AccNameContainsInvalidString</a></span></p>
630
+
631
+ <p class="MsoToc3"><span class="MsoHyperlink"><a
632
+ href="#AccNameShouldNotContainRole">Warning -
633
+ AccNameShouldNotContainRole</a></span></p>
634
+
635
+
636
+
637
+ <p class="MsoToc2"><span class="MsoHyperlink"><a href="#MiscellaneousErrors">Miscellaneous Errors
638
+ </a></span></p>
639
+
640
+ <p class="MsoToc3"><span class="MsoHyperlink"><a
641
+ href="#UnexpectedTestError">Error -
642
+ UnexpectedTestError</a></span></p>
643
+
644
+ <p class="MsoToc3"><span class="MsoHyperlink"><a
645
+ href="#MemberNotImplememented">Error -
646
+ MemberNotImplememented</a></span></p>
647
+
648
+
649
+
650
+
651
+
652
+ <!--
653
+ Begin Log Messages section.
654
+ -->
655
+ <h1><a name="WebVerificationLogMessages"></a><span
656
+ style='mso-fareast-font-family:"Times New Roman"'>Web Verification Log Messages</span></h1>
657
+
658
+ <!--
659
+ Web � Check Html.
660
+ -->
661
+
662
+ <h2><a name="WebCheckHtml"><span style='mso-fareast-font-family:
663
+ "Times New Roman"'>Web � Check Html</span></a></h2>
664
+
665
+ <!--
666
+ HeaderMissing
667
+ -->
668
+ <h3><a name="HeaderMissing"></a><span style='mso-fareast-font-family:
669
+ "Times New Roman"'>Error - HeaderMissing</span></h3>
670
+
671
+ <h4><span style='mso-fareast-font-family:"Times New Roman"'>There is no &lt h1&gt present, there should be at least one.</span></h4>
672
+
673
+ <p class="MsoNormal">This error indicates that the document does not contain an h1.</p>
674
+
675
+ <p>&nbsp;</p>
676
+
677
+
678
+ <!--
679
+ TableShouldHaveHeader
680
+ -->
681
+ <h3><a name="TableShouldHaveHeader"></a><span style='mso-fareast-font-family:
682
+ "Times New Roman"'>Warning - TableShouldHaveHeader</span></h3>
683
+
684
+ <h4><span style='mso-fareast-font-family:"Times New Roman"'>Table has no headers, are you missing column headers?</span></h4>
685
+
686
+ <p class="MsoNormal">This warning indicates that a table, if it is a data table, should use &lt th&gt tags instead of &lt td&gt
687
+ in the first row.</p>
688
+
689
+ <p class="MsoNormal"><strong>Note: </strong>This is an issue for people who rely on a
690
+ screen-reader because they will be unable to determine which column a particular
691
+ table cell belongs to when navigating though the table cells.</p>
692
+
693
+ <p class="MsoNormal">Possible causes for this warning:</p>
694
+
695
+ <p class="MsoListParagraph" style='text-indent:-.25in'>1.<span style='font-size:
696
+ 7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
697
+ </span>The table has more than one row but has at least one 'td' instead of 'th' in the first row.</p>
698
+
699
+ <p>&nbsp;</p>
700
+
701
+ <!--
702
+ TableShouldNotHaveHeader
703
+ -->
704
+ <h3><a name="TableShouldNotHaveHeader"></a><span style='mso-fareast-font-family:
705
+ "Times New Roman"'>Warning - TableShouldNotHaveHeader</span></h3>
706
+
707
+ <h4><span style='mso-fareast-font-family:"Times New Roman"'>Table has headers but shouldn't (table has less than 2 rows).</span></h4>
708
+
709
+ <p class="MsoNormal">This warning indicates that a table appears to be a layout table, and therefore should use not &lt th&gt tags
710
+ in the first row.</p>
711
+
712
+ <p class="MsoNormal"><strong>Note: </strong>This is an issue for people who rely on a
713
+ screen-reader because the table will be interpreted as a data table.</p>
714
+
715
+ <p class="MsoNormal">Possible causes for this warning:</p>
716
+
717
+ <p class="MsoListParagraph" style='text-indent:-.25in'>1.<span style='font-size:
718
+ 7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
719
+ </span>The table has only one row and has at least one 'th' in the first row.</p>
720
+
721
+ <p>&nbsp;</p>
722
+
723
+ <!--
724
+ TableHasNoName
725
+ -->
726
+ <h3><a name="TableHasNoName" /><span style="mso-fareast-font-family: 'Times New Roman'">Warning - TableHasNoName</span></h3>
727
+
728
+ <h4><span style='mso-fareast-font-family:"Times New Roman"'>Table has no name, are you missing a caption?</span></h4>
729
+
730
+ <p class="MsoNormal">This warning indicates that a table, if it is a data table, should have a caption.</p>
731
+
732
+ <p class="MsoNormal"><strong>Note: </strong>This is an issue for people who rely on a
733
+ screen-reader because the screen reader uses the caption to identify a table to
734
+ the user. Without a caption, the screen-reader cannot identify the table.</p>
735
+
736
+ <p class="MsoNormal">Possible causes for this warning:</p>
737
+
738
+ <p class="MsoListParagraph" style='text-indent:-.25in'>1.<span style='font-size:
739
+ 7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
740
+ </span>The table has more than one row and has no caption.</p>
741
+
742
+ <p>&nbsp;</p>
743
+
744
+ <!--
745
+ TableShouldNotHaveName
746
+ -->
747
+ <h3><a name="TableShouldNotHaveName"></a><span style='mso-fareast-font-family:
748
+ "Times New Roman"'>Warning - TableShouldNotHaveName</span></h3>
749
+
750
+ <h4><span style='mso-fareast-font-family:"Times New Roman"'>Table has name but shouldn't (table has less than 2 rows).</span></h4>
751
+
752
+ <p class="MsoNormal">This warning indicates that a table appears to be a layout table, and therefore should not have a caption.</p>
753
+
754
+ <p class="MsoNormal"><strong>Note: </strong>This is an issue for people who rely on a
755
+ screen-reader because the table will be interpreted as a data table.</p>
756
+
757
+ <p class="MsoNormal">Possible causes for this warning:</p>
758
+
759
+ <p class="MsoListParagraph" style='text-indent:-.25in'>1.<span style='font-size:
760
+ 7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
761
+ </span>The table has only one row, but also has a caption.</p>
762
+
763
+ <p>&nbsp;</p>
764
+
765
+ <!--
766
+ FrameHasNoName
767
+ -->
768
+ <h3><a name="FrameHasNoName"></a><span style='mso-fareast-font-family:
769
+ "Times New Roman"'>Warning - FrameHasNoName</span></h3>
770
+
771
+ <h4><span style='mso-fareast-font-family:"Times New Roman"'>Frame has no title tag defined in main page.</span></h4>
772
+
773
+ <p class="MsoNormal">This warning indicates that the frame tag is missing the recommended title attribute.</p>
774
+
775
+ <p class="MsoNormal"><strong>Note: </strong>Even though AccChecker is not checking for it,
776
+ the title attribute in the frame tag should match the title tag in the file being included in the frame.</p>
777
+
778
+ <p class="MsoNormal">Possible causes for this error:</p>
779
+
780
+ <p class="MsoListParagraph" style='text-indent:-.25in'>1.<span style='font-size:
781
+ 7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
782
+ </span>Frame tag has no title attribute. </p>
783
+
784
+ <p>&nbsp;</p>
785
+
786
+ <!--
787
+ HeaderAndTitleShouldMatch
788
+ -->
789
+ <h3><a name="HeaderAndTitleShouldMatch"></a><span style='mso-fareast-font-family:
790
+ "Times New Roman"'>Warning - HeaderAndTitleShouldMatch</span></h3>
791
+
792
+ <h4><span style='mso-fareast-font-family:"Times New Roman"'>The document title and first &lt h1&gt should match.</span></h4>
793
+
794
+ <p class="MsoNormal">This warning indicates that the document's title and the first &lt h1&gt content don't match.</p>
795
+
796
+ <p class="MsoNormal">Possible causes for this error:</p>
797
+
798
+ <p class="MsoListParagraph" style='text-indent:-.25in'>1.<span style='font-size:
799
+ 7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
800
+ </span>&lt title&gt content is not equal to first &lt h1&gt content. </p>
801
+
802
+ <p>&nbsp;</p>
803
+
804
+ <!--
805
+ LackOfHeaders
806
+ -->
807
+ <h3><a name="LackOfHeaders"></a><span style='mso-fareast-font-family:
808
+ "Times New Roman"'>Warning - LackOfHeaders</span></h3>
809
+
810
+ <h4><span style='mso-fareast-font-family:"Times New Roman"'>There are too few headers. There should be one for every x characters.</span></h4>
811
+
812
+ <p class="MsoNormal">This warning indicates there should be more headers in the document, due to the amount of content in it.</p>
813
+
814
+ <p class="MsoNormal"><strong>Note: </strong>The number of characters per header set is currently fixed to 800.</p>
815
+
816
+ <p class="MsoNormal">Possible causes for this error:</p>
817
+
818
+ <p class="MsoListParagraph" style='text-indent:-.25in'>1.<span style='font-size:
819
+ 7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
820
+ </span>There are more than x characters per header on the page. </p>
821
+
822
+ <p>&nbsp;</p>
823
+
824
+
825
+
826
+
827
+ <!--
828
+ Web � Check Role.
829
+ -->
830
+
831
+
832
+ <h2><a name="WebCheckRole" /><span style='mso-fareast-font-family:"Times New Roman"'>Web
833
+ � Check Role</span></h2>
834
+
835
+ <!--
836
+ InvalidRole
837
+ -->
838
+ <h3><a name=InvalidRole><span style='mso-fareast-font-family:"Times New Roman"'>Error - InvalidRole</span></h3>
839
+
840
+ <h4><span style='mso-fareast-font-family:"Times New Roman"'>The int returned
841
+ from get_accRole is not a valid role constant, ie ROLE_SYSTEM_*</span></h4>
842
+
843
+ <p class="MsoNormal">This error indicates that an element is reporting an invalid
844
+ Active Accessibility role. For example, the get_accRole method used to retrieve
845
+ the Active Accessibility role of an element returns an integer value that does
846
+ not map to a valid object role constant (such as ROLE_SYSTEM_LISTITEM).</p>
847
+
848
+ <p class="MsoNormal"><strong>Note: </strong>This is an issue for people who rely on a
849
+ screen-reader and keyboard for navigation because elements may be incorrectly
850
+ identified to the user.</p>
851
+
852
+ <p class="MsoNormal">Possible causes for this error:</p>
853
+
854
+ <p class="MsoListParagraph" style='text-indent:-.25in'>1.<span style='font-size:
855
+ 7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
856
+ </span>The element, or its parent, has an Active
857
+ Accessibility role set inappropriately. </p>
858
+
859
+ <p class="MsoNormal">Related Resources</p>
860
+
861
+ <p class="MsoNormal"><a
862
+ href="http://msdn.microsoft.com/en-us/library/dd318485(VS.85).aspx">IAccessible::get_accRole</a></p>
863
+
864
+ <p class="MsoNormal"><a
865
+ href="http://msdn.microsoft.com/en-us/library/dd373608(VS.85).aspx">Object Roles</a></p>
866
+
867
+ <p>&nbsp;</p>
868
+
869
+ <!--
870
+ ControlShouldHaveValue
871
+ -->
872
+ <h3><a name=ControlShouldHaveValue><span style='mso-fareast-font-family:
873
+ "Times New Roman"'>Error - ControlShouldHaveValue</span></h3>
874
+
875
+ <h4><span style='mso-fareast-font-family:"Times New Roman"'>A control with role
876
+ of {0} should have a value but get_accValue is not implemented</span></h4>
877
+
878
+ <p class="MsoNormal">This error indicates that an element does not supply an
879
+ expected value based on the element�s assigned Active Accessibility role. This
880
+ implies that the element does not have the get_accValue method implemented. The
881
+ following Active Accessibility roles should all supply a value:</p>
882
+
883
+ <p class="MsoListParagraph" style='text-indent:-.25in'><span style='font-family:
884
+ Symbol'>�</span><span style='font-size:7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
885
+ </span>ROLE_SYSTEM_COMBOBOX</p>
886
+
887
+ <p class="MsoListParagraph" style='text-indent:-.25in'><span style='font-family:
888
+ Symbol'>�</span><span style='font-size:7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
889
+ </span>ROLE_SYSTEM_SLIDER</p>
890
+
891
+ <p class="MsoListParagraph" style='text-indent:-.25in'><span style='font-family:
892
+ Symbol'>�</span><span style='font-size:7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
893
+ </span>ROLE_SYSTEM_LINK</p>
894
+
895
+ <p class="MsoListParagraph" style='text-indent:-.25in'><span style='font-family:
896
+ Symbol'>�</span><span style='font-size:7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
897
+ </span>ROLE_SYSTEM_TEXT</p>
898
+
899
+ <p class="MsoListParagraph" style='text-indent:-.25in'><span style='font-family:
900
+ Symbol'>�</span><span style='font-size:7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
901
+ </span>ROLE_SYSTEM_SPINBUTTON</p>
902
+
903
+ <p class="MsoListParagraph" style='text-indent:-.25in'><span style='font-family:
904
+ Symbol'>�</span><span style='font-size:7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
905
+ </span>ROLE_SYSTEM_SCROLLBAR</p>
906
+
907
+ <p class="MsoListParagraph" style='text-indent:-.25in'><span style='font-family:
908
+ Symbol'>�</span><span style='font-size:7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
909
+ </span>ROLE_SYSTEM_PROGRESSBAR</p>
910
+
911
+ <p class="MsoListParagraph" style='text-indent:-.25in'><span style='font-family:
912
+ Symbol'>�</span><span style='font-size:7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
913
+ </span>ROLE_SYSTEM_OUTLINEITEM</p>
914
+
915
+ <p class="MsoListParagraph" style='text-indent:-.25in'><span style='font-family:
916
+ Symbol'>�</span><span style='font-size:7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
917
+ </span>ROLE_SYSTEM_IPADDRESS</p>
918
+
919
+ <p class="MsoNormal"><strong>Note: </strong>This is an issue for people who rely on a
920
+ screen-reader and keyboard for navigation because an element that has an
921
+ intrinsic value must be able to report that value to a user.</p>
922
+
923
+ <p class="MsoNormal">Possible causes for this error:</p>
924
+
925
+ <p class="MsoListParagraph" style='text-indent:-.25in'>1.<span style='font-size:
926
+ 7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
927
+ </span>The element, or its parent, has an Active
928
+ Accessibility role set inappropriately. </p>
929
+
930
+ <p class="MsoNormal">Related Resources</p>
931
+
932
+ <p class="MsoNormal"><a
933
+ href="http://msdn.microsoft.com/en-us/library/dd318485(VS.85).aspx">IAccessible::get_accRole</a></p>
934
+
935
+ <p class="MsoNormal"><a
936
+ href="http://msdn.microsoft.com/en-us/library/dd373608(VS.85).aspx">Object Roles</a></p>
937
+ <p>
938
+ <span class="MsoHyperlink"><span style="text-decoration: none; text-underline: none">
939
+ </span></span>&nbsp;</p>
940
+
941
+
942
+
943
+
944
+
945
+
946
+
947
+ <!--
948
+ Web � Check Name.
949
+ -->
950
+
951
+ <h2><a name="WebCheckName"><span style='mso-fareast-font-family:
952
+ "Times New Roman"'>Web � Check Name</span></a></h2>
953
+
954
+ <!--
955
+ ElementHasNoName
956
+ -->
957
+ <h3><a name="ElementHasNoName"></a><span style='mso-fareast-font-family:
958
+ "Times New Roman"'>Error - ElementHasNoName</span></h3>
959
+
960
+ <h4><span style='mso-fareast-font-family:"Times New Roman"'>Element has no name</span></h4>
961
+
962
+ <p class="MsoNormal">This error indicates that an element does not have a name. For example,
963
+ an image that is missing an alt tag.</p>
964
+
965
+ <p class="MsoNormal"><strong>Note: </strong>This is an issue for people who rely on a screen-reader
966
+ and keyboard for navigation because the screen reader might incorrectly identify an element to the user.
967
+ An image that serves a strictly decorative purpose shouldn't have a name. Use alt=""
968
+ as the alt text.</p>
969
+
970
+ <p class="MsoNormal">Possible causes for this warning:</p>
971
+
972
+ <p class="MsoListParagraph" style='text-indent:-.25in'>1.<span style='font-size:
973
+ 7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
974
+ </span>An image doesn't have an alt tag.</p>
975
+
976
+ <p class="MsoListParagraph" style='text-indent:-.25in'>2.<span style='font-size:
977
+ 7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
978
+ </span>A link does not contain text or an element with a name.</p>
979
+
980
+ <p class="MsoListParagraph" style='text-indent:-.25in'>3.<span style='font-size:
981
+ 7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
982
+ </span>The document doesn't have a title.</p>
983
+
984
+ <p class="MsoListParagraph" style='text-indent:-.25in'>4.<span style='font-size:
985
+ 7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
986
+ </span>A button doesn't have a name.</p>
987
+
988
+ <p>&nbsp;</p>
989
+
990
+
991
+ <!--
992
+ ElementHasNoNameLabel
993
+ -->
994
+ <h3><a name="ElementHasNoNameLabel"></a><span style='mso-fareast-font-family:
995
+ "Times New Roman"'>Error - ElementHasNoNameLabel</span></h3>
996
+
997
+ <h4><span style='mso-fareast-font-family:"Times New Roman"'>Element has no name, are you missing a label?</span></h4>
998
+
999
+ <p class="MsoNormal">This error indicates that an element should have a label to
1000
+ provide its name,
1001
+ but doesn't have one.</p>
1002
+
1003
+ <p class="MsoNormal"><strong>Note: </strong>This is an issue for people who rely on a screen-reader
1004
+ and keyboard for navigation because the screen reader might incorrectly identify an element to the user.</p>
1005
+
1006
+ <p class="MsoNormal">Possible causes for this warning:</p>
1007
+
1008
+ <p class="MsoListParagraph" style='text-indent:-.25in'>1.<span style='font-size:
1009
+ 7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1010
+ </span>Radio button doesn't have a label.</p>
1011
+
1012
+ <p class="MsoListParagraph" style='text-indent:-.25in'>2.<span style='font-size:
1013
+ 7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1014
+ </span>Check button doesn't have a label.</p>
1015
+
1016
+ <p class="MsoListParagraph" style='text-indent:-.25in'>3.<span style='font-size:
1017
+ 7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1018
+ </span>Text field or similar doesn't have a name.</p>
1019
+
1020
+ <p>&nbsp;</p>
1021
+
1022
+ <!--
1023
+ ElementHasEmptyStringAsName
1024
+ -->
1025
+ <h3><a name="ElementHasEmptyStringAsName"></a><span style='mso-fareast-font-family:
1026
+ "Times New Roman"'>Warning - ElementHasEmptyStringAsName</span></h3>
1027
+
1028
+ <h4><span style='mso-fareast-font-family:"Times New Roman"'>Element has empty string as name.</span></h4>
1029
+
1030
+ <p class="MsoNormal">This warning indicates the element has "" as a name.</p>
1031
+
1032
+ <p class="MsoNormal"><strong>Note: </strong>This is not an issue, as long as the element serves
1033
+ only decorative purposes, as the screen reader user will be unaware of the existence of this element.</p>
1034
+
1035
+ <p class="MsoNormal">Possible causes for this warning:</p>
1036
+
1037
+ <p class="MsoListParagraph" style='text-indent:-.25in'>1.<span style='font-size:
1038
+ 7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1039
+ </span>An image has alt="".</p>
1040
+
1041
+ <p class="MsoListParagraph" style='text-indent:-.25in'>2.<span style='font-size:
1042
+ 7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1043
+ </span>Element has name set to empty string.</p>
1044
+
1045
+ <p>&nbsp;</p>
1046
+
1047
+ <!--
1048
+ RepeatLinkNameWithDifferentValue
1049
+ -->
1050
+ <h3><a name="RepeatLinkNameWithDifferentValue"></a><span style='mso-fareast-font-family:
1051
+ "Times New Roman"'>Error - RepeatLinkNameWithDifferentValue</span></h3>
1052
+
1053
+ <h4><span style='mso-fareast-font-family:"Times New Roman"'>Link name has already been used with a different href.</span></h4>
1054
+
1055
+ <p class="MsoNormal">This error indicates that multiple links have the same
1056
+ name, but they link to different destinations.</p>
1057
+
1058
+ <p class="MsoNormal"><strong>Note:</strong> This is an issue for people who rely
1059
+ on a screen-reader. Because the screen reader communicates the links to the user
1060
+ only by reading the names, theuser will assume that the links are the same.</p>
1061
+
1062
+ <p class="MsoNormal">Possible causes for this warning:</p>
1063
+
1064
+ <p class="MsoListParagraph" style='text-indent:-.25in'>1.<span style='font-size:
1065
+ 7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1066
+ </span>At least two links have same name, but different href values. The name of
1067
+ the link is determined from the text within the link. If there is no text, the
1068
+ link gets its name from the element name within it.</p>
1069
+
1070
+ <p>&nbsp;</p>
1071
+
1072
+ <!--
1073
+ AccNameLengthTooLong
1074
+ -->
1075
+
1076
+ <h3><a name=AccNameLengthTooLong><span style='mso-fareast-font-family:
1077
+ "Times New Roman"'>Error - AccNameLengthTooLong</span></h3>
1078
+
1079
+ <h4><span style='mso-fareast-font-family:"Times New Roman"'>Element's accName
1080
+ should not return a string longer than {0} characters</span></h4>
1081
+
1082
+ <p class="MsoListParagraph" style='text-indent:-.25in'><span style='font-family:
1083
+ Symbol'>�</span><span style='font-size:7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1084
+ </span>This error indicates that the name of an element contains too many
1085
+ characters. For example, the get_accName method used to retrieve the Active
1086
+ Accessibility name of an element returns a string greater than the limit of
1087
+ 32000 characters.</p>
1088
+
1089
+ <p class="MsoNormal"><strong>Note: </strong>This is an issue for people who rely on a
1090
+ screen-reader and keyboard for navigation because an element may have an
1091
+ unpronounceable, non-intuitive name.</p>
1092
+
1093
+ <p class="MsoNormal">Possible causes for this error:</p>
1094
+
1095
+ <p class="MsoListParagraph" style='text-indent:-.25in'>1.<span style='font-size:
1096
+ 7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1097
+ </span>The element, or its parent<a name="msoanchor_72" id="_anchor_72"></a><span
1098
+ class=MsoCommentReference><span style='font-size:8.0pt;line-height:115%;
1099
+ font-family:"Calibri","sans-serif"'></span></span>, has an incorrectly
1100
+ assigned name or label. </p>
1101
+
1102
+
1103
+ <!--
1104
+ AccNameContainsInvalidString
1105
+ -->
1106
+
1107
+ <h3><a name=AccNameContainsInvalidString></a><span style='mso-fareast-font-family:
1108
+ "Times New Roman"'></span>&nbsp;</h3>
1109
+ <h3>
1110
+ <span style="mso-fareast-font-family: 'Times New Roman'">Error</span><a name="msoanchor_73" id="_anchor_73"></a><span style='mso-bookmark:_msoanchor_73'></span><span
1111
+ class=MsoCommentReference><span style='font-size:8.0pt;line-height:115%;
1112
+ font-family:"Calibri","sans-serif";mso-fareast-font-family:"Times New Roman";
1113
+ color:windowtext;font-weight:normal'>&nbsp;</span></span><span
1114
+ style='mso-fareast-font-family:"Times New Roman"'> - AccNameContainsInvalidString</span></h3>
1115
+
1116
+ <h4><span style='mso-fareast-font-family:"Times New Roman"'>accName should not
1117
+ contain the string {0}</span><a name="msoanchor_74" id="_anchor_74"></a><span
1118
+ class=MsoCommentReference><span style='font-size:8.0pt;line-height:115%;
1119
+ font-family:"Calibri","sans-serif";mso-fareast-font-family:"Times New Roman";
1120
+ color:windowtext;font-weight:normal;font-style:normal'></span></span><span
1121
+ style='mso-fareast-font-family:"Times New Roman"'></span></h4>
1122
+
1123
+ <p class="MsoListParagraph" style='text-indent:-.25in'><span style='font-family:
1124
+ Symbol'>�</span><span style='font-size:7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1125
+ </span>This error indicates that the name of an element contains invalid
1126
+ characters (these characters are replaced by AccChecker). For example, the
1127
+ get_accName method used to retrieve the Active Accessibility name of an element
1128
+ returns a string that contains tab, newline, or ampersand characters. </p>
1129
+
1130
+ <p class="MsoNormal"><strong>Note: </strong>This is an issue for people who rely on a
1131
+ screen-reader and keyboard for navigation because an element may have an
1132
+ unpronounceable, non-intuitive name.</p>
1133
+
1134
+ <p class="MsoNormal">Possible causes for this error:</p>
1135
+
1136
+ <p class="MsoListParagraph" style='text-indent:-.25in'>1.<span style='font-size:
1137
+ 7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1138
+ </span>The element, or its parent<a name="msoanchor_76" id="_anchor_76"></a><span style='mso-bookmark:_msoanchor_76'></span><span
1139
+ class=MsoCommentReference><span style='font-size:8.0pt;line-height:115%;
1140
+ font-family:"Calibri","sans-serif"'>&nbsp;</span></span>, has an incorrectly
1141
+ assigned name or label. </p>
1142
+
1143
+
1144
+ <!--
1145
+ AccNameShouldNotContainRole
1146
+ -->
1147
+
1148
+ <h3><a name=AccNameShouldNotContainRole></a><span style='mso-fareast-font-family:
1149
+ "Times New Roman"'></span>&nbsp;</h3>
1150
+ <h3>
1151
+ <span style="mso-fareast-font-family: 'Times New Roman'">Warning</span><a name="msoanchor_77" id="_anchor_77"></a><span style='mso-bookmark:_msoanchor_77'></span><span
1152
+ class=MsoCommentReference><span style='font-size:8.0pt;line-height:115%;
1153
+ font-family:"Calibri","sans-serif";mso-fareast-font-family:"Times New Roman";
1154
+ color:windowtext;font-weight:normal'>&nbsp;</span></span><span
1155
+ style='mso-fareast-font-family:"Times New Roman"'> -
1156
+ AccNameShouldNotContainRole</span></h3>
1157
+
1158
+ <h4><span style='mso-fareast-font-family:"Times New Roman"'>accName ({0})
1159
+ should not contain the text of the Role ({1})</span><a name="msoanchor_78"
1160
+ id="_anchor_78"></a><span
1161
+ class=MsoCommentReference><span style='font-size:8.0pt;line-height:115%;
1162
+ font-family:"Calibri","sans-serif";mso-fareast-font-family:"Times New Roman";
1163
+ color:windowtext;font-weight:normal;font-style:normal'></span></span><span
1164
+ style='mso-fareast-font-family:"Times New Roman"'></span></h4>
1165
+
1166
+ <p class="MsoListParagraph" style='text-indent:-.25in'><span style='font-family:
1167
+ Symbol'>�</span><span style='font-size:7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1168
+ </span>This error indicates that the name of an element incorporates its Active
1169
+ Accessibility role. For example, the get_accName method used to retrieve the
1170
+ Active Accessibility name of an element returns �ROLE_SYSTEM_SCROLLBAR_*�. </p>
1171
+
1172
+ <p class="MsoNormal"><strong>Note: </strong>This is an issue for people who rely on a
1173
+ screen-reader and keyboard for navigation because an element may have an
1174
+ unpronounceable, non-intuitive name.</p>
1175
+
1176
+ <p class="MsoNormal">Possible causes for this error:</p>
1177
+
1178
+ <p class="MsoListParagraph" style='text-indent:-.25in'>1.<span style='font-size:
1179
+ 7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1180
+ </span>The element, or its parent<a name="msoanchor_80" id="_anchor_80"></a><span
1181
+ class=MsoCommentReference><span style='font-size:8.0pt;line-height:115%;
1182
+ font-family:"Calibri","sans-serif"'></span></span>, has an incorrectly
1183
+ assigned name or label. </p>
1184
+
1185
+ <p class="MsoListParagraph" style='text-indent:-.25in'>2.<span style='font-size:
1186
+ 7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1187
+ </span>The element, or its parent, has a default name that has not been revised
1188
+ to a friendly name. For example, button1. </p>
1189
+
1190
+
1191
+ <p>&nbsp;</p>
1192
+
1193
+
1194
+
1195
+ <!--
1196
+ Miscellaneous errors.
1197
+ -->
1198
+ <h2>
1199
+ <a name="MiscellaneousErrors" /><span style="mso-fareast-font-family: 'Times New Roman'">Miscellaneous Errors</span></h2>
1200
+
1201
+ <!--
1202
+ UnexpectedTestError
1203
+ -->
1204
+ <h3>
1205
+ <a name="UnexpectedTestError" /><span style="mso-fareast-font-family: 'Times New Roman'">Error -
1206
+ UnexpectedTestError</span></h3>
1207
+
1208
+ <h4><span style='mso-fareast-font-family:"Times New Roman"'>Exception :({0})</span></h4>
1209
+
1210
+ <p class="MsoNormal">This error specifies that an exception unrelated to the verifications has been raised by AccChecker.</p>
1211
+ <p class="MsoNormal">To report issues such as this, see the AccChecker 'About' dialog for contact information.</p>
1212
+ <p>&nbsp;</p>
1213
+ <!--
1214
+ MemberNotImplememented
1215
+ -->
1216
+ <h3>
1217
+ <a name="MemberNotImplememented" /><span style="mso-fareast-font-family: 'Times New Roman'">Error -
1218
+ MemberNotImplememented</span></h3>
1219
+
1220
+ <h4><span style='mso-fareast-font-family:"Times New Roman"'>The method is not implemented on this particular element.</span></h4>
1221
+
1222
+ <p class="MsoNormal">This error specifies that a method call has failed unexpectedly.</p>
1223
+
1224
+ </body>
1225
+
1226
+ </html>