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