1 2 #pragma once 3 4 #include <vcruntime.h> 5 6 _CRT_BEGIN_C_HEADER 7 8 void* 9 __cdecl 10 memset( 11 _Out_writes_bytes_all_(_Size) void *_Dst, 12 _In_ int _Val, 13 _In_ size_t _Size); 14 15 _CRT_INSECURE_DEPRECATE_MEMORY(memcpy_s) 16 _Post_equal_to_(_Dst) 17 _At_buffer_((unsigned char*)_Dst, _Iter_, _Size, 18 _Post_satisfies_(((unsigned char*)_Dst)[_Iter_] == ((unsigned char*)_Src)[_Iter_])) 19 void* 20 __cdecl 21 memcpy( 22 _Out_writes_bytes_all_(_Size) void *_Dst, 23 _In_reads_bytes_(_Size) void const *_Src, 24 _In_ size_t _Size); 25 26 _CRT_INSECURE_DEPRECATE_MEMORY(memmove_s) 27 _VCRTIMP 28 void* 29 __cdecl 30 memmove( 31 _Out_writes_bytes_all_opt_(_Size) void *_Dst, 32 _In_reads_bytes_opt_(_Size) void const *_Src, 33 _In_ size_t _Size); 34 35 _NODISCARD 36 _Check_return_ 37 _VCRTIMP 38 char _CONST_RETURN* 39 __cdecl 40 strchr( 41 _In_z_ const char *_Str, 42 _In_ int _Val); 43 44 _NODISCARD 45 _Check_return_ 46 _When_(return != NULL, _Ret_range_(_Str, _Str + _String_length_(_Str) - 1)) 47 _VCRTIMP 48 wchar_t _CONST_RETURN* 49 __cdecl 50 wcschr( 51 _In_z_ const wchar_t *_Str, 52 _In_ wchar_t _Ch); 53 54 _NODISCARD 55 _Check_return_ 56 _VCRTIMP 57 char _CONST_RETURN* 58 __cdecl strrchr( 59 _In_z_ const char *_Str, 60 _In_ int _Ch); 61 62 _NODISCARD 63 _Check_return_ 64 _Ret_maybenull_ 65 _VCRTIMP 66 char _CONST_RETURN* 67 __cdecl 68 strstr( 69 _In_z_ const char *_Str, 70 _In_z_ const char *_SubStr); 71 72 _NODISCARD 73 _Check_return_ 74 int 75 __cdecl 76 memcmp( 77 _In_reads_bytes_(_Size) const void *_Buf1, 78 _In_reads_bytes_(_Size) const void *_Buf2, 79 _In_ size_t _Size); 80 81 _NODISCARD 82 _Check_return_ 83 _Ret_maybenull_ 84 _When_(return != NULL, _Ret_range_(_Str, _Str + _String_length_(_Str) - 1)) 85 _VCRTIMP 86 wchar_t _CONST_RETURN* 87 __cdecl 88 wcsstr( 89 _In_z_ const wchar_t *_Str, 90 _In_z_ const wchar_t *_SubStr); 91 92 _NODISCARD 93 _Check_return_ 94 _VCRTIMP 95 void _CONST_RETURN* 96 __cdecl 97 memchr( 98 _In_reads_bytes_opt_(_MaxCount) const void *_Buf, 99 _In_ int _Val, 100 _In_ size_t _MaxCount); 101 102 _NODISCARD 103 _Check_return_ 104 _VCRTIMP 105 wchar_t _CONST_RETURN* 106 __cdecl 107 wcsrchr( 108 _In_z_ const wchar_t *_Str, 109 _In_ wchar_t _Ch); 110 111 _CRT_END_C_HEADER 112