#pragma once
#include <corecrt.h>
#include <vcruntime_string.h>
#ifndef __midl
_CRT_BEGIN_C_HEADER
__pragma
(pack(push,
8
))
extern
"C"
{
#if __STDC_WANT_SECURE_LIB__
_Check_return_wat_
_ACRTIMP errno_t __cdecl wcscat_s(
__declspec
(dllimport)
__cdecl
(
_Inout_updates_z_(_SizeInWords) wchar_t* _Destination,
_In_ rsize_t _SizeInWords,
_In_z_ wchar_t const* _Source
);
_Check_return_wat_
_ACRTIMP errno_t __cdecl wcscpy_s(
__declspec
(dllimport)
__cdecl
(
_Out_writes_z_(_SizeInWords) wchar_t* _Destination,
_In_ rsize_t _SizeInWords,
_In_z_ wchar_t const* _Source
);
_Check_return_wat_
_ACRTIMP errno_t __cdecl wcsncat_s(
__declspec
(dllimport)
__cdecl
(
_Inout_updates_z_(_SizeInWords) wchar_t* _Destination,
_In_ rsize_t _SizeInWords,
_In_reads_or_z_(_MaxCount) wchar_t const* _Source,
);
_Check_return_wat_
_ACRTIMP errno_t __cdecl wcsncpy_s(
__declspec
(dllimport)
__cdecl
(
_Out_writes_z_(_SizeInWords) wchar_t* _Destination,
_In_ rsize_t _SizeInWords,
_In_reads_or_z_(_MaxCount) wchar_t const* _Source,
);
_Check_return_
_ACRTIMP wchar_t* __cdecl wcstok_s(
__declspec
(dllimport)
wchar_t
*
__cdecl
(
_Inout_opt_z_ wchar_t* _String,
_In_z_ wchar_t const* _Delimiter,
_Inout_ _Deref_prepost_opt_z_ wchar_t** _Context
);
#endif // __STDC_WANT_SECURE_LIB__
#if defined _DEBUG && defined _CRTDBG_MAP_ALLOC
#pragma push_macro("_wcsdup")
#undef _wcsdup
#endif
_Check_return_
_ACRTIMP _CRTALLOCATOR wchar_t* __cdecl _wcsdup(
__declspec
(dllimport)
__declspec
(allocator)
wchar_t
*
__cdecl
(
_In_z_ wchar_t const* _String
);
#if defined _DEBUG && defined _CRTDBG_MAP_ALLOC
#pragma pop_macro("_wcsdup")
#endif
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(
errno_t, wcscat_s,
wchar_t, _Destination,
_In_z_ wchar_t const*, _Source
)
extern
"C++"
{
template
<
>
inline
__cdecl
(
wchar_t
(&
)[
],
wchar_t
const
*
)
throw
() {
return
(
,
,
); } }
#ifndef RC_INVOKED
#pragma warning(push)
#pragma warning(disable: 28719) // __WARNING_BANNED_API_USAGE
#pragma warning(disable:
28719
)
#pragma warning(disable: 28726) // __WARNING_BANNED_API_USAGEL2
#pragma warning(disable:
28726
)
__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1(
wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, wcscat,
_Inout_updates_z_(_String_length_(_Destination) + _String_length_(_Source) + 1), wchar_t, _Destination,
_In_z_ wchar_t const*, _Source
)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"wcscat_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
__declspec
(dllimport)
wchar_t
*
__cdecl
(
wchar_t
*
,
wchar_t
const
*
);
#pragma warning(pop)
#endif
_Check_return_
_ACRTIMP int __cdecl wcscmp(
__declspec
(dllimport)
int
__cdecl
(
_In_z_ wchar_t const* _String1,
_In_z_ wchar_t const* _String2
);
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(
errno_t, wcscpy_s,
wchar_t, _Destination,
_In_z_ wchar_t const*, _Source
)
extern
"C++"
{
template
<
>
inline
__cdecl
(
wchar_t
(&
)[
],
wchar_t
const
*
)
throw
() {
return
(
,
,
); } }
#pragma warning(push)
#pragma warning(disable: 28719) // __WARNING_BANNED_API_USAGE
#pragma warning(disable:
28719
)
#pragma warning(disable: 28726) // __WARNING_BANNED_API_USAGEL2
#pragma warning(disable:
28726
)
__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1(
wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, wcscpy,
_Out_writes_z_(_String_length_(_Source) + 1), wchar_t, _Destination,
_In_z_ wchar_t const*, _Source
)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"wcscpy_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
__declspec
(dllimport)
wchar_t
*
__cdecl
(
wchar_t
*
,
wchar_t
const
*
);
#pragma warning(pop)
_Check_return_
_ACRTIMP size_t __cdecl wcscspn(
__declspec
(dllimport)
__cdecl
(
_In_z_ wchar_t const* _String,
_In_z_ wchar_t const* _Control
);
_Check_return_
_ACRTIMP size_t __cdecl wcslen(
__declspec
(dllimport)
__cdecl
(
_In_z_ wchar_t const* _String
);
_Check_return_
_When_(
_MaxCount > _String_length_(_Source),
_Post_satisfies_(return == _String_length_(_Source))
)
_When_(
_MaxCount <= _String_length_(_Source),
_Post_satisfies_(return == _MaxCount)
)
_ACRTIMP size_t __cdecl wcsnlen(
__declspec
(dllimport)
__cdecl
(
_In_reads_or_z_(_MaxCount) wchar_t const* _Source,
);
#if __STDC_WANT_SECURE_LIB__ && !defined(__midl)
_Check_return_
_When_(
_MaxCount > _String_length_(_Source),
_Post_satisfies_(return == _String_length_(_Source))
)
_When_(
_MaxCount <= _String_length_(_Source),
_Post_satisfies_(return == _MaxCount)
)
static __inline size_t __CRTDECL wcsnlen_s(
static
__inline
__cdecl
(
_In_reads_or_z_(_MaxCount) wchar_t const* _Source,
)
{
return
(
==
0
) ?
0
:
(
,
);
}
#endif // __STDC_WANT_SECURE_LIB__ && !defined(__midl)
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(
errno_t, wcsncat_s,
_Prepost_z_ wchar_t, _Destination,
_In_reads_or_z_(_Count) wchar_t const*, _Source,
_In_ size_t, _Count
)
extern
"C++"
{
template
<
>
inline
__cdecl
(
wchar_t
(&
)[
],
wchar_t
const
*
,
)
throw
() {
return
(
,
,
,
); } }
__DEFINE_CPP_OVERLOAD_STANDARD_NFUNC_0_2_EX(
wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, wcsncat, wcsncat_s,
_Inout_updates_z_(_Size) wchar_t,
_Inout_updates_z_(_Count), wchar_t, _Destination,
_In_reads_or_z_(_Count) wchar_t const*, _Source,
_In_ size_t, _Count
)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"wcsncat_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
__declspec
(dllimport)
wchar_t
*
__cdecl
(
wchar_t
*
,
wchar_t
const
*
,
);
_Check_return_
_ACRTIMP int __cdecl wcsncmp(
__declspec
(dllimport)
int
__cdecl
(
_In_reads_or_z_(_MaxCount) wchar_t const* _String1,
_In_reads_or_z_(_MaxCount) wchar_t const* _String2,
);
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(
errno_t, wcsncpy_s,
wchar_t, _Destination,
_In_reads_or_z_(_Count) wchar_t const*, _Source,
_In_ size_t, _Count
)
extern
"C++"
{
template
<
>
inline
__cdecl
(
wchar_t
(&
)[
],
wchar_t
const
*
,
)
throw
() {
return
(
,
,
,
); } }
__DEFINE_CPP_OVERLOAD_STANDARD_NFUNC_0_2_EX(
wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, wcsncpy, wcsncpy_s,
_Pre_notnull_ _Post_maybez_ wchar_t,
_Out_writes_(_Count) _Post_maybez_, wchar_t, _Destination,
_In_reads_or_z_(_Count) wchar_t const*, _Source,
_In_ size_t, _Count
)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"wcsncpy_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
__declspec
(dllimport)
wchar_t
*
__cdecl
(
wchar_t
*
,
wchar_t
const
*
,
);
_Check_return_
_ACRTIMP wchar_t _CONST_RETURN* __cdecl wcspbrk(
__declspec
(dllimport)
wchar_t
const
*
__cdecl
(
_In_z_ wchar_t const* _String,
_In_z_ wchar_t const* _Control
);
_Check_return_
_ACRTIMP size_t __cdecl wcsspn(
__declspec
(dllimport)
__cdecl
(
_In_z_ wchar_t const* _String,
_In_z_ wchar_t const* _Control
);
_Check_return_ _CRT_INSECURE_DEPRECATE(wcstok_s)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"wcstok_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
_ACRTIMP wchar_t* __cdecl wcstok(
__declspec
(dllimport)
wchar_t
*
__cdecl
(
_Inout_opt_z_ wchar_t* _String,
_In_z_ wchar_t const* _Delimiter,
_Inout_opt_ _Deref_prepost_opt_z_ wchar_t** _Context
);
#if !defined RC_INVOKED && !defined __midl
#if defined _CRT_NON_CONFORMING_WCSTOK
#define _WCSTOK_DEPRECATED _CRT_INSECURE_DEPRECATE(wcstok_s)
#else
#define _WCSTOK_DEPRECATED _CRT_DEPRECATE_TEXT( \
"wcstok has been changed to conform with the ISO C standard, " \
"adding an extra context parameter. To use the legacy Microsoft " \
"wcstok, define _CRT_NON_CONFORMING_WCSTOK.")
#endif
#pragma warning(push)
#pragma warning(push)
#pragma warning(disable: 4141 4996) // Deprecated function use
#pragma warning(disable:
4141
4996
)
#pragma warning(disable: 28719 28726 28727) // wcstok is banned by dontuse.h
#pragma warning(disable:
28719
28726
28727
)
_Check_return_ _CRT_INSECURE_DEPRECATE(wcstok_s)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"wcstok_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
static __inline wchar_t* __CRTDECL _wcstok(
static
__inline
wchar_t
*
__cdecl
(
_Inout_opt_z_ wchar_t* const _String,
_In_z_ wchar_t const* const _Delimiter
)
{
return
(
,
,
0
);
}
#if defined _CRT_NON_CONFORMING_WCSTOK && !defined __cplusplus
#define wcstok _wcstok
#endif
#if defined __cplusplus && !defined _CRT_NO_INLINE_DEPRECATED_WCSTOK
extern "C++" _Check_return_ _WCSTOK_DEPRECATED
extern
"C++"
__declspec
(deprecated(
"wcstok has been changed to conform with the ISO C standard, "
"adding an extra context parameter. To use the legacy Microsoft "
"wcstok, define _CRT_NON_CONFORMING_WCSTOK."
))
inline wchar_t* __CRTDECL wcstok(
inline
wchar_t
*
__cdecl
(
_Inout_opt_z_ wchar_t* _String,
_In_z_ wchar_t const* _Delimiter
)
throw
()
{
return
(
,
,
0
);
}
#endif
#pragma warning(pop)
#pragma warning(pop)
#endif // !defined RC_INVOKED && !defined __midl
_Ret_z_
_Check_return_ _CRT_INSECURE_DEPRECATE(_wcserror_s)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_wcserror_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
_ACRTIMP wchar_t* __cdecl _wcserror(
__declspec
(dllimport)
wchar_t
*
__cdecl
(
);
_Check_return_wat_
_ACRTIMP errno_t __cdecl _wcserror_s(
__declspec
(dllimport)
__cdecl
(
_Out_writes_opt_z_(_SizeInWords) wchar_t* _Buffer,
_In_ size_t _SizeInWords,
);
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(
errno_t, _wcserror_s,
wchar_t, _Buffer,
_In_ int, _Error
)
extern
"C++"
{
template
<
>
inline
__cdecl
(
wchar_t
(&
)[
],
int
)
throw
() {
return
(
,
,
); } }
_Ret_z_
_Success_(return != 0)
_Check_return_ _CRT_INSECURE_DEPRECATE(__wcserror_s)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"__wcserror_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
_ACRTIMP wchar_t* __cdecl __wcserror(
__declspec
(dllimport)
wchar_t
*
__cdecl
(
_In_opt_z_ wchar_t const* _String
);
_Check_return_wat_ _ACRTIMP_ALT errno_t __cdecl __wcserror_s(
__declspec
(dllimport)
__cdecl
(
_Out_writes_opt_z_(_SizeInWords) wchar_t* _Buffer,
_In_ size_t _SizeInWords,
_In_z_ wchar_t const* _ErrorMessage
);
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(
errno_t, __wcserror_s,
wchar_t, _Buffer,
_In_z_ wchar_t const*, _ErrorMessage
)
extern
"C++"
{
template
<
>
inline
__cdecl
(
wchar_t
(&
)[
],
wchar_t
const
*
)
throw
() {
return
(
,
,
); } }
_Check_return_ _ACRTIMP int __cdecl _wcsicmp(
__declspec
(dllimport)
int
__cdecl
(
_In_z_ wchar_t const* _String1,
_In_z_ wchar_t const* _String2
);
_Check_return_ _ACRTIMP int __cdecl _wcsicmp_l(
__declspec
(dllimport)
int
__cdecl
(
_In_z_ wchar_t const* _String1,
_In_z_ wchar_t const* _String2,
_In_opt_ _locale_t _Locale
);
_Check_return_ _ACRTIMP int __cdecl _wcsnicmp(
__declspec
(dllimport)
int
__cdecl
(
_In_reads_or_z_(_MaxCount) wchar_t const* _String1,
_In_reads_or_z_(_MaxCount) wchar_t const* _String2,
);
_Check_return_ _ACRTIMP int __cdecl _wcsnicmp_l(
__declspec
(dllimport)
int
__cdecl
(
_In_reads_or_z_(_MaxCount) wchar_t const* _String1,
_In_reads_or_z_(_MaxCount) wchar_t const* _String2,
_In_opt_ _locale_t _Locale
);
_Check_return_wat_ _ACRTIMP errno_t __cdecl _wcsnset_s(
__declspec
(dllimport)
__cdecl
(
_Inout_updates_z_(_SizeInWords) wchar_t* _Destination,
_In_ size_t _SizeInWords,
);
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(
errno_t, _wcsnset_s,
_Prepost_z_ wchar_t, _Destination,
_In_ wchar_t, _Value,
_In_ size_t, _MaxCount
)
extern
"C++"
{
template
<
>
inline
__cdecl
(
wchar_t
(&
)[
],
wchar_t
,
)
throw
() {
return
(
,
,
,
); } }
__DEFINE_CPP_OVERLOAD_STANDARD_NFUNC_0_2_EX(
wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, _wcsnset, _wcsnset_s,
_Inout_updates_z_(_Size) wchar_t,
_Inout_updates_z_(_MaxCount), wchar_t, _String,
_In_ wchar_t, _Value,
_In_ size_t, _MaxCount
)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_wcsnset_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
__declspec
(dllimport)
wchar_t
*
__cdecl
(
wchar_t
*
,
wchar_t
,
);
_ACRTIMP wchar_t* __cdecl _wcsrev(
__declspec
(dllimport)
wchar_t
*
__cdecl
(
_Inout_z_ wchar_t* _String
);
_Check_return_wat_ _ACRTIMP errno_t __cdecl _wcsset_s(
__declspec
(dllimport)
__cdecl
(
_Inout_updates_z_(_SizeInWords) wchar_t* _Destination,
_In_ size_t _SizeInWords,
);
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(
errno_t, _wcsset_s,
_Prepost_z_ wchar_t, _String,
_In_ wchar_t, _Value
)
extern
"C++"
{
template
<
>
inline
__cdecl
(
wchar_t
(&
)[
],
wchar_t
)
throw
() {
return
(
,
,
); } }
__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_EX(
wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, _wcsset, _wcsset_s,
_Inout_updates_z_(_Size) wchar_t,
_Inout_z_, wchar_t, _String,
_In_ wchar_t, _Value
)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_wcsset_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
__declspec
(dllimport)
wchar_t
*
__cdecl
(
wchar_t
*
,
wchar_t
);
_Check_return_wat_ _ACRTIMP errno_t __cdecl _wcslwr_s(
__declspec
(dllimport)
__cdecl
(
_Inout_updates_z_(_SizeInWords) wchar_t* _String,
);
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(
errno_t, _wcslwr_s,
_Prepost_z_ wchar_t, _String
)
extern
"C++"
{
template
<
>
inline
__cdecl
(
wchar_t
(&
)[
])
throw
() {
return
(
,
); } }
__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(
wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, _wcslwr,
_Inout_z_, wchar_t, _String
)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_wcslwr_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
__declspec
(dllimport)
wchar_t
*
__cdecl
(
wchar_t
*
);
_Check_return_wat_
_ACRTIMP errno_t __cdecl _wcslwr_s_l(
__declspec
(dllimport)
__cdecl
(
_Inout_updates_z_(_SizeInWords) wchar_t* _String,
_In_ size_t _SizeInWords,
_In_opt_ _locale_t _Locale
);
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(
errno_t, _wcslwr_s_l,
_Prepost_z_ wchar_t, _String,
_In_opt_ _locale_t, _Locale
)
extern
"C++"
{
template
<
>
inline
__cdecl
(
wchar_t
(&
)[
],
)
throw
() {
return
(
,
,
); } }
__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_EX(
wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, _wcslwr_l, _wcslwr_s_l,
_Inout_updates_z_(_Size) wchar_t,
_Inout_z_, wchar_t, _String,
_In_opt_ _locale_t, _Locale
)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_wcslwr_s_l"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
__declspec
(dllimport)
wchar_t
*
__cdecl
(
wchar_t
*
,
);
_Check_return_wat_
_ACRTIMP errno_t __cdecl _wcsupr_s(
__declspec
(dllimport)
__cdecl
(
_Inout_updates_z_(_Size) wchar_t* _String,
);
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(
errno_t, _wcsupr_s,
_Prepost_z_ wchar_t, _String
)
extern
"C++"
{
template
<
>
inline
__cdecl
(
wchar_t
(&
)[
])
throw
() {
return
(
,
); } }
__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(
wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, _wcsupr,
_Inout_z_, wchar_t, _String
)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_wcsupr_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
__declspec
(dllimport)
wchar_t
*
__cdecl
(
wchar_t
*
);
_Check_return_wat_
_ACRTIMP errno_t __cdecl _wcsupr_s_l(
__declspec
(dllimport)
__cdecl
(
_Inout_updates_z_(_Size) wchar_t* _String,
_In_opt_ _locale_t _Locale
);
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(
errno_t, _wcsupr_s_l,
_Prepost_z_ wchar_t, _String,
_In_opt_ _locale_t, _Locale
)
extern
"C++"
{
template
<
>
inline
__cdecl
(
wchar_t
(&
)[
],
)
throw
() {
return
(
,
,
); } }
__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_EX(
wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, _wcsupr_l, _wcsupr_s_l,
_Inout_updates_z_(_Size) wchar_t,
_Inout_z_, wchar_t, _String,
_In_opt_ _locale_t, _Locale
)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_wcsupr_s_l"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
__declspec
(dllimport)
wchar_t
*
__cdecl
(
wchar_t
*
,
);
_Success_(return < _MaxCount)
_Check_return_opt_
_ACRTIMP size_t __cdecl wcsxfrm(
__declspec
(dllimport)
__cdecl
(
_Out_writes_opt_(_MaxCount) _Post_maybez_ wchar_t* _Destination,
_In_z_ wchar_t const* _Source,
_In_ _In_range_(<= ,_CRT_INT_MAX) size_t _MaxCount
);
_Success_(return < _MaxCount)
_Check_return_opt_
_ACRTIMP size_t __cdecl _wcsxfrm_l(
__declspec
(dllimport)
__cdecl
(
_Out_writes_opt_(_MaxCount) _Post_maybez_ wchar_t* _Destination,
_In_z_ wchar_t const* _Source,
_In_ _In_range_(<= ,_CRT_INT_MAX) size_t _MaxCount,
_In_opt_ _locale_t _Locale
);
_Check_return_
_ACRTIMP int __cdecl wcscoll(
__declspec
(dllimport)
int
__cdecl
(
_In_z_ wchar_t const* _String1,
_In_z_ wchar_t const* _String2
);
_Check_return_
_ACRTIMP int __cdecl _wcscoll_l(
__declspec
(dllimport)
int
__cdecl
(
_In_z_ wchar_t const* _String1,
_In_z_ wchar_t const* _String2,
_In_opt_ _locale_t _Locale
);
_Check_return_
_ACRTIMP int __cdecl _wcsicoll(
__declspec
(dllimport)
int
__cdecl
(
_In_z_ wchar_t const* _String1,
_In_z_ wchar_t const* _String2
);
_Check_return_
_ACRTIMP int __cdecl _wcsicoll_l(
__declspec
(dllimport)
int
__cdecl
(
_In_z_ wchar_t const* _String1,
_In_z_ wchar_t const* _String2,
_In_opt_ _locale_t _Locale
);
_Check_return_
_ACRTIMP int __cdecl _wcsncoll(
__declspec
(dllimport)
int
__cdecl
(
_In_reads_or_z_(_MaxCount) wchar_t const* _String1,
_In_reads_or_z_(_MaxCount) wchar_t const* _String2,
);
_Check_return_
_ACRTIMP int __cdecl _wcsncoll_l(
__declspec
(dllimport)
int
__cdecl
(
_In_reads_or_z_(_MaxCount) wchar_t const* _String1,
_In_reads_or_z_(_MaxCount) wchar_t const* _String2,
_In_opt_ _locale_t _Locale
);
_Check_return_
_ACRTIMP int __cdecl _wcsnicoll(
__declspec
(dllimport)
int
__cdecl
(
_In_reads_or_z_(_MaxCount) wchar_t const* _String1,
_In_reads_or_z_(_MaxCount) wchar_t const* _String2,
);
_Check_return_
_ACRTIMP int __cdecl _wcsnicoll_l(
__declspec
(dllimport)
int
__cdecl
(
_In_reads_or_z_(_MaxCount) wchar_t const* _String1,
_In_reads_or_z_(_MaxCount) wchar_t const* _String2,
_In_opt_ _locale_t _Locale
);
#ifdef __cplusplus
extern
"C++"
{
_Check_return_
_When_(return != NULL, _Ret_range_(_String, _String+_String_length_(_String)-1))
inline wchar_t* __CRTDECL wcschr(_In_z_ wchar_t* _String, wchar_t _C)
inline
wchar_t
*
__cdecl
(
wchar_t
*
,
wchar_t
)
{
return
const_cast
<
wchar_t
*>(
(
static_cast
<
wchar_t
const
*>(
),
));
}
_Check_return_
inline wchar_t* __CRTDECL wcspbrk(_In_z_ wchar_t* _String, _In_z_ wchar_t const* _Control)
inline
wchar_t
*
__cdecl
(
wchar_t
*
,
wchar_t
const
*
)
{
return
const_cast
<
wchar_t
*>(
(
static_cast
<
wchar_t
const
*>(
),
));
}
_Check_return_
inline wchar_t* __CRTDECL wcsrchr(_In_z_ wchar_t* _String, _In_ wchar_t _C)
inline
wchar_t
*
__cdecl
(
wchar_t
*
,
wchar_t
)
{
return
const_cast
<
wchar_t
*>(
(
static_cast
<
wchar_t
const
*>(
),
));
}
_Check_return_ _Ret_maybenull_
_When_(return != NULL, _Ret_range_(_String, _String+_String_length_(_String)-1))
inline wchar_t* __CRTDECL wcsstr(_In_z_ wchar_t* _String, _In_z_ wchar_t const*_SubStr)
inline
wchar_t
*
__cdecl
(
wchar_t
*
,
wchar_t
const
*
)
{
return
const_cast
<
wchar_t
*>(
(
static_cast
<
wchar_t
const
*>(
),
));
}
}
#endif // __cplusplus
#if _CRT_INTERNAL_NONSTDC_NAMES
#if defined _DEBUG && defined _CRTDBG_MAP_ALLOC
#pragma push_macro("wcsdup")
#undef wcsdup
#endif
_Check_return_ _CRT_NONSTDC_DEPRECATE(_wcsdup)
__declspec
(deprecated(
"The POSIX name for this item is deprecated. Instead, use the ISO C "
"and C++ conformant name: "
"_wcsdup"
". See online help for details."
))
_ACRTIMP wchar_t* __cdecl wcsdup(
__declspec
(dllimport)
wchar_t
*
__cdecl
(
_In_z_ wchar_t const* _String
);
#if defined _DEBUG && defined _CRTDBG_MAP_ALLOC
#pragma pop_macro("wcsdup")
#endif
#define wcswcs wcsstr
_Check_return_ _CRT_NONSTDC_DEPRECATE(_wcsicmp)
__declspec
(deprecated(
"The POSIX name for this item is deprecated. Instead, use the ISO C "
"and C++ conformant name: "
"_wcsicmp"
". See online help for details."
))
_ACRTIMP int __cdecl wcsicmp(
__declspec
(dllimport)
int
__cdecl
(
_In_z_ wchar_t const* _String1,
_In_z_ wchar_t const* _String2
);
_Check_return_ _CRT_NONSTDC_DEPRECATE(_wcsnicmp)
__declspec
(deprecated(
"The POSIX name for this item is deprecated. Instead, use the ISO C "
"and C++ conformant name: "
"_wcsnicmp"
". See online help for details."
))
_ACRTIMP int __cdecl wcsnicmp(
__declspec
(dllimport)
int
__cdecl
(
_In_reads_or_z_(_MaxCount) wchar_t const* _String1,
_In_reads_or_z_(_MaxCount) wchar_t const* _String2,
);
_CRT_NONSTDC_DEPRECATE(_wcsnset)
__declspec
(deprecated(
"The POSIX name for this item is deprecated. Instead, use the ISO C "
"and C++ conformant name: "
"_wcsnset"
". See online help for details."
))
_Ret_z_
_ACRTIMP wchar_t* __cdecl wcsnset(
__declspec
(dllimport)
wchar_t
*
__cdecl
(
_Inout_updates_z_(_MaxCount) wchar_t* _String,
);
_CRT_NONSTDC_DEPRECATE(_wcsrev)
__declspec
(deprecated(
"The POSIX name for this item is deprecated. Instead, use the ISO C "
"and C++ conformant name: "
"_wcsrev"
". See online help for details."
))
_Ret_z_
_ACRTIMP wchar_t* __cdecl wcsrev(
__declspec
(dllimport)
wchar_t
*
__cdecl
(
_Inout_z_ wchar_t* _String
);
_CRT_NONSTDC_DEPRECATE(_wcsset)
__declspec
(deprecated(
"The POSIX name for this item is deprecated. Instead, use the ISO C "
"and C++ conformant name: "
"_wcsset"
". See online help for details."
))
_Ret_z_
_ACRTIMP wchar_t* __cdecl wcsset(
__declspec
(dllimport)
wchar_t
*
__cdecl
(
_Inout_z_ wchar_t* _String,
);
_CRT_NONSTDC_DEPRECATE(_wcslwr)
__declspec
(deprecated(
"The POSIX name for this item is deprecated. Instead, use the ISO C "
"and C++ conformant name: "
"_wcslwr"
". See online help for details."
))
_Ret_z_
_ACRTIMP wchar_t* __cdecl wcslwr(
__declspec
(dllimport)
wchar_t
*
__cdecl
(
_Inout_z_ wchar_t* _String
);
_CRT_NONSTDC_DEPRECATE(_wcsupr)
__declspec
(deprecated(
"The POSIX name for this item is deprecated. Instead, use the ISO C "
"and C++ conformant name: "
"_wcsupr"
". See online help for details."
))
_Ret_z_
_ACRTIMP wchar_t* __cdecl wcsupr(
__declspec
(dllimport)
wchar_t
*
__cdecl
(
_Inout_z_ wchar_t* _String
);
_Check_return_ _CRT_NONSTDC_DEPRECATE(_wcsicoll)
__declspec
(deprecated(
"The POSIX name for this item is deprecated. Instead, use the ISO C "
"and C++ conformant name: "
"_wcsicoll"
". See online help for details."
))
_ACRTIMP int __cdecl wcsicoll(
__declspec
(dllimport)
int
__cdecl
(
_In_z_ wchar_t const* _String1,
_In_z_ wchar_t const* _String2
);
#endif // _CRT_INTERNAL_NONSTDC_NAMES
#endif // !__midl