From 698f8c2f01ea549d77d7dc3338a12e04c11057b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:02:58 +0200 Subject: Adding upstream version 1.64.0+dfsg1. Signed-off-by: Daniel Baumann --- .../src/Windows/Perception/Automation/Core/mod.rs | 1 + .../src/Windows/Perception/Automation/mod.rs | 2 + .../src/Windows/Perception/People/mod.rs | 87 ++++++++++ .../src/Windows/Perception/Spatial/Preview/mod.rs | 1 + .../src/Windows/Perception/Spatial/Surfaces/mod.rs | 5 + .../src/Windows/Perception/Spatial/mod.rs | 190 +++++++++++++++++++++ vendor/windows-sys/src/Windows/Perception/mod.rs | 7 + 7 files changed, 293 insertions(+) create mode 100644 vendor/windows-sys/src/Windows/Perception/Automation/Core/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Perception/Automation/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Perception/People/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Perception/Spatial/Preview/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Perception/Spatial/Surfaces/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Perception/Spatial/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Perception/mod.rs (limited to 'vendor/windows-sys/src/Windows/Perception') diff --git a/vendor/windows-sys/src/Windows/Perception/Automation/Core/mod.rs b/vendor/windows-sys/src/Windows/Perception/Automation/Core/mod.rs new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Perception/Automation/Core/mod.rs @@ -0,0 +1 @@ + diff --git a/vendor/windows-sys/src/Windows/Perception/Automation/mod.rs b/vendor/windows-sys/src/Windows/Perception/Automation/mod.rs new file mode 100644 index 000000000..7ace0b8f2 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Perception/Automation/mod.rs @@ -0,0 +1,2 @@ +#[cfg(feature = "Perception_Automation_Core")] +pub mod Core; diff --git a/vendor/windows-sys/src/Windows/Perception/People/mod.rs b/vendor/windows-sys/src/Windows/Perception/People/mod.rs new file mode 100644 index 000000000..ec20be670 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Perception/People/mod.rs @@ -0,0 +1,87 @@ +pub type EyesPose = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Perception_People\"`*"] +#[repr(transparent)] +pub struct HandJointKind(pub i32); +impl HandJointKind { + pub const Palm: Self = Self(0i32); + pub const Wrist: Self = Self(1i32); + pub const ThumbMetacarpal: Self = Self(2i32); + pub const ThumbProximal: Self = Self(3i32); + pub const ThumbDistal: Self = Self(4i32); + pub const ThumbTip: Self = Self(5i32); + pub const IndexMetacarpal: Self = Self(6i32); + pub const IndexProximal: Self = Self(7i32); + pub const IndexIntermediate: Self = Self(8i32); + pub const IndexDistal: Self = Self(9i32); + pub const IndexTip: Self = Self(10i32); + pub const MiddleMetacarpal: Self = Self(11i32); + pub const MiddleProximal: Self = Self(12i32); + pub const MiddleIntermediate: Self = Self(13i32); + pub const MiddleDistal: Self = Self(14i32); + pub const MiddleTip: Self = Self(15i32); + pub const RingMetacarpal: Self = Self(16i32); + pub const RingProximal: Self = Self(17i32); + pub const RingIntermediate: Self = Self(18i32); + pub const RingDistal: Self = Self(19i32); + pub const RingTip: Self = Self(20i32); + pub const LittleMetacarpal: Self = Self(21i32); + pub const LittleProximal: Self = Self(22i32); + pub const LittleIntermediate: Self = Self(23i32); + pub const LittleDistal: Self = Self(24i32); + pub const LittleTip: Self = Self(25i32); +} +impl ::core::marker::Copy for HandJointKind {} +impl ::core::clone::Clone for HandJointKind { + fn clone(&self) -> Self { + *self + } +} +pub type HandMeshObserver = *mut ::core::ffi::c_void; +#[repr(C)] +#[doc = "*Required features: `\"Perception_People\"`, `\"Foundation_Numerics\"`*"] +#[cfg(feature = "Foundation_Numerics")] +pub struct HandMeshVertex { + pub Position: super::super::Foundation::Numerics::Vector3, + pub Normal: super::super::Foundation::Numerics::Vector3, +} +#[cfg(feature = "Foundation_Numerics")] +impl ::core::marker::Copy for HandMeshVertex {} +#[cfg(feature = "Foundation_Numerics")] +impl ::core::clone::Clone for HandMeshVertex { + fn clone(&self) -> Self { + *self + } +} +pub type HandMeshVertexState = *mut ::core::ffi::c_void; +pub type HandPose = *mut ::core::ffi::c_void; +pub type HeadPose = *mut ::core::ffi::c_void; +#[repr(C)] +#[doc = "*Required features: `\"Perception_People\"`, `\"Foundation_Numerics\"`*"] +#[cfg(feature = "Foundation_Numerics")] +pub struct JointPose { + pub Orientation: super::super::Foundation::Numerics::Quaternion, + pub Position: super::super::Foundation::Numerics::Vector3, + pub Radius: f32, + pub Accuracy: JointPoseAccuracy, +} +#[cfg(feature = "Foundation_Numerics")] +impl ::core::marker::Copy for JointPose {} +#[cfg(feature = "Foundation_Numerics")] +impl ::core::clone::Clone for JointPose { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Perception_People\"`*"] +#[repr(transparent)] +pub struct JointPoseAccuracy(pub i32); +impl JointPoseAccuracy { + pub const High: Self = Self(0i32); + pub const Approximate: Self = Self(1i32); +} +impl ::core::marker::Copy for JointPoseAccuracy {} +impl ::core::clone::Clone for JointPoseAccuracy { + fn clone(&self) -> Self { + *self + } +} diff --git a/vendor/windows-sys/src/Windows/Perception/Spatial/Preview/mod.rs b/vendor/windows-sys/src/Windows/Perception/Spatial/Preview/mod.rs new file mode 100644 index 000000000..87fe49c66 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Perception/Spatial/Preview/mod.rs @@ -0,0 +1 @@ +pub type SpatialGraphInteropFrameOfReferencePreview = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Perception/Spatial/Surfaces/mod.rs b/vendor/windows-sys/src/Windows/Perception/Spatial/Surfaces/mod.rs new file mode 100644 index 000000000..5ff351fde --- /dev/null +++ b/vendor/windows-sys/src/Windows/Perception/Spatial/Surfaces/mod.rs @@ -0,0 +1,5 @@ +pub type SpatialSurfaceInfo = *mut ::core::ffi::c_void; +pub type SpatialSurfaceMesh = *mut ::core::ffi::c_void; +pub type SpatialSurfaceMeshBuffer = *mut ::core::ffi::c_void; +pub type SpatialSurfaceMeshOptions = *mut ::core::ffi::c_void; +pub type SpatialSurfaceObserver = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Perception/Spatial/mod.rs b/vendor/windows-sys/src/Windows/Perception/Spatial/mod.rs new file mode 100644 index 000000000..8b6e127c2 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Perception/Spatial/mod.rs @@ -0,0 +1,190 @@ +#[cfg(feature = "Perception_Spatial_Preview")] +pub mod Preview; +#[cfg(feature = "Perception_Spatial_Surfaces")] +pub mod Surfaces; +pub type SpatialAnchor = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Perception_Spatial\"`*"] +#[repr(transparent)] +pub struct SpatialAnchorExportPurpose(pub i32); +impl SpatialAnchorExportPurpose { + pub const Relocalization: Self = Self(0i32); + pub const Sharing: Self = Self(1i32); +} +impl ::core::marker::Copy for SpatialAnchorExportPurpose {} +impl ::core::clone::Clone for SpatialAnchorExportPurpose { + fn clone(&self) -> Self { + *self + } +} +pub type SpatialAnchorExportSufficiency = *mut ::core::ffi::c_void; +pub type SpatialAnchorExporter = *mut ::core::ffi::c_void; +pub type SpatialAnchorRawCoordinateSystemAdjustedEventArgs = *mut ::core::ffi::c_void; +pub type SpatialAnchorStore = *mut ::core::ffi::c_void; +#[repr(C)] +#[doc = "*Required features: `\"Perception_Spatial\"`, `\"Foundation_Numerics\"`*"] +#[cfg(feature = "Foundation_Numerics")] +pub struct SpatialBoundingBox { + pub Center: super::super::Foundation::Numerics::Vector3, + pub Extents: super::super::Foundation::Numerics::Vector3, +} +#[cfg(feature = "Foundation_Numerics")] +impl ::core::marker::Copy for SpatialBoundingBox {} +#[cfg(feature = "Foundation_Numerics")] +impl ::core::clone::Clone for SpatialBoundingBox { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Perception_Spatial\"`, `\"Foundation_Numerics\"`*"] +#[cfg(feature = "Foundation_Numerics")] +pub struct SpatialBoundingFrustum { + pub Near: super::super::Foundation::Numerics::Plane, + pub Far: super::super::Foundation::Numerics::Plane, + pub Right: super::super::Foundation::Numerics::Plane, + pub Left: super::super::Foundation::Numerics::Plane, + pub Top: super::super::Foundation::Numerics::Plane, + pub Bottom: super::super::Foundation::Numerics::Plane, +} +#[cfg(feature = "Foundation_Numerics")] +impl ::core::marker::Copy for SpatialBoundingFrustum {} +#[cfg(feature = "Foundation_Numerics")] +impl ::core::clone::Clone for SpatialBoundingFrustum { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Perception_Spatial\"`, `\"Foundation_Numerics\"`*"] +#[cfg(feature = "Foundation_Numerics")] +pub struct SpatialBoundingOrientedBox { + pub Center: super::super::Foundation::Numerics::Vector3, + pub Extents: super::super::Foundation::Numerics::Vector3, + pub Orientation: super::super::Foundation::Numerics::Quaternion, +} +#[cfg(feature = "Foundation_Numerics")] +impl ::core::marker::Copy for SpatialBoundingOrientedBox {} +#[cfg(feature = "Foundation_Numerics")] +impl ::core::clone::Clone for SpatialBoundingOrientedBox { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Perception_Spatial\"`, `\"Foundation_Numerics\"`*"] +#[cfg(feature = "Foundation_Numerics")] +pub struct SpatialBoundingSphere { + pub Center: super::super::Foundation::Numerics::Vector3, + pub Radius: f32, +} +#[cfg(feature = "Foundation_Numerics")] +impl ::core::marker::Copy for SpatialBoundingSphere {} +#[cfg(feature = "Foundation_Numerics")] +impl ::core::clone::Clone for SpatialBoundingSphere { + fn clone(&self) -> Self { + *self + } +} +pub type SpatialBoundingVolume = *mut ::core::ffi::c_void; +pub type SpatialCoordinateSystem = *mut ::core::ffi::c_void; +pub type SpatialEntity = *mut ::core::ffi::c_void; +pub type SpatialEntityAddedEventArgs = *mut ::core::ffi::c_void; +pub type SpatialEntityRemovedEventArgs = *mut ::core::ffi::c_void; +pub type SpatialEntityStore = *mut ::core::ffi::c_void; +pub type SpatialEntityUpdatedEventArgs = *mut ::core::ffi::c_void; +pub type SpatialEntityWatcher = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Perception_Spatial\"`*"] +#[repr(transparent)] +pub struct SpatialEntityWatcherStatus(pub i32); +impl SpatialEntityWatcherStatus { + pub const Created: Self = Self(0i32); + pub const Started: Self = Self(1i32); + pub const EnumerationCompleted: Self = Self(2i32); + pub const Stopping: Self = Self(3i32); + pub const Stopped: Self = Self(4i32); + pub const Aborted: Self = Self(5i32); +} +impl ::core::marker::Copy for SpatialEntityWatcherStatus {} +impl ::core::clone::Clone for SpatialEntityWatcherStatus { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Perception_Spatial\"`*"] +#[repr(transparent)] +pub struct SpatialLocatability(pub i32); +impl SpatialLocatability { + pub const Unavailable: Self = Self(0i32); + pub const OrientationOnly: Self = Self(1i32); + pub const PositionalTrackingActivating: Self = Self(2i32); + pub const PositionalTrackingActive: Self = Self(3i32); + pub const PositionalTrackingInhibited: Self = Self(4i32); +} +impl ::core::marker::Copy for SpatialLocatability {} +impl ::core::clone::Clone for SpatialLocatability { + fn clone(&self) -> Self { + *self + } +} +pub type SpatialLocation = *mut ::core::ffi::c_void; +pub type SpatialLocator = *mut ::core::ffi::c_void; +pub type SpatialLocatorAttachedFrameOfReference = *mut ::core::ffi::c_void; +pub type SpatialLocatorPositionalTrackingDeactivatingEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Perception_Spatial\"`*"] +#[repr(transparent)] +pub struct SpatialLookDirectionRange(pub i32); +impl SpatialLookDirectionRange { + pub const ForwardOnly: Self = Self(0i32); + pub const Omnidirectional: Self = Self(1i32); +} +impl ::core::marker::Copy for SpatialLookDirectionRange {} +impl ::core::clone::Clone for SpatialLookDirectionRange { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Perception_Spatial\"`*"] +#[repr(transparent)] +pub struct SpatialMovementRange(pub i32); +impl SpatialMovementRange { + pub const NoMovement: Self = Self(0i32); + pub const Bounded: Self = Self(1i32); +} +impl ::core::marker::Copy for SpatialMovementRange {} +impl ::core::clone::Clone for SpatialMovementRange { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Perception_Spatial\"`*"] +#[repr(transparent)] +pub struct SpatialPerceptionAccessStatus(pub i32); +impl SpatialPerceptionAccessStatus { + pub const Unspecified: Self = Self(0i32); + pub const Allowed: Self = Self(1i32); + pub const DeniedByUser: Self = Self(2i32); + pub const DeniedBySystem: Self = Self(3i32); +} +impl ::core::marker::Copy for SpatialPerceptionAccessStatus {} +impl ::core::clone::Clone for SpatialPerceptionAccessStatus { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Perception_Spatial\"`, `\"Foundation_Numerics\"`*"] +#[cfg(feature = "Foundation_Numerics")] +pub struct SpatialRay { + pub Origin: super::super::Foundation::Numerics::Vector3, + pub Direction: super::super::Foundation::Numerics::Vector3, +} +#[cfg(feature = "Foundation_Numerics")] +impl ::core::marker::Copy for SpatialRay {} +#[cfg(feature = "Foundation_Numerics")] +impl ::core::clone::Clone for SpatialRay { + fn clone(&self) -> Self { + *self + } +} +pub type SpatialStageFrameOfReference = *mut ::core::ffi::c_void; +pub type SpatialStationaryFrameOfReference = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Perception/mod.rs b/vendor/windows-sys/src/Windows/Perception/mod.rs new file mode 100644 index 000000000..1875c4dc7 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Perception/mod.rs @@ -0,0 +1,7 @@ +#[cfg(feature = "Perception_Automation")] +pub mod Automation; +#[cfg(feature = "Perception_People")] +pub mod People; +#[cfg(feature = "Perception_Spatial")] +pub mod Spatial; +pub type PerceptionTimestamp = *mut ::core::ffi::c_void; -- cgit v1.2.3