From e575b6d3414a0350727f875424806ef04563e1b9 Mon Sep 17 00:00:00 2001 From: v-kaywon Date: Thu, 22 Jun 2017 14:44:33 -0700 Subject: [PATCH] added annotations to sal_def.h --- source/shared/sal_def.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/source/shared/sal_def.h b/source/shared/sal_def.h index 910ec960..9859374c 100644 --- a/source/shared/sal_def.h +++ b/source/shared/sal_def.h @@ -525,7 +525,9 @@ #define _In_opt_z_count_c_(size) #define _In_ptrdiff_count_(size) #define _In_range_(lb,ub) +#define _In_reads_(size) #define _In_reads_bytes_(size) +#define _In_reads_bytes_opt_(size) #define _In_z_ #define _In_z_bytecount_(size) #define _In_z_bytecount_c_(size) @@ -570,6 +572,10 @@ #define _Inout_opt_z_count_(size) #define _Inout_opt_z_count_c_(size) #define _Inout_ptrdiff_count_(size) +#define _Inout_updates_(size) +#define _Inout_updates_bytes_(size) +#define _Inout_updates_bytes_to_(size,count) +#define _Inout_updates_z_(size) #define _Inout_z_ #define _Inout_z_bytecap_(size) #define _Inout_z_bytecap_c_(size) @@ -626,6 +632,10 @@ #define _Out_range_(lb,ub) #define _Out_writes_(size) #define _Out_writes_bytes_(count) +#define _Out_writes_bytes_opt_(size) +#define _Out_writes_bytes_to_opt_(size,count) +#define _Out_writes_opt_(size) +#define _Out_writes_z_(size) #define _Out_z_bytecap_(size) #define _Out_z_bytecap_c_(size) #define _Out_z_bytecap_post_bytecount_(cap,count) @@ -637,6 +647,8 @@ #define _Out_z_cap_post_count_(cap,count) #define _Out_z_cap_x_(size) #define _Out_z_capcount_(capcount) +#define _Outref_result_bytebuffer_maybenull_(size) +#define _Outref_result_maybenull_ #define _Post_bytecap_(size) #define _Post_bytecount_(size) #define _Post_bytecount_c_(size)