[PSDK]
authorThomas Faber <thomas.faber@reactos.org>
Mon, 11 May 2015 16:15:18 +0000 (16:15 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Mon, 11 May 2015 16:15:18 +0000 (16:15 +0000)
- Add __field_bcount_full
- Add a stub definition for __deref_out_range

svn path=/trunk/; revision=67666

reactos/include/psdk/sal_old.h
reactos/include/psdk/specstrings.h

index aecac8b..6132307 100644 (file)
 #define __deref_out_ecount(size) __deref_ecount(size) __post __deref __valid __refparam
 #define __deref_out_nz __deref_out
 #define __deref_out_nz_opt __deref_out_opt
+#define __deref_out_range(x,y) /* FIXME */
 #define __deref_out_opt __deref_out __post __deref __exceptthat __maybenull
 #define __deref_out_z __post __deref __valid __refparam __post __deref __nullterminated
 #define __deref_out_z_opt __post __deref __valid __refparam __execeptthat __maybenull __post __deref __nullterminated
index 7d08f26..071324f 100644 (file)
@@ -27,6 +27,7 @@
 #include <driverspecs.h>
 
 #define __field_bcount(size) __notnull __byte_writableTo(size)
+#define __field_bcount_full(size) __notnull __byte_writableTo(size) __byte_readableTo(size)
 #define __field_ecount(size) __notnull __elem_writableTo(size)
 #define __post_invalid _Post_ __notvalid