summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Win32/System/CorrelationVector/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/System/CorrelationVector/mod.rs')
-rw-r--r--vendor/windows-sys/src/Windows/Win32/System/CorrelationVector/mod.rs22
1 files changed, 11 insertions, 11 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/System/CorrelationVector/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/CorrelationVector/mod.rs
index 9801c660e..3bac72878 100644
--- a/vendor/windows-sys/src/Windows/Win32/System/CorrelationVector/mod.rs
+++ b/vendor/windows-sys/src/Windows/Win32/System/CorrelationVector/mod.rs
@@ -1,4 +1,4 @@
-#[link(name = "windows")]
+#[cfg_attr(windows, link(name = "windows"))]
extern "system" {
#[doc = "*Required features: `\"Win32_System_CorrelationVector\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
@@ -13,6 +13,16 @@ extern "system" {
#[cfg(feature = "Win32_Foundation")]
pub fn RtlValidateCorrelationVector(vector: *const CORRELATION_VECTOR) -> u32;
}
+#[doc = "*Required features: `\"Win32_System_CorrelationVector\"`*"]
+pub const RTL_CORRELATION_VECTOR_STRING_LENGTH: u32 = 129u32;
+#[doc = "*Required features: `\"Win32_System_CorrelationVector\"`*"]
+pub const RTL_CORRELATION_VECTOR_V1_LENGTH: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_System_CorrelationVector\"`*"]
+pub const RTL_CORRELATION_VECTOR_V1_PREFIX_LENGTH: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_System_CorrelationVector\"`*"]
+pub const RTL_CORRELATION_VECTOR_V2_LENGTH: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_System_CorrelationVector\"`*"]
+pub const RTL_CORRELATION_VECTOR_V2_PREFIX_LENGTH: u32 = 22u32;
#[repr(C)]
#[doc = "*Required features: `\"Win32_System_CorrelationVector\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
@@ -28,13 +38,3 @@ impl ::core::clone::Clone for CORRELATION_VECTOR {
*self
}
}
-#[doc = "*Required features: `\"Win32_System_CorrelationVector\"`*"]
-pub const RTL_CORRELATION_VECTOR_STRING_LENGTH: u32 = 129u32;
-#[doc = "*Required features: `\"Win32_System_CorrelationVector\"`*"]
-pub const RTL_CORRELATION_VECTOR_V1_LENGTH: u32 = 64u32;
-#[doc = "*Required features: `\"Win32_System_CorrelationVector\"`*"]
-pub const RTL_CORRELATION_VECTOR_V1_PREFIX_LENGTH: u32 = 16u32;
-#[doc = "*Required features: `\"Win32_System_CorrelationVector\"`*"]
-pub const RTL_CORRELATION_VECTOR_V2_LENGTH: u32 = 128u32;
-#[doc = "*Required features: `\"Win32_System_CorrelationVector\"`*"]
-pub const RTL_CORRELATION_VECTOR_V2_PREFIX_LENGTH: u32 = 22u32;