diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:32 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:32 +0000 |
commit | 4547b622d8d29df964fa2914213088b148c498fc (patch) | |
tree | 9fc6b25f3c3add6b745be9a2400a6e96140046e9 /vendor/windows-sys/src/Windows/Services | |
parent | Releasing progress-linux version 1.66.0+dfsg1-1~progress7.99u1. (diff) | |
download | rustc-4547b622d8d29df964fa2914213088b148c498fc.tar.xz rustc-4547b622d8d29df964fa2914213088b148c498fc.zip |
Merging upstream version 1.67.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Services')
8 files changed, 0 insertions, 863 deletions
diff --git a/vendor/windows-sys/src/Windows/Services/Cortana/mod.rs b/vendor/windows-sys/src/Windows/Services/Cortana/mod.rs deleted file mode 100644 index ba608b14c..000000000 --- a/vendor/windows-sys/src/Windows/Services/Cortana/mod.rs +++ /dev/null @@ -1,48 +0,0 @@ -pub type CortanaActionableInsights = *mut ::core::ffi::c_void; -pub type CortanaActionableInsightsOptions = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Services_Cortana\"`, `\"deprecated\"`*"] -#[cfg(feature = "deprecated")] -#[repr(transparent)] -pub struct CortanaPermission(pub i32); -#[cfg(feature = "deprecated")] -impl CortanaPermission { - pub const BrowsingHistory: Self = Self(0i32); - pub const Calendar: Self = Self(1i32); - pub const CallHistory: Self = Self(2i32); - pub const Contacts: Self = Self(3i32); - pub const Email: Self = Self(4i32); - pub const InputPersonalization: Self = Self(5i32); - pub const Location: Self = Self(6i32); - pub const Messaging: Self = Self(7i32); - pub const Microphone: Self = Self(8i32); - pub const Personalization: Self = Self(9i32); - pub const PhoneCall: Self = Self(10i32); -} -#[cfg(feature = "deprecated")] -impl ::core::marker::Copy for CortanaPermission {} -#[cfg(feature = "deprecated")] -impl ::core::clone::Clone for CortanaPermission { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Services_Cortana\"`, `\"deprecated\"`*"] -#[cfg(feature = "deprecated")] -#[repr(transparent)] -pub struct CortanaPermissionsChangeResult(pub i32); -#[cfg(feature = "deprecated")] -impl CortanaPermissionsChangeResult { - pub const Success: Self = Self(0i32); - pub const Unavailable: Self = Self(1i32); - pub const DisabledByPolicy: Self = Self(2i32); -} -#[cfg(feature = "deprecated")] -impl ::core::marker::Copy for CortanaPermissionsChangeResult {} -#[cfg(feature = "deprecated")] -impl ::core::clone::Clone for CortanaPermissionsChangeResult { - fn clone(&self) -> Self { - *self - } -} -pub type CortanaPermissionsManager = *mut ::core::ffi::c_void; -pub type CortanaSettings = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Services/Maps/Guidance/mod.rs b/vendor/windows-sys/src/Windows/Services/Maps/Guidance/mod.rs deleted file mode 100644 index a206f3d67..000000000 --- a/vendor/windows-sys/src/Windows/Services/Maps/Guidance/mod.rs +++ /dev/null @@ -1,156 +0,0 @@ -#[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] -#[repr(transparent)] -pub struct GuidanceAudioMeasurementSystem(pub i32); -impl GuidanceAudioMeasurementSystem { - pub const Meters: Self = Self(0i32); - pub const MilesAndYards: Self = Self(1i32); - pub const MilesAndFeet: Self = Self(2i32); -} -impl ::core::marker::Copy for GuidanceAudioMeasurementSystem {} -impl ::core::clone::Clone for GuidanceAudioMeasurementSystem { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] -#[repr(transparent)] -pub struct GuidanceAudioNotificationKind(pub i32); -impl GuidanceAudioNotificationKind { - pub const Maneuver: Self = Self(0i32); - pub const Route: Self = Self(1i32); - pub const Gps: Self = Self(2i32); - pub const SpeedLimit: Self = Self(3i32); - pub const Traffic: Self = Self(4i32); - pub const TrafficCamera: Self = Self(5i32); -} -impl ::core::marker::Copy for GuidanceAudioNotificationKind {} -impl ::core::clone::Clone for GuidanceAudioNotificationKind { - fn clone(&self) -> Self { - *self - } -} -pub type GuidanceAudioNotificationRequestedEventArgs = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] -#[repr(transparent)] -pub struct GuidanceAudioNotifications(pub u32); -impl GuidanceAudioNotifications { - pub const None: Self = Self(0u32); - pub const Maneuver: Self = Self(1u32); - pub const Route: Self = Self(2u32); - pub const Gps: Self = Self(4u32); - pub const SpeedLimit: Self = Self(8u32); - pub const Traffic: Self = Self(16u32); - pub const TrafficCamera: Self = Self(32u32); -} -impl ::core::marker::Copy for GuidanceAudioNotifications {} -impl ::core::clone::Clone for GuidanceAudioNotifications { - fn clone(&self) -> Self { - *self - } -} -pub type GuidanceLaneInfo = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] -#[repr(transparent)] -pub struct GuidanceLaneMarkers(pub u32); -impl GuidanceLaneMarkers { - pub const None: Self = Self(0u32); - pub const LightRight: Self = Self(1u32); - pub const Right: Self = Self(2u32); - pub const HardRight: Self = Self(4u32); - pub const Straight: Self = Self(8u32); - pub const UTurnLeft: Self = Self(16u32); - pub const HardLeft: Self = Self(32u32); - pub const Left: Self = Self(64u32); - pub const LightLeft: Self = Self(128u32); - pub const UTurnRight: Self = Self(256u32); - pub const Unknown: Self = Self(4294967295u32); -} -impl ::core::marker::Copy for GuidanceLaneMarkers {} -impl ::core::clone::Clone for GuidanceLaneMarkers { - fn clone(&self) -> Self { - *self - } -} -pub type GuidanceManeuver = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] -#[repr(transparent)] -pub struct GuidanceManeuverKind(pub i32); -impl GuidanceManeuverKind { - pub const None: Self = Self(0i32); - pub const GoStraight: Self = Self(1i32); - pub const UTurnRight: Self = Self(2i32); - pub const UTurnLeft: Self = Self(3i32); - pub const TurnKeepRight: Self = Self(4i32); - pub const TurnLightRight: Self = Self(5i32); - pub const TurnRight: Self = Self(6i32); - pub const TurnHardRight: Self = Self(7i32); - pub const KeepMiddle: Self = Self(8i32); - pub const TurnKeepLeft: Self = Self(9i32); - pub const TurnLightLeft: Self = Self(10i32); - pub const TurnLeft: Self = Self(11i32); - pub const TurnHardLeft: Self = Self(12i32); - pub const FreewayEnterRight: Self = Self(13i32); - pub const FreewayEnterLeft: Self = Self(14i32); - pub const FreewayLeaveRight: Self = Self(15i32); - pub const FreewayLeaveLeft: Self = Self(16i32); - pub const FreewayKeepRight: Self = Self(17i32); - pub const FreewayKeepLeft: Self = Self(18i32); - pub const TrafficCircleRight1: Self = Self(19i32); - pub const TrafficCircleRight2: Self = Self(20i32); - pub const TrafficCircleRight3: Self = Self(21i32); - pub const TrafficCircleRight4: Self = Self(22i32); - pub const TrafficCircleRight5: Self = Self(23i32); - pub const TrafficCircleRight6: Self = Self(24i32); - pub const TrafficCircleRight7: Self = Self(25i32); - pub const TrafficCircleRight8: Self = Self(26i32); - pub const TrafficCircleRight9: Self = Self(27i32); - pub const TrafficCircleRight10: Self = Self(28i32); - pub const TrafficCircleRight11: Self = Self(29i32); - pub const TrafficCircleRight12: Self = Self(30i32); - pub const TrafficCircleLeft1: Self = Self(31i32); - pub const TrafficCircleLeft2: Self = Self(32i32); - pub const TrafficCircleLeft3: Self = Self(33i32); - pub const TrafficCircleLeft4: Self = Self(34i32); - pub const TrafficCircleLeft5: Self = Self(35i32); - pub const TrafficCircleLeft6: Self = Self(36i32); - pub const TrafficCircleLeft7: Self = Self(37i32); - pub const TrafficCircleLeft8: Self = Self(38i32); - pub const TrafficCircleLeft9: Self = Self(39i32); - pub const TrafficCircleLeft10: Self = Self(40i32); - pub const TrafficCircleLeft11: Self = Self(41i32); - pub const TrafficCircleLeft12: Self = Self(42i32); - pub const Start: Self = Self(43i32); - pub const End: Self = Self(44i32); - pub const TakeFerry: Self = Self(45i32); - pub const PassTransitStation: Self = Self(46i32); - pub const LeaveTransitStation: Self = Self(47i32); -} -impl ::core::marker::Copy for GuidanceManeuverKind {} -impl ::core::clone::Clone for GuidanceManeuverKind { - fn clone(&self) -> Self { - *self - } -} -pub type GuidanceMapMatchedCoordinate = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] -#[repr(transparent)] -pub struct GuidanceMode(pub i32); -impl GuidanceMode { - pub const None: Self = Self(0i32); - pub const Simulation: Self = Self(1i32); - pub const Navigation: Self = Self(2i32); - pub const Tracking: Self = Self(3i32); -} -impl ::core::marker::Copy for GuidanceMode {} -impl ::core::clone::Clone for GuidanceMode { - fn clone(&self) -> Self { - *self - } -} -pub type GuidanceNavigator = *mut ::core::ffi::c_void; -pub type GuidanceReroutedEventArgs = *mut ::core::ffi::c_void; -pub type GuidanceRoadSegment = *mut ::core::ffi::c_void; -pub type GuidanceRoadSignpost = *mut ::core::ffi::c_void; -pub type GuidanceRoute = *mut ::core::ffi::c_void; -pub type GuidanceTelemetryCollector = *mut ::core::ffi::c_void; -pub type GuidanceUpdatedEventArgs = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Services/Maps/LocalSearch/mod.rs b/vendor/windows-sys/src/Windows/Services/Maps/LocalSearch/mod.rs deleted file mode 100644 index 8f236f057..000000000 --- a/vendor/windows-sys/src/Windows/Services/Maps/LocalSearch/mod.rs +++ /dev/null @@ -1,23 +0,0 @@ -pub type LocalLocation = *mut ::core::ffi::c_void; -pub type LocalLocationFinderResult = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Services_Maps_LocalSearch\"`*"] -#[repr(transparent)] -pub struct LocalLocationFinderStatus(pub i32); -impl LocalLocationFinderStatus { - pub const Success: Self = Self(0i32); - pub const UnknownError: Self = Self(1i32); - pub const InvalidCredentials: Self = Self(2i32); - pub const InvalidCategory: Self = Self(3i32); - pub const InvalidSearchTerm: Self = Self(4i32); - pub const InvalidSearchArea: Self = Self(5i32); - pub const NetworkFailure: Self = Self(6i32); - pub const NotSupported: Self = Self(7i32); -} -impl ::core::marker::Copy for LocalLocationFinderStatus {} -impl ::core::clone::Clone for LocalLocationFinderStatus { - fn clone(&self) -> Self { - *self - } -} -pub type LocalLocationHoursOfOperationItem = *mut ::core::ffi::c_void; -pub type LocalLocationRatingInfo = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Services/Maps/OfflineMaps/mod.rs b/vendor/windows-sys/src/Windows/Services/Maps/OfflineMaps/mod.rs deleted file mode 100644 index 33cfb5aff..000000000 --- a/vendor/windows-sys/src/Windows/Services/Maps/OfflineMaps/mod.rs +++ /dev/null @@ -1,48 +0,0 @@ -pub type OfflineMapPackage = *mut ::core::ffi::c_void; -pub type OfflineMapPackageQueryResult = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Services_Maps_OfflineMaps\"`*"] -#[repr(transparent)] -pub struct OfflineMapPackageQueryStatus(pub i32); -impl OfflineMapPackageQueryStatus { - pub const Success: Self = Self(0i32); - pub const UnknownError: Self = Self(1i32); - pub const InvalidCredentials: Self = Self(2i32); - pub const NetworkFailure: Self = Self(3i32); -} -impl ::core::marker::Copy for OfflineMapPackageQueryStatus {} -impl ::core::clone::Clone for OfflineMapPackageQueryStatus { - fn clone(&self) -> Self { - *self - } -} -pub type OfflineMapPackageStartDownloadResult = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Services_Maps_OfflineMaps\"`*"] -#[repr(transparent)] -pub struct OfflineMapPackageStartDownloadStatus(pub i32); -impl OfflineMapPackageStartDownloadStatus { - pub const Success: Self = Self(0i32); - pub const UnknownError: Self = Self(1i32); - pub const InvalidCredentials: Self = Self(2i32); - pub const DeniedWithoutCapability: Self = Self(3i32); -} -impl ::core::marker::Copy for OfflineMapPackageStartDownloadStatus {} -impl ::core::clone::Clone for OfflineMapPackageStartDownloadStatus { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Services_Maps_OfflineMaps\"`*"] -#[repr(transparent)] -pub struct OfflineMapPackageStatus(pub i32); -impl OfflineMapPackageStatus { - pub const NotDownloaded: Self = Self(0i32); - pub const Downloading: Self = Self(1i32); - pub const Downloaded: Self = Self(2i32); - pub const Deleting: Self = Self(3i32); -} -impl ::core::marker::Copy for OfflineMapPackageStatus {} -impl ::core::clone::Clone for OfflineMapPackageStatus { - fn clone(&self) -> Self { - *self - } -} diff --git a/vendor/windows-sys/src/Windows/Services/Maps/mod.rs b/vendor/windows-sys/src/Windows/Services/Maps/mod.rs deleted file mode 100644 index 6816b5430..000000000 --- a/vendor/windows-sys/src/Windows/Services/Maps/mod.rs +++ /dev/null @@ -1,258 +0,0 @@ -#[cfg(feature = "Services_Maps_Guidance")] -pub mod Guidance; -#[cfg(feature = "Services_Maps_LocalSearch")] -pub mod LocalSearch; -#[cfg(feature = "Services_Maps_OfflineMaps")] -pub mod OfflineMaps; -pub type EnhancedWaypoint = *mut ::core::ffi::c_void; -pub type ManeuverWarning = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Services_Maps\"`*"] -#[repr(transparent)] -pub struct ManeuverWarningKind(pub i32); -impl ManeuverWarningKind { - pub const None: Self = Self(0i32); - pub const Accident: Self = Self(1i32); - pub const AdministrativeDivisionChange: Self = Self(2i32); - pub const Alert: Self = Self(3i32); - pub const BlockedRoad: Self = Self(4i32); - pub const CheckTimetable: Self = Self(5i32); - pub const Congestion: Self = Self(6i32); - pub const Construction: Self = Self(7i32); - pub const CountryChange: Self = Self(8i32); - pub const DisabledVehicle: Self = Self(9i32); - pub const GateAccess: Self = Self(10i32); - pub const GetOffTransit: Self = Self(11i32); - pub const GetOnTransit: Self = Self(12i32); - pub const IllegalUTurn: Self = Self(13i32); - pub const MassTransit: Self = Self(14i32); - pub const Miscellaneous: Self = Self(15i32); - pub const NoIncident: Self = Self(16i32); - pub const Other: Self = Self(17i32); - pub const OtherNews: Self = Self(18i32); - pub const OtherTrafficIncidents: Self = Self(19i32); - pub const PlannedEvent: Self = Self(20i32); - pub const PrivateRoad: Self = Self(21i32); - pub const RestrictedTurn: Self = Self(22i32); - pub const RoadClosures: Self = Self(23i32); - pub const RoadHazard: Self = Self(24i32); - pub const ScheduledConstruction: Self = Self(25i32); - pub const SeasonalClosures: Self = Self(26i32); - pub const Tollbooth: Self = Self(27i32); - pub const TollRoad: Self = Self(28i32); - pub const TollZoneEnter: Self = Self(29i32); - pub const TollZoneExit: Self = Self(30i32); - pub const TrafficFlow: Self = Self(31i32); - pub const TransitLineChange: Self = Self(32i32); - pub const UnpavedRoad: Self = Self(33i32); - pub const UnscheduledConstruction: Self = Self(34i32); - pub const Weather: Self = Self(35i32); -} -impl ::core::marker::Copy for ManeuverWarningKind {} -impl ::core::clone::Clone for ManeuverWarningKind { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Services_Maps\"`*"] -#[repr(transparent)] -pub struct ManeuverWarningSeverity(pub i32); -impl ManeuverWarningSeverity { - pub const None: Self = Self(0i32); - pub const LowImpact: Self = Self(1i32); - pub const Minor: Self = Self(2i32); - pub const Moderate: Self = Self(3i32); - pub const Serious: Self = Self(4i32); -} -impl ::core::marker::Copy for ManeuverWarningSeverity {} -impl ::core::clone::Clone for ManeuverWarningSeverity { - fn clone(&self) -> Self { - *self - } -} -pub type MapAddress = *mut ::core::ffi::c_void; -pub type MapLocation = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Services_Maps\"`*"] -#[repr(transparent)] -pub struct MapLocationDesiredAccuracy(pub i32); -impl MapLocationDesiredAccuracy { - pub const High: Self = Self(0i32); - pub const Low: Self = Self(1i32); -} -impl ::core::marker::Copy for MapLocationDesiredAccuracy {} -impl ::core::clone::Clone for MapLocationDesiredAccuracy { - fn clone(&self) -> Self { - *self - } -} -pub type MapLocationFinderResult = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Services_Maps\"`*"] -#[repr(transparent)] -pub struct MapLocationFinderStatus(pub i32); -impl MapLocationFinderStatus { - pub const Success: Self = Self(0i32); - pub const UnknownError: Self = Self(1i32); - pub const InvalidCredentials: Self = Self(2i32); - pub const BadLocation: Self = Self(3i32); - pub const IndexFailure: Self = Self(4i32); - pub const NetworkFailure: Self = Self(5i32); - pub const NotSupported: Self = Self(6i32); -} -impl ::core::marker::Copy for MapLocationFinderStatus {} -impl ::core::clone::Clone for MapLocationFinderStatus { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Services_Maps\"`*"] -#[repr(transparent)] -pub struct MapManeuverNotices(pub u32); -impl MapManeuverNotices { - pub const None: Self = Self(0u32); - pub const Toll: Self = Self(1u32); - pub const Unpaved: Self = Self(2u32); -} -impl ::core::marker::Copy for MapManeuverNotices {} -impl ::core::clone::Clone for MapManeuverNotices { - fn clone(&self) -> Self { - *self - } -} -pub type MapRoute = *mut ::core::ffi::c_void; -pub type MapRouteDrivingOptions = *mut ::core::ffi::c_void; -pub type MapRouteFinderResult = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Services_Maps\"`*"] -#[repr(transparent)] -pub struct MapRouteFinderStatus(pub i32); -impl MapRouteFinderStatus { - pub const Success: Self = Self(0i32); - pub const UnknownError: Self = Self(1i32); - pub const InvalidCredentials: Self = Self(2i32); - pub const NoRouteFound: Self = Self(3i32); - pub const NoRouteFoundWithGivenOptions: Self = Self(4i32); - pub const StartPointNotFound: Self = Self(5i32); - pub const EndPointNotFound: Self = Self(6i32); - pub const NoPedestrianRouteFound: Self = Self(7i32); - pub const NetworkFailure: Self = Self(8i32); - pub const NotSupported: Self = Self(9i32); -} -impl ::core::marker::Copy for MapRouteFinderStatus {} -impl ::core::clone::Clone for MapRouteFinderStatus { - fn clone(&self) -> Self { - *self - } -} -pub type MapRouteLeg = *mut ::core::ffi::c_void; -pub type MapRouteManeuver = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Services_Maps\"`*"] -#[repr(transparent)] -pub struct MapRouteManeuverKind(pub i32); -impl MapRouteManeuverKind { - pub const None: Self = Self(0i32); - pub const Start: Self = Self(1i32); - pub const Stopover: Self = Self(2i32); - pub const StopoverResume: Self = Self(3i32); - pub const End: Self = Self(4i32); - pub const GoStraight: Self = Self(5i32); - pub const UTurnLeft: Self = Self(6i32); - pub const UTurnRight: Self = Self(7i32); - pub const TurnKeepLeft: Self = Self(8i32); - pub const TurnKeepRight: Self = Self(9i32); - pub const TurnLightLeft: Self = Self(10i32); - pub const TurnLightRight: Self = Self(11i32); - pub const TurnLeft: Self = Self(12i32); - pub const TurnRight: Self = Self(13i32); - pub const TurnHardLeft: Self = Self(14i32); - pub const TurnHardRight: Self = Self(15i32); - pub const FreewayEnterLeft: Self = Self(16i32); - pub const FreewayEnterRight: Self = Self(17i32); - pub const FreewayLeaveLeft: Self = Self(18i32); - pub const FreewayLeaveRight: Self = Self(19i32); - pub const FreewayContinueLeft: Self = Self(20i32); - pub const FreewayContinueRight: Self = Self(21i32); - pub const TrafficCircleLeft: Self = Self(22i32); - pub const TrafficCircleRight: Self = Self(23i32); - pub const TakeFerry: Self = Self(24i32); -} -impl ::core::marker::Copy for MapRouteManeuverKind {} -impl ::core::clone::Clone for MapRouteManeuverKind { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Services_Maps\"`*"] -#[repr(transparent)] -pub struct MapRouteOptimization(pub i32); -impl MapRouteOptimization { - pub const Time: Self = Self(0i32); - pub const Distance: Self = Self(1i32); - pub const TimeWithTraffic: Self = Self(2i32); - pub const Scenic: Self = Self(3i32); -} -impl ::core::marker::Copy for MapRouteOptimization {} -impl ::core::clone::Clone for MapRouteOptimization { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Services_Maps\"`*"] -#[repr(transparent)] -pub struct MapRouteRestrictions(pub u32); -impl MapRouteRestrictions { - pub const None: Self = Self(0u32); - pub const Highways: Self = Self(1u32); - pub const TollRoads: Self = Self(2u32); - pub const Ferries: Self = Self(4u32); - pub const Tunnels: Self = Self(8u32); - pub const DirtRoads: Self = Self(16u32); - pub const Motorail: Self = Self(32u32); -} -impl ::core::marker::Copy for MapRouteRestrictions {} -impl ::core::clone::Clone for MapRouteRestrictions { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Services_Maps\"`*"] -#[repr(transparent)] -pub struct MapServiceDataUsagePreference(pub i32); -impl MapServiceDataUsagePreference { - pub const Default: Self = Self(0i32); - pub const OfflineMapDataOnly: Self = Self(1i32); -} -impl ::core::marker::Copy for MapServiceDataUsagePreference {} -impl ::core::clone::Clone for MapServiceDataUsagePreference { - fn clone(&self) -> Self { - *self - } -} -pub type PlaceInfo = *mut ::core::ffi::c_void; -pub type PlaceInfoCreateOptions = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Services_Maps\"`*"] -#[repr(transparent)] -pub struct TrafficCongestion(pub i32); -impl TrafficCongestion { - pub const Unknown: Self = Self(0i32); - pub const Light: Self = Self(1i32); - pub const Mild: Self = Self(2i32); - pub const Medium: Self = Self(3i32); - pub const Heavy: Self = Self(4i32); -} -impl ::core::marker::Copy for TrafficCongestion {} -impl ::core::clone::Clone for TrafficCongestion { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Services_Maps\"`*"] -#[repr(transparent)] -pub struct WaypointKind(pub i32); -impl WaypointKind { - pub const Stop: Self = Self(0i32); - pub const Via: Self = Self(1i32); -} -impl ::core::marker::Copy for WaypointKind {} -impl ::core::clone::Clone for WaypointKind { - fn clone(&self) -> Self { - *self - } -} diff --git a/vendor/windows-sys/src/Windows/Services/Store/mod.rs b/vendor/windows-sys/src/Windows/Services/Store/mod.rs deleted file mode 100644 index 8c467e6e3..000000000 --- a/vendor/windows-sys/src/Windows/Services/Store/mod.rs +++ /dev/null @@ -1,217 +0,0 @@ -pub type StoreAcquireLicenseResult = *mut ::core::ffi::c_void; -pub type StoreAppLicense = *mut ::core::ffi::c_void; -pub type StoreAvailability = *mut ::core::ffi::c_void; -pub type StoreCanAcquireLicenseResult = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Services_Store\"`*"] -#[repr(transparent)] -pub struct StoreCanLicenseStatus(pub i32); -impl StoreCanLicenseStatus { - pub const NotLicensableToUser: Self = Self(0i32); - pub const Licensable: Self = Self(1i32); - pub const LicenseActionNotApplicableToProduct: Self = Self(2i32); - pub const NetworkError: Self = Self(3i32); - pub const ServerError: Self = Self(4i32); -} -impl ::core::marker::Copy for StoreCanLicenseStatus {} -impl ::core::clone::Clone for StoreCanLicenseStatus { - fn clone(&self) -> Self { - *self - } -} -pub type StoreCollectionData = *mut ::core::ffi::c_void; -pub type StoreConsumableResult = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Services_Store\"`*"] -#[repr(transparent)] -pub struct StoreConsumableStatus(pub i32); -impl StoreConsumableStatus { - pub const Succeeded: Self = Self(0i32); - pub const InsufficentQuantity: Self = Self(1i32); - pub const NetworkError: Self = Self(2i32); - pub const ServerError: Self = Self(3i32); -} -impl ::core::marker::Copy for StoreConsumableStatus {} -impl ::core::clone::Clone for StoreConsumableStatus { - fn clone(&self) -> Self { - *self - } -} -pub type StoreContext = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Services_Store\"`*"] -#[repr(transparent)] -pub struct StoreDurationUnit(pub i32); -impl StoreDurationUnit { - pub const Minute: Self = Self(0i32); - pub const Hour: Self = Self(1i32); - pub const Day: Self = Self(2i32); - pub const Week: Self = Self(3i32); - pub const Month: Self = Self(4i32); - pub const Year: Self = Self(5i32); -} -impl ::core::marker::Copy for StoreDurationUnit {} -impl ::core::clone::Clone for StoreDurationUnit { - fn clone(&self) -> Self { - *self - } -} -pub type StoreImage = *mut ::core::ffi::c_void; -pub type StoreLicense = *mut ::core::ffi::c_void; -pub type StorePackageInstallOptions = *mut ::core::ffi::c_void; -pub type StorePackageLicense = *mut ::core::ffi::c_void; -pub type StorePackageUpdate = *mut ::core::ffi::c_void; -pub type StorePackageUpdateResult = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Services_Store\"`*"] -#[repr(transparent)] -pub struct StorePackageUpdateState(pub i32); -impl StorePackageUpdateState { - pub const Pending: Self = Self(0i32); - pub const Downloading: Self = Self(1i32); - pub const Deploying: Self = Self(2i32); - pub const Completed: Self = Self(3i32); - pub const Canceled: Self = Self(4i32); - pub const OtherError: Self = Self(5i32); - pub const ErrorLowBattery: Self = Self(6i32); - pub const ErrorWiFiRecommended: Self = Self(7i32); - pub const ErrorWiFiRequired: Self = Self(8i32); -} -impl ::core::marker::Copy for StorePackageUpdateState {} -impl ::core::clone::Clone for StorePackageUpdateState { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "*Required features: `\"Services_Store\"`*"] -pub struct StorePackageUpdateStatus { - pub PackageFamilyName: ::windows_sys::core::HSTRING, - pub PackageDownloadSizeInBytes: u64, - pub PackageBytesDownloaded: u64, - pub PackageDownloadProgress: f64, - pub TotalDownloadProgress: f64, - pub PackageUpdateState: StorePackageUpdateState, -} -impl ::core::marker::Copy for StorePackageUpdateStatus {} -impl ::core::clone::Clone for StorePackageUpdateStatus { - fn clone(&self) -> Self { - *self - } -} -pub type StorePrice = *mut ::core::ffi::c_void; -pub type StoreProduct = *mut ::core::ffi::c_void; -pub type StoreProductOptions = *mut ::core::ffi::c_void; -pub type StoreProductPagedQueryResult = *mut ::core::ffi::c_void; -pub type StoreProductQueryResult = *mut ::core::ffi::c_void; -pub type StoreProductResult = *mut ::core::ffi::c_void; -pub type StorePurchaseProperties = *mut ::core::ffi::c_void; -pub type StorePurchaseResult = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Services_Store\"`*"] -#[repr(transparent)] -pub struct StorePurchaseStatus(pub i32); -impl StorePurchaseStatus { - pub const Succeeded: Self = Self(0i32); - pub const AlreadyPurchased: Self = Self(1i32); - pub const NotPurchased: Self = Self(2i32); - pub const NetworkError: Self = Self(3i32); - pub const ServerError: Self = Self(4i32); -} -impl ::core::marker::Copy for StorePurchaseStatus {} -impl ::core::clone::Clone for StorePurchaseStatus { - fn clone(&self) -> Self { - *self - } -} -pub type StoreQueueItem = *mut ::core::ffi::c_void; -pub type StoreQueueItemCompletedEventArgs = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Services_Store\"`*"] -#[repr(transparent)] -pub struct StoreQueueItemExtendedState(pub i32); -impl StoreQueueItemExtendedState { - pub const ActivePending: Self = Self(0i32); - pub const ActiveStarting: Self = Self(1i32); - pub const ActiveAcquiringLicense: Self = Self(2i32); - pub const ActiveDownloading: Self = Self(3i32); - pub const ActiveRestoringData: Self = Self(4i32); - pub const ActiveInstalling: Self = Self(5i32); - pub const Completed: Self = Self(6i32); - pub const Canceled: Self = Self(7i32); - pub const Paused: Self = Self(8i32); - pub const Error: Self = Self(9i32); - pub const PausedPackagesInUse: Self = Self(10i32); - pub const PausedLowBattery: Self = Self(11i32); - pub const PausedWiFiRecommended: Self = Self(12i32); - pub const PausedWiFiRequired: Self = Self(13i32); - pub const PausedReadyToInstall: Self = Self(14i32); -} -impl ::core::marker::Copy for StoreQueueItemExtendedState {} -impl ::core::clone::Clone for StoreQueueItemExtendedState { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Services_Store\"`*"] -#[repr(transparent)] -pub struct StoreQueueItemKind(pub i32); -impl StoreQueueItemKind { - pub const Install: Self = Self(0i32); - pub const Update: Self = Self(1i32); - pub const Repair: Self = Self(2i32); -} -impl ::core::marker::Copy for StoreQueueItemKind {} -impl ::core::clone::Clone for StoreQueueItemKind { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Services_Store\"`*"] -#[repr(transparent)] -pub struct StoreQueueItemState(pub i32); -impl StoreQueueItemState { - pub const Active: Self = Self(0i32); - pub const Completed: Self = Self(1i32); - pub const Canceled: Self = Self(2i32); - pub const Error: Self = Self(3i32); - pub const Paused: Self = Self(4i32); -} -impl ::core::marker::Copy for StoreQueueItemState {} -impl ::core::clone::Clone for StoreQueueItemState { - fn clone(&self) -> Self { - *self - } -} -pub type StoreQueueItemStatus = *mut ::core::ffi::c_void; -pub type StoreRateAndReviewResult = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Services_Store\"`*"] -#[repr(transparent)] -pub struct StoreRateAndReviewStatus(pub i32); -impl StoreRateAndReviewStatus { - pub const Succeeded: Self = Self(0i32); - pub const CanceledByUser: Self = Self(1i32); - pub const NetworkError: Self = Self(2i32); - pub const Error: Self = Self(3i32); -} -impl ::core::marker::Copy for StoreRateAndReviewStatus {} -impl ::core::clone::Clone for StoreRateAndReviewStatus { - fn clone(&self) -> Self { - *self - } -} -pub type StoreSendRequestResult = *mut ::core::ffi::c_void; -pub type StoreSku = *mut ::core::ffi::c_void; -pub type StoreSubscriptionInfo = *mut ::core::ffi::c_void; -pub type StoreUninstallStorePackageResult = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Services_Store\"`*"] -#[repr(transparent)] -pub struct StoreUninstallStorePackageStatus(pub i32); -impl StoreUninstallStorePackageStatus { - pub const Succeeded: Self = Self(0i32); - pub const CanceledByUser: Self = Self(1i32); - pub const NetworkError: Self = Self(2i32); - pub const UninstallNotApplicable: Self = Self(3i32); - pub const Error: Self = Self(4i32); -} -impl ::core::marker::Copy for StoreUninstallStorePackageStatus {} -impl ::core::clone::Clone for StoreUninstallStorePackageStatus { - fn clone(&self) -> Self { - *self - } -} -pub type StoreVideo = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Services/TargetedContent/mod.rs b/vendor/windows-sys/src/Windows/Services/TargetedContent/mod.rs deleted file mode 100644 index 1f6765c3d..000000000 --- a/vendor/windows-sys/src/Windows/Services/TargetedContent/mod.rs +++ /dev/null @@ -1,105 +0,0 @@ -pub type TargetedContentAction = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Services_TargetedContent\"`*"] -#[repr(transparent)] -pub struct TargetedContentAppInstallationState(pub i32); -impl TargetedContentAppInstallationState { - pub const NotApplicable: Self = Self(0i32); - pub const NotInstalled: Self = Self(1i32); - pub const Installed: Self = Self(2i32); -} -impl ::core::marker::Copy for TargetedContentAppInstallationState {} -impl ::core::clone::Clone for TargetedContentAppInstallationState { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Services_TargetedContent\"`*"] -#[repr(transparent)] -pub struct TargetedContentAvailability(pub i32); -impl TargetedContentAvailability { - pub const None: Self = Self(0i32); - pub const Partial: Self = Self(1i32); - pub const All: Self = Self(2i32); -} -impl ::core::marker::Copy for TargetedContentAvailability {} -impl ::core::clone::Clone for TargetedContentAvailability { - fn clone(&self) -> Self { - *self - } -} -pub type TargetedContentAvailabilityChangedEventArgs = *mut ::core::ffi::c_void; -pub type TargetedContentChangedEventArgs = *mut ::core::ffi::c_void; -pub type TargetedContentCollection = *mut ::core::ffi::c_void; -pub type TargetedContentContainer = *mut ::core::ffi::c_void; -pub type TargetedContentFile = *mut ::core::ffi::c_void; -pub type TargetedContentImage = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Services_TargetedContent\"`*"] -#[repr(transparent)] -pub struct TargetedContentInteraction(pub i32); -impl TargetedContentInteraction { - pub const Impression: Self = Self(0i32); - pub const ClickThrough: Self = Self(1i32); - pub const Hover: Self = Self(2i32); - pub const Like: Self = Self(3i32); - pub const Dislike: Self = Self(4i32); - pub const Dismiss: Self = Self(5i32); - pub const Ineligible: Self = Self(6i32); - pub const Accept: Self = Self(7i32); - pub const Decline: Self = Self(8i32); - pub const Defer: Self = Self(9i32); - pub const Canceled: Self = Self(10i32); - pub const Conversion: Self = Self(11i32); - pub const Opportunity: Self = Self(12i32); -} -impl ::core::marker::Copy for TargetedContentInteraction {} -impl ::core::clone::Clone for TargetedContentInteraction { - fn clone(&self) -> Self { - *self - } -} -pub type TargetedContentItem = *mut ::core::ffi::c_void; -pub type TargetedContentItemState = *mut ::core::ffi::c_void; -pub type TargetedContentObject = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Services_TargetedContent\"`*"] -#[repr(transparent)] -pub struct TargetedContentObjectKind(pub i32); -impl TargetedContentObjectKind { - pub const Collection: Self = Self(0i32); - pub const Item: Self = Self(1i32); - pub const Value: Self = Self(2i32); -} -impl ::core::marker::Copy for TargetedContentObjectKind {} -impl ::core::clone::Clone for TargetedContentObjectKind { - fn clone(&self) -> Self { - *self - } -} -pub type TargetedContentStateChangedEventArgs = *mut ::core::ffi::c_void; -pub type TargetedContentSubscription = *mut ::core::ffi::c_void; -pub type TargetedContentSubscriptionOptions = *mut ::core::ffi::c_void; -pub type TargetedContentValue = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Services_TargetedContent\"`*"] -#[repr(transparent)] -pub struct TargetedContentValueKind(pub i32); -impl TargetedContentValueKind { - pub const String: Self = Self(0i32); - pub const Uri: Self = Self(1i32); - pub const Number: Self = Self(2i32); - pub const Boolean: Self = Self(3i32); - pub const File: Self = Self(4i32); - pub const ImageFile: Self = Self(5i32); - pub const Action: Self = Self(6i32); - pub const Strings: Self = Self(7i32); - pub const Uris: Self = Self(8i32); - pub const Numbers: Self = Self(9i32); - pub const Booleans: Self = Self(10i32); - pub const Files: Self = Self(11i32); - pub const ImageFiles: Self = Self(12i32); - pub const Actions: Self = Self(13i32); -} -impl ::core::marker::Copy for TargetedContentValueKind {} -impl ::core::clone::Clone for TargetedContentValueKind { - fn clone(&self) -> Self { - *self - } -} diff --git a/vendor/windows-sys/src/Windows/Services/mod.rs b/vendor/windows-sys/src/Windows/Services/mod.rs deleted file mode 100644 index f0409ea5b..000000000 --- a/vendor/windows-sys/src/Windows/Services/mod.rs +++ /dev/null @@ -1,8 +0,0 @@ -#[cfg(feature = "Services_Cortana")] -pub mod Cortana; -#[cfg(feature = "Services_Maps")] -pub mod Maps; -#[cfg(feature = "Services_Store")] -pub mod Store; -#[cfg(feature = "Services_TargetedContent")] -pub mod TargetedContent; |