Debian Codegraph @

mingw-w64-headers/include/windows.networking.sockets.h

raw
1 /*** Autogenerated by WIDL 11.5 from include/windows.networking.sockets.idl - Do not edit ***/
2
3 #ifdef _WIN32
4 #ifndef __REQUIRED_RPCNDR_H_VERSION__
5 #define __REQUIRED_RPCNDR_H_VERSION__ 475
6 #endif
7 #include <rpc.h>
8 #include <rpcndr.h>
9 #endif
10
11 #ifndef COM_NO_WINDOWS_H
12 #include <windows.h>
13 #include <ole2.h>
14 #endif
15
16 #ifndef __windows_networking_sockets_h__
17 #define __windows_networking_sockets_h__
18
19 /* Forward declarations */
20
21 /* Headers for imported files */
22
23 #include <windowscontracts.h>
24
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28
29 #if !defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION)
30 #define WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION 0xe0000
31 #endif // defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION)
32
33 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
34 #ifndef ____x_ABI_CWindows_CNetworking_CSockets_CSocketProtectionLevel_ENUM_DEFINED__
35 #define ____x_ABI_CWindows_CNetworking_CSockets_CSocketProtectionLevel_ENUM_DEFINED__
36 #ifdef __cplusplus
37 } /* extern "C" */
38 namespace ABI {
39 namespace Windows {
40 namespace Networking {
41 namespace Sockets {
42 enum SocketProtectionLevel {
43 SocketProtectionLevel_PlainSocket = 0,
44 SocketProtectionLevel_Ssl = 1,
45 SocketProtectionLevel_SslAllowNullEncryption = 2,
46 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
47 SocketProtectionLevel_BluetoothEncryptionAllowNullAuthentication = 3,
48 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
49 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
50 SocketProtectionLevel_BluetoothEncryptionWithAuthentication = 4,
51 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
52 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
53 SocketProtectionLevel_Ssl3AllowWeakEncryption = 5,
54 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
55 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
56 SocketProtectionLevel_Tls10 = 6,
57 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
58 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
59 SocketProtectionLevel_Tls11 = 7,
60 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
61 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
62 SocketProtectionLevel_Tls12 = 8,
63 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
64 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x50000
65 SocketProtectionLevel_Unspecified = 9,
66 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x50000 */
67 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x100000
68 SocketProtectionLevel_Tls13 = 10
69 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x100000 */
70 };
71 }
72 }
73 }
74 }
75 extern "C" {
76 #else
77 enum __x_ABI_CWindows_CNetworking_CSockets_CSocketProtectionLevel {
78 SocketProtectionLevel_PlainSocket = 0,
79 SocketProtectionLevel_Ssl = 1,
80 SocketProtectionLevel_SslAllowNullEncryption = 2,
81 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
82 SocketProtectionLevel_BluetoothEncryptionAllowNullAuthentication = 3,
83 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
84 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
85 SocketProtectionLevel_BluetoothEncryptionWithAuthentication = 4,
86 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
87 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
88 SocketProtectionLevel_Ssl3AllowWeakEncryption = 5,
89 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
90 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
91 SocketProtectionLevel_Tls10 = 6,
92 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
93 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
94 SocketProtectionLevel_Tls11 = 7,
95 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
96 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
97 SocketProtectionLevel_Tls12 = 8,
98 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
99 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x50000
100 SocketProtectionLevel_Unspecified = 9,
101 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x50000 */
102 #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x100000
103 SocketProtectionLevel_Tls13 = 10
104 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x100000 */
105 };
106 #ifdef WIDL_using_Windows_Networking_Sockets
107 #define SocketProtectionLevel __x_ABI_CWindows_CNetworking_CSockets_CSocketProtectionLevel
108 #endif /* WIDL_using_Windows_Networking_Sockets */
109 #endif
110
111 #endif /* ____x_ABI_CWindows_CNetworking_CSockets_CSocketProtectionLevel_ENUM_DEFINED__ */
112 #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
113 #ifndef __cplusplus
114 typedef enum __x_ABI_CWindows_CNetworking_CSockets_CSocketProtectionLevel __x_ABI_CWindows_CNetworking_CSockets_CSocketProtectionLevel;
115 #endif /* __cplusplus */
116
117 /* Begin additional prototypes for all interfaces */
118
119
120 /* End additional prototypes */
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 #endif /* __windows_networking_sockets_h__ */