ncrypt: Add NCryptIsKeyHandle stub.
[wine.git] / include / sal.h
blobca8b824f1bf71d3c2d0deb9f03398e9ae6816afa
1 /*
2 * Copyright (C) 2018 Alistair Leslie-Hughes
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_SAL_H__
20 #define __WINE_SAL_H__
23 #define _Always_(exp)
25 #define _At_
26 #define _At_buffer_(a, b, c, d)
28 #define _Check_return_
29 #define _Check_return_opt_
31 #define _COM_Outptr_
32 #define _COM_Outptr_result_maybenull_
34 #define _Deref_out_
35 #define _Deref_out_z_
36 #define _Deref_out_opt_
37 #define _Deref_out_opt_z_
38 #define _Deref_post_maybenull_
39 #define _Deref_post_opt_cap_(count)
40 #define _Deref_post_opt_valid_
41 #define _Deref_post_opt_z_cap_(count)
42 #define _Deref_post_valid_
43 #define _Deref_post_z_
44 #define _Deref_pre_maybenull_
45 #define _Deref_pre_z_
46 #define _Deref_prepost_opt_z_
47 #define _Deref_ret_z_
49 #define _Field_range_(min, max)
51 #define __in
52 #define __in_opt
53 #define _In_
54 #define _In_bytecount_(count)
55 #define _In_bytecount_c_(count)
56 #define _In_bytecount_x_(count)
57 #define _In_count_(count)
58 #define _In_count_c_(count)
59 #define _In_count_x_(count)
60 #define _In_opt_
61 #define _In_opt_bytecount_(count)
62 #define _In_opt_bytecount_c_(count)
63 #define _In_opt_bytecount_x_(count)
64 #define _In_opt_count_(count)
65 #define _In_opt_count_c_(count)
66 #define _In_opt_count_x_(count)
67 #define _In_opt_ptrdiff_count_(count)
68 #define _In_opt_z_
69 #define _In_opt_z_count_(count)
70 #define _In_opt_z_count_c_(count)
71 #define _In_opt_z_bytecount_(count)
72 #define _In_opt_z_bytecount_c_(count)
73 #define _In_ptrdiff_count_(count)
74 #define _In_range_(min, max)
75 #define _In_reads_(count)
76 #define _In_reads_bytes_(count)
77 #define _In_reads_bytes_opt_(count)
78 #define _In_reads_opt_(count)
79 #define _In_reads_opt_z_(count)
80 #define _In_reads_or_z_(count)
81 #define _In_reads_or_z_opt_(count)
82 #define _In_reads_z_(count)
83 #define _In_z_
84 #define _In_z_bytecount_(count)
85 #define _In_z_bytecount_c_(count)
86 #define _In_z_count_(count)
87 #define _In_z_count_c_(count)
89 #define __inout
90 #define _Inout_
91 #define _Inout_bytecap_x_(count)
92 #define _Inout_cap_(count)
93 #define _Inout_opt_
94 #define _Inout_opt_cap_c_(count)
95 #define _Inout_opt_z_
96 #define _Inout_opt_z_bytecap_(count)
97 #define _Inout_updates_(count)
98 #define _Inout_updates_bytes_(count)
99 #define _Inout_updates_bytes_all_opt_(count)
100 #define _Inout_updates_bytes_opt_(count)
101 #define _Inout_updates_opt_(count)
102 #define _Inout_updates_z_(count)
103 #define _Inout_updates_opt_z_(count)
104 #define _Inout_z_
105 #define _Inout_z_bytecap_(count)
106 #define _Inout_z_cap_(count)
107 #define _Inout_z_cap_c_(count)
109 #define _Null_terminated_
111 #define __out
112 #define __out_opt
113 #define _Out_
114 #define _Outptr_
115 #define _Out_bytecap_(count)
116 #define _Out_bytecap_c_(count)
117 #define _Out_bytecap_x_(count)
118 #define _Out_bytecapcount_(count)
119 #define _Out_bytecap_post_bytecount_(count1, count2)
120 #define _Out_cap_(count)
121 #define _Out_cap_c_(count)
122 #define _Out_cap_m_(count1, count2)
123 #define _Out_cap_x_(count)
124 #define _Out_cap_post_count_(count1, count2)
125 #define _Out_opt_
126 #define _Out_opt_bytecap_(count)
127 #define _Out_opt_bytecap_c_(count)
128 #define _Out_opt_bytecap_x_(count)
129 #define _Out_opt_bytecap_post_bytecount_(count1, count2)
130 #define _Out_opt_bytecapcount_(count)
131 #define _Out_opt_cap_(count)
132 #define _Out_opt_cap_m_(count1, count2)
133 #define _Out_opt_cap_c_(count)
134 #define _Out_opt_cap_x_(count)
135 #define _Out_opt_cap_post_count_(count1, count2)
136 #define _Out_opt_ptrdiff_cap_(count)
137 #define _Out_opt_z_bytecap_(count)
138 #define _Out_opt_z_bytecap_c_(count)
139 #define _Out_opt_z_bytecap_x_(count)
140 #define _Out_opt_z_bytecap_post_bytecount_(count1, count2)
141 #define _Out_opt_z_cap_(count)
142 #define _Out_opt_z_cap_c_(count)
143 #define _Out_opt_z_cap_m_(count1, count2)
144 #define _Out_opt_z_cap_x_(count)
145 #define _Out_opt_z_cap_post_count_(count1, count2)
146 #define _Out_ptrdiff_cap_(count)
147 #define _Out_writes_(count)
148 #define _Out_writes_all_(count)
149 #define _Out_writes_bytes_(count)
150 #define _Out_writes_bytes_all_(count)
151 #define _Out_writes_bytes_all_opt_(count)
152 #define _Out_writes_bytes_opt_(count)
153 #define _Out_writes_bytes_to_(count1, count2)
154 #define _Out_writes_bytes_to_opt_(count1, count2)
155 #define _Out_writes_opt_(count)
156 #define _Out_writes_opt_z_(count)
157 #define _Out_writes_to_(count1, count2)
158 #define _Out_writes_to_opt_(count1, count2)
159 #define _Out_writes_z_(count)
160 #define _Out_z_bytecap_(count)
161 #define _Out_z_bytecap_c_(count)
162 #define _Out_z_bytecap_x_(count)
163 #define _Out_z_bytecap_post_bytecount_(count1, count2)
164 #define _Out_z_cap_(count)
165 #define _Out_z_cap_c_(count)
166 #define _Out_z_cap_m_(count1, count2)
167 #define _Out_z_cap_x_(count)
168 #define _Out_z_cap_post_count_(count1, count2)
170 #define _Outptr_opt_
171 #define _Outptr_result_buffer_(count)
172 #define _Outptr_result_buffer_maybenull_(count)
173 #define _Outptr_result_maybenull_
174 #define _Outptr_result_maybenull_z_
175 #define _Outptr_result_nullonfailure_
176 #define _Outptr_result_z_
178 #define _Param_(p)
180 #define _Post_count_(count)
181 #define _Post_count_c_(count)
182 #define _Post_equal_to_(exp)
183 #define _Post_invalid_
184 #define _Post_maybez_
185 #define _Post_ptr_invalid_
186 #define _Post_readable_byte_size_(count)
187 #define _Post_readable_size_(count)
188 #define _Post_same_lock_(exp, exp1)
189 #define _Post_satisfies_(exp)
190 #define _Post_writable_byte_size_(count)
191 #define _Post_writable_size_(count)
192 #define _Post_z_
194 #define _Pre_cap_for_(count)
195 #define _Pre_maybenull_
196 #define _Pre_notnull_
197 #define _Pre_null_
198 #define _Pre_opt_z_
199 #define _Pre_valid_
200 #define _Pre_writable_size_(count)
201 #define _Pre_z_
202 #define _Prepost_z_
204 #define _Printf_format_string_
205 #define _Printf_format_string_params_(count)
207 #define _Reserved_
209 #define _Result_nullonfailure_
211 #define _Ret_maybenull_
212 #define _Ret_maybenull_z_
213 #define _Ret_notnull_
214 #define _Ret_opt_
215 #define _Ret_opt_bytecap_(count)
216 #define _Ret_opt_bytecap_x_(count)
217 #define _Ret_opt_z_cap_(count)
218 #define _Ret_range_(exp,exp2)
219 #define _Ret_writes_bytes_maybenull_(count)
220 #define _Ret_writes_z_(count)
221 #define _Ret_z_
223 #define _Return_type_success_(count)
225 #define _Scanf_format_string_
226 #define _Scanf_format_string_params_(count)
227 #define _Scanf_s_format_string_
228 #define _Scanf_s_format_string_params_(count)
230 #define _Success_(exp)
232 #define _When_(exp1, exp2)
234 #endif