Author: akhaldi
Date: Sun Aug 25 15:53:31 2013
New Revision: 59821
URL:
http://svn.reactos.org/svn/reactos?rev=59821&view=rev
Log:
[CRT]
* Annotate search_s.h.
Modified:
trunk/reactos/include/crt/sec_api/search_s.h
Modified: trunk/reactos/include/crt/sec_api/search_s.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/crt/sec_api/search…
==============================================================================
--- trunk/reactos/include/crt/sec_api/search_s.h [iso-8859-1] (original)
+++ trunk/reactos/include/crt/sec_api/search_s.h [iso-8859-1] Sun Aug 25 15:53:31 2013
@@ -3,6 +3,7 @@
* This file is part of the w64 mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER within this package.
*/
+
#ifndef _INC_SEARCH_S
#define _INC_SEARCH_S
@@ -14,12 +15,34 @@
extern "C" {
#endif
- _CRTIMP void *__cdecl _lfind_s(const void *_Key,const void *_Base,unsigned int
*_NumOfElements,size_t _SizeOfElements,int (__cdecl *_PtFuncCompare)(void *,const void
*,const void *),void *_Context);
- _CRTIMP void *__cdecl _lsearch_s(const void *_Key,void *_Base,unsigned int
*_NumOfElements,size_t _SizeOfElements,int (__cdecl *_PtFuncCompare)(void *,const void
*,const void *),void *_Context);
+ _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);
+
+ _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);
#ifdef __cplusplus
}
#endif
#endif
-#endif
+
+#endif /* _INC_SEARCH_S */