include: Add sal.h.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
069897ad9f
commit
3178d059c6
|
@ -549,6 +549,7 @@ SOURCES = \
|
|||
rstloc.idl \
|
||||
rstnot.idl \
|
||||
rtutils.h \
|
||||
sal.h \
|
||||
sapi.idl \
|
||||
sapiddk.idl \
|
||||
scarderr.h \
|
||||
|
|
|
@ -0,0 +1,94 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Alistair Leslie-Hughes
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef __WINE_SAL_H__
|
||||
#define __WINE_SAL_H__
|
||||
|
||||
#define _Check_return_
|
||||
|
||||
#define _Deref_out_
|
||||
#define _Deref_out_opt_
|
||||
#define _Deref_out_opt_z_
|
||||
#define _Deref_post_opt_cap_(count)
|
||||
#define _Deref_post_opt_valid_
|
||||
|
||||
#define _In_
|
||||
#define _In_bytecount_(count)
|
||||
#define _In_count_(count)
|
||||
#define _In_opt_
|
||||
#define _In_opt_count_(count)
|
||||
#define _In_opt_z_
|
||||
#define _In_reads_(count)
|
||||
#define _In_reads_bytes_(count)
|
||||
#define _In_reads_opt_z_(count)
|
||||
#define _In_reads_z_(count)
|
||||
#define _In_z_
|
||||
|
||||
#define _Inout_
|
||||
#define _Inout_cap_(count)
|
||||
#define _Inout_opt_
|
||||
#define _Inout_updates_z_(count)
|
||||
#define _Inout_z_
|
||||
#define _Inout_z_bytecap_(count)
|
||||
#define _Inout_z_cap_(count)
|
||||
#define _Inout_z_cap_c_(count)
|
||||
|
||||
#define _Null_terminated_
|
||||
|
||||
#define _Out_
|
||||
#define _Out_bytecap_(count)
|
||||
#define _Out_bytecapcount_(count)
|
||||
#define _Out_bytecap_post_bytecount_(count1, count2)
|
||||
#define _Out_cap_(count)
|
||||
#define _Out_cap_post_count_(count1, count2)
|
||||
#define _Out_opt_
|
||||
#define _Out_opt_z_cap_(count)
|
||||
#define _Out_opt_z_cap_post_count_(count1, count2)
|
||||
#define _Out_writes_(count)
|
||||
#define _Out_writes_bytes_to_(count1, count2)
|
||||
#define _Out_writes_opt_(count)
|
||||
#define _Out_writes_opt_z_(count)
|
||||
#define _Out_writes_to_(count1, count2)
|
||||
#define _Out_writes_z_(count)
|
||||
#define _Out_z_cap_(count)
|
||||
#define _Out_z_cap_c_(count)
|
||||
#define _Out_z_cap_post_count_(count1, count2)
|
||||
|
||||
#define _Outptr_result_buffer_(count)
|
||||
#define _Outptr_result_maybenull_z_
|
||||
|
||||
#define _Post_invalid_
|
||||
#define _Post_writable_byte_size_(count)
|
||||
#define _Post_z_
|
||||
|
||||
#define _Pre_maybenull_
|
||||
#define _Pre_notnull_
|
||||
#define _Pre_writable_size_(count)
|
||||
|
||||
#define _Printf_format_string_
|
||||
|
||||
#define _Ret_maybenull_
|
||||
#define _Ret_maybenull_z_
|
||||
#define _Ret_opt_
|
||||
#define _Ret_opt_z_cap_(count)
|
||||
#define _Ret_writes_bytes_maybenull_(count)
|
||||
#define _Ret_z_
|
||||
|
||||
#define _Success_(exp)
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue