29 #ifndef _CRT_ALGO_DEFINED
30 #define _CRT_ALGO_DEFINED
31 #if __STDC_WANT_SECURE_LIB__
34 _In_ int (__cdecl * _PtFuncCompare)(
void *,
const void *,
const void *),
void * _Context);
37 _In_ size_t _NumOfElements,
_In_ size_t _SizeOfElements,
38 _In_ int (__cdecl * _PtFuncCompare)(
const void *,
const void *));
40 #if __STDC_WANT_SECURE_LIB__
43 _In_ int (__cdecl * _PtFuncCompare)(
void *,
const void *,
const void *),
void *_Context);
46 _In_ size_t _NumOfElements,
_In_ size_t _SizeOfElements,
47 _In_ int (__cdecl * _PtFuncCompare)(
const void *,
const void *));
51 _Inout_ unsigned int * _NumOfElements,
_In_ size_t _SizeOfElements,
52 _In_ int (__cdecl * _PtFuncCompare)(
void *,
const void *,
const void *),
void * _Context);
54 _Inout_ unsigned int * _NumOfElements,
_In_ unsigned int _SizeOfElements,
55 _In_ int (__cdecl * _PtFuncCompare)(
const void *,
const void *));
58 _Inout_ unsigned int * _NumOfElements,
_In_ size_t _SizeOfElements,
59 _In_ int (__cdecl * _PtFuncCompare)(
void *,
const void *,
const void *),
void * _Context);
61 _Inout_ unsigned int * _NumOfElements,
_In_ unsigned int _SizeOfElements,
62 _In_ int (__cdecl * _PtFuncCompare)(
const void *,
const void *));
64 #if defined (__cplusplus) && defined (_M_CEE)
72 #if __STDC_WANT_SECURE_LIB__
75 _In_ int (__clrcall * _PtFuncCompare)(
void *,
const void *,
const void *),
void * _Context);
78 _In_ size_t _NumOfElements,
_In_ size_t _SizeOfElements,
79 _In_ int (__clrcall * _PtFuncCompare)(
const void *,
const void *));
82 _Inout_ unsigned int * _NumOfElements,
_In_ size_t _SizeOfElements,
83 _In_ int (__clrcall * _PtFuncCompare)(
void *,
const void *,
const void *),
void * _Context);
85 _Inout_ unsigned int * _NumOfElements,
_In_ unsigned int _SizeOfElements,
86 _In_ int (__clrcall * _PtFuncCompare)(
const void *,
const void *));
89 _In_ unsigned int * _NumOfElements,
_In_ size_t _SizeOfElements,
90 _In_ int (__clrcall * _PtFuncCompare)(
void *,
const void *,
const void *),
void * _Context);
92 _Inout_ unsigned int * _NumOfElements,
_In_ unsigned int _SizeOfElements,
93 _In_ int (__clrcall * _PtFuncCompare)(
const void *,
const void *));
95 #if __STDC_WANT_SECURE_LIB__
98 _In_ int (__clrcall * _PtFuncCompare)(
void *,
const void *,
const void *),
void * _Context);
101 _In_ size_t _NumOfElements,
_In_ size_t _SizeOfElements,
102 _In_ int (__clrcall * _PtFuncCompare)(
const void *,
const void *));
112 _Inout_ unsigned int * _NumOfElements,
_In_ unsigned int _SizeOfElements,
113 _In_ int (__cdecl * _PtFuncCompare)(const
void *, const
void *));
115 _Inout_ unsigned int * _NumOfElements,
_In_ unsigned int _SizeOfElements,
116 _In_ int (__cdecl * _PtFuncCompare)(const
void *, const
void *));
#define _CRTIMP
Definition: crtdefs.h:23
typedef void(__cdecl *_se_translator_function)(unsigned int
_Check_return_ _CRTIMP void *__cdecl _lsearch_s(_In_ const void *_Key, _Inout_updates_bytes_((*_NumOfElements)*_SizeOfElements) void *_Base, _Inout_ unsigned int *_NumOfElements, _In_ size_t _SizeOfElements, _In_ int(__cdecl *_PtFuncCompare)(void *, const void *, const void *), void *_Context)
_Check_return_ _CRTIMP _Inout_ unsigned int _In_ unsigned int _SizeOfElements
Definition: search.h:112
_Check_return_ _CRTIMP _Inout_ unsigned int _In_ unsigned int _In_ const void *_Check_return_ _CRTIMP _Inout_updates_bytes_((*_NumOfElements)*_SizeOfElements) void *_Base
_Check_return_ _CRTIMP _Inout_ unsigned int * _NumOfElements
Definition: search.h:112
#define _Check_return_
Definition: sal.h:563
#define _In_
Definition: sal.h:314
_Check_return_ _CRTIMP _CRT_NONSTDC_DEPRECATE(_lfind) void *__cdecl lfind(_In_ const void *_Key
_Check_return_ _CRTIMP void *__cdecl bsearch_s(_In_ const void *_Key, _In_reads_bytes_(_NumOfElements *_SizeOfElements) const void *_Base, _In_ rsize_t _NumOfElements, _In_ rsize_t _SizeOfElements, _In_ int(__cdecl *_PtFuncCompare)(void *, const void *, const void *), void *_Context)
_CRTIMP void __cdecl qsort_s(_Inout_updates_bytes_(_NumOfElements *_SizeOfElements) void *_Base, _In_ rsize_t _NumOfElements, _In_ rsize_t _SizeOfElements, _In_ int(__cdecl *_PtFuncCompare)(void *, const void *, const void *), void *_Context)
_Check_return_ _CRTIMP void *__cdecl _lfind(_In_ const void *_Key, _In_reads_bytes_((*_NumOfElements)*_SizeOfElements) const void *_Base, _Inout_ unsigned int *_NumOfElements, _In_ unsigned int _SizeOfElements, _In_ int(__cdecl *_PtFuncCompare)(const void *, const void *))
size_t rsize_t
Definition: crtdefs.h:503
_Check_return_ _CRTIMP void *__cdecl _lfind_s(_In_ const void *_Key, _In_reads_bytes_((*_NumOfElements)*_SizeOfElements) const void *_Base, _Inout_ unsigned int *_NumOfElements, _In_ size_t _SizeOfElements, _In_ int(__cdecl *_PtFuncCompare)(void *, const void *, const void *), void *_Context)
_CRTIMP void __cdecl qsort(_Inout_updates_bytes_(_NumOfElements *_SizeOfElements) void *_Base, _In_ size_t _NumOfElements, _In_ size_t _SizeOfElements, _In_ int(__cdecl *_PtFuncCompare)(const void *, const void *))
_Check_return_ _CRTIMP void *__cdecl bsearch(_In_ const void *_Key, _In_reads_bytes_(_NumOfElements *_SizeOfElements) const void *_Base, _In_ size_t _NumOfElements, _In_ size_t _SizeOfElements, _In_ int(__cdecl *_PtFuncCompare)(const void *, const void *))
#define _Inout_
Definition: sal.h:384
_Check_return_ _CRTIMP _In_reads_bytes_((*_NumOfElements)*_SizeOfElements) const void *_Base
_Check_return_ _CRTIMP void *__cdecl _lsearch(_In_ const void *_Key, _Inout_updates_bytes_((*_NumOfElements)*_SizeOfElements) void *_Base, _Inout_ unsigned int *_NumOfElements, _In_ unsigned int _SizeOfElements, _In_ int(__cdecl *_PtFuncCompare)(const void *, const void *))