Debian Codegraph @

.cargo/vendor/windows-sys/src/Windows/Win32/Security/NetworkAccessProtection/mod.rs

raw
1 pub const ComponentTypeEnforcementClientRp: u32 = 2u32;
2 pub const ComponentTypeEnforcementClientSoH: u32 = 1u32;
3 pub const extendedIsolationStateInfected: ExtendedIsolationState = 2i32;
4 pub const extendedIsolationStateNoData: ExtendedIsolationState = 0i32;
5 pub const extendedIsolationStateTransition: ExtendedIsolationState = 1i32;
6 pub const extendedIsolationStateUnknown: ExtendedIsolationState = 3i32;
7 pub const failureCategoryClientCommunication: FailureCategory = 3i32;
8 pub const failureCategoryClientComponent: FailureCategory = 2i32;
9 pub const failureCategoryCount: u32 = 5u32;
10 pub const failureCategoryNone: FailureCategory = 0i32;
11 pub const failureCategoryOther: FailureCategory = 1i32;
12 pub const failureCategoryServerCommunication: FailureCategory = 5i32;
13 pub const failureCategoryServerComponent: FailureCategory = 4i32;
14 pub const fixupStateCouldNotUpdate: FixupState = 2i32;
15 pub const fixupStateInProgress: FixupState = 1i32;
16 pub const fixupStateSuccess: FixupState = 0i32;
17 pub const freshSoHRequest: u32 = 1u32;
18 pub const isolationStateInProbation: IsolationState = 2i32;
19 pub const isolationStateNotRestricted: IsolationState = 1i32;
20 pub const isolationStateRestrictedAccess: IsolationState = 3i32;
21 pub const maxConnectionCountPerEnforcer: u32 = 20u32;
22 pub const maxEnforcerCount: u32 = 20u32;
23 pub const maxNetworkSoHSize: u32 = 4000u32;
24 pub const maxPrivateDataSize: u32 = 200u32;
25 pub const maxSoHAttributeCount: u32 = 100u32;
26 pub const maxSoHAttributeSize: u32 = 4000u32;
27 pub const maxStringLength: u32 = 1024u32;
28 pub const maxSystemHealthEntityCount: u32 = 20u32;
29 pub const minNetworkSoHSize: u32 = 12u32;
30 pub const napNotifyTypeQuarState: NapNotifyType = 2i32;
31 pub const napNotifyTypeServiceState: NapNotifyType = 1i32;
32 pub const napNotifyTypeUnknown: NapNotifyType = 0i32;
33 pub const percentageNotSupported: u32 = 101u32;
34 pub const remoteConfigTypeConfigBlob: RemoteConfigurationType = 2i32;
35 pub const remoteConfigTypeMachine: RemoteConfigurationType = 1i32;
36 pub const shaFixup: u32 = 1u32;
37 pub const tracingLevelAdvanced: NapTracingLevel = 2i32;
38 pub const tracingLevelBasic: NapTracingLevel = 1i32;
39 pub const tracingLevelDebug: NapTracingLevel = 3i32;
40 pub const tracingLevelUndefined: NapTracingLevel = 0i32;
41 pub type ExtendedIsolationState = i32;
42 pub type FailureCategory = i32;
43 pub type FixupState = i32;
44 pub type IsolationState = i32;
45 pub type NapNotifyType = i32;
46 pub type NapTracingLevel = i32;
47 pub type RemoteConfigurationType = i32;
48 #[repr(C)]
49 #[doc = "Required features: `\"Win32_Foundation\"`"]
50 #[cfg(feature = "Win32_Foundation")]
51 pub struct CorrelationId {
52 pub connId: ::windows_sys::core::GUID,
53 pub timeStamp: super::super::Foundation::FILETIME,
54 }
55 #[cfg(feature = "Win32_Foundation")]
56 impl ::core::marker::Copy for CorrelationId {}
57 #[cfg(feature = "Win32_Foundation")]
58 impl ::core::clone::Clone for CorrelationId {
59 fn clone(&self) -> Self {
60 *self
61 }
62 }
63 #[repr(C)]
64 pub struct CountedString {
65 pub length: u16,
66 pub string: ::windows_sys::core::PWSTR,
67 }
68 impl ::core::marker::Copy for CountedString {}
69 impl ::core::clone::Clone for CountedString {
70 fn clone(&self) -> Self {
71 *self
72 }
73 }
74 #[repr(C)]
75 #[doc = "Required features: `\"Win32_Foundation\"`"]
76 #[cfg(feature = "Win32_Foundation")]
77 pub struct FailureCategoryMapping {
78 pub mappingCompliance: [super::super::Foundation::BOOL; 5],
79 }
80 #[cfg(feature = "Win32_Foundation")]
81 impl ::core::marker::Copy for FailureCategoryMapping {}
82 #[cfg(feature = "Win32_Foundation")]
83 impl ::core::clone::Clone for FailureCategoryMapping {
84 fn clone(&self) -> Self {
85 *self
86 }
87 }
88 #[repr(C)]
89 pub struct FixupInfo {
90 pub state: FixupState,
91 pub percentage: u8,
92 pub resultCodes: ResultCodes,
93 pub fixupMsgId: u32,
94 }
95 impl ::core::marker::Copy for FixupInfo {}
96 impl ::core::clone::Clone for FixupInfo {
97 fn clone(&self) -> Self {
98 *self
99 }
100 }
101 #[repr(C)]
102 pub struct Ipv4Address {
103 pub addr: [u8; 4],
104 }
105 impl ::core::marker::Copy for Ipv4Address {}
106 impl ::core::clone::Clone for Ipv4Address {
107 fn clone(&self) -> Self {
108 *self
109 }
110 }
111 #[repr(C)]
112 pub struct Ipv6Address {
113 pub addr: [u8; 16],
114 }
115 impl ::core::marker::Copy for Ipv6Address {}
116 impl ::core::clone::Clone for Ipv6Address {
117 fn clone(&self) -> Self {
118 *self
119 }
120 }
121 #[repr(C)]
122 #[doc = "Required features: `\"Win32_Foundation\"`"]
123 #[cfg(feature = "Win32_Foundation")]
124 pub struct IsolationInfo {
125 pub isolationState: IsolationState,
126 pub probEndTime: super::super::Foundation::FILETIME,
127 pub failureUrl: CountedString,
128 }
129 #[cfg(feature = "Win32_Foundation")]
130 impl ::core::marker::Copy for IsolationInfo {}
131 #[cfg(feature = "Win32_Foundation")]
132 impl ::core::clone::Clone for IsolationInfo {
133 fn clone(&self) -> Self {
134 *self
135 }
136 }
137 #[repr(C)]
138 #[doc = "Required features: `\"Win32_Foundation\"`"]
139 #[cfg(feature = "Win32_Foundation")]
140 pub struct IsolationInfoEx {
141 pub isolationState: IsolationState,
142 pub extendedIsolationState: ExtendedIsolationState,
143 pub probEndTime: super::super::Foundation::FILETIME,
144 pub failureUrl: CountedString,
145 }
146 #[cfg(feature = "Win32_Foundation")]
147 impl ::core::marker::Copy for IsolationInfoEx {}
148 #[cfg(feature = "Win32_Foundation")]
149 impl ::core::clone::Clone for IsolationInfoEx {
150 fn clone(&self) -> Self {
151 *self
152 }
153 }
154 #[repr(C)]
155 #[doc = "Required features: `\"Win32_Foundation\"`"]
156 #[cfg(feature = "Win32_Foundation")]
157 pub struct NapComponentRegistrationInfo {
158 pub id: u32,
159 pub friendlyName: CountedString,
160 pub description: CountedString,
161 pub version: CountedString,
162 pub vendorName: CountedString,
163 pub infoClsid: ::windows_sys::core::GUID,
164 pub configClsid: ::windows_sys::core::GUID,
165 pub registrationDate: super::super::Foundation::FILETIME,
166 pub componentType: u32,
167 }
168 #[cfg(feature = "Win32_Foundation")]
169 impl ::core::marker::Copy for NapComponentRegistrationInfo {}
170 #[cfg(feature = "Win32_Foundation")]
171 impl ::core::clone::Clone for NapComponentRegistrationInfo {
172 fn clone(&self) -> Self {
173 *self
174 }
175 }
176 #[repr(C)]
177 pub struct NetworkSoH {
178 pub size: u16,
179 pub data: *mut u8,
180 }
181 impl ::core::marker::Copy for NetworkSoH {}
182 impl ::core::clone::Clone for NetworkSoH {
183 fn clone(&self) -> Self {
184 *self
185 }
186 }
187 #[repr(C)]
188 pub struct PrivateData {
189 pub size: u16,
190 pub data: *mut u8,
191 }
192 impl ::core::marker::Copy for PrivateData {}
193 impl ::core::clone::Clone for PrivateData {
194 fn clone(&self) -> Self {
195 *self
196 }
197 }
198 #[repr(C)]
199 pub struct ResultCodes {
200 pub count: u16,
201 pub results: *mut ::windows_sys::core::HRESULT,
202 }
203 impl ::core::marker::Copy for ResultCodes {}
204 impl ::core::clone::Clone for ResultCodes {
205 fn clone(&self) -> Self {
206 *self
207 }
208 }
209 #[repr(C)]
210 pub struct SoH {
211 pub count: u16,
212 pub attributes: *mut SoHAttribute,
213 }
214 impl ::core::marker::Copy for SoH {}
215 impl ::core::clone::Clone for SoH {
216 fn clone(&self) -> Self {
217 *self
218 }
219 }
220 #[repr(C)]
221 pub struct SoHAttribute {
222 pub r#type: u16,
223 pub size: u16,
224 pub value: *mut u8,
225 }
226 impl ::core::marker::Copy for SoHAttribute {}
227 impl ::core::clone::Clone for SoHAttribute {
228 fn clone(&self) -> Self {
229 *self
230 }
231 }
232 #[repr(C)]
233 pub struct SystemHealthAgentState {
234 pub id: u32,
235 pub shaResultCodes: ResultCodes,
236 pub failureCategory: FailureCategory,
237 pub fixupInfo: FixupInfo,
238 }
239 impl ::core::marker::Copy for SystemHealthAgentState {}
240 impl ::core::clone::Clone for SystemHealthAgentState {
241 fn clone(&self) -> Self {
242 *self
243 }
244 }