stdex
Additional custom or not Standard C++ covered algorithms
Loading...
Searching...
No Matches
sal.hpp
1/*
2 SPDX-License-Identifier: MIT
3 Copyright © 2022-2023 Amebis
4*/
5
6#pragma once
7
8#ifdef _WIN32
9#include <sal.h>
10#endif
11
12#ifndef _In_
13#define _In_
14#endif
15#ifndef _In_bytecount_
16#define _In_bytecount_(p)
17#endif
18#ifndef _In_count_
19#define _In_count_(p)
20#endif
21#ifndef _In_opt_
22#define _In_opt_
23#endif
24#ifndef _In_opt_count_
25#define _In_opt_count_(p)
26#endif
27#ifndef _In_opt_z_count_
28#define _In_opt_z_count_(p)
29#endif
30#ifndef _In_z_
31#define _In_z_
32#endif
33#ifndef _In_z_count_
34#define _In_z_count_(p)
35#endif
36#ifndef _In_reads_or_z_
37#define _In_reads_or_z_(p)
38#endif
39#ifndef _In_reads_or_z_opt_
40#define _In_reads_or_z_opt_(p)
41#endif
42
43#ifndef _Inout_
44#define _Inout_
45#endif
46
47#ifndef _Use_decl_annotations_
48#define _Use_decl_annotations_
49#endif
50
51#ifndef _Out_
52#define _Out_
53#endif
54#ifndef _Out_opt_
55#define _Out_opt_
56#endif
57#ifndef _Out_writes_z_
58#define _Out_writes_z_(p)
59#endif
60
61#ifndef _Success_
62#define _Success_(p)
63#endif