ReactOS 0.4.16-dev-329-g9223134
search_s.h
Go to the documentation of this file.
1
7#ifndef _INC_SEARCH_S
8#define _INC_SEARCH_S
9
10#include <search.h>
11
12#if defined(MINGW_HAS_SECURE_API)
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
20 void *
22 _lfind_s(
23 _In_ const void *_Key,
24 _In_reads_bytes_((*_NumOfElements) * _SizeOfElements) const void *_Base,
25 _Inout_ unsigned int *_NumOfElements,
26 _In_ size_t _SizeOfElements,
27 _In_ int(__cdecl *_PtFuncCompare)(void *, const void *, const void *),
28 void *_Context);
29
32 void *
34 _lsearch_s(
35 _In_ const void *_Key,
36 _Inout_updates_bytes_((*_NumOfElements) * _SizeOfElements) void *_Base,
37 _Inout_ unsigned int *_NumOfElements,
38 _In_ size_t _SizeOfElements,
39 _In_ int(__cdecl *_PtFuncCompare)(void *, const void *, const void *),
40 void *_Context);
41
42#ifdef __cplusplus
43}
44#endif
45
46#endif
47
48#endif /* _INC_SEARCH_S */
#define __cdecl
Definition: accygwin.h:79
_Check_return_ _Ret_maybenull_ _In_ size_t _SizeOfElements
Definition: malloc.h:76
#define _In_reads_bytes_(s)
Definition: no_sal2.h:170
#define _Inout_
Definition: no_sal2.h:162
#define _Check_return_
Definition: no_sal2.h:60
#define _In_
Definition: no_sal2.h:158
#define _Inout_updates_bytes_(s)
Definition: no_sal2.h:184
#define _CRTIMP
Definition: vcruntime.h:54