C++ Rest SDK
The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
nosal.h
1 /***
2 * ==++==
3 *
4 * Copyright (c) Microsoft Corporation. All rights reserved.
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *
16 * ==--==
17 *
18 * For the latest on this and related APIs, please see http://casablanca.codeplex.com.
19 *
20 * =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
21 ***/
22 
23 #pragma once
24 // selected MS SAL annotations
25 
26 #ifdef _In_
27 #undef _In_
28 #endif
29 #define _In_
30 
31 #ifdef _Inout_
32 #undef _Inout_
33 #endif
34 #define _Inout_
35 
36 #ifdef _Out_
37 #undef _Out_
38 #endif
39 #define _Out_
40 
41 #ifdef _In_z_
42 #undef _In_z_
43 #endif
44 #define _In_z_
45 
46 #ifdef _Out_z_
47 #undef _Out_z_
48 #endif
49 #define _Out_z_
50 
51 #ifdef _Inout_z_
52 #undef _Inout_z_
53 #endif
54 #define _Inout_z_
55 
56 #ifdef _In_opt_
57 #undef _In_opt_
58 #endif
59 #define _In_opt_
60 
61 #ifdef _Out_opt_
62 #undef _Out_opt_
63 #endif
64 #define _Out_opt_
65 
66 #ifdef _Inout_opt_
67 #undef _Inout_opt_
68 #endif
69 #define _Inout_opt_
70 
71 #ifdef _Out_writes_
72 #undef _Out_writes_
73 #endif
74 #define _Out_writes_(x)
75 
76 #ifdef _Out_writes_opt_
77 #undef _Out_writes_opt_
78 #endif
79 #define _Out_writes_opt_(x)
80 
81 #ifdef _In_reads_
82 #undef _In_reads_
83 #endif
84 #define _In_reads_(x)
85 
86 #ifdef _Inout_updates_bytes_
87 #undef _Inout_updates_bytes_
88 #endif
89 #define _Inout_updates_bytes_(x)