#pragma once
#include <corecrt.h>
_CRT_BEGIN_C_HEADER
__pragma
(pack(push,
8
))
extern
"C"
{
struct
{
int
;
int
;
int
;
int
;
int
;
int
;
int
;
int
;
int
;
};
_Check_return_ _CRT_INSECURE_DEPRECATE(_wasctime_s)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_wasctime_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
_Success_(return != 0)
_Ret_writes_z_(26)
_ACRTIMP wchar_t* __cdecl _wasctime(
__declspec
(dllimport)
wchar_t
*
__cdecl
(
_In_ struct tm const* _Tm
);
_Success_(return == 0)
_Check_return_wat_
_ACRTIMP errno_t __cdecl _wasctime_s(
__declspec
(dllimport)
__cdecl
(
_Out_writes_z_(_SizeInWords) _Post_readable_size_(26) wchar_t* _Buffer,
_In_range_(>=,26) size_t _SizeInWords,
_In_ struct tm const* _Tm
);
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(
_Success_(return == 0)
errno_t, _wasctime_s,
_Post_readable_size_(26) wchar_t, _Buffer,
_In_ struct tm const*, _Time
)
extern
"C++"
{
template
<
>
inline
__cdecl
(
wchar_t
(&
)[
],
struct
const
*
)
throw
() {
return
(
,
,
); } }
_Success_(return > 0)
_Check_return_wat_
_ACRTIMP size_t __cdecl wcsftime(
__declspec
(dllimport)
__cdecl
(
_Out_writes_z_(_SizeInWords) wchar_t* _Buffer,
_In_ size_t _SizeInWords,
_In_z_ wchar_t const* _Format,
_In_ struct tm const* _Tm
);
_Success_(return > 0)
_Check_return_wat_
_ACRTIMP size_t __cdecl _wcsftime_l(
__declspec
(dllimport)
__cdecl
(
_Out_writes_z_(_SizeInWords) wchar_t* _Buffer,
_In_ size_t _SizeInWords,
_In_z_ wchar_t const* _Format,
_In_ struct tm const* _Tm,
_In_opt_ _locale_t _Locale
);
_Success_(return != 0)
_Check_return_ _CRT_INSECURE_DEPRECATE(_wctime32_s)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_wctime32_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
_ACRTIMP wchar_t* __cdecl _wctime32(
__declspec
(dllimport)
wchar_t
*
__cdecl
(
_In_ __time32_t const* _Time
);
_Check_return_wat_
_ACRTIMP errno_t __cdecl _wctime32_s(
__declspec
(dllimport)
__cdecl
(
_Out_writes_z_(_SizeInWords) _Post_readable_size_(26) wchar_t* _Buffer,
_In_ _In_range_(>=, 26) size_t _SizeInWords,
_In_ __time32_t const* _Time
);
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(
errno_t, _wctime32_s,
_Post_readable_size_(26) wchar_t, _Buffer,
_In_ __time32_t const*, _Time
)
extern
"C++"
{
template
<
>
inline
__cdecl
(
wchar_t
(&
)[
],
const
*
)
throw
() {
return
(
,
,
); } }
_Success_(return != 0)
_Ret_writes_z_(26)
_Check_return_ _CRT_INSECURE_DEPRECATE(_wctime64_s)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_wctime64_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
_ACRTIMP wchar_t* __cdecl _wctime64(
__declspec
(dllimport)
wchar_t
*
__cdecl
(
_In_ __time64_t const* _Time
);
_Check_return_wat_
_ACRTIMP errno_t __cdecl _wctime64_s(
__declspec
(dllimport)
__cdecl
(
_Out_writes_z_(_SizeInWords) _Post_readable_size_(26) wchar_t* _Buffer,
_In_ _In_range_(>=, 26) size_t _SizeInWords,
_In_ __time64_t const* _Time);
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(
errno_t, _wctime64_s,
_Post_readable_size_(26) wchar_t, _Buffer,
_In_ __time64_t const*, _Time
)
extern
"C++"
{
template
<
>
inline
__cdecl
(
wchar_t
(&
)[
],
const
*
)
throw
() {
return
(
,
,
); } }
_Check_return_wat_
_ACRTIMP errno_t __cdecl _wstrdate_s(
__declspec
(dllimport)
__cdecl
(
_Out_writes_z_(_SizeInWords) _When_(_SizeInWords >=9, _Post_readable_size_(9)) wchar_t* _Buffer,
);
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(
errno_t, _wstrdate_s,
_Post_readable_size_(9) wchar_t, _Buffer
)
extern
"C++"
{
template
<
>
inline
__cdecl
(
wchar_t
(&
)[
])
throw
() {
return
(
,
); } }
__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(
_Success_(return != 0) _Ret_writes_z_(9) wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, _wstrdate,
_Out_writes_z_(9), wchar_t, _Buffer
)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_wstrdate_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 _wstrtime_s(
__declspec
(dllimport)
__cdecl
(
_Out_writes_z_(_SizeInWords) _When_(_SizeInWords >=9, _Post_readable_size_(9)) wchar_t* _Buffer,
);
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(
errno_t, _wstrtime_s,
_Post_readable_size_(9) wchar_t, _Buffer
)
extern
"C++"
{
template
<
>
inline
__cdecl
(
wchar_t
(&
)[
])
throw
() {
return
(
,
); } }
__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(
_Success_(return != 0) _Ret_writes_z_(9) wchar_t*, __RETURN_POLICY_DST, _ACRTIMP, _wstrtime,
_Out_writes_z_(9), wchar_t, _Buffer
)
__declspec
(deprecated(
"This function or variable may be unsafe. Consider using "
"_wstrtime_s"
" instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. "
"See online help for details."
))
__declspec
(dllimport)
wchar_t
*
__cdecl
(
wchar_t
*
);
#if !defined RC_INVOKED && !defined __midl && !defined _INC_WTIME_INL && !defined _CRT_NO_TIME_T
#pragma warning(push)
#pragma warning(push)
#pragma warning(disable: 4996)
#pragma warning(disable:
4996
)
#ifdef _USE_32BIT_TIME_T
_Check_return_
static __inline wchar_t* __CRTDECL _wctime(
_In_ time_t const* const _Time
)
{
return _wctime32(_Time);
}
_Check_return_wat_
static __inline errno_t __CRTDECL _wctime_s(
_Pre_notnull_ _Post_z_ _Out_writes_z_(_SizeInWords) wchar_t* const _Buffer,
_In_ size_t const _SizeInWords,
_In_ time_t const* const _Time)
{
return _wctime32_s(_Buffer, _SizeInWords, _Time);
}
#else // ^^^ _USE_32BIT_TIME_T ^^^ // vvv !_USE_32BIT_TIME_T vvv //
_Check_return_
static __inline wchar_t * __CRTDECL _wctime(
static
__inline
wchar_t
*
__cdecl
(
_In_ time_t const* const _Time)
{
return
(
);
}
_Check_return_wat_
static __inline errno_t __CRTDECL _wctime_s(
static
__inline
__cdecl
(
_Pre_notnull_ _Post_z_ _Out_writes_z_(_SizeInWords) wchar_t* const _Buffer,
_In_ size_t const _SizeInWords,
_In_ time_t const* const _Time
)
{
return
(
,
,
);
}
#endif // !_USE_32BIT_TIME_T
#pragma warning(pop)
#endif
#pragma warning(pop)