]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Win32/System/CorrelationVector/mod.rs
6e73dd1f98d4803d65855519d6dd46540055e40d
[rustc.git] / vendor / windows-sys / src / Windows / Win32 / System / CorrelationVector / mod.rs
1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[link(name = "windows")]
3 extern "system" {
4 #[doc = "*Required features: `\"Win32_System_CorrelationVector\"`, `\"Win32_Foundation\"`*"]
5 #[cfg(feature = "Win32_Foundation")]
6 pub fn RtlExtendCorrelationVector(correlationvector: *mut CORRELATION_VECTOR) -> u32;
7 #[doc = "*Required features: `\"Win32_System_CorrelationVector\"`, `\"Win32_Foundation\"`*"]
8 #[cfg(feature = "Win32_Foundation")]
9 pub fn RtlIncrementCorrelationVector(correlationvector: *mut CORRELATION_VECTOR) -> u32;
10 #[doc = "*Required features: `\"Win32_System_CorrelationVector\"`, `\"Win32_Foundation\"`*"]
11 #[cfg(feature = "Win32_Foundation")]
12 pub fn RtlInitializeCorrelationVector(correlationvector: *mut CORRELATION_VECTOR, version: i32, guid: *const ::windows_sys::core::GUID) -> u32;
13 #[doc = "*Required features: `\"Win32_System_CorrelationVector\"`, `\"Win32_Foundation\"`*"]
14 #[cfg(feature = "Win32_Foundation")]
15 pub fn RtlValidateCorrelationVector(vector: *const CORRELATION_VECTOR) -> u32;
16 }
17 #[repr(C)]
18 #[doc = "*Required features: `\"Win32_System_CorrelationVector\"`, `\"Win32_Foundation\"`*"]
19 #[cfg(feature = "Win32_Foundation")]
20 pub struct CORRELATION_VECTOR {
21 pub Version: super::super::Foundation::CHAR,
22 pub Vector: [super::super::Foundation::CHAR; 129],
23 }
24 #[cfg(feature = "Win32_Foundation")]
25 impl ::core::marker::Copy for CORRELATION_VECTOR {}
26 #[cfg(feature = "Win32_Foundation")]
27 impl ::core::clone::Clone for CORRELATION_VECTOR {
28 fn clone(&self) -> Self {
29 *self
30 }
31 }
32 #[doc = "*Required features: `\"Win32_System_CorrelationVector\"`*"]
33 pub const RTL_CORRELATION_VECTOR_STRING_LENGTH: u32 = 129u32;
34 #[doc = "*Required features: `\"Win32_System_CorrelationVector\"`*"]
35 pub const RTL_CORRELATION_VECTOR_V1_LENGTH: u32 = 64u32;
36 #[doc = "*Required features: `\"Win32_System_CorrelationVector\"`*"]
37 pub const RTL_CORRELATION_VECTOR_V1_PREFIX_LENGTH: u32 = 16u32;
38 #[doc = "*Required features: `\"Win32_System_CorrelationVector\"`*"]
39 pub const RTL_CORRELATION_VECTOR_V2_LENGTH: u32 = 128u32;
40 #[doc = "*Required features: `\"Win32_System_CorrelationVector\"`*"]
41 pub const RTL_CORRELATION_VECTOR_V2_PREFIX_LENGTH: u32 = 22u32;