[SAL]
authorAmine Khaldi <amine.khaldi@reactos.org>
Sun, 29 Jun 2014 16:37:18 +0000 (16:37 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sun, 29 Jun 2014 16:37:18 +0000 (16:37 +0000)
* Add _Field_size_bytes_part_ annotation.

svn path=/trunk/; revision=63672

reactos/include/psdk/sal.h

index f726c63..e3318b2 100644 (file)
@@ -605,7 +605,7 @@ enum __SAL_YesNo {_SAL_notpresent, _SAL_no, _SAL_maybe, _SAL_yes, _SAL_default};
 //#define _Field_size_bytes_full_(size)
 //#define _Field_size_bytes_full_opt_(size)
 #define _Field_size_bytes_opt_(size)                                _SAL2_NAME(_Field_size_bytes_opt_) _Group_(_Maybenull_ _Writable_bytes_(size))
-//#define _Field_size_bytes_part_(size, count)
+#define _Field_size_bytes_part_(size,count)                         _SAL2_NAME(_Field_size_bytes_part_) _Group_(_Notnull_ _Writable_bytes_(size) _Readable_bytes_(count))
 #define _Field_size_bytes_part_opt_(size, count)                    _SAL2_NAME(_Field_size_bytes_part_opt_) _Group_(_Maybenull_ _Writable_bytes_(size) _Readable_bytes_(count))
 //#define _Field_size_full_(size)
 //#define _Field_size_full_opt_(size)