Author: akhaldi
Date: Sun Jan 22 14:47:46 2012
New Revision: 55068
URL:
http://svn.reactos.org/svn/reactos?rev=55068&view=rev
Log:
[PSDK]
* Add __out_data_source annotation.
Modified:
trunk/reactos/include/psdk/specstrings.h
Modified: trunk/reactos/include/psdk/specstrings.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/specstrings.h…
==============================================================================
--- trunk/reactos/include/psdk/specstrings.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/specstrings.h [iso-8859-1] Sun Jan 22 14:47:46 2012
@@ -48,3 +48,13 @@
#define __analysis_noreturn
#define __kernel_entry
+#if (_MSC_VER >= 1000) && !defined(__midl) && defined(_PREFAST_)
+
+#define __inner_data_source(src_raw)
_SA_annotes1(SAL_untrusted_data_source,src_raw)
+#define __out_data_source(src_sym) _Post_ __inner_data_source(#src_sym)
+
+#else
+
+#define __out_data_source(src_sym)
+
+#endif