#pragma once
#include <corecrt.h>
#include <corecrt_stdio_config.h>
_CRT_BEGIN_C_HEADER
__pragma
(pack(push,
8
))
extern
"C"
{
#ifndef _FILE_DEFINED
#define _FILE_DEFINED
typedef
struct
{
void
*
;
}
;
#endif
_ACRTIMP_ALT FILE* __cdecl __acrt_iob_func(unsigned _Ix);
__declspec
(dllimport)
*
__cdecl
(
unsigned
);
#define stdin (__acrt_iob_func(0))
#define stdout (__acrt_iob_func(1))
#define stderr (__acrt_iob_func(2))
#define WEOF ((wint_t)(0xFFFF))
#if _CRT_FUNCTIONS_REQUIRED
_Check_return_opt_
_ACRTIMP wint_t __cdecl fgetwc(
__declspec
(dllimport)
__cdecl
(
);
_Check_return_opt_
_ACRTIMP wint_t __cdecl _fgetwchar(void);
__declspec
(dllimport)
__cdecl
(
void
);
_Check_return_opt_
_ACRTIMP wint_t __cdecl fputwc(
__declspec
(dllimport)
__cdecl
(
_Check_return_opt_
_ACRTIMP wint_t __cdecl _fputwchar(
__declspec
(dllimport)
__cdecl
(
);
_Check_return_
_ACRTIMP wint_t __cdecl getwc(
__declspec
(dllimport)
__cdecl
(
);
_Check_return_
_ACRTIMP wint_t __cdecl getwchar(void);
__declspec
(dllimport)
__cdecl
(
void
);
_Check_return_opt_
_Success_(return == _Buffer)
_ACRTIMP wchar_t* __cdecl fgetws(
__declspec
(dllimport)
wchar_t
*
__cdecl
(
_Out_writes_z_(_BufferCount) wchar_t* _Buffer,
);
_Check_return_opt_
_ACRTIMP int __cdecl fputws(
__declspec
(dllimport)
int
__cdecl
(
_In_z_ wchar_t const* _Buffer,
);
_Check_return_opt_
_Success_(return != 0)
_ACRTIMP wchar_t* __cdecl _getws_s(
__declspec
(dllimport)
wchar_t
*
__cdecl
(
_Out_writes_z_(_BufferCount) wchar_t* _Buffer,
);
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(
_Success_(return != 0)
wchar_t*, _getws_s,
_Always_(_Post_z_) wchar_t, _Buffer
)
extern
"C++"
{
template
<
>
inline
wchar_t
*
__cdecl
(
wchar_t
(&
)[
])
throw
() {
return
(
,
); } }
_Check_return_opt_
_ACRTIMP wint_t __cdecl putwc(
__declspec
(dllimport)
__cdecl
(
);
_Check_return_opt_
_ACRTIMP wint_t __cdecl putwchar(
__declspec
(dllimport)
__cdecl
(
);
_Check_return_opt_
_ACRTIMP int __cdecl _putws(
__declspec
(dllimport)
int
__cdecl
(
_In_z_ wchar_t const* _Buffer
);
_Check_return_opt_
_ACRTIMP wint_t __cdecl ungetwc(
__declspec
(dllimport)
__cdecl
(
);
_Check_return_
_ACRTIMP FILE * __cdecl _wfdopen(
__declspec
(dllimport)
*
__cdecl
(
_In_z_ wchar_t const* _Mode
);
_Check_return_ _CRT_INSECURE_DEPRECATE(_wfopen_s)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_wfopen_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
_ACRTIMP FILE* __cdecl _wfopen(
__declspec
(dllimport)
*
__cdecl
(
_In_z_ wchar_t const* _FileName,
_In_z_ wchar_t const* _Mode
);
_Check_return_wat_
_ACRTIMP errno_t __cdecl _wfopen_s(
__declspec
(dllimport)
__cdecl
(
_Outptr_result_maybenull_ FILE** _Stream,
_In_z_ wchar_t const* _FileName,
_In_z_ wchar_t const* _Mode
);
_Check_return_
_CRT_INSECURE_DEPRECATE(_wfreopen_s)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_wfreopen_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
_ACRTIMP FILE* __cdecl _wfreopen(
__declspec
(dllimport)
*
__cdecl
(
_In_z_ wchar_t const* _FileName,
_In_z_ wchar_t const* _Mode,
);
_Check_return_wat_
_ACRTIMP errno_t __cdecl _wfreopen_s(
__declspec
(dllimport)
__cdecl
(
_Outptr_result_maybenull_ FILE** _Stream,
_In_z_ wchar_t const* _FileName,
_In_z_ wchar_t const* _Mode,
);
_Check_return_
_ACRTIMP FILE* __cdecl _wfsopen(
__declspec
(dllimport)
*
__cdecl
(
_In_z_ wchar_t const* _FileName,
_In_z_ wchar_t const* _Mode,
);
_ACRTIMP void __cdecl _wperror(
__declspec
(dllimport)
void
__cdecl
(
_In_opt_z_ wchar_t const* _ErrorMessage
);
#ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
_Check_return_
_DCRTIMP FILE* __cdecl _wpopen(
__declspec
(dllimport)
*
__cdecl
(
_In_z_ wchar_t const* _Command,
_In_z_ wchar_t const* _Mode
);
#endif
_ACRTIMP int __cdecl _wremove(
__declspec
(dllimport)
int
__cdecl
(
_In_z_ wchar_t const* _FileName
);
#pragma push_macro("_wtempnam")
#undef _wtempnam
_Check_return_
_ACRTIMP _CRTALLOCATOR wchar_t* __cdecl _wtempnam(
__declspec
(dllimport)
__declspec
(allocator)
wchar_t
*
__cdecl
(
_In_opt_z_ wchar_t const* _Directory,
_In_opt_z_ wchar_t const* _FilePrefix
);
#pragma pop_macro("_wtempnam")
_Success_(return == 0)
_Check_return_wat_
_ACRTIMP errno_t __cdecl _wtmpnam_s(
__declspec
(dllimport)
__cdecl
(
_Out_writes_z_(_BufferCount) wchar_t* _Buffer,
);
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(
_Success_(return == 0)
errno_t, _wtmpnam_s,
_Always_(_Post_z_) wchar_t, _Buffer
)
extern
"C++"
{
template
<
>
inline
__cdecl
(
wchar_t
(&
)[
])
throw
() {
return
(
,
); } }
__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(
_Success_(return != 0)
wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, _wtmpnam,
_Pre_maybenull_ _Always_(_Post_z_), wchar_t, _Buffer
)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_wtmpnam_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
__declspec
(dllimport)
wchar_t
*
__cdecl
(
wchar_t
*
);
_Check_return_opt_
_ACRTIMP wint_t __cdecl _fgetwc_nolock(
__declspec
(dllimport)
__cdecl
(
);
_Check_return_opt_
_ACRTIMP wint_t __cdecl _fputwc_nolock(
__declspec
(dllimport)
__cdecl
(
);
_Check_return_opt_
_ACRTIMP wint_t __cdecl _getwc_nolock(
__declspec
(dllimport)
__cdecl
(
);
_Check_return_opt_
_ACRTIMP wint_t __cdecl _putwc_nolock(
__declspec
(dllimport)
__cdecl
(
);
_Check_return_opt_
_ACRTIMP wint_t __cdecl _ungetwc_nolock(
__declspec
(dllimport)
__cdecl
(
);
#if defined _CRT_DISABLE_PERFCRIT_LOCKS && !defined _DLL
#define fgetwc(stream) _getwc_nolock(stream)
#define fputwc(c, stream) _putwc_nolock(c, stream)
#define ungetwc(c, stream) _ungetwc_nolock(c, stream)
#endif
#ifdef _M_CEE_MIXED
#pragma managed(push, off)
#endif
_Check_return_opt_
_ACRTIMP int __cdecl __stdio_common_vfwprintf(
__declspec
(dllimport)
int
__cdecl
(
_In_ unsigned __int64 _Options,
_In_z_ _Printf_format_string_params_(2) wchar_t const* _Format,
_In_opt_ _locale_t _Locale,
);
_Check_return_opt_
_ACRTIMP int __cdecl __stdio_common_vfwprintf_s(
__declspec
(dllimport)
int
__cdecl
__stdio_common_vfwprintf_s
(
_In_ unsigned __int64 _Options,
_In_z_ _Printf_format_string_params_(2) wchar_t const* _Format,
_In_opt_ _locale_t _Locale,
);
_Check_return_opt_
_ACRTIMP int __cdecl __stdio_common_vfwprintf_p(
__declspec
(dllimport)
int
__cdecl
__stdio_common_vfwprintf_p
(
_In_ unsigned __int64 _Options,
_In_z_ _Printf_format_string_params_(2) wchar_t const* _Format,
_In_opt_ _locale_t _Locale,
);
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _vfwprintf_l(
_Inout_ FILE* const _Stream,
_In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return __stdio_common_vfwprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Stream, _Format, _Locale, _ArgList);
return
((*
__local_stdio_printf_options
()),
,
,
,
);
}
#endif
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL vfwprintf(
_Inout_ FILE* const _Stream,
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return _vfwprintf_l(_Stream, _Format, NULL, _ArgList);
}
#endif
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _vfwprintf_s_l(
_Inout_ FILE* const _Stream,
_In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return __stdio_common_vfwprintf_s(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Stream, _Format, _Locale, _ArgList);
return
__stdio_common_vfwprintf_s
((*
__local_stdio_printf_options
()),
,
,
,
);
}
#endif
#if __STDC_WANT_SECURE_LIB__
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL vfwprintf_s(
_Inout_ FILE* const _Stream,
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return _vfwprintf_s_l(_Stream, _Format, NULL, _ArgList);
}
#endif
#endif
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _vfwprintf_p_l(
_Inout_ FILE* const _Stream,
_In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return __stdio_common_vfwprintf_p(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Stream, _Format, _Locale, _ArgList);
return
__stdio_common_vfwprintf_p
((*
__local_stdio_printf_options
()),
,
,
,
);
}
#endif
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _vfwprintf_p(
_Inout_ FILE* const _Stream,
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return _vfwprintf_p_l(_Stream, _Format, NULL, _ArgList);
}
#endif
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _vwprintf_l(
_In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return _vfwprintf_l(stdout, _Format, _Locale, _ArgList);
}
#endif
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL vwprintf(
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return _vfwprintf_l(stdout, _Format, NULL, _ArgList);
}
#endif
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _vwprintf_s_l(
_In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return _vfwprintf_s_l(stdout, _Format, _Locale, _ArgList);
}
#endif
#if __STDC_WANT_SECURE_LIB__
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL vwprintf_s(
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return _vfwprintf_s_l(stdout, _Format, NULL, _ArgList);
}
#endif
#endif
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _vwprintf_p_l(
_In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return _vfwprintf_p_l(stdout, _Format, _Locale, _ArgList);
}
#endif
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _vwprintf_p(
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return _vfwprintf_p_l(stdout, _Format, NULL, _ArgList);
}
#endif
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _fwprintf_l(
_Inout_ FILE* const _Stream,
_In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Locale);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result
=
(
,
,
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL fwprintf(
_Inout_ FILE* const _Stream,
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Format);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result = _vfwprintf_l(_Stream, _Format, NULL, _ArgList);
_Result
=
(
,
,
0
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _fwprintf_s_l(
_Inout_ FILE* const _Stream,
_In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Locale);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result
=
(
,
,
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
#if __STDC_WANT_SECURE_LIB__
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL fwprintf_s(
_Inout_ FILE* const _Stream,
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Format);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result = _vfwprintf_s_l(_Stream, _Format, NULL, _ArgList);
_Result
=
(
,
,
0
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
#endif
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _fwprintf_p_l(
_Inout_ FILE* const _Stream,
_In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Locale);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result
=
(
,
,
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _fwprintf_p(
_Inout_ FILE* const _Stream,
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Format);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result = _vfwprintf_p_l(_Stream, _Format, NULL, _ArgList);
_Result
=
(
,
,
0
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _wprintf_l(
_In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Locale);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result = _vfwprintf_l(stdout, _Format, _Locale, _ArgList);
_Result
=
((
(
1
)),
,
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL wprintf(
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Format);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result = _vfwprintf_l(stdout, _Format, NULL, _ArgList);
_Result
=
((
(
1
)),
,
0
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _wprintf_s_l(
_In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Locale);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result = _vfwprintf_s_l(stdout, _Format, _Locale, _ArgList);
_Result
=
((
(
1
)),
,
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
#if __STDC_WANT_SECURE_LIB__
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL wprintf_s(
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Format);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result = _vfwprintf_s_l(stdout, _Format, NULL, _ArgList);
_Result
=
((
(
1
)),
,
0
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
#endif
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _wprintf_p_l(
_In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Locale);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result = _vfwprintf_p_l(stdout, _Format, _Locale, _ArgList);
_Result
=
((
(
1
)),
,
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _wprintf_p(
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Format);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result = _vfwprintf_p_l(stdout, _Format, NULL, _ArgList);
_Result
=
((
(
1
)),
,
0
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Check_return_opt_
_ACRTIMP int __cdecl __stdio_common_vfwscanf(
__declspec
(dllimport)
int
__cdecl
(
_In_ unsigned __int64 _Options,
_In_z_ _Scanf_format_string_params_(2) wchar_t const* _Format,
_In_opt_ _locale_t _Locale,
);
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _vfwscanf_l(
_Inout_ FILE* const _Stream,
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return
(
_CRT_INTERNAL_LOCAL_SCANF_OPTIONS,
(*
__local_stdio_scanf_options
()),
,
,
,
);
}
#endif
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL vfwscanf(
_Inout_ FILE* const _Stream,
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return _vfwscanf_l(_Stream, _Format, NULL, _ArgList);
}
#endif
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _vfwscanf_s_l(
_Inout_ FILE* const _Stream,
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return
(
_CRT_INTERNAL_LOCAL_SCANF_OPTIONS | _CRT_INTERNAL_SCANF_SECURECRT,
(*
__local_stdio_scanf_options
()) | (
1ULL
<<
0
),
,
,
,
);
}
#endif
#if __STDC_WANT_SECURE_LIB__
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL vfwscanf_s(
_Inout_ FILE* const _Stream,
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return _vfwscanf_s_l(_Stream, _Format, NULL, _ArgList);
}
#endif
#endif
_CRT_STDIO_INLINE int __CRTDECL _vwscanf_l(
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return _vfwscanf_l(stdin, _Format, _Locale, _ArgList);
}
#endif
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL vwscanf(
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return _vfwscanf_l(stdin, _Format, NULL, _ArgList);
}
#endif
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _vwscanf_s_l(
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return _vfwscanf_s_l(stdin, _Format, _Locale, _ArgList);
}
#endif
#if __STDC_WANT_SECURE_LIB__
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL vwscanf_s(
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return _vfwscanf_s_l(stdin, _Format, NULL, _ArgList);
}
#endif
#endif
_Check_return_opt_ _CRT_INSECURE_DEPRECATE(_fwscanf_s_l)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_fwscanf_s_l"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
_CRT_STDIO_INLINE int __CRTDECL _fwscanf_l(
_Inout_ FILE* const _Stream,
_In_z_ _Scanf_format_string_params_(0) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
...)
#if defined _NO_CRT_STDIO_INLINE // SCANF
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Locale);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result
=
(
,
,
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Check_return_ _CRT_INSECURE_DEPRECATE(fwscanf_s)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"fwscanf_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
_CRT_STDIO_INLINE int __CRTDECL fwscanf(
_Inout_ FILE* const _Stream,
_In_z_ _Scanf_format_string_ wchar_t const* const _Format,
...)
#if defined _NO_CRT_STDIO_INLINE // SCANF
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Format);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result = _vfwscanf_l(_Stream, _Format, NULL, _ArgList);
_Result
=
(
,
,
0
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _fwscanf_s_l(
_Inout_ FILE* const _Stream,
_In_z_ _Scanf_s_format_string_params_(0) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
...)
#if defined _NO_CRT_STDIO_INLINE // SCANF
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Locale);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result
=
(
,
,
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
#if __STDC_WANT_SECURE_LIB__
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL fwscanf_s(
_Inout_ FILE* const _Stream,
_In_z_ _Scanf_s_format_string_ wchar_t const* const _Format,
...)
#if defined _NO_CRT_STDIO_INLINE // SCANF
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Format);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result = _vfwscanf_s_l(_Stream, _Format, NULL, _ArgList);
_Result
=
(
,
,
0
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
#endif
_Check_return_opt_ _CRT_INSECURE_DEPRECATE(_wscanf_s_l)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_wscanf_s_l"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
_CRT_STDIO_INLINE int __CRTDECL _wscanf_l(
_In_z_ _Scanf_format_string_params_(0) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
...)
#if defined _NO_CRT_STDIO_INLINE // SCANF
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Locale);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result = _vfwscanf_l(stdin, _Format, _Locale, _ArgList);
_Result
=
((
(
0
)),
,
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Check_return_ _CRT_INSECURE_DEPRECATE(wscanf_s)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"wscanf_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
_CRT_STDIO_INLINE int __CRTDECL wscanf(
_In_z_ _Scanf_format_string_ wchar_t const* const _Format,
...)
#if defined _NO_CRT_STDIO_INLINE // SCANF
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Format);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result = _vfwscanf_l(stdin, _Format, NULL, _ArgList);
_Result
=
((
(
0
)),
,
0
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _wscanf_s_l(
_In_z_ _Scanf_s_format_string_params_(0) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
...)
#if defined _NO_CRT_STDIO_INLINE // SCANF
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Locale);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result = _vfwscanf_s_l(stdin, _Format, _Locale, _ArgList);
_Result
=
((
(
0
)),
,
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
#if __STDC_WANT_SECURE_LIB__
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL wscanf_s(
_In_z_ _Scanf_s_format_string_ wchar_t const* const _Format,
...)
#if defined _NO_CRT_STDIO_INLINE // SCANF
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Format);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result = _vfwscanf_s_l(stdin, _Format, NULL, _ArgList);
_Result
=
((
(
0
)),
,
0
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
#endif
#ifndef _CRT_NON_CONFORMING_SWPRINTFS
#define _SWPRINTFS_DEPRECATED _CRT_DEPRECATE_TEXT( \
"function has been changed to conform with the ISO C standard, " \
"adding an extra character count parameter. To use the traditional " \
"Microsoft version, set _CRT_NON_CONFORMING_SWPRINTFS.")
#else
#define _SWPRINTFS_DEPRECATED
#endif
_Success_(return >= 0)
_Check_return_opt_
_ACRTIMP int __cdecl __stdio_common_vswprintf(
__declspec
(dllimport)
int
__cdecl
(
_In_ unsigned __int64 _Options,
_Out_writes_opt_z_(_BufferCount) wchar_t* _Buffer,
_In_ size_t _BufferCount,
_In_z_ _Printf_format_string_params_(2) wchar_t const* _Format,
_In_opt_ _locale_t _Locale,
);
_Success_(return >= 0)
_Check_return_opt_
_ACRTIMP int __cdecl __stdio_common_vswprintf_s(
__declspec
(dllimport)
int
__cdecl
__stdio_common_vswprintf_s
(
_In_ unsigned __int64 _Options,
_Out_writes_z_(_BufferCount) wchar_t* _Buffer,
_In_ size_t _BufferCount,
_In_z_ _Printf_format_string_params_(2) wchar_t const* _Format,
_In_opt_ _locale_t _Locale,
);
_Success_(return >= 0)
_Check_return_opt_
_ACRTIMP int __cdecl __stdio_common_vsnwprintf_s(
__declspec
(dllimport)
int
__cdecl
__stdio_common_vsnwprintf_s
(
_In_ unsigned __int64 _Options,
_Out_writes_opt_z_(_BufferCount) wchar_t* _Buffer,
_In_ size_t _BufferCount,
_In_z_ _Printf_format_string_params_(2) wchar_t const* _Format,
_In_opt_ _locale_t _Locale,
);
_Success_(return >= 0)
_Check_return_opt_
_ACRTIMP int __cdecl __stdio_common_vswprintf_p(
__declspec
(dllimport)
int
__cdecl
__stdio_common_vswprintf_p
(
_In_ unsigned __int64 _Options,
_Out_writes_z_(_BufferCount) wchar_t* _Buffer,
_In_ size_t _BufferCount,
_In_z_ _Printf_format_string_params_(2) wchar_t const* _Format,
_In_opt_ _locale_t _Locale,
);
_Success_(return >= 0)
_Check_return_opt_ _CRT_INSECURE_DEPRECATE(_vsnwprintf_s_l)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_vsnwprintf_s_l"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
_CRT_STDIO_INLINE int __CRTDECL _vsnwprintf_l(
_Out_writes_opt_(_BufferCount) _Post_maybez_ wchar_t* const _Buffer,
_In_ size_t const _BufferCount,
_In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
const
=
(
_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION,
(*
__local_stdio_printf_options
()) | (
1ULL
<<
0
),
,
,
,
,
);
return
_Result
<
0
? -
1
:
_Result
;
}
#endif
#pragma warning(push)
#pragma warning(push)
#pragma warning(disable: 4793)
#pragma warning(disable:
4793
)
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _vsnwprintf_s_l(
_Out_writes_opt_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
_In_ size_t const _BufferCount,
_In_ size_t const _MaxCount,
_In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
const
=
__stdio_common_vsnwprintf_s
(
_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS,
(*
__local_stdio_printf_options
()),
,
,
,
,
,
);
return
_Result
<
0
? -
1
:
_Result
;
}
#endif
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _vsnwprintf_s(
_Out_writes_opt_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
_In_ size_t const _BufferCount,
_In_ size_t const _MaxCount,
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return _vsnwprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format, NULL, _ArgList);
}
#endif
__DEFINE_CPP_OVERLOAD_STANDARD_NFUNC_0_2_ARGLIST_EX(
_Success_(return >= 0)
int, __RETURN_POLICY_SAME, _CRT_STDIO_INLINE, __CRTDECL, _snwprintf, _vsnwprintf,
_Pre_notnull_ _Post_maybez_ wchar_t,
_Out_writes_opt_(_BufferCount) _Post_maybez_, wchar_t, _Buffer,
_In_ size_t, _BufferCount,
_In_z_ _Printf_format_string_ wchar_t const*, _Format
)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_snwprintf_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
__inline
int
__cdecl
(
wchar_t
*
,
,
wchar_t
const
*
, ...);
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_vsnwprintf_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
__inline
int
__cdecl
(
wchar_t
*
,
,
wchar_t
const
*
,
);
#pragma warning(pop)
#pragma warning(pop)
_Success_(return >= 0)
_Check_return_opt_ _CRT_INSECURE_DEPRECATE(_vsnwprintf_s)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_vsnwprintf_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
_CRT_STDIO_INLINE int __CRTDECL _vsnwprintf(
_Out_writes_opt_(_BufferCount) _Post_maybez_ wchar_t* _Buffer,
_In_ size_t _BufferCount,
_In_z_ _Printf_format_string_ wchar_t const* _Format,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
#pragma warning(push)
#pragma warning(push)
#pragma warning(disable: 4996) // Deprecation
#pragma warning(disable:
4996
)
return _vsnwprintf_l(_Buffer, _BufferCount, _Format, NULL, _ArgList);
#pragma warning(pop)
#pragma warning(pop)
}
#endif
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_3(
_Success_(return >= 0)
int, _vsnwprintf_s,
_Always_(_Post_z_) wchar_t, _Buffer,
_In_ size_t, _BufferCount,
_In_z_ _Printf_format_string_ wchar_t const*, _Format,
va_list, _ArgList
)
extern
"C++"
{
template
<
>
inline
int
__cdecl
(
wchar_t
(&
)[
],
,
wchar_t
const
*
,
)
throw
() {
return
(
,
,
,
,
); } }
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _vswprintf_c_l(
_Out_writes_opt_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
_In_ size_t const _BufferCount,
_In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
const
=
(
_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS,
(*
__local_stdio_printf_options
()),
,
,
,
,
);
return
_Result
<
0
? -
1
:
_Result
;
}
#endif
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _vswprintf_c(
_Out_writes_opt_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
_In_ size_t const _BufferCount,
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return _vswprintf_c_l(_Buffer, _BufferCount, _Format, NULL, _ArgList);
}
#endif
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _vswprintf_l(
_Out_writes_opt_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
_In_ size_t const _BufferCount,
_In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
#pragma warning(push)
#pragma warning(push)
#pragma warning(disable: 4996) // Deprecation
#pragma warning(disable:
4996
)
return
(
,
,
,
,
);
#pragma warning(pop)
#pragma warning(pop)
}
#endif
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL __vswprintf_l(
_Pre_notnull_ _Always_(_Post_z_) wchar_t* const _Buffer,
_In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return
(
, (
)-
1
,
,
,
);
}
#endif
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _vswprintf(
_Pre_notnull_ _Always_(_Post_z_) wchar_t* const _Buffer,
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return _vswprintf_l(_Buffer, (size_t)-1, _Format, NULL, _ArgList);
}
#endif
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL vswprintf(
_Out_writes_opt_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
_In_ size_t const _BufferCount,
_In_z_ _Printf_format_string_params_(1) wchar_t const* const _Format,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return _vswprintf_c_l(_Buffer, _BufferCount, _Format, NULL, _ArgList);
}
#endif
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _vswprintf_s_l(
_Out_writes_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
_In_ size_t const _BufferCount,
_In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
const
=
__stdio_common_vswprintf_s
(
_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS,
(*
__local_stdio_printf_options
()),
,
,
,
,
);
return
_Result
<
0
? -
1
:
_Result
;
}
#endif
#if __STDC_WANT_SECURE_LIB__
_Success_(return >= 0)
_CRT_STDIO_INLINE int __CRTDECL vswprintf_s(
_Out_writes_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
_In_ size_t const _BufferCount,
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return _vswprintf_s_l(_Buffer, _BufferCount, _Format, NULL, _ArgList);
}
#endif
#endif
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(
_Success_(return >= 0)
int, vswprintf_s,
_Always_(_Post_z_) wchar_t, _Buffer,
_In_z_ _Printf_format_string_ wchar_t const*, _Format,
va_list, _ArgList
)
extern
"C++"
{
template
<
>
inline
int
__cdecl
(
wchar_t
(&
)[
],
wchar_t
const
*
,
)
throw
() {
return
(
,
,
,
); } }
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _vswprintf_p_l(
_Out_writes_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
_In_ size_t const _BufferCount,
_In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
const
=
__stdio_common_vswprintf_p
(
_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS,
(*
__local_stdio_printf_options
()),
,
,
,
,
);
return
_Result
<
0
? -
1
:
_Result
;
}
#endif
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _vswprintf_p(
_Out_writes_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
_In_ size_t const _BufferCount,
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return _vswprintf_p_l(_Buffer, _BufferCount, _Format, NULL, _ArgList);
}
#endif
_Success_(return >= 0)
_Check_return_
_CRT_STDIO_INLINE int __CRTDECL _vscwprintf_l(
_In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
const
=
(
_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR,
(*
__local_stdio_printf_options
()) | (
1ULL
<<
1
),
NULL, 0, _Format, _Locale, _ArgList);
return
_Result
<
0
? -
1
:
_Result
;
}
#endif
_Success_(return >= 0)
_Check_return_
_CRT_STDIO_INLINE int __CRTDECL _vscwprintf(
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return _vscwprintf_l(_Format, NULL, _ArgList);
}
#endif
_Success_(return >= 0)
_Check_return_
_CRT_STDIO_INLINE int __CRTDECL _vscwprintf_p_l(
_In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
const
=
__stdio_common_vswprintf_p
(
_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR,
(*
__local_stdio_printf_options
()) | (
1ULL
<<
1
),
NULL, 0, _Format, _Locale, _ArgList);
return
_Result
<
0
? -
1
:
_Result
;
}
#endif
_Success_(return >= 0)
_Check_return_
_CRT_STDIO_INLINE int __CRTDECL _vscwprintf_p(
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return _vscwprintf_p_l(_Format, NULL, _ArgList);
}
#endif
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL __swprintf_l(
_Pre_notnull_ _Always_(_Post_z_) wchar_t* const _Buffer,
_In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Locale);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result
=
(
,
,
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _swprintf_l(
_Out_writes_opt_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
_In_ size_t const _BufferCount,
_In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Locale);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result
=
(
,
,
,
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _swprintf(
_Pre_notnull_ _Always_(_Post_z_) wchar_t* const _Buffer,
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Format);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result = __vswprintf_l(_Buffer, _Format, NULL, _ArgList);
_Result
=
(
,
,
0
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL swprintf(
_Out_writes_opt_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
_In_ size_t const _BufferCount,
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Format);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result = _vswprintf_c_l(_Buffer, _BufferCount, _Format, NULL, _ArgList);
_Result
=
(
,
,
,
0
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
#pragma warning(push)
#pragma warning(push)
#pragma warning(disable:4793 4996)
#pragma warning(disable:
4793
4996
)
__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_2_ARGLIST_EX(
_Success_(return >= 0)
int, __RETURN_POLICY_SAME, _CRT_STDIO_INLINE, __CRTDECL, __swprintf_l, __vswprintf_l, _vswprintf_s_l,
_Pre_notnull_ _Always_(_Post_z_) wchar_t,
_Pre_notnull_ _Always_(_Post_z_), wchar_t, _Buffer,
_In_z_ _Printf_format_string_params_(2) wchar_t const*, _Format,
_In_opt_ _locale_t, _Locale
)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"__swprintf_l_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
__inline
int
__cdecl
(
wchar_t
*
,
wchar_t
const
*
,
, ...);
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_vswprintf_s_l"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
__inline
int
__cdecl
(
wchar_t
*
,
wchar_t
const
*
,
,
);
__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_ARGLIST_EX(
_Success_(return >= 0)
int, __RETURN_POLICY_SAME, _CRT_STDIO_INLINE, __CRTDECL, _swprintf, swprintf_s, _vswprintf, vswprintf_s,
_Pre_notnull_ _Always_(_Post_z_), wchar_t, _Buffer,
_In_z_ _Printf_format_string_ wchar_t const*, _Format
)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"swprintf_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
__inline
int
__cdecl
(
wchar_t
*
,
wchar_t
const
*
, ...);
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"vswprintf_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
__inline
int
__cdecl
(
wchar_t
*
,
wchar_t
const
*
,
);
#pragma warning(pop)
#pragma warning(pop)
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _swprintf_s_l(
_Out_writes_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
_In_ size_t const _BufferCount,
_In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Locale);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result
=
(
,
,
,
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
#if __STDC_WANT_SECURE_LIB__
_Success_(return >= 0)
_CRT_STDIO_INLINE int __CRTDECL swprintf_s(
_Out_writes_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
_In_ size_t const _BufferCount,
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Format);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result = _vswprintf_s_l(_Buffer, _BufferCount, _Format, NULL, _ArgList);
_Result
=
(
,
,
,
0
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
#endif
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1_ARGLIST(
_Success_(return >= 0)
int, swprintf_s, vswprintf_s,
_Always_(_Post_z_) wchar_t, _Buffer,
_In_z_ _Printf_format_string_ wchar_t const*, _Format
)
extern
"C++"
{
__pragma
(warning(push));
__pragma
(warning(disable:
4793
));
template
<
>
inline
int
__cdecl
(
wchar_t
(&
)[
],
wchar_t
const
*
, ...)
throw
() {
; ((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
return
(
,
,
,
_ArgList
); }
__pragma
(warning(pop)); }
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _swprintf_p_l(
_Out_writes_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
_In_ size_t const _BufferCount,
_In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Locale);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result
=
(
,
,
,
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _swprintf_p(
_Out_writes_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
_In_ size_t const _BufferCount,
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Format);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result = _vswprintf_p_l(_Buffer, _BufferCount, _Format, NULL, _ArgList);
_Result
=
(
,
,
,
0
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _swprintf_c_l(
_Out_writes_opt_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
_In_ size_t const _BufferCount,
_In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Locale);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result
=
(
,
,
,
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _swprintf_c(
_Out_writes_opt_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
_In_ size_t const _BufferCount,
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Format);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result = _vswprintf_c_l(_Buffer, _BufferCount, _Format, NULL, _ArgList);
_Result
=
(
,
,
,
0
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Success_(return >= 0)
_Check_return_opt_ _CRT_INSECURE_DEPRECATE(_snwprintf_s_l)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_snwprintf_s_l"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
_CRT_STDIO_INLINE int __CRTDECL _snwprintf_l(
_Out_writes_opt_(_BufferCount) _Post_maybez_ wchar_t* const _Buffer,
_In_ size_t const _BufferCount,
_In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Locale);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
#pragma warning(push)
#pragma warning(push)
#pragma warning(disable: 4996) // Deprecation
#pragma warning(disable:
4996
)
_Result
=
(
,
,
,
,
_ArgList
);
#pragma warning(pop)
#pragma warning(pop)
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _snwprintf(
_Out_writes_opt_(_BufferCount) _Post_maybez_ wchar_t* _Buffer,
_In_ size_t _BufferCount,
_In_z_ _Printf_format_string_ wchar_t const* _Format,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Format);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
#pragma warning(push)
#pragma warning(push)
#pragma warning(disable: 4996) // Deprecation
#pragma warning(disable:
4996
)
_Result = _vsnwprintf_l(_Buffer, _BufferCount, _Format, NULL, _ArgList);
_Result
=
(
,
,
,
0
,
_ArgList
);
#pragma warning(pop)
#pragma warning(pop)
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _snwprintf_s_l(
_Out_writes_opt_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
_In_ size_t const _BufferCount,
_In_ size_t const _MaxCount,
_In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Locale);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result
=
(
,
,
,
,
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _snwprintf_s(
_Out_writes_opt_(_BufferCount) _Always_(_Post_z_) wchar_t* const _Buffer,
_In_ size_t const _BufferCount,
_In_ size_t const _MaxCount,
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Format);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result = _vsnwprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format, NULL, _ArgList);
_Result
=
(
,
,
,
,
0
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2_ARGLIST(
_Success_(return >= 0)
int, _snwprintf_s, _vsnwprintf_s,
_Always_(_Post_z_) wchar_t, _Buffer,
_In_ size_t, _BufferCount,
_In_z_ _Printf_format_string_ wchar_t const*, _Format
)
extern
"C++"
{
__pragma
(warning(push));
__pragma
(warning(disable:
4793
));
template
<
>
inline
int
__cdecl
(
wchar_t
(&
)[
],
,
wchar_t
const
*
, ...)
throw
() {
; ((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
return
(
,
,
,
,
_ArgList
); }
__pragma
(warning(pop)); }
_Check_return_
_CRT_STDIO_INLINE int __CRTDECL _scwprintf_l(
_In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Locale);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result
=
(
,
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Success_(return >= 0)
_Check_return_
_CRT_STDIO_INLINE int __CRTDECL _scwprintf(
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Format);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result = _vscwprintf_l(_Format, NULL, _ArgList);
_Result
=
(
,
0
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Success_(return >= 0)
_Check_return_
_CRT_STDIO_INLINE int __CRTDECL _scwprintf_p_l(
_In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Locale);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result
=
(
,
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Success_(return >= 0)
_Check_return_
_CRT_STDIO_INLINE int __CRTDECL _scwprintf_p(
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
...)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Format);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result = _vscwprintf_p_l(_Format, NULL, _ArgList);
_Result
=
(
,
0
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
#if !defined RC_INVOKED && !defined __midl && !defined _INC_SWPRINTF_INL_
#pragma warning(push)
#pragma warning(push)
#pragma warning(disable: 4141 4412 4793 4996 6054)
#pragma warning(disable:
4141
4412
4793
4996
6054
)
#ifdef __cplusplus
extern "C++" _SWPRINTFS_DEPRECATED _CRT_INSECURE_DEPRECATE(swprintf_s)
extern
"C++"
__declspec
(deprecated(
"function has been changed to conform with the ISO C standard, "
"adding an extra character count parameter. To use the traditional "
"Microsoft version, set _CRT_NON_CONFORMING_SWPRINTFS."
))
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"swprintf_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
inline
int
(
_Pre_notnull_ _Post_z_ wchar_t* const _Buffer,
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
...)
throw
()
{
int
;
;
__crt_va_start(_ArgList, _Format);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
#pragma warning(suppress: 28719)
#pragma warning(suppress:
28719
)
_Result = vswprintf(_Buffer, _CRT_INT_MAX, _Format, _ArgList);
_Result
=
(
,
2147483647
,
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
extern "C++" _SWPRINTFS_DEPRECATED _CRT_INSECURE_DEPRECATE(vswprintf_s)
extern
"C++"
__declspec
(deprecated(
"function has been changed to conform with the ISO C standard, "
"adding an extra character count parameter. To use the traditional "
"Microsoft version, set _CRT_NON_CONFORMING_SWPRINTFS."
))
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"vswprintf_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
inline int __CRTDECL vswprintf(
_Pre_notnull_ _Post_z_ wchar_t* const _Buffer,
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
)
throw
()
{
#pragma warning(suppress: 28719)
#pragma warning(suppress:
28719
)
return vswprintf(_Buffer, _CRT_INT_MAX, _Format, _ArgList);
return
(
,
2147483647
,
,
);
}
extern "C++" _SWPRINTFS_DEPRECATED _CRT_INSECURE_DEPRECATE(_swprintf_s_l)
extern
"C++"
__declspec
(deprecated(
"function has been changed to conform with the ISO C standard, "
"adding an extra character count parameter. To use the traditional "
"Microsoft version, set _CRT_NON_CONFORMING_SWPRINTFS."
))
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_swprintf_s_l"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
inline
int
(
_Pre_notnull_ _Post_z_ wchar_t* const _Buffer,
_In_z_ _Printf_format_string_params_(0) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
...)
throw
()
{
int
;
;
__crt_va_start(_ArgList, _Locale);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result
=
(
, (
)-
1
,
,
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
extern "C++" _SWPRINTFS_DEPRECATED _CRT_INSECURE_DEPRECATE(_vswprintf_s_l)
extern
"C++"
__declspec
(deprecated(
"function has been changed to conform with the ISO C standard, "
"adding an extra character count parameter. To use the traditional "
"Microsoft version, set _CRT_NON_CONFORMING_SWPRINTFS."
))
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_vswprintf_s_l"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
inline int __CRTDECL _vswprintf_l(
_Pre_notnull_ _Post_z_ wchar_t* const _Buffer,
_In_z_ _Printf_format_string_params_(2) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
)
throw
()
{
return
(
, (
)-
1
,
,
,
);
}
#endif // __cplusplus
#pragma warning(pop)
#endif // !_INC_SWPRINTF_INL_
#pragma warning(pop)
#if defined _CRT_NON_CONFORMING_SWPRINTFS && !defined __cplusplus
#define swprintf _swprintf
#define vswprintf _vswprintf
#define _swprintf_l __swprintf_l
#define _vswprintf_l __vswprintf_l
#endif
_Success_(return >= 0)
_ACRTIMP int __cdecl __stdio_common_vswscanf(
__declspec
(dllimport)
int
__cdecl
(
_In_ unsigned __int64 _Options,
_In_reads_(_BufferCount) _Pre_z_ wchar_t const* _Buffer,
_In_ size_t _BufferCount,
_In_z_ _Scanf_format_string_params_(2) wchar_t const* _Format,
_In_opt_ _locale_t _Locale,
);
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _vswscanf_l(
_In_z_ wchar_t const* const _Buffer,
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return
(
_CRT_INTERNAL_LOCAL_SCANF_OPTIONS,
(*
__local_stdio_scanf_options
()),
, (
)-
1
,
,
,
);
}
#endif
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL vswscanf(
_In_z_ wchar_t const* _Buffer,
_In_z_ _Printf_format_string_ wchar_t const* _Format,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return _vswscanf_l(_Buffer, _Format, NULL, _ArgList);
}
#endif
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _vswscanf_s_l(
_In_z_ wchar_t const* const _Buffer,
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return
(
_CRT_INTERNAL_LOCAL_SCANF_OPTIONS | _CRT_INTERNAL_SCANF_SECURECRT,
(*
__local_stdio_scanf_options
()) | (
1ULL
<<
0
),
, (
)-
1
,
,
,
);
}
#endif
#if __STDC_WANT_SECURE_LIB__
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL vswscanf_s(
_In_z_ wchar_t const* const _Buffer,
_In_z_ _Printf_format_string_ wchar_t const* const _Format,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return _vswscanf_s_l(_Buffer, _Format, NULL, _ArgList);
}
#endif
#endif
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(
_Success_(return >= 0)
int, vswscanf_s,
_In_z_ wchar_t, _Buffer,
_In_z_ _Printf_format_string_ wchar_t const*, _Format,
va_list, _ArgList
)
extern
"C++"
{
template
<
>
inline
int
__cdecl
(
wchar_t
(&
)[
],
wchar_t
const
*
,
)
throw
() {
return
(
,
,
,
); } }
_Success_(return >= 0)
_Check_return_opt_ _CRT_INSECURE_DEPRECATE(_vsnwscanf_s_l)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_vsnwscanf_s_l"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
_CRT_STDIO_INLINE int __CRTDECL _vsnwscanf_l(
_In_reads_(_BufferCount) _Pre_z_ wchar_t const* const _Buffer,
_In_ size_t const _BufferCount,
_In_z_ _Scanf_format_string_params_(2) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return
(
_CRT_INTERNAL_LOCAL_SCANF_OPTIONS,
(*
__local_stdio_scanf_options
()),
,
,
,
,
);
}
#endif
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _vsnwscanf_s_l(
_In_reads_(_BufferCount) _Pre_z_ wchar_t const* const _Buffer,
_In_ size_t const _BufferCount,
_In_z_ _Scanf_s_format_string_params_(2) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
)
#if defined _NO_CRT_STDIO_INLINE
;
#else
{
return
(
_CRT_INTERNAL_LOCAL_SCANF_OPTIONS | _CRT_INTERNAL_SCANF_SECURECRT,
(*
__local_stdio_scanf_options
()) | (
1ULL
<<
0
),
,
,
,
,
);
}
#endif
_Success_(return >= 0)
_Check_return_opt_ _CRT_INSECURE_DEPRECATE(_swscanf_s_l)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_swscanf_s_l"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
_CRT_STDIO_INLINE int __CRTDECL _swscanf_l(
_In_z_ wchar_t const* const _Buffer,
_In_z_ _Scanf_format_string_params_(0) wchar_t const* const _Format,
_In_opt_ _locale_t _Locale,
...)
#if defined _NO_CRT_STDIO_INLINE // SCANF
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Locale);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result
=
(
,
,
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Success_(return >= 0)
_Check_return_ _CRT_INSECURE_DEPRECATE(swscanf_s)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"swscanf_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
_CRT_STDIO_INLINE int __CRTDECL swscanf(
_In_z_ wchar_t const* const _Buffer,
_In_z_ _Scanf_format_string_ wchar_t const* const _Format,
...)
#if defined _NO_CRT_STDIO_INLINE // SCANF
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Format);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result = _vswscanf_l(_Buffer, _Format, NULL, _ArgList);
_Result
=
(
,
,
0
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _swscanf_s_l(
_In_z_ wchar_t const* const _Buffer,
_In_z_ _Scanf_s_format_string_params_(0) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
...)
#if defined _NO_CRT_STDIO_INLINE // SCANF
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Locale);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result
=
(
,
,
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
#if __STDC_WANT_SECURE_LIB__
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL swscanf_s(
_In_z_ wchar_t const* const _Buffer,
_In_z_ _Scanf_s_format_string_ wchar_t const* const _Format,
...)
#if defined _NO_CRT_STDIO_INLINE // SCANF
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Format);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result = _vswscanf_s_l(_Buffer, _Format, NULL, _ArgList);
_Result
=
(
,
,
0
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
#endif
_Success_(return >= 0)
_Check_return_opt_ _CRT_INSECURE_DEPRECATE(_snwscanf_s_l)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_snwscanf_s_l"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
_CRT_STDIO_INLINE int __CRTDECL _snwscanf_l(
_In_reads_(_BufferCount) _Pre_z_ wchar_t const* const _Buffer,
_In_ size_t const _BufferCount,
_In_z_ _Scanf_format_string_params_(0) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
...)
#if defined _NO_CRT_STDIO_INLINE // SCANF
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Locale);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
#pragma warning(push)
#pragma warning(push)
#pragma warning(disable: 4996) // Deprecation
#pragma warning(disable:
4996
)
_Result
=
(
,
,
,
,
_ArgList
);
#pragma warning(pop)
#pragma warning(pop)
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Success_(return >= 0)
_Check_return_opt_ _CRT_INSECURE_DEPRECATE(_snwscanf_s)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_snwscanf_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
_CRT_STDIO_INLINE int __CRTDECL _snwscanf(
_In_reads_(_BufferCount) _Pre_z_ wchar_t const* const _Buffer,
_In_ size_t const _BufferCount,
_In_z_ _Scanf_format_string_ wchar_t const* const _Format,
...)
#if defined _NO_CRT_STDIO_INLINE // SCANF
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Format);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
#pragma warning(push)
#pragma warning(push)
#pragma warning(disable: 4996) // Deprecation
#pragma warning(disable:
4996
)
_Result = _vsnwscanf_l(_Buffer, _BufferCount, _Format, NULL, _ArgList);
_Result
=
(
,
,
,
0
,
_ArgList
);
#pragma warning(pop)
#pragma warning(pop)
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _snwscanf_s_l(
_In_reads_(_BufferCount) _Pre_z_ wchar_t const* const _Buffer,
_In_ size_t const _BufferCount,
_In_z_ _Scanf_s_format_string_params_(0) wchar_t const* const _Format,
_In_opt_ _locale_t const _Locale,
...)
#if defined _NO_CRT_STDIO_INLINE // SCANF
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Locale);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result
=
(
,
,
,
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
_Success_(return >= 0)
_Check_return_opt_
_CRT_STDIO_INLINE int __CRTDECL _snwscanf_s(
_In_reads_(_BufferCount) _Pre_z_ wchar_t const* const _Buffer,
_In_ size_t const _BufferCount,
_In_z_ _Scanf_s_format_string_ wchar_t const* const _Format,
...)
#if defined _NO_CRT_STDIO_INLINE // SCANF
;
#else
{
int
;
;
__crt_va_start(_ArgList, _Format);
((
void
)(
__vcrt_assert_va_start_is_not_reference
<
decltype
(
)>(), ((
void
)(
_ArgList
= (
)(&
const_cast
<
char
&>(
reinterpret_cast
<
const
volatile
char
&>(
))) + ((
sizeof
(
) +
sizeof
(
int
) -
1
) & ~(
sizeof
(
int
) -
1
))))));
_Result = _vsnwscanf_s_l(_Buffer, _BufferCount, _Format, NULL, _ArgList);
_Result
=
(
,
,
,
0
,
_ArgList
);
__crt_va_end(_ArgList);
((
void
)(
_ArgList
= (
)
0
));
return
_Result
;
}
#endif
#ifdef _M_CEE_MIXED
#pragma managed(pop)
#endif
#endif // _CRT_FUNCTIONS_REQUIRED