Author: akhaldi
Date: Sat Jan 14 11:27:20 2012
New Revision: 54952
URL:
http://svn.reactos.org/svn/reactos?rev=54952&view=rev
Log:
[PSDK]
* Stub _Kernel_acquires_resource_ and _Maybe_raises_SEH_exception_ annotations and add
__maybenull_impl.
Modified:
trunk/reactos/include/psdk/driverspecs.h
trunk/reactos/include/psdk/sal.h
Modified: trunk/reactos/include/psdk/driverspecs.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/driverspecs.h…
==============================================================================
--- trunk/reactos/include/psdk/driverspecs.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/driverspecs.h [iso-8859-1] Sat Jan 14 11:27:20 2012
@@ -138,4 +138,5 @@
#define _Kernel_releases_resource_(kind)
#define _Kernel_requires_resource_held_(kind)
#define _Kernel_requires_resource_not_held_(kind)
+#define _Kernel_acquires_resource_(kind)
Modified: trunk/reactos/include/psdk/sal.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/sal.h?rev=549…
==============================================================================
--- trunk/reactos/include/psdk/sal.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/sal.h [iso-8859-1] Sat Jan 14 11:27:20 2012
@@ -268,6 +268,7 @@
#define __null_impl_notref _Notref_ _Null_
#define __notnull_impl _Notnull_
#define __notnull_impl_notref _Notref_ _Notnull_
+#define __maybenull_impl __inner_exceptthat _Maybenull_
#define __maybenull_impl_notref _Notref_ __inner_exceptthat _Maybenull_
#define __valid_impl __declspec("SAL_valid") //
__declspec("SAL_valid(__yes)")
#define __maybevalid_impl __declspec("SAL_maybevalid") //
__declspec("SAL_valid(__maybe)")
@@ -1557,6 +1558,7 @@
#define _Prepost_z_
#define _Printf_format_string_
#define _Raises_SEH_exception_
+#define _Maybe_raises_SEH_exception_
#define _Readable_bytes_(size)
#define _Readable_elements_(size)
#define _Reserved_