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/ApplicationModel/Activation/mod.rs | 181 ++++++++ .../Windows/ApplicationModel/AppExtensions/mod.rs | 7 + .../src/Windows/ApplicationModel/AppService/mod.rs | 94 ++++ .../Appointments/AppointmentsProvider/mod.rs | 3 + .../Appointments/DataProvider/mod.rs | 14 + .../Windows/ApplicationModel/Appointments/mod.rs | 279 ++++++++++++ .../src/Windows/ApplicationModel/Background/mod.rs | 290 ++++++++++++ .../ApplicationModel/Calls/Background/mod.rs | 89 ++++ .../Windows/ApplicationModel/Calls/Provider/mod.rs | 1 + .../src/Windows/ApplicationModel/Calls/mod.rs | 437 ++++++++++++++++++ .../src/Windows/ApplicationModel/Chat/mod.rs | 254 +++++++++++ .../ApplicationModel/CommunicationBlocking/mod.rs | 1 + .../ApplicationModel/Contacts/DataProvider/mod.rs | 10 + .../ApplicationModel/Contacts/Provider/mod.rs | 16 + .../src/Windows/ApplicationModel/Contacts/mod.rs | 424 +++++++++++++++++ .../ApplicationModel/ConversationalAgent/mod.rs | 278 ++++++++++++ .../src/Windows/ApplicationModel/Core/mod.rs | 24 + .../DataTransfer/DragDrop/Core/mod.rs | 19 + .../ApplicationModel/DataTransfer/DragDrop/mod.rs | 20 + .../DataTransfer/ShareTarget/mod.rs | 2 + .../Windows/ApplicationModel/DataTransfer/mod.rs | 85 ++++ .../ApplicationModel/Email/DataProvider/mod.rs | 32 ++ .../src/Windows/ApplicationModel/Email/mod.rs | 503 +++++++++++++++++++++ .../ExtendedExecution/Foreground/mod.rs | 43 ++ .../ApplicationModel/ExtendedExecution/mod.rs | 44 ++ .../Windows/ApplicationModel/Holographic/mod.rs | 1 + .../src/Windows/ApplicationModel/LockScreen/mod.rs | 5 + .../ApplicationModel/Payments/Provider/mod.rs | 4 + .../src/Windows/ApplicationModel/Payments/mod.rs | 107 +++++ .../ApplicationModel/Preview/Holographic/mod.rs | 1 + .../ApplicationModel/Preview/InkWorkspace/mod.rs | 1 + .../Windows/ApplicationModel/Preview/Notes/mod.rs | 4 + .../src/Windows/ApplicationModel/Preview/mod.rs | 6 + .../Windows/ApplicationModel/Resources/Core/mod.rs | 56 +++ .../ApplicationModel/Resources/Management/mod.rs | 17 + .../src/Windows/ApplicationModel/Resources/mod.rs | 5 + .../Windows/ApplicationModel/Search/Core/mod.rs | 18 + .../src/Windows/ApplicationModel/Search/mod.rs | 17 + .../ApplicationModel/SocialInfo/Provider/mod.rs | 2 + .../src/Windows/ApplicationModel/SocialInfo/mod.rs | 78 ++++ .../Store/LicenseManagement/mod.rs | 15 + .../Store/Preview/InstallControl/mod.rs | 91 ++++ .../Windows/ApplicationModel/Store/Preview/mod.rs | 111 +++++ .../src/Windows/ApplicationModel/Store/mod.rs | 57 +++ .../ApplicationModel/UserActivities/Core/mod.rs | 1 + .../Windows/ApplicationModel/UserActivities/mod.rs | 26 ++ .../UserDataAccounts/Provider/mod.rs | 32 ++ .../UserDataAccounts/SystemAccess/mod.rs | 80 ++++ .../ApplicationModel/UserDataAccounts/mod.rs | 49 ++ .../UserDataTasks/DataProvider/mod.rs | 12 + .../Windows/ApplicationModel/UserDataTasks/mod.rs | 217 +++++++++ .../Windows/ApplicationModel/VoiceCommands/mod.rs | 46 ++ .../Windows/ApplicationModel/Wallet/System/mod.rs | 15 + .../src/Windows/ApplicationModel/Wallet/mod.rs | 106 +++++ .../src/Windows/ApplicationModel/mod.rs | 246 ++++++++++ 55 files changed, 4576 insertions(+) create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Activation/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/AppExtensions/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/AppService/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Appointments/AppointmentsProvider/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Appointments/DataProvider/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Appointments/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Background/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Calls/Background/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Calls/Provider/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Calls/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Chat/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Contacts/DataProvider/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Contacts/Provider/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Contacts/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/ConversationalAgent/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Core/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/DataTransfer/DragDrop/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/DataTransfer/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Email/DataProvider/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Email/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/ExtendedExecution/Foreground/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/ExtendedExecution/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Holographic/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/LockScreen/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Payments/Provider/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Payments/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Preview/Holographic/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Preview/InkWorkspace/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Preview/Notes/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Preview/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Resources/Core/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Resources/Management/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Resources/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Search/Core/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Search/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/SocialInfo/Provider/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/SocialInfo/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Store/LicenseManagement/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Store/Preview/InstallControl/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Store/Preview/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Store/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/UserActivities/Core/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/UserActivities/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/UserDataAccounts/Provider/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/UserDataAccounts/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/UserDataTasks/DataProvider/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/UserDataTasks/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/VoiceCommands/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Wallet/System/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Wallet/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/mod.rs (limited to 'vendor/windows-sys/src/Windows/ApplicationModel') diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Activation/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Activation/mod.rs new file mode 100644 index 000000000..514badc97 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Activation/mod.rs @@ -0,0 +1,181 @@ +#[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] +#[repr(transparent)] +pub struct ActivationKind(pub i32); +impl ActivationKind { + pub const Launch: Self = Self(0i32); + pub const Search: Self = Self(1i32); + pub const ShareTarget: Self = Self(2i32); + pub const File: Self = Self(3i32); + pub const Protocol: Self = Self(4i32); + pub const FileOpenPicker: Self = Self(5i32); + pub const FileSavePicker: Self = Self(6i32); + pub const CachedFileUpdater: Self = Self(7i32); + pub const ContactPicker: Self = Self(8i32); + pub const Device: Self = Self(9i32); + pub const PrintTaskSettings: Self = Self(10i32); + pub const CameraSettings: Self = Self(11i32); + pub const RestrictedLaunch: Self = Self(12i32); + pub const AppointmentsProvider: Self = Self(13i32); + pub const Contact: Self = Self(14i32); + pub const LockScreenCall: Self = Self(15i32); + pub const VoiceCommand: Self = Self(16i32); + pub const LockScreen: Self = Self(17i32); + pub const PickerReturned: Self = Self(1000i32); + pub const WalletAction: Self = Self(1001i32); + pub const PickFileContinuation: Self = Self(1002i32); + pub const PickSaveFileContinuation: Self = Self(1003i32); + pub const PickFolderContinuation: Self = Self(1004i32); + pub const WebAuthenticationBrokerContinuation: Self = Self(1005i32); + pub const WebAccountProvider: Self = Self(1006i32); + pub const ComponentUI: Self = Self(1007i32); + pub const ProtocolForResults: Self = Self(1009i32); + pub const ToastNotification: Self = Self(1010i32); + pub const Print3DWorkflow: Self = Self(1011i32); + pub const DialReceiver: Self = Self(1012i32); + pub const DevicePairing: Self = Self(1013i32); + pub const UserDataAccountsProvider: Self = Self(1014i32); + pub const FilePickerExperience: Self = Self(1015i32); + pub const LockScreenComponent: Self = Self(1016i32); + pub const ContactPanel: Self = Self(1017i32); + pub const PrintWorkflowForegroundTask: Self = Self(1018i32); + pub const GameUIProvider: Self = Self(1019i32); + pub const StartupTask: Self = Self(1020i32); + pub const CommandLineLaunch: Self = Self(1021i32); + pub const BarcodeScannerProvider: Self = Self(1022i32); + pub const PrintSupportJobUI: Self = Self(1023i32); + pub const PrintSupportSettingsUI: Self = Self(1024i32); + pub const PhoneCallActivation: Self = Self(1025i32); + pub const VpnForeground: Self = Self(1026i32); +} +impl ::core::marker::Copy for ActivationKind {} +impl ::core::clone::Clone for ActivationKind { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] +#[repr(transparent)] +pub struct ApplicationExecutionState(pub i32); +impl ApplicationExecutionState { + pub const NotRunning: Self = Self(0i32); + pub const Running: Self = Self(1i32); + pub const Suspended: Self = Self(2i32); + pub const Terminated: Self = Self(3i32); + pub const ClosedByUser: Self = Self(4i32); +} +impl ::core::marker::Copy for ApplicationExecutionState {} +impl ::core::clone::Clone for ApplicationExecutionState { + fn clone(&self) -> Self { + *self + } +} +pub type AppointmentsProviderAddAppointmentActivatedEventArgs = *mut ::core::ffi::c_void; +pub type AppointmentsProviderRemoveAppointmentActivatedEventArgs = *mut ::core::ffi::c_void; +pub type AppointmentsProviderReplaceAppointmentActivatedEventArgs = *mut ::core::ffi::c_void; +pub type AppointmentsProviderShowAppointmentDetailsActivatedEventArgs = *mut ::core::ffi::c_void; +pub type AppointmentsProviderShowTimeFrameActivatedEventArgs = *mut ::core::ffi::c_void; +pub type BackgroundActivatedEventArgs = *mut ::core::ffi::c_void; +pub type BarcodeScannerPreviewActivatedEventArgs = *mut ::core::ffi::c_void; +pub type CachedFileUpdaterActivatedEventArgs = *mut ::core::ffi::c_void; +pub type CameraSettingsActivatedEventArgs = *mut ::core::ffi::c_void; +pub type CommandLineActivatedEventArgs = *mut ::core::ffi::c_void; +pub type CommandLineActivationOperation = *mut ::core::ffi::c_void; +pub type ContactCallActivatedEventArgs = *mut ::core::ffi::c_void; +pub type ContactMapActivatedEventArgs = *mut ::core::ffi::c_void; +pub type ContactMessageActivatedEventArgs = *mut ::core::ffi::c_void; +pub type ContactPanelActivatedEventArgs = *mut ::core::ffi::c_void; +pub type ContactPickerActivatedEventArgs = *mut ::core::ffi::c_void; +pub type ContactPostActivatedEventArgs = *mut ::core::ffi::c_void; +pub type ContactVideoCallActivatedEventArgs = *mut ::core::ffi::c_void; +pub type DeviceActivatedEventArgs = *mut ::core::ffi::c_void; +pub type DevicePairingActivatedEventArgs = *mut ::core::ffi::c_void; +pub type DialReceiverActivatedEventArgs = *mut ::core::ffi::c_void; +pub type FileActivatedEventArgs = *mut ::core::ffi::c_void; +pub type FileOpenPickerActivatedEventArgs = *mut ::core::ffi::c_void; +pub type FileOpenPickerContinuationEventArgs = *mut ::core::ffi::c_void; +pub type FileSavePickerActivatedEventArgs = *mut ::core::ffi::c_void; +pub type FileSavePickerContinuationEventArgs = *mut ::core::ffi::c_void; +pub type FolderPickerContinuationEventArgs = *mut ::core::ffi::c_void; +pub type IActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IActivatedEventArgsWithUser = *mut ::core::ffi::c_void; +pub type IApplicationViewActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IAppointmentsProviderActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IAppointmentsProviderAddAppointmentActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IAppointmentsProviderRemoveAppointmentActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IAppointmentsProviderReplaceAppointmentActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IAppointmentsProviderShowTimeFrameActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IBackgroundActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IBarcodeScannerPreviewActivatedEventArgs = *mut ::core::ffi::c_void; +pub type ICachedFileUpdaterActivatedEventArgs = *mut ::core::ffi::c_void; +pub type ICameraSettingsActivatedEventArgs = *mut ::core::ffi::c_void; +pub type ICommandLineActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IContactActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IContactCallActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IContactMapActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IContactMessageActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IContactPanelActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IContactPickerActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IContactPostActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IContactVideoCallActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IContactsProviderActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IContinuationActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IDeviceActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IDevicePairingActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IDialReceiverActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IFileActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IFileActivatedEventArgsWithCallerPackageFamilyName = *mut ::core::ffi::c_void; +pub type IFileActivatedEventArgsWithNeighboringFiles = *mut ::core::ffi::c_void; +pub type IFileOpenPickerActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IFileOpenPickerActivatedEventArgs2 = *mut ::core::ffi::c_void; +pub type IFileOpenPickerContinuationEventArgs = *mut ::core::ffi::c_void; +pub type IFileSavePickerActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IFileSavePickerActivatedEventArgs2 = *mut ::core::ffi::c_void; +pub type IFileSavePickerContinuationEventArgs = *mut ::core::ffi::c_void; +pub type IFolderPickerContinuationEventArgs = *mut ::core::ffi::c_void; +pub type ILaunchActivatedEventArgs = *mut ::core::ffi::c_void; +pub type ILaunchActivatedEventArgs2 = *mut ::core::ffi::c_void; +pub type ILockScreenActivatedEventArgs = *mut ::core::ffi::c_void; +pub type ILockScreenCallActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IPhoneCallActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IPickerReturnedActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IPrelaunchActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IPrint3DWorkflowActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IPrintTaskSettingsActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IProtocolActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData = *mut ::core::ffi::c_void; +pub type IProtocolForResultsActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IRestrictedLaunchActivatedEventArgs = *mut ::core::ffi::c_void; +pub type ISearchActivatedEventArgs = *mut ::core::ffi::c_void; +pub type ISearchActivatedEventArgsWithLinguisticDetails = *mut ::core::ffi::c_void; +pub type IShareTargetActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IStartupTaskActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IToastNotificationActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IUserDataAccountProviderActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IViewSwitcherProvider = *mut ::core::ffi::c_void; +pub type IVoiceCommandActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IWalletActionActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IWebAccountProviderActivatedEventArgs = *mut ::core::ffi::c_void; +pub type IWebAuthenticationBrokerContinuationEventArgs = *mut ::core::ffi::c_void; +pub type LaunchActivatedEventArgs = *mut ::core::ffi::c_void; +pub type LockScreenActivatedEventArgs = *mut ::core::ffi::c_void; +pub type LockScreenCallActivatedEventArgs = *mut ::core::ffi::c_void; +pub type LockScreenComponentActivatedEventArgs = *mut ::core::ffi::c_void; +pub type PhoneCallActivatedEventArgs = *mut ::core::ffi::c_void; +pub type PickerReturnedActivatedEventArgs = *mut ::core::ffi::c_void; +pub type Print3DWorkflowActivatedEventArgs = *mut ::core::ffi::c_void; +pub type PrintTaskSettingsActivatedEventArgs = *mut ::core::ffi::c_void; +pub type ProtocolActivatedEventArgs = *mut ::core::ffi::c_void; +pub type ProtocolForResultsActivatedEventArgs = *mut ::core::ffi::c_void; +pub type RestrictedLaunchActivatedEventArgs = *mut ::core::ffi::c_void; +pub type SearchActivatedEventArgs = *mut ::core::ffi::c_void; +pub type ShareTargetActivatedEventArgs = *mut ::core::ffi::c_void; +pub type SplashScreen = *mut ::core::ffi::c_void; +pub type StartupTaskActivatedEventArgs = *mut ::core::ffi::c_void; +pub type TileActivatedInfo = *mut ::core::ffi::c_void; +pub type ToastNotificationActivatedEventArgs = *mut ::core::ffi::c_void; +pub type UserDataAccountProviderActivatedEventArgs = *mut ::core::ffi::c_void; +pub type VoiceCommandActivatedEventArgs = *mut ::core::ffi::c_void; +pub type WalletActionActivatedEventArgs = *mut ::core::ffi::c_void; +pub type WebAccountProviderActivatedEventArgs = *mut ::core::ffi::c_void; +pub type WebAuthenticationBrokerContinuationEventArgs = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/AppExtensions/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/AppExtensions/mod.rs new file mode 100644 index 000000000..49dc0c66f --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/AppExtensions/mod.rs @@ -0,0 +1,7 @@ +pub type AppExtension = *mut ::core::ffi::c_void; +pub type AppExtensionCatalog = *mut ::core::ffi::c_void; +pub type AppExtensionPackageInstalledEventArgs = *mut ::core::ffi::c_void; +pub type AppExtensionPackageStatusChangedEventArgs = *mut ::core::ffi::c_void; +pub type AppExtensionPackageUninstallingEventArgs = *mut ::core::ffi::c_void; +pub type AppExtensionPackageUpdatedEventArgs = *mut ::core::ffi::c_void; +pub type AppExtensionPackageUpdatingEventArgs = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/AppService/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/AppService/mod.rs new file mode 100644 index 000000000..52d41c3a7 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/AppService/mod.rs @@ -0,0 +1,94 @@ +pub type AppServiceClosedEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_AppService\"`*"] +#[repr(transparent)] +pub struct AppServiceClosedStatus(pub i32); +impl AppServiceClosedStatus { + pub const Completed: Self = Self(0i32); + pub const Canceled: Self = Self(1i32); + pub const ResourceLimitsExceeded: Self = Self(2i32); + pub const Unknown: Self = Self(3i32); +} +impl ::core::marker::Copy for AppServiceClosedStatus {} +impl ::core::clone::Clone for AppServiceClosedStatus { + fn clone(&self) -> Self { + *self + } +} +pub type AppServiceConnection = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_AppService\"`*"] +#[repr(transparent)] +pub struct AppServiceConnectionStatus(pub i32); +impl AppServiceConnectionStatus { + pub const Success: Self = Self(0i32); + pub const AppNotInstalled: Self = Self(1i32); + pub const AppUnavailable: Self = Self(2i32); + pub const AppServiceUnavailable: Self = Self(3i32); + pub const Unknown: Self = Self(4i32); + pub const RemoteSystemUnavailable: Self = Self(5i32); + pub const RemoteSystemNotSupportedByApp: Self = Self(6i32); + pub const NotAuthorized: Self = Self(7i32); + pub const AuthenticationError: Self = Self(8i32); + pub const NetworkNotAvailable: Self = Self(9i32); + pub const DisabledByPolicy: Self = Self(10i32); + pub const WebServiceUnavailable: Self = Self(11i32); +} +impl ::core::marker::Copy for AppServiceConnectionStatus {} +impl ::core::clone::Clone for AppServiceConnectionStatus { + fn clone(&self) -> Self { + *self + } +} +pub type AppServiceDeferral = *mut ::core::ffi::c_void; +pub type AppServiceRequest = *mut ::core::ffi::c_void; +pub type AppServiceRequestReceivedEventArgs = *mut ::core::ffi::c_void; +pub type AppServiceResponse = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_AppService\"`*"] +#[repr(transparent)] +pub struct AppServiceResponseStatus(pub i32); +impl AppServiceResponseStatus { + pub const Success: Self = Self(0i32); + pub const Failure: Self = Self(1i32); + pub const ResourceLimitsExceeded: Self = Self(2i32); + pub const Unknown: Self = Self(3i32); + pub const RemoteSystemUnavailable: Self = Self(4i32); + pub const MessageSizeTooLarge: Self = Self(5i32); + pub const AppUnavailable: Self = Self(6i32); + pub const AuthenticationError: Self = Self(7i32); + pub const NetworkNotAvailable: Self = Self(8i32); + pub const DisabledByPolicy: Self = Self(9i32); + pub const WebServiceUnavailable: Self = Self(10i32); +} +impl ::core::marker::Copy for AppServiceResponseStatus {} +impl ::core::clone::Clone for AppServiceResponseStatus { + fn clone(&self) -> Self { + *self + } +} +pub type AppServiceTriggerDetails = *mut ::core::ffi::c_void; +pub type StatelessAppServiceResponse = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_AppService\"`*"] +#[repr(transparent)] +pub struct StatelessAppServiceResponseStatus(pub i32); +impl StatelessAppServiceResponseStatus { + pub const Success: Self = Self(0i32); + pub const AppNotInstalled: Self = Self(1i32); + pub const AppUnavailable: Self = Self(2i32); + pub const AppServiceUnavailable: Self = Self(3i32); + pub const RemoteSystemUnavailable: Self = Self(4i32); + pub const RemoteSystemNotSupportedByApp: Self = Self(5i32); + pub const NotAuthorized: Self = Self(6i32); + pub const ResourceLimitsExceeded: Self = Self(7i32); + pub const MessageSizeTooLarge: Self = Self(8i32); + pub const Failure: Self = Self(9i32); + pub const Unknown: Self = Self(10i32); + pub const AuthenticationError: Self = Self(11i32); + pub const NetworkNotAvailable: Self = Self(12i32); + pub const DisabledByPolicy: Self = Self(13i32); + pub const WebServiceUnavailable: Self = Self(14i32); +} +impl ::core::marker::Copy for StatelessAppServiceResponseStatus {} +impl ::core::clone::Clone for StatelessAppServiceResponseStatus { + fn clone(&self) -> Self { + *self + } +} diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Appointments/AppointmentsProvider/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Appointments/AppointmentsProvider/mod.rs new file mode 100644 index 000000000..a2fc18460 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Appointments/AppointmentsProvider/mod.rs @@ -0,0 +1,3 @@ +pub type AddAppointmentOperation = *mut ::core::ffi::c_void; +pub type RemoveAppointmentOperation = *mut ::core::ffi::c_void; +pub type ReplaceAppointmentOperation = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Appointments/DataProvider/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Appointments/DataProvider/mod.rs new file mode 100644 index 000000000..ab4d485ad --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Appointments/DataProvider/mod.rs @@ -0,0 +1,14 @@ +pub type AppointmentCalendarCancelMeetingRequest = *mut ::core::ffi::c_void; +pub type AppointmentCalendarCancelMeetingRequestEventArgs = *mut ::core::ffi::c_void; +pub type AppointmentCalendarCreateOrUpdateAppointmentRequest = *mut ::core::ffi::c_void; +pub type AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs = *mut ::core::ffi::c_void; +pub type AppointmentCalendarForwardMeetingRequest = *mut ::core::ffi::c_void; +pub type AppointmentCalendarForwardMeetingRequestEventArgs = *mut ::core::ffi::c_void; +pub type AppointmentCalendarProposeNewTimeForMeetingRequest = *mut ::core::ffi::c_void; +pub type AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs = *mut ::core::ffi::c_void; +pub type AppointmentCalendarSyncManagerSyncRequest = *mut ::core::ffi::c_void; +pub type AppointmentCalendarSyncManagerSyncRequestEventArgs = *mut ::core::ffi::c_void; +pub type AppointmentCalendarUpdateMeetingResponseRequest = *mut ::core::ffi::c_void; +pub type AppointmentCalendarUpdateMeetingResponseRequestEventArgs = *mut ::core::ffi::c_void; +pub type AppointmentDataProviderConnection = *mut ::core::ffi::c_void; +pub type AppointmentDataProviderTriggerDetails = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Appointments/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Appointments/mod.rs new file mode 100644 index 000000000..4ae7220fb --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Appointments/mod.rs @@ -0,0 +1,279 @@ +#[cfg(feature = "ApplicationModel_Appointments_AppointmentsProvider")] +pub mod AppointmentsProvider; +#[cfg(feature = "ApplicationModel_Appointments_DataProvider")] +pub mod DataProvider; +pub type Appointment = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] +#[repr(transparent)] +pub struct AppointmentBusyStatus(pub i32); +impl AppointmentBusyStatus { + pub const Busy: Self = Self(0i32); + pub const Tentative: Self = Self(1i32); + pub const Free: Self = Self(2i32); + pub const OutOfOffice: Self = Self(3i32); + pub const WorkingElsewhere: Self = Self(4i32); +} +impl ::core::marker::Copy for AppointmentBusyStatus {} +impl ::core::clone::Clone for AppointmentBusyStatus { + fn clone(&self) -> Self { + *self + } +} +pub type AppointmentCalendar = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] +#[repr(transparent)] +pub struct AppointmentCalendarOtherAppReadAccess(pub i32); +impl AppointmentCalendarOtherAppReadAccess { + pub const SystemOnly: Self = Self(0i32); + pub const Limited: Self = Self(1i32); + pub const Full: Self = Self(2i32); + pub const None: Self = Self(3i32); +} +impl ::core::marker::Copy for AppointmentCalendarOtherAppReadAccess {} +impl ::core::clone::Clone for AppointmentCalendarOtherAppReadAccess { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] +#[repr(transparent)] +pub struct AppointmentCalendarOtherAppWriteAccess(pub i32); +impl AppointmentCalendarOtherAppWriteAccess { + pub const None: Self = Self(0i32); + pub const SystemOnly: Self = Self(1i32); + pub const Limited: Self = Self(2i32); +} +impl ::core::marker::Copy for AppointmentCalendarOtherAppWriteAccess {} +impl ::core::clone::Clone for AppointmentCalendarOtherAppWriteAccess { + fn clone(&self) -> Self { + *self + } +} +pub type AppointmentCalendarSyncManager = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] +#[repr(transparent)] +pub struct AppointmentCalendarSyncStatus(pub i32); +impl AppointmentCalendarSyncStatus { + pub const Idle: Self = Self(0i32); + pub const Syncing: Self = Self(1i32); + pub const UpToDate: Self = Self(2i32); + pub const AuthenticationError: Self = Self(3i32); + pub const PolicyError: Self = Self(4i32); + pub const UnknownError: Self = Self(5i32); + pub const ManualAccountRemovalRequired: Self = Self(6i32); +} +impl ::core::marker::Copy for AppointmentCalendarSyncStatus {} +impl ::core::clone::Clone for AppointmentCalendarSyncStatus { + fn clone(&self) -> Self { + *self + } +} +pub type AppointmentConflictResult = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] +#[repr(transparent)] +pub struct AppointmentConflictType(pub i32); +impl AppointmentConflictType { + pub const None: Self = Self(0i32); + pub const Adjacent: Self = Self(1i32); + pub const Overlap: Self = Self(2i32); +} +impl ::core::marker::Copy for AppointmentConflictType {} +impl ::core::clone::Clone for AppointmentConflictType { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] +#[repr(transparent)] +pub struct AppointmentDaysOfWeek(pub u32); +impl AppointmentDaysOfWeek { + pub const None: Self = Self(0u32); + pub const Sunday: Self = Self(1u32); + pub const Monday: Self = Self(2u32); + pub const Tuesday: Self = Self(4u32); + pub const Wednesday: Self = Self(8u32); + pub const Thursday: Self = Self(16u32); + pub const Friday: Self = Self(32u32); + pub const Saturday: Self = Self(64u32); +} +impl ::core::marker::Copy for AppointmentDaysOfWeek {} +impl ::core::clone::Clone for AppointmentDaysOfWeek { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] +#[repr(transparent)] +pub struct AppointmentDetailsKind(pub i32); +impl AppointmentDetailsKind { + pub const PlainText: Self = Self(0i32); + pub const Html: Self = Self(1i32); +} +impl ::core::marker::Copy for AppointmentDetailsKind {} +impl ::core::clone::Clone for AppointmentDetailsKind { + fn clone(&self) -> Self { + *self + } +} +pub type AppointmentException = *mut ::core::ffi::c_void; +pub type AppointmentInvitee = *mut ::core::ffi::c_void; +pub type AppointmentManagerForUser = *mut ::core::ffi::c_void; +pub type AppointmentOrganizer = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] +#[repr(transparent)] +pub struct AppointmentParticipantResponse(pub i32); +impl AppointmentParticipantResponse { + pub const None: Self = Self(0i32); + pub const Tentative: Self = Self(1i32); + pub const Accepted: Self = Self(2i32); + pub const Declined: Self = Self(3i32); + pub const Unknown: Self = Self(4i32); +} +impl ::core::marker::Copy for AppointmentParticipantResponse {} +impl ::core::clone::Clone for AppointmentParticipantResponse { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] +#[repr(transparent)] +pub struct AppointmentParticipantRole(pub i32); +impl AppointmentParticipantRole { + pub const RequiredAttendee: Self = Self(0i32); + pub const OptionalAttendee: Self = Self(1i32); + pub const Resource: Self = Self(2i32); +} +impl ::core::marker::Copy for AppointmentParticipantRole {} +impl ::core::clone::Clone for AppointmentParticipantRole { + fn clone(&self) -> Self { + *self + } +} +pub type AppointmentRecurrence = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] +#[repr(transparent)] +pub struct AppointmentRecurrenceUnit(pub i32); +impl AppointmentRecurrenceUnit { + pub const Daily: Self = Self(0i32); + pub const Weekly: Self = Self(1i32); + pub const Monthly: Self = Self(2i32); + pub const MonthlyOnDay: Self = Self(3i32); + pub const Yearly: Self = Self(4i32); + pub const YearlyOnDay: Self = Self(5i32); +} +impl ::core::marker::Copy for AppointmentRecurrenceUnit {} +impl ::core::clone::Clone for AppointmentRecurrenceUnit { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] +#[repr(transparent)] +pub struct AppointmentSensitivity(pub i32); +impl AppointmentSensitivity { + pub const Public: Self = Self(0i32); + pub const Private: Self = Self(1i32); +} +impl ::core::marker::Copy for AppointmentSensitivity {} +impl ::core::clone::Clone for AppointmentSensitivity { + fn clone(&self) -> Self { + *self + } +} +pub type AppointmentStore = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] +#[repr(transparent)] +pub struct AppointmentStoreAccessType(pub i32); +impl AppointmentStoreAccessType { + pub const AppCalendarsReadWrite: Self = Self(0i32); + pub const AllCalendarsReadOnly: Self = Self(1i32); + pub const AllCalendarsReadWrite: Self = Self(2i32); +} +impl ::core::marker::Copy for AppointmentStoreAccessType {} +impl ::core::clone::Clone for AppointmentStoreAccessType { + fn clone(&self) -> Self { + *self + } +} +pub type AppointmentStoreChange = *mut ::core::ffi::c_void; +pub type AppointmentStoreChangeReader = *mut ::core::ffi::c_void; +pub type AppointmentStoreChangeTracker = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] +#[repr(transparent)] +pub struct AppointmentStoreChangeType(pub i32); +impl AppointmentStoreChangeType { + pub const AppointmentCreated: Self = Self(0i32); + pub const AppointmentModified: Self = Self(1i32); + pub const AppointmentDeleted: Self = Self(2i32); + pub const ChangeTrackingLost: Self = Self(3i32); + pub const CalendarCreated: Self = Self(4i32); + pub const CalendarModified: Self = Self(5i32); + pub const CalendarDeleted: Self = Self(6i32); +} +impl ::core::marker::Copy for AppointmentStoreChangeType {} +impl ::core::clone::Clone for AppointmentStoreChangeType { + fn clone(&self) -> Self { + *self + } +} +pub type AppointmentStoreChangedDeferral = *mut ::core::ffi::c_void; +pub type AppointmentStoreChangedEventArgs = *mut ::core::ffi::c_void; +pub type AppointmentStoreNotificationTriggerDetails = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] +#[repr(transparent)] +pub struct AppointmentSummaryCardView(pub i32); +impl AppointmentSummaryCardView { + pub const System: Self = Self(0i32); + pub const App: Self = Self(1i32); +} +impl ::core::marker::Copy for AppointmentSummaryCardView {} +impl ::core::clone::Clone for AppointmentSummaryCardView { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] +#[repr(transparent)] +pub struct AppointmentWeekOfMonth(pub i32); +impl AppointmentWeekOfMonth { + pub const First: Self = Self(0i32); + pub const Second: Self = Self(1i32); + pub const Third: Self = Self(2i32); + pub const Fourth: Self = Self(3i32); + pub const Last: Self = Self(4i32); +} +impl ::core::marker::Copy for AppointmentWeekOfMonth {} +impl ::core::clone::Clone for AppointmentWeekOfMonth { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] +#[repr(transparent)] +pub struct FindAppointmentCalendarsOptions(pub u32); +impl FindAppointmentCalendarsOptions { + pub const None: Self = Self(0u32); + pub const IncludeHidden: Self = Self(1u32); +} +impl ::core::marker::Copy for FindAppointmentCalendarsOptions {} +impl ::core::clone::Clone for FindAppointmentCalendarsOptions { + fn clone(&self) -> Self { + *self + } +} +pub type FindAppointmentsOptions = *mut ::core::ffi::c_void; +pub type IAppointmentParticipant = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] +#[repr(transparent)] +pub struct RecurrenceType(pub i32); +impl RecurrenceType { + pub const Master: Self = Self(0i32); + pub const Instance: Self = Self(1i32); + pub const ExceptionInstance: Self = Self(2i32); +} +impl ::core::marker::Copy for RecurrenceType {} +impl ::core::clone::Clone for RecurrenceType { + fn clone(&self) -> Self { + *self + } +} diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Background/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Background/mod.rs new file mode 100644 index 000000000..6979d4188 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Background/mod.rs @@ -0,0 +1,290 @@ +pub type ActivitySensorTrigger = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Background\"`*"] +#[repr(transparent)] +pub struct AlarmAccessStatus(pub i32); +impl AlarmAccessStatus { + pub const Unspecified: Self = Self(0i32); + pub const AllowedWithWakeupCapability: Self = Self(1i32); + pub const AllowedWithoutWakeupCapability: Self = Self(2i32); + pub const Denied: Self = Self(3i32); +} +impl ::core::marker::Copy for AlarmAccessStatus {} +impl ::core::clone::Clone for AlarmAccessStatus { + fn clone(&self) -> Self { + *self + } +} +pub type AppBroadcastTrigger = *mut ::core::ffi::c_void; +pub type AppBroadcastTriggerProviderInfo = *mut ::core::ffi::c_void; +pub type ApplicationTrigger = *mut ::core::ffi::c_void; +pub type ApplicationTriggerDetails = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Background\"`*"] +#[repr(transparent)] +pub struct ApplicationTriggerResult(pub i32); +impl ApplicationTriggerResult { + pub const Allowed: Self = Self(0i32); + pub const CurrentlyRunning: Self = Self(1i32); + pub const DisabledByPolicy: Self = Self(2i32); + pub const UnknownError: Self = Self(3i32); +} +impl ::core::marker::Copy for ApplicationTriggerResult {} +impl ::core::clone::Clone for ApplicationTriggerResult { + fn clone(&self) -> Self { + *self + } +} +pub type AppointmentStoreNotificationTrigger = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Background\"`*"] +#[repr(transparent)] +pub struct BackgroundAccessRequestKind(pub i32); +impl BackgroundAccessRequestKind { + pub const AlwaysAllowed: Self = Self(0i32); + pub const AllowedSubjectToSystemPolicy: Self = Self(1i32); +} +impl ::core::marker::Copy for BackgroundAccessRequestKind {} +impl ::core::clone::Clone for BackgroundAccessRequestKind { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Background\"`*"] +#[repr(transparent)] +pub struct BackgroundAccessStatus(pub i32); +impl BackgroundAccessStatus { + pub const Unspecified: Self = Self(0i32); + pub const AllowedWithAlwaysOnRealTimeConnectivity: Self = Self(1i32); + pub const AllowedMayUseActiveRealTimeConnectivity: Self = Self(2i32); + pub const Denied: Self = Self(3i32); + pub const AlwaysAllowed: Self = Self(4i32); + pub const AllowedSubjectToSystemPolicy: Self = Self(5i32); + pub const DeniedBySystemPolicy: Self = Self(6i32); + pub const DeniedByUser: Self = Self(7i32); +} +impl ::core::marker::Copy for BackgroundAccessStatus {} +impl ::core::clone::Clone for BackgroundAccessStatus { + fn clone(&self) -> Self { + *self + } +} +pub type BackgroundTaskBuilder = *mut ::core::ffi::c_void; +pub type BackgroundTaskCanceledEventHandler = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Background\"`*"] +#[repr(transparent)] +pub struct BackgroundTaskCancellationReason(pub i32); +impl BackgroundTaskCancellationReason { + pub const Abort: Self = Self(0i32); + pub const Terminating: Self = Self(1i32); + pub const LoggingOff: Self = Self(2i32); + pub const ServicingUpdate: Self = Self(3i32); + pub const IdleTask: Self = Self(4i32); + pub const Uninstall: Self = Self(5i32); + pub const ConditionLoss: Self = Self(6i32); + pub const SystemPolicy: Self = Self(7i32); + pub const QuietHoursEntered: Self = Self(8i32); + pub const ExecutionTimeExceeded: Self = Self(9i32); + pub const ResourceRevocation: Self = Self(10i32); + pub const EnergySaver: Self = Self(11i32); +} +impl ::core::marker::Copy for BackgroundTaskCancellationReason {} +impl ::core::clone::Clone for BackgroundTaskCancellationReason { + fn clone(&self) -> Self { + *self + } +} +pub type BackgroundTaskCompletedEventArgs = *mut ::core::ffi::c_void; +pub type BackgroundTaskCompletedEventHandler = *mut ::core::ffi::c_void; +pub type BackgroundTaskDeferral = *mut ::core::ffi::c_void; +pub type BackgroundTaskProgressEventArgs = *mut ::core::ffi::c_void; +pub type BackgroundTaskProgressEventHandler = *mut ::core::ffi::c_void; +pub type BackgroundTaskRegistration = *mut ::core::ffi::c_void; +pub type BackgroundTaskRegistrationGroup = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Background\"`*"] +#[repr(transparent)] +pub struct BackgroundTaskThrottleCounter(pub i32); +impl BackgroundTaskThrottleCounter { + pub const All: Self = Self(0i32); + pub const Cpu: Self = Self(1i32); + pub const Network: Self = Self(2i32); +} +impl ::core::marker::Copy for BackgroundTaskThrottleCounter {} +impl ::core::clone::Clone for BackgroundTaskThrottleCounter { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Background\"`*"] +#[repr(transparent)] +pub struct BackgroundWorkCostValue(pub i32); +impl BackgroundWorkCostValue { + pub const Low: Self = Self(0i32); + pub const Medium: Self = Self(1i32); + pub const High: Self = Self(2i32); +} +impl ::core::marker::Copy for BackgroundWorkCostValue {} +impl ::core::clone::Clone for BackgroundWorkCostValue { + fn clone(&self) -> Self { + *self + } +} +pub type BluetoothLEAdvertisementPublisherTrigger = *mut ::core::ffi::c_void; +pub type BluetoothLEAdvertisementWatcherTrigger = *mut ::core::ffi::c_void; +pub type CachedFileUpdaterTrigger = *mut ::core::ffi::c_void; +pub type CachedFileUpdaterTriggerDetails = *mut ::core::ffi::c_void; +pub type ChatMessageNotificationTrigger = *mut ::core::ffi::c_void; +pub type ChatMessageReceivedNotificationTrigger = *mut ::core::ffi::c_void; +pub type CommunicationBlockingAppSetAsActiveTrigger = *mut ::core::ffi::c_void; +pub type ContactStoreNotificationTrigger = *mut ::core::ffi::c_void; +pub type ContentPrefetchTrigger = *mut ::core::ffi::c_void; +pub type ConversationalAgentTrigger = *mut ::core::ffi::c_void; +pub type CustomSystemEventTrigger = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Background\"`*"] +#[repr(transparent)] +pub struct CustomSystemEventTriggerRecurrence(pub i32); +impl CustomSystemEventTriggerRecurrence { + pub const Once: Self = Self(0i32); + pub const Always: Self = Self(1i32); +} +impl ::core::marker::Copy for CustomSystemEventTriggerRecurrence {} +impl ::core::clone::Clone for CustomSystemEventTriggerRecurrence { + fn clone(&self) -> Self { + *self + } +} +pub type DeviceConnectionChangeTrigger = *mut ::core::ffi::c_void; +pub type DeviceManufacturerNotificationTrigger = *mut ::core::ffi::c_void; +pub type DeviceServicingTrigger = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Background\"`*"] +#[repr(transparent)] +pub struct DeviceTriggerResult(pub i32); +impl DeviceTriggerResult { + pub const Allowed: Self = Self(0i32); + pub const DeniedByUser: Self = Self(1i32); + pub const DeniedBySystem: Self = Self(2i32); + pub const LowBattery: Self = Self(3i32); +} +impl ::core::marker::Copy for DeviceTriggerResult {} +impl ::core::clone::Clone for DeviceTriggerResult { + fn clone(&self) -> Self { + *self + } +} +pub type DeviceUseTrigger = *mut ::core::ffi::c_void; +pub type DeviceWatcherTrigger = *mut ::core::ffi::c_void; +pub type EmailStoreNotificationTrigger = *mut ::core::ffi::c_void; +pub type GattCharacteristicNotificationTrigger = *mut ::core::ffi::c_void; +pub type GattServiceProviderTrigger = *mut ::core::ffi::c_void; +pub type GattServiceProviderTriggerResult = *mut ::core::ffi::c_void; +pub type GeovisitTrigger = *mut ::core::ffi::c_void; +pub type IBackgroundCondition = *mut ::core::ffi::c_void; +pub type IBackgroundTask = *mut ::core::ffi::c_void; +pub type IBackgroundTaskInstance = *mut ::core::ffi::c_void; +pub type IBackgroundTaskInstance2 = *mut ::core::ffi::c_void; +pub type IBackgroundTaskInstance4 = *mut ::core::ffi::c_void; +pub type IBackgroundTaskRegistration = *mut ::core::ffi::c_void; +pub type IBackgroundTaskRegistration2 = *mut ::core::ffi::c_void; +pub type IBackgroundTaskRegistration3 = *mut ::core::ffi::c_void; +pub type IBackgroundTrigger = *mut ::core::ffi::c_void; +pub type LocationTrigger = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Background\"`*"] +#[repr(transparent)] +pub struct LocationTriggerType(pub i32); +impl LocationTriggerType { + pub const Geofence: Self = Self(0i32); +} +impl ::core::marker::Copy for LocationTriggerType {} +impl ::core::clone::Clone for LocationTriggerType { + fn clone(&self) -> Self { + *self + } +} +pub type MaintenanceTrigger = *mut ::core::ffi::c_void; +pub type MediaProcessingTrigger = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Background\"`*"] +#[repr(transparent)] +pub struct MediaProcessingTriggerResult(pub i32); +impl MediaProcessingTriggerResult { + pub const Allowed: Self = Self(0i32); + pub const CurrentlyRunning: Self = Self(1i32); + pub const DisabledByPolicy: Self = Self(2i32); + pub const UnknownError: Self = Self(3i32); +} +impl ::core::marker::Copy for MediaProcessingTriggerResult {} +impl ::core::clone::Clone for MediaProcessingTriggerResult { + fn clone(&self) -> Self { + *self + } +} +pub type MobileBroadbandDeviceServiceNotificationTrigger = *mut ::core::ffi::c_void; +pub type MobileBroadbandPcoDataChangeTrigger = *mut ::core::ffi::c_void; +pub type MobileBroadbandPinLockStateChangeTrigger = *mut ::core::ffi::c_void; +pub type MobileBroadbandRadioStateChangeTrigger = *mut ::core::ffi::c_void; +pub type MobileBroadbandRegistrationStateChangeTrigger = *mut ::core::ffi::c_void; +pub type NetworkOperatorDataUsageTrigger = *mut ::core::ffi::c_void; +pub type NetworkOperatorHotspotAuthenticationTrigger = *mut ::core::ffi::c_void; +pub type NetworkOperatorNotificationTrigger = *mut ::core::ffi::c_void; +pub type PaymentAppCanMakePaymentTrigger = *mut ::core::ffi::c_void; +pub type PhoneTrigger = *mut ::core::ffi::c_void; +pub type PushNotificationTrigger = *mut ::core::ffi::c_void; +pub type RcsEndUserMessageAvailableTrigger = *mut ::core::ffi::c_void; +pub type RfcommConnectionTrigger = *mut ::core::ffi::c_void; +pub type SecondaryAuthenticationFactorAuthenticationTrigger = *mut ::core::ffi::c_void; +pub type SensorDataThresholdTrigger = *mut ::core::ffi::c_void; +pub type SmartCardTrigger = *mut ::core::ffi::c_void; +pub type SmsMessageReceivedTrigger = *mut ::core::ffi::c_void; +pub type SocketActivityTrigger = *mut ::core::ffi::c_void; +pub type StorageLibraryChangeTrackerTrigger = *mut ::core::ffi::c_void; +pub type StorageLibraryContentChangedTrigger = *mut ::core::ffi::c_void; +pub type SystemCondition = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Background\"`*"] +#[repr(transparent)] +pub struct SystemConditionType(pub i32); +impl SystemConditionType { + pub const Invalid: Self = Self(0i32); + pub const UserPresent: Self = Self(1i32); + pub const UserNotPresent: Self = Self(2i32); + pub const InternetAvailable: Self = Self(3i32); + pub const InternetNotAvailable: Self = Self(4i32); + pub const SessionConnected: Self = Self(5i32); + pub const SessionDisconnected: Self = Self(6i32); + pub const FreeNetworkAvailable: Self = Self(7i32); + pub const BackgroundWorkCostNotHigh: Self = Self(8i32); +} +impl ::core::marker::Copy for SystemConditionType {} +impl ::core::clone::Clone for SystemConditionType { + fn clone(&self) -> Self { + *self + } +} +pub type SystemTrigger = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Background\"`*"] +#[repr(transparent)] +pub struct SystemTriggerType(pub i32); +impl SystemTriggerType { + pub const Invalid: Self = Self(0i32); + pub const SmsReceived: Self = Self(1i32); + pub const UserPresent: Self = Self(2i32); + pub const UserAway: Self = Self(3i32); + pub const NetworkStateChange: Self = Self(4i32); + pub const ControlChannelReset: Self = Self(5i32); + pub const InternetAvailable: Self = Self(6i32); + pub const SessionConnected: Self = Self(7i32); + pub const ServicingComplete: Self = Self(8i32); + pub const LockScreenApplicationAdded: Self = Self(9i32); + pub const LockScreenApplicationRemoved: Self = Self(10i32); + pub const TimeZoneChange: Self = Self(11i32); + pub const OnlineIdConnectedStateChange: Self = Self(12i32); + pub const BackgroundWorkCostChange: Self = Self(13i32); + pub const PowerStateChange: Self = Self(14i32); + pub const DefaultSignInAccountChange: Self = Self(15i32); +} +impl ::core::marker::Copy for SystemTriggerType {} +impl ::core::clone::Clone for SystemTriggerType { + fn clone(&self) -> Self { + *self + } +} +pub type TetheringEntitlementCheckTrigger = *mut ::core::ffi::c_void; +pub type TimeTrigger = *mut ::core::ffi::c_void; +pub type ToastNotificationActionTrigger = *mut ::core::ffi::c_void; +pub type ToastNotificationHistoryChangedTrigger = *mut ::core::ffi::c_void; +pub type UserNotificationChangedTrigger = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Calls/Background/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Calls/Background/mod.rs new file mode 100644 index 000000000..ed95a605c --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Calls/Background/mod.rs @@ -0,0 +1,89 @@ +#[doc = "*Required features: `\"ApplicationModel_Calls_Background\"`*"] +#[repr(transparent)] +pub struct PhoneCallBlockedReason(pub i32); +impl PhoneCallBlockedReason { + pub const InCallBlockingList: Self = Self(0i32); + pub const PrivateNumber: Self = Self(1i32); + pub const UnknownNumber: Self = Self(2i32); +} +impl ::core::marker::Copy for PhoneCallBlockedReason {} +impl ::core::clone::Clone for PhoneCallBlockedReason { + fn clone(&self) -> Self { + *self + } +} +pub type PhoneCallBlockedTriggerDetails = *mut ::core::ffi::c_void; +pub type PhoneCallOriginDataRequestTriggerDetails = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Calls_Background\"`*"] +#[repr(transparent)] +pub struct PhoneIncomingCallDismissedReason(pub i32); +impl PhoneIncomingCallDismissedReason { + pub const Unknown: Self = Self(0i32); + pub const CallRejected: Self = Self(1i32); + pub const TextReply: Self = Self(2i32); + pub const ConnectionLost: Self = Self(3i32); +} +impl ::core::marker::Copy for PhoneIncomingCallDismissedReason {} +impl ::core::clone::Clone for PhoneIncomingCallDismissedReason { + fn clone(&self) -> Self { + *self + } +} +pub type PhoneIncomingCallDismissedTriggerDetails = *mut ::core::ffi::c_void; +pub type PhoneIncomingCallNotificationTriggerDetails = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Calls_Background\"`*"] +#[repr(transparent)] +pub struct PhoneLineChangeKind(pub i32); +impl PhoneLineChangeKind { + pub const Added: Self = Self(0i32); + pub const Removed: Self = Self(1i32); + pub const PropertiesChanged: Self = Self(2i32); +} +impl ::core::marker::Copy for PhoneLineChangeKind {} +impl ::core::clone::Clone for PhoneLineChangeKind { + fn clone(&self) -> Self { + *self + } +} +pub type PhoneLineChangedTriggerDetails = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Calls_Background\"`*"] +#[repr(transparent)] +pub struct PhoneLineProperties(pub u32); +impl PhoneLineProperties { + pub const None: Self = Self(0u32); + pub const BrandingOptions: Self = Self(1u32); + pub const CanDial: Self = Self(2u32); + pub const CellularDetails: Self = Self(4u32); + pub const DisplayColor: Self = Self(8u32); + pub const DisplayName: Self = Self(16u32); + pub const NetworkName: Self = Self(32u32); + pub const NetworkState: Self = Self(64u32); + pub const Transport: Self = Self(128u32); + pub const Voicemail: Self = Self(256u32); +} +impl ::core::marker::Copy for PhoneLineProperties {} +impl ::core::clone::Clone for PhoneLineProperties { + fn clone(&self) -> Self { + *self + } +} +pub type PhoneNewVoicemailMessageTriggerDetails = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Calls_Background\"`*"] +#[repr(transparent)] +pub struct PhoneTriggerType(pub i32); +impl PhoneTriggerType { + pub const NewVoicemailMessage: Self = Self(0i32); + pub const CallHistoryChanged: Self = Self(1i32); + pub const LineChanged: Self = Self(2i32); + pub const AirplaneModeDisabledForEmergencyCall: Self = Self(3i32); + pub const CallOriginDataRequest: Self = Self(4i32); + pub const CallBlocked: Self = Self(5i32); + pub const IncomingCallDismissed: Self = Self(6i32); + pub const IncomingCallNotification: Self = Self(7i32); +} +impl ::core::marker::Copy for PhoneTriggerType {} +impl ::core::clone::Clone for PhoneTriggerType { + fn clone(&self) -> Self { + *self + } +} diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Calls/Provider/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Calls/Provider/mod.rs new file mode 100644 index 000000000..47d8f7fd7 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Calls/Provider/mod.rs @@ -0,0 +1 @@ +pub type PhoneCallOrigin = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Calls/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Calls/mod.rs new file mode 100644 index 000000000..7981e2b64 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Calls/mod.rs @@ -0,0 +1,437 @@ +#[cfg(feature = "ApplicationModel_Calls_Background")] +pub mod Background; +#[cfg(feature = "ApplicationModel_Calls_Provider")] +pub mod Provider; +pub type CallAnswerEventArgs = *mut ::core::ffi::c_void; +pub type CallRejectEventArgs = *mut ::core::ffi::c_void; +pub type CallStateChangeEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] +#[repr(transparent)] +pub struct CellularDtmfMode(pub i32); +impl CellularDtmfMode { + pub const Continuous: Self = Self(0i32); + pub const Burst: Self = Self(1i32); +} +impl ::core::marker::Copy for CellularDtmfMode {} +impl ::core::clone::Clone for CellularDtmfMode { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] +#[repr(transparent)] +pub struct DtmfKey(pub i32); +impl DtmfKey { + pub const D0: Self = Self(0i32); + pub const D1: Self = Self(1i32); + pub const D2: Self = Self(2i32); + pub const D3: Self = Self(3i32); + pub const D4: Self = Self(4i32); + pub const D5: Self = Self(5i32); + pub const D6: Self = Self(6i32); + pub const D7: Self = Self(7i32); + pub const D8: Self = Self(8i32); + pub const D9: Self = Self(9i32); + pub const Star: Self = Self(10i32); + pub const Pound: Self = Self(11i32); +} +impl ::core::marker::Copy for DtmfKey {} +impl ::core::clone::Clone for DtmfKey { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] +#[repr(transparent)] +pub struct DtmfToneAudioPlayback(pub i32); +impl DtmfToneAudioPlayback { + pub const Play: Self = Self(0i32); + pub const DoNotPlay: Self = Self(1i32); +} +impl ::core::marker::Copy for DtmfToneAudioPlayback {} +impl ::core::clone::Clone for DtmfToneAudioPlayback { + fn clone(&self) -> Self { + *self + } +} +pub type LockScreenCallEndCallDeferral = *mut ::core::ffi::c_void; +pub type LockScreenCallEndRequestedEventArgs = *mut ::core::ffi::c_void; +pub type LockScreenCallUI = *mut ::core::ffi::c_void; +pub type MuteChangeEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] +#[repr(transparent)] +pub struct PhoneAudioRoutingEndpoint(pub i32); +impl PhoneAudioRoutingEndpoint { + pub const Default: Self = Self(0i32); + pub const Bluetooth: Self = Self(1i32); + pub const Speakerphone: Self = Self(2i32); +} +impl ::core::marker::Copy for PhoneAudioRoutingEndpoint {} +impl ::core::clone::Clone for PhoneAudioRoutingEndpoint { + fn clone(&self) -> Self { + *self + } +} +pub type PhoneCall = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] +#[repr(transparent)] +pub struct PhoneCallAudioDevice(pub i32); +impl PhoneCallAudioDevice { + pub const Unknown: Self = Self(0i32); + pub const LocalDevice: Self = Self(1i32); + pub const RemoteDevice: Self = Self(2i32); +} +impl ::core::marker::Copy for PhoneCallAudioDevice {} +impl ::core::clone::Clone for PhoneCallAudioDevice { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] +#[repr(transparent)] +pub struct PhoneCallDirection(pub i32); +impl PhoneCallDirection { + pub const Unknown: Self = Self(0i32); + pub const Incoming: Self = Self(1i32); + pub const Outgoing: Self = Self(2i32); +} +impl ::core::marker::Copy for PhoneCallDirection {} +impl ::core::clone::Clone for PhoneCallDirection { + fn clone(&self) -> Self { + *self + } +} +pub type PhoneCallHistoryEntry = *mut ::core::ffi::c_void; +pub type PhoneCallHistoryEntryAddress = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] +#[repr(transparent)] +pub struct PhoneCallHistoryEntryMedia(pub i32); +impl PhoneCallHistoryEntryMedia { + pub const Audio: Self = Self(0i32); + pub const Video: Self = Self(1i32); +} +impl ::core::marker::Copy for PhoneCallHistoryEntryMedia {} +impl ::core::clone::Clone for PhoneCallHistoryEntryMedia { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] +#[repr(transparent)] +pub struct PhoneCallHistoryEntryOtherAppReadAccess(pub i32); +impl PhoneCallHistoryEntryOtherAppReadAccess { + pub const Full: Self = Self(0i32); + pub const SystemOnly: Self = Self(1i32); +} +impl ::core::marker::Copy for PhoneCallHistoryEntryOtherAppReadAccess {} +impl ::core::clone::Clone for PhoneCallHistoryEntryOtherAppReadAccess { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] +#[repr(transparent)] +pub struct PhoneCallHistoryEntryQueryDesiredMedia(pub u32); +impl PhoneCallHistoryEntryQueryDesiredMedia { + pub const None: Self = Self(0u32); + pub const Audio: Self = Self(1u32); + pub const Video: Self = Self(2u32); + pub const All: Self = Self(4294967295u32); +} +impl ::core::marker::Copy for PhoneCallHistoryEntryQueryDesiredMedia {} +impl ::core::clone::Clone for PhoneCallHistoryEntryQueryDesiredMedia { + fn clone(&self) -> Self { + *self + } +} +pub type PhoneCallHistoryEntryQueryOptions = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] +#[repr(transparent)] +pub struct PhoneCallHistoryEntryRawAddressKind(pub i32); +impl PhoneCallHistoryEntryRawAddressKind { + pub const PhoneNumber: Self = Self(0i32); + pub const Custom: Self = Self(1i32); +} +impl ::core::marker::Copy for PhoneCallHistoryEntryRawAddressKind {} +impl ::core::clone::Clone for PhoneCallHistoryEntryRawAddressKind { + fn clone(&self) -> Self { + *self + } +} +pub type PhoneCallHistoryEntryReader = *mut ::core::ffi::c_void; +pub type PhoneCallHistoryManagerForUser = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] +#[repr(transparent)] +pub struct PhoneCallHistorySourceIdKind(pub i32); +impl PhoneCallHistorySourceIdKind { + pub const CellularPhoneLineId: Self = Self(0i32); + pub const PackageFamilyName: Self = Self(1i32); +} +impl ::core::marker::Copy for PhoneCallHistorySourceIdKind {} +impl ::core::clone::Clone for PhoneCallHistorySourceIdKind { + fn clone(&self) -> Self { + *self + } +} +pub type PhoneCallHistoryStore = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] +#[repr(transparent)] +pub struct PhoneCallHistoryStoreAccessType(pub i32); +impl PhoneCallHistoryStoreAccessType { + pub const AppEntriesReadWrite: Self = Self(0i32); + pub const AllEntriesLimitedReadWrite: Self = Self(1i32); + pub const AllEntriesReadWrite: Self = Self(2i32); +} +impl ::core::marker::Copy for PhoneCallHistoryStoreAccessType {} +impl ::core::clone::Clone for PhoneCallHistoryStoreAccessType { + fn clone(&self) -> Self { + *self + } +} +pub type PhoneCallInfo = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] +#[repr(transparent)] +pub struct PhoneCallMedia(pub i32); +impl PhoneCallMedia { + pub const Audio: Self = Self(0i32); + pub const AudioAndVideo: Self = Self(1i32); + pub const AudioAndRealTimeText: Self = Self(2i32); +} +impl ::core::marker::Copy for PhoneCallMedia {} +impl ::core::clone::Clone for PhoneCallMedia { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] +#[repr(transparent)] +pub struct PhoneCallOperationStatus(pub i32); +impl PhoneCallOperationStatus { + pub const Succeeded: Self = Self(0i32); + pub const OtherFailure: Self = Self(1i32); + pub const TimedOut: Self = Self(2i32); + pub const ConnectionLost: Self = Self(3i32); + pub const InvalidCallState: Self = Self(4i32); +} +impl ::core::marker::Copy for PhoneCallOperationStatus {} +impl ::core::clone::Clone for PhoneCallOperationStatus { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] +#[repr(transparent)] +pub struct PhoneCallStatus(pub i32); +impl PhoneCallStatus { + pub const Lost: Self = Self(0i32); + pub const Incoming: Self = Self(1i32); + pub const Dialing: Self = Self(2i32); + pub const Talking: Self = Self(3i32); + pub const Held: Self = Self(4i32); + pub const Ended: Self = Self(5i32); +} +impl ::core::marker::Copy for PhoneCallStatus {} +impl ::core::clone::Clone for PhoneCallStatus { + fn clone(&self) -> Self { + *self + } +} +pub type PhoneCallStore = *mut ::core::ffi::c_void; +pub type PhoneCallVideoCapabilities = *mut ::core::ffi::c_void; +pub type PhoneCallsResult = *mut ::core::ffi::c_void; +pub type PhoneDialOptions = *mut ::core::ffi::c_void; +pub type PhoneLine = *mut ::core::ffi::c_void; +pub type PhoneLineCellularDetails = *mut ::core::ffi::c_void; +pub type PhoneLineConfiguration = *mut ::core::ffi::c_void; +pub type PhoneLineDialResult = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] +#[repr(transparent)] +pub struct PhoneLineNetworkOperatorDisplayTextLocation(pub i32); +impl PhoneLineNetworkOperatorDisplayTextLocation { + pub const Default: Self = Self(0i32); + pub const Tile: Self = Self(1i32); + pub const Dialer: Self = Self(2i32); + pub const InCallUI: Self = Self(3i32); +} +impl ::core::marker::Copy for PhoneLineNetworkOperatorDisplayTextLocation {} +impl ::core::clone::Clone for PhoneLineNetworkOperatorDisplayTextLocation { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] +#[repr(transparent)] +pub struct PhoneLineOperationStatus(pub i32); +impl PhoneLineOperationStatus { + pub const Succeeded: Self = Self(0i32); + pub const OtherFailure: Self = Self(1i32); + pub const TimedOut: Self = Self(2i32); + pub const ConnectionLost: Self = Self(3i32); + pub const InvalidCallState: Self = Self(4i32); +} +impl ::core::marker::Copy for PhoneLineOperationStatus {} +impl ::core::clone::Clone for PhoneLineOperationStatus { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] +#[repr(transparent)] +pub struct PhoneLineTransport(pub i32); +impl PhoneLineTransport { + pub const Cellular: Self = Self(0i32); + pub const VoipApp: Self = Self(1i32); + pub const Bluetooth: Self = Self(2i32); +} +impl ::core::marker::Copy for PhoneLineTransport {} +impl ::core::clone::Clone for PhoneLineTransport { + fn clone(&self) -> Self { + *self + } +} +pub type PhoneLineTransportDevice = *mut ::core::ffi::c_void; +pub type PhoneLineWatcher = *mut ::core::ffi::c_void; +pub type PhoneLineWatcherEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] +#[repr(transparent)] +pub struct PhoneLineWatcherStatus(pub i32); +impl PhoneLineWatcherStatus { + pub const Created: Self = Self(0i32); + pub const Started: Self = Self(1i32); + pub const EnumerationCompleted: Self = Self(2i32); + pub const Stopped: Self = Self(3i32); +} +impl ::core::marker::Copy for PhoneLineWatcherStatus {} +impl ::core::clone::Clone for PhoneLineWatcherStatus { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] +#[repr(transparent)] +pub struct PhoneNetworkState(pub i32); +impl PhoneNetworkState { + pub const Unknown: Self = Self(0i32); + pub const NoSignal: Self = Self(1i32); + pub const Deregistered: Self = Self(2i32); + pub const Denied: Self = Self(3i32); + pub const Searching: Self = Self(4i32); + pub const Home: Self = Self(5i32); + pub const RoamingInternational: Self = Self(6i32); + pub const RoamingDomestic: Self = Self(7i32); +} +impl ::core::marker::Copy for PhoneNetworkState {} +impl ::core::clone::Clone for PhoneNetworkState { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] +#[repr(transparent)] +pub struct PhoneSimState(pub i32); +impl PhoneSimState { + pub const Unknown: Self = Self(0i32); + pub const PinNotRequired: Self = Self(1i32); + pub const PinUnlocked: Self = Self(2i32); + pub const PinLocked: Self = Self(3i32); + pub const PukLocked: Self = Self(4i32); + pub const NotInserted: Self = Self(5i32); + pub const Invalid: Self = Self(6i32); + pub const Disabled: Self = Self(7i32); +} +impl ::core::marker::Copy for PhoneSimState {} +impl ::core::clone::Clone for PhoneSimState { + fn clone(&self) -> Self { + *self + } +} +pub type PhoneVoicemail = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] +#[repr(transparent)] +pub struct PhoneVoicemailType(pub i32); +impl PhoneVoicemailType { + pub const None: Self = Self(0i32); + pub const Traditional: Self = Self(1i32); + pub const Visual: Self = Self(2i32); +} +impl ::core::marker::Copy for PhoneVoicemailType {} +impl ::core::clone::Clone for PhoneVoicemailType { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] +#[repr(transparent)] +pub struct TransportDeviceAudioRoutingStatus(pub i32); +impl TransportDeviceAudioRoutingStatus { + pub const Unknown: Self = Self(0i32); + pub const CanRouteToLocalDevice: Self = Self(1i32); + pub const CannotRouteToLocalDevice: Self = Self(2i32); +} +impl ::core::marker::Copy for TransportDeviceAudioRoutingStatus {} +impl ::core::clone::Clone for TransportDeviceAudioRoutingStatus { + fn clone(&self) -> Self { + *self + } +} +pub type VoipCallCoordinator = *mut ::core::ffi::c_void; +pub type VoipPhoneCall = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] +#[repr(transparent)] +pub struct VoipPhoneCallMedia(pub u32); +impl VoipPhoneCallMedia { + pub const None: Self = Self(0u32); + pub const Audio: Self = Self(1u32); + pub const Video: Self = Self(2u32); +} +impl ::core::marker::Copy for VoipPhoneCallMedia {} +impl ::core::clone::Clone for VoipPhoneCallMedia { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] +#[repr(transparent)] +pub struct VoipPhoneCallRejectReason(pub i32); +impl VoipPhoneCallRejectReason { + pub const UserIgnored: Self = Self(0i32); + pub const TimedOut: Self = Self(1i32); + pub const OtherIncomingCall: Self = Self(2i32); + pub const EmergencyCallExists: Self = Self(3i32); + pub const InvalidCallState: Self = Self(4i32); +} +impl ::core::marker::Copy for VoipPhoneCallRejectReason {} +impl ::core::clone::Clone for VoipPhoneCallRejectReason { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] +#[repr(transparent)] +pub struct VoipPhoneCallResourceReservationStatus(pub i32); +impl VoipPhoneCallResourceReservationStatus { + pub const Success: Self = Self(0i32); + pub const ResourcesNotAvailable: Self = Self(1i32); +} +impl ::core::marker::Copy for VoipPhoneCallResourceReservationStatus {} +impl ::core::clone::Clone for VoipPhoneCallResourceReservationStatus { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] +#[repr(transparent)] +pub struct VoipPhoneCallState(pub i32); +impl VoipPhoneCallState { + pub const Ended: Self = Self(0i32); + pub const Held: Self = Self(1i32); + pub const Active: Self = Self(2i32); + pub const Incoming: Self = Self(3i32); + pub const Outgoing: Self = Self(4i32); +} +impl ::core::marker::Copy for VoipPhoneCallState {} +impl ::core::clone::Clone for VoipPhoneCallState { + fn clone(&self) -> Self { + *self + } +} diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Chat/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Chat/mod.rs new file mode 100644 index 000000000..db2b7a114 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Chat/mod.rs @@ -0,0 +1,254 @@ +pub type ChatCapabilities = *mut ::core::ffi::c_void; +pub type ChatConversation = *mut ::core::ffi::c_void; +pub type ChatConversationReader = *mut ::core::ffi::c_void; +pub type ChatConversationThreadingInfo = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] +#[repr(transparent)] +pub struct ChatConversationThreadingKind(pub i32); +impl ChatConversationThreadingKind { + pub const Participants: Self = Self(0i32); + pub const ContactId: Self = Self(1i32); + pub const ConversationId: Self = Self(2i32); + pub const Custom: Self = Self(3i32); +} +impl ::core::marker::Copy for ChatConversationThreadingKind {} +impl ::core::clone::Clone for ChatConversationThreadingKind { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] +#[repr(transparent)] +pub struct ChatItemKind(pub i32); +impl ChatItemKind { + pub const Message: Self = Self(0i32); + pub const Conversation: Self = Self(1i32); +} +impl ::core::marker::Copy for ChatItemKind {} +impl ::core::clone::Clone for ChatItemKind { + fn clone(&self) -> Self { + *self + } +} +pub type ChatMessage = *mut ::core::ffi::c_void; +pub type ChatMessageAttachment = *mut ::core::ffi::c_void; +pub type ChatMessageChange = *mut ::core::ffi::c_void; +pub type ChatMessageChangeReader = *mut ::core::ffi::c_void; +pub type ChatMessageChangeTracker = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] +#[repr(transparent)] +pub struct ChatMessageChangeType(pub i32); +impl ChatMessageChangeType { + pub const MessageCreated: Self = Self(0i32); + pub const MessageModified: Self = Self(1i32); + pub const MessageDeleted: Self = Self(2i32); + pub const ChangeTrackingLost: Self = Self(3i32); +} +impl ::core::marker::Copy for ChatMessageChangeType {} +impl ::core::clone::Clone for ChatMessageChangeType { + fn clone(&self) -> Self { + *self + } +} +pub type ChatMessageChangedDeferral = *mut ::core::ffi::c_void; +pub type ChatMessageChangedEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] +#[repr(transparent)] +pub struct ChatMessageKind(pub i32); +impl ChatMessageKind { + pub const Standard: Self = Self(0i32); + pub const FileTransferRequest: Self = Self(1i32); + pub const TransportCustom: Self = Self(2i32); + pub const JoinedConversation: Self = Self(3i32); + pub const LeftConversation: Self = Self(4i32); + pub const OtherParticipantJoinedConversation: Self = Self(5i32); + pub const OtherParticipantLeftConversation: Self = Self(6i32); +} +impl ::core::marker::Copy for ChatMessageKind {} +impl ::core::clone::Clone for ChatMessageKind { + fn clone(&self) -> Self { + *self + } +} +pub type ChatMessageNotificationTriggerDetails = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] +#[repr(transparent)] +pub struct ChatMessageOperatorKind(pub i32); +impl ChatMessageOperatorKind { + pub const Unspecified: Self = Self(0i32); + pub const Sms: Self = Self(1i32); + pub const Mms: Self = Self(2i32); + pub const Rcs: Self = Self(3i32); +} +impl ::core::marker::Copy for ChatMessageOperatorKind {} +impl ::core::clone::Clone for ChatMessageOperatorKind { + fn clone(&self) -> Self { + *self + } +} +pub type ChatMessageReader = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] +#[repr(transparent)] +pub struct ChatMessageStatus(pub i32); +impl ChatMessageStatus { + pub const Draft: Self = Self(0i32); + pub const Sending: Self = Self(1i32); + pub const Sent: Self = Self(2i32); + pub const SendRetryNeeded: Self = Self(3i32); + pub const SendFailed: Self = Self(4i32); + pub const Received: Self = Self(5i32); + pub const ReceiveDownloadNeeded: Self = Self(6i32); + pub const ReceiveDownloadFailed: Self = Self(7i32); + pub const ReceiveDownloading: Self = Self(8i32); + pub const Deleted: Self = Self(9i32); + pub const Declined: Self = Self(10i32); + pub const Cancelled: Self = Self(11i32); + pub const Recalled: Self = Self(12i32); + pub const ReceiveRetryNeeded: Self = Self(13i32); +} +impl ::core::marker::Copy for ChatMessageStatus {} +impl ::core::clone::Clone for ChatMessageStatus { + fn clone(&self) -> Self { + *self + } +} +pub type ChatMessageStore = *mut ::core::ffi::c_void; +pub type ChatMessageStoreChangedEventArgs = *mut ::core::ffi::c_void; +pub type ChatMessageTransport = *mut ::core::ffi::c_void; +pub type ChatMessageTransportConfiguration = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] +#[repr(transparent)] +pub struct ChatMessageTransportKind(pub i32); +impl ChatMessageTransportKind { + pub const Text: Self = Self(0i32); + pub const Untriaged: Self = Self(1i32); + pub const Blocked: Self = Self(2i32); + pub const Custom: Self = Self(3i32); +} +impl ::core::marker::Copy for ChatMessageTransportKind {} +impl ::core::clone::Clone for ChatMessageTransportKind { + fn clone(&self) -> Self { + *self + } +} +pub type ChatMessageValidationResult = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] +#[repr(transparent)] +pub struct ChatMessageValidationStatus(pub i32); +impl ChatMessageValidationStatus { + pub const Valid: Self = Self(0i32); + pub const NoRecipients: Self = Self(1i32); + pub const InvalidData: Self = Self(2i32); + pub const MessageTooLarge: Self = Self(3i32); + pub const TooManyRecipients: Self = Self(4i32); + pub const TransportInactive: Self = Self(5i32); + pub const TransportNotFound: Self = Self(6i32); + pub const TooManyAttachments: Self = Self(7i32); + pub const InvalidRecipients: Self = Self(8i32); + pub const InvalidBody: Self = Self(9i32); + pub const InvalidOther: Self = Self(10i32); + pub const ValidWithLargeMessage: Self = Self(11i32); + pub const VoiceRoamingRestriction: Self = Self(12i32); + pub const DataRoamingRestriction: Self = Self(13i32); +} +impl ::core::marker::Copy for ChatMessageValidationStatus {} +impl ::core::clone::Clone for ChatMessageValidationStatus { + fn clone(&self) -> Self { + *self + } +} +pub type ChatQueryOptions = *mut ::core::ffi::c_void; +pub type ChatRecipientDeliveryInfo = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] +#[repr(transparent)] +pub struct ChatRestoreHistorySpan(pub i32); +impl ChatRestoreHistorySpan { + pub const LastMonth: Self = Self(0i32); + pub const LastYear: Self = Self(1i32); + pub const AnyTime: Self = Self(2i32); +} +impl ::core::marker::Copy for ChatRestoreHistorySpan {} +impl ::core::clone::Clone for ChatRestoreHistorySpan { + fn clone(&self) -> Self { + *self + } +} +pub type ChatSearchReader = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] +#[repr(transparent)] +pub struct ChatStoreChangedEventKind(pub i32); +impl ChatStoreChangedEventKind { + pub const NotificationsMissed: Self = Self(0i32); + pub const StoreModified: Self = Self(1i32); + pub const MessageCreated: Self = Self(2i32); + pub const MessageModified: Self = Self(3i32); + pub const MessageDeleted: Self = Self(4i32); + pub const ConversationModified: Self = Self(5i32); + pub const ConversationDeleted: Self = Self(6i32); + pub const ConversationTransportDeleted: Self = Self(7i32); +} +impl ::core::marker::Copy for ChatStoreChangedEventKind {} +impl ::core::clone::Clone for ChatStoreChangedEventKind { + fn clone(&self) -> Self { + *self + } +} +pub type ChatSyncConfiguration = *mut ::core::ffi::c_void; +pub type ChatSyncManager = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] +#[repr(transparent)] +pub struct ChatTransportErrorCodeCategory(pub i32); +impl ChatTransportErrorCodeCategory { + pub const None: Self = Self(0i32); + pub const Http: Self = Self(1i32); + pub const Network: Self = Self(2i32); + pub const MmsServer: Self = Self(3i32); +} +impl ::core::marker::Copy for ChatTransportErrorCodeCategory {} +impl ::core::clone::Clone for ChatTransportErrorCodeCategory { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] +#[repr(transparent)] +pub struct ChatTransportInterpretedErrorCode(pub i32); +impl ChatTransportInterpretedErrorCode { + pub const None: Self = Self(0i32); + pub const Unknown: Self = Self(1i32); + pub const InvalidRecipientAddress: Self = Self(2i32); + pub const NetworkConnectivity: Self = Self(3i32); + pub const ServiceDenied: Self = Self(4i32); + pub const Timeout: Self = Self(5i32); +} +impl ::core::marker::Copy for ChatTransportInterpretedErrorCode {} +impl ::core::clone::Clone for ChatTransportInterpretedErrorCode { + fn clone(&self) -> Self { + *self + } +} +pub type IChatItem = *mut ::core::ffi::c_void; +pub type RcsEndUserMessage = *mut ::core::ffi::c_void; +pub type RcsEndUserMessageAction = *mut ::core::ffi::c_void; +pub type RcsEndUserMessageAvailableEventArgs = *mut ::core::ffi::c_void; +pub type RcsEndUserMessageAvailableTriggerDetails = *mut ::core::ffi::c_void; +pub type RcsEndUserMessageManager = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] +#[repr(transparent)] +pub struct RcsServiceKind(pub i32); +impl RcsServiceKind { + pub const Chat: Self = Self(0i32); + pub const GroupChat: Self = Self(1i32); + pub const FileTransfer: Self = Self(2i32); + pub const Capability: Self = Self(3i32); +} +impl ::core::marker::Copy for RcsServiceKind {} +impl ::core::clone::Clone for RcsServiceKind { + fn clone(&self) -> Self { + *self + } +} +pub type RcsServiceKindSupportedChangedEventArgs = *mut ::core::ffi::c_void; +pub type RcsTransport = *mut ::core::ffi::c_void; +pub type RcsTransportConfiguration = *mut ::core::ffi::c_void; +pub type RemoteParticipantComposingChangedEventArgs = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs @@ -0,0 +1 @@ + diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Contacts/DataProvider/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Contacts/DataProvider/mod.rs new file mode 100644 index 000000000..c3fa83f83 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Contacts/DataProvider/mod.rs @@ -0,0 +1,10 @@ +pub type ContactDataProviderConnection = *mut ::core::ffi::c_void; +pub type ContactDataProviderTriggerDetails = *mut ::core::ffi::c_void; +pub type ContactListCreateOrUpdateContactRequest = *mut ::core::ffi::c_void; +pub type ContactListCreateOrUpdateContactRequestEventArgs = *mut ::core::ffi::c_void; +pub type ContactListDeleteContactRequest = *mut ::core::ffi::c_void; +pub type ContactListDeleteContactRequestEventArgs = *mut ::core::ffi::c_void; +pub type ContactListServerSearchReadBatchRequest = *mut ::core::ffi::c_void; +pub type ContactListServerSearchReadBatchRequestEventArgs = *mut ::core::ffi::c_void; +pub type ContactListSyncManagerSyncRequest = *mut ::core::ffi::c_void; +pub type ContactListSyncManagerSyncRequestEventArgs = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Contacts/Provider/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Contacts/Provider/mod.rs new file mode 100644 index 000000000..d200d329e --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Contacts/Provider/mod.rs @@ -0,0 +1,16 @@ +#[doc = "*Required features: `\"ApplicationModel_Contacts_Provider\"`*"] +#[repr(transparent)] +pub struct AddContactResult(pub i32); +impl AddContactResult { + pub const Added: Self = Self(0i32); + pub const AlreadyAdded: Self = Self(1i32); + pub const Unavailable: Self = Self(2i32); +} +impl ::core::marker::Copy for AddContactResult {} +impl ::core::clone::Clone for AddContactResult { + fn clone(&self) -> Self { + *self + } +} +pub type ContactPickerUI = *mut ::core::ffi::c_void; +pub type ContactRemovedEventArgs = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Contacts/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Contacts/mod.rs new file mode 100644 index 000000000..cb88f9365 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Contacts/mod.rs @@ -0,0 +1,424 @@ +#[cfg(feature = "ApplicationModel_Contacts_DataProvider")] +pub mod DataProvider; +#[cfg(feature = "ApplicationModel_Contacts_Provider")] +pub mod Provider; +pub type AggregateContactManager = *mut ::core::ffi::c_void; +pub type Contact = *mut ::core::ffi::c_void; +pub type ContactAddress = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactAddressKind(pub i32); +impl ContactAddressKind { + pub const Home: Self = Self(0i32); + pub const Work: Self = Self(1i32); + pub const Other: Self = Self(2i32); +} +impl ::core::marker::Copy for ContactAddressKind {} +impl ::core::clone::Clone for ContactAddressKind { + fn clone(&self) -> Self { + *self + } +} +pub type ContactAnnotation = *mut ::core::ffi::c_void; +pub type ContactAnnotationList = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactAnnotationOperations(pub u32); +impl ContactAnnotationOperations { + pub const None: Self = Self(0u32); + pub const ContactProfile: Self = Self(1u32); + pub const Message: Self = Self(2u32); + pub const AudioCall: Self = Self(4u32); + pub const VideoCall: Self = Self(8u32); + pub const SocialFeeds: Self = Self(16u32); + pub const Share: Self = Self(32u32); +} +impl ::core::marker::Copy for ContactAnnotationOperations {} +impl ::core::clone::Clone for ContactAnnotationOperations { + fn clone(&self) -> Self { + *self + } +} +pub type ContactAnnotationStore = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactAnnotationStoreAccessType(pub i32); +impl ContactAnnotationStoreAccessType { + pub const AppAnnotationsReadWrite: Self = Self(0i32); + pub const AllAnnotationsReadWrite: Self = Self(1i32); +} +impl ::core::marker::Copy for ContactAnnotationStoreAccessType {} +impl ::core::clone::Clone for ContactAnnotationStoreAccessType { + fn clone(&self) -> Self { + *self + } +} +pub type ContactBatch = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactBatchStatus(pub i32); +impl ContactBatchStatus { + pub const Success: Self = Self(0i32); + pub const ServerSearchSyncManagerError: Self = Self(1i32); + pub const ServerSearchUnknownError: Self = Self(2i32); +} +impl ::core::marker::Copy for ContactBatchStatus {} +impl ::core::clone::Clone for ContactBatchStatus { + fn clone(&self) -> Self { + *self + } +} +pub type ContactCardDelayedDataLoader = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactCardHeaderKind(pub i32); +impl ContactCardHeaderKind { + pub const Default: Self = Self(0i32); + pub const Basic: Self = Self(1i32); + pub const Enterprise: Self = Self(2i32); +} +impl ::core::marker::Copy for ContactCardHeaderKind {} +impl ::core::clone::Clone for ContactCardHeaderKind { + fn clone(&self) -> Self { + *self + } +} +pub type ContactCardOptions = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactCardTabKind(pub i32); +impl ContactCardTabKind { + pub const Default: Self = Self(0i32); + pub const Email: Self = Self(1i32); + pub const Messaging: Self = Self(2i32); + pub const Phone: Self = Self(3i32); + pub const Video: Self = Self(4i32); + pub const OrganizationalHierarchy: Self = Self(5i32); +} +impl ::core::marker::Copy for ContactCardTabKind {} +impl ::core::clone::Clone for ContactCardTabKind { + fn clone(&self) -> Self { + *self + } +} +pub type ContactChange = *mut ::core::ffi::c_void; +pub type ContactChangeReader = *mut ::core::ffi::c_void; +pub type ContactChangeTracker = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactChangeType(pub i32); +impl ContactChangeType { + pub const Created: Self = Self(0i32); + pub const Modified: Self = Self(1i32); + pub const Deleted: Self = Self(2i32); + pub const ChangeTrackingLost: Self = Self(3i32); +} +impl ::core::marker::Copy for ContactChangeType {} +impl ::core::clone::Clone for ContactChangeType { + fn clone(&self) -> Self { + *self + } +} +pub type ContactChangedDeferral = *mut ::core::ffi::c_void; +pub type ContactChangedEventArgs = *mut ::core::ffi::c_void; +pub type ContactConnectedServiceAccount = *mut ::core::ffi::c_void; +pub type ContactDate = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactDateKind(pub i32); +impl ContactDateKind { + pub const Birthday: Self = Self(0i32); + pub const Anniversary: Self = Self(1i32); + pub const Other: Self = Self(2i32); +} +impl ::core::marker::Copy for ContactDateKind {} +impl ::core::clone::Clone for ContactDateKind { + fn clone(&self) -> Self { + *self + } +} +pub type ContactEmail = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactEmailKind(pub i32); +impl ContactEmailKind { + pub const Personal: Self = Self(0i32); + pub const Work: Self = Self(1i32); + pub const Other: Self = Self(2i32); +} +impl ::core::marker::Copy for ContactEmailKind {} +impl ::core::clone::Clone for ContactEmailKind { + fn clone(&self) -> Self { + *self + } +} +pub type ContactField = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactFieldCategory(pub i32); +impl ContactFieldCategory { + pub const None: Self = Self(0i32); + pub const Home: Self = Self(1i32); + pub const Work: Self = Self(2i32); + pub const Mobile: Self = Self(3i32); + pub const Other: Self = Self(4i32); +} +impl ::core::marker::Copy for ContactFieldCategory {} +impl ::core::clone::Clone for ContactFieldCategory { + fn clone(&self) -> Self { + *self + } +} +pub type ContactFieldFactory = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactFieldType(pub i32); +impl ContactFieldType { + pub const Email: Self = Self(0i32); + pub const PhoneNumber: Self = Self(1i32); + pub const Location: Self = Self(2i32); + pub const InstantMessage: Self = Self(3i32); + pub const Custom: Self = Self(4i32); + pub const ConnectedServiceAccount: Self = Self(5i32); + pub const ImportantDate: Self = Self(6i32); + pub const Address: Self = Self(7i32); + pub const SignificantOther: Self = Self(8i32); + pub const Notes: Self = Self(9i32); + pub const Website: Self = Self(10i32); + pub const JobInfo: Self = Self(11i32); +} +impl ::core::marker::Copy for ContactFieldType {} +impl ::core::clone::Clone for ContactFieldType { + fn clone(&self) -> Self { + *self + } +} +pub type ContactGroup = *mut ::core::ffi::c_void; +pub type ContactInformation = *mut ::core::ffi::c_void; +pub type ContactInstantMessageField = *mut ::core::ffi::c_void; +pub type ContactJobInfo = *mut ::core::ffi::c_void; +pub type ContactList = *mut ::core::ffi::c_void; +pub type ContactListLimitedWriteOperations = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactListOtherAppReadAccess(pub i32); +impl ContactListOtherAppReadAccess { + pub const SystemOnly: Self = Self(0i32); + pub const Limited: Self = Self(1i32); + pub const Full: Self = Self(2i32); + pub const None: Self = Self(3i32); +} +impl ::core::marker::Copy for ContactListOtherAppReadAccess {} +impl ::core::clone::Clone for ContactListOtherAppReadAccess { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactListOtherAppWriteAccess(pub i32); +impl ContactListOtherAppWriteAccess { + pub const None: Self = Self(0i32); + pub const SystemOnly: Self = Self(1i32); + pub const Limited: Self = Self(2i32); +} +impl ::core::marker::Copy for ContactListOtherAppWriteAccess {} +impl ::core::clone::Clone for ContactListOtherAppWriteAccess { + fn clone(&self) -> Self { + *self + } +} +pub type ContactListSyncConstraints = *mut ::core::ffi::c_void; +pub type ContactListSyncManager = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactListSyncStatus(pub i32); +impl ContactListSyncStatus { + pub const Idle: Self = Self(0i32); + pub const Syncing: Self = Self(1i32); + pub const UpToDate: Self = Self(2i32); + pub const AuthenticationError: Self = Self(3i32); + pub const PolicyError: Self = Self(4i32); + pub const UnknownError: Self = Self(5i32); + pub const ManualAccountRemovalRequired: Self = Self(6i32); +} +impl ::core::marker::Copy for ContactListSyncStatus {} +impl ::core::clone::Clone for ContactListSyncStatus { + fn clone(&self) -> Self { + *self + } +} +pub type ContactLocationField = *mut ::core::ffi::c_void; +pub type ContactManagerForUser = *mut ::core::ffi::c_void; +pub type ContactMatchReason = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactMatchReasonKind(pub i32); +impl ContactMatchReasonKind { + pub const Name: Self = Self(0i32); + pub const EmailAddress: Self = Self(1i32); + pub const PhoneNumber: Self = Self(2i32); + pub const JobInfo: Self = Self(3i32); + pub const YomiName: Self = Self(4i32); + pub const Other: Self = Self(5i32); +} +impl ::core::marker::Copy for ContactMatchReasonKind {} +impl ::core::clone::Clone for ContactMatchReasonKind { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactNameOrder(pub i32); +impl ContactNameOrder { + pub const FirstNameLastName: Self = Self(0i32); + pub const LastNameFirstName: Self = Self(1i32); +} +impl ::core::marker::Copy for ContactNameOrder {} +impl ::core::clone::Clone for ContactNameOrder { + fn clone(&self) -> Self { + *self + } +} +pub type ContactPanel = *mut ::core::ffi::c_void; +pub type ContactPanelClosingEventArgs = *mut ::core::ffi::c_void; +pub type ContactPanelLaunchFullAppRequestedEventArgs = *mut ::core::ffi::c_void; +pub type ContactPhone = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactPhoneKind(pub i32); +impl ContactPhoneKind { + pub const Home: Self = Self(0i32); + pub const Mobile: Self = Self(1i32); + pub const Work: Self = Self(2i32); + pub const Other: Self = Self(3i32); + pub const Pager: Self = Self(4i32); + pub const BusinessFax: Self = Self(5i32); + pub const HomeFax: Self = Self(6i32); + pub const Company: Self = Self(7i32); + pub const Assistant: Self = Self(8i32); + pub const Radio: Self = Self(9i32); +} +impl ::core::marker::Copy for ContactPhoneKind {} +impl ::core::clone::Clone for ContactPhoneKind { + fn clone(&self) -> Self { + *self + } +} +pub type ContactPicker = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactQueryDesiredFields(pub u32); +impl ContactQueryDesiredFields { + pub const None: Self = Self(0u32); + pub const PhoneNumber: Self = Self(1u32); + pub const EmailAddress: Self = Self(2u32); + pub const PostalAddress: Self = Self(4u32); +} +impl ::core::marker::Copy for ContactQueryDesiredFields {} +impl ::core::clone::Clone for ContactQueryDesiredFields { + fn clone(&self) -> Self { + *self + } +} +pub type ContactQueryOptions = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactQuerySearchFields(pub u32); +impl ContactQuerySearchFields { + pub const None: Self = Self(0u32); + pub const Name: Self = Self(1u32); + pub const Email: Self = Self(2u32); + pub const Phone: Self = Self(4u32); + pub const All: Self = Self(4294967295u32); +} +impl ::core::marker::Copy for ContactQuerySearchFields {} +impl ::core::clone::Clone for ContactQuerySearchFields { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactQuerySearchScope(pub i32); +impl ContactQuerySearchScope { + pub const Local: Self = Self(0i32); + pub const Server: Self = Self(1i32); +} +impl ::core::marker::Copy for ContactQuerySearchScope {} +impl ::core::clone::Clone for ContactQuerySearchScope { + fn clone(&self) -> Self { + *self + } +} +pub type ContactQueryTextSearch = *mut ::core::ffi::c_void; +pub type ContactReader = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactRelationship(pub i32); +impl ContactRelationship { + pub const Other: Self = Self(0i32); + pub const Spouse: Self = Self(1i32); + pub const Partner: Self = Self(2i32); + pub const Sibling: Self = Self(3i32); + pub const Parent: Self = Self(4i32); + pub const Child: Self = Self(5i32); +} +impl ::core::marker::Copy for ContactRelationship {} +impl ::core::clone::Clone for ContactRelationship { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactSelectionMode(pub i32); +impl ContactSelectionMode { + pub const Contacts: Self = Self(0i32); + pub const Fields: Self = Self(1i32); +} +impl ::core::marker::Copy for ContactSelectionMode {} +impl ::core::clone::Clone for ContactSelectionMode { + fn clone(&self) -> Self { + *self + } +} +pub type ContactSignificantOther = *mut ::core::ffi::c_void; +pub type ContactStore = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactStoreAccessType(pub i32); +impl ContactStoreAccessType { + pub const AppContactsReadWrite: Self = Self(0i32); + pub const AllContactsReadOnly: Self = Self(1i32); + pub const AllContactsReadWrite: Self = Self(2i32); +} +impl ::core::marker::Copy for ContactStoreAccessType {} +impl ::core::clone::Clone for ContactStoreAccessType { + fn clone(&self) -> Self { + *self + } +} +pub type ContactStoreNotificationTriggerDetails = *mut ::core::ffi::c_void; +pub type ContactWebsite = *mut ::core::ffi::c_void; +pub type FullContactCardOptions = *mut ::core::ffi::c_void; +pub type IContactField = *mut ::core::ffi::c_void; +pub type IContactFieldFactory = *mut ::core::ffi::c_void; +pub type IContactInstantMessageFieldFactory = *mut ::core::ffi::c_void; +pub type IContactLocationFieldFactory = *mut ::core::ffi::c_void; +pub type PinnedContactIdsQueryResult = *mut ::core::ffi::c_void; +pub type PinnedContactManager = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct PinnedContactSurface(pub i32); +impl PinnedContactSurface { + pub const StartMenu: Self = Self(0i32); + pub const Taskbar: Self = Self(1i32); +} +impl ::core::marker::Copy for PinnedContactSurface {} +impl ::core::clone::Clone for PinnedContactSurface { + fn clone(&self) -> Self { + *self + } +} diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/ConversationalAgent/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/ConversationalAgent/mod.rs new file mode 100644 index 000000000..543060373 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/ConversationalAgent/mod.rs @@ -0,0 +1,278 @@ +pub type ActivationSignalDetectionConfiguration = *mut ::core::ffi::c_void; +pub type ActivationSignalDetectionConfigurationCreationResult = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] +#[repr(transparent)] +pub struct ActivationSignalDetectionConfigurationCreationStatus(pub i32); +impl ActivationSignalDetectionConfigurationCreationStatus { + pub const Success: Self = Self(0i32); + pub const SignalIdNotAvailable: Self = Self(1i32); + pub const ModelIdNotSupported: Self = Self(2i32); + pub const InvalidSignalId: Self = Self(3i32); + pub const InvalidModelId: Self = Self(4i32); + pub const InvalidDisplayName: Self = Self(5i32); + pub const ConfigurationAlreadyExists: Self = Self(6i32); + pub const CreationNotSupported: Self = Self(7i32); +} +impl ::core::marker::Copy for ActivationSignalDetectionConfigurationCreationStatus {} +impl ::core::clone::Clone for ActivationSignalDetectionConfigurationCreationStatus { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] +#[repr(transparent)] +pub struct ActivationSignalDetectionConfigurationRemovalResult(pub i32); +impl ActivationSignalDetectionConfigurationRemovalResult { + pub const Success: Self = Self(0i32); + pub const NotFound: Self = Self(1i32); + pub const CurrentlyEnabled: Self = Self(2i32); + pub const RemovalNotSupported: Self = Self(3i32); +} +impl ::core::marker::Copy for ActivationSignalDetectionConfigurationRemovalResult {} +impl ::core::clone::Clone for ActivationSignalDetectionConfigurationRemovalResult { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] +#[repr(transparent)] +pub struct ActivationSignalDetectionConfigurationSetModelDataResult(pub i32); +impl ActivationSignalDetectionConfigurationSetModelDataResult { + pub const Success: Self = Self(0i32); + pub const EmptyModelData: Self = Self(1i32); + pub const UnsupportedFormat: Self = Self(2i32); + pub const ConfigurationCurrentlyEnabled: Self = Self(3i32); + pub const InvalidData: Self = Self(4i32); + pub const SetModelDataNotSupported: Self = Self(5i32); + pub const ConfigurationNotFound: Self = Self(6i32); + pub const UnknownError: Self = Self(7i32); +} +impl ::core::marker::Copy for ActivationSignalDetectionConfigurationSetModelDataResult {} +impl ::core::clone::Clone for ActivationSignalDetectionConfigurationSetModelDataResult { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] +#[repr(transparent)] +pub struct ActivationSignalDetectionConfigurationStateChangeResult(pub i32); +impl ActivationSignalDetectionConfigurationStateChangeResult { + pub const Success: Self = Self(0i32); + pub const NoModelData: Self = Self(1i32); + pub const ConfigurationNotFound: Self = Self(2i32); +} +impl ::core::marker::Copy for ActivationSignalDetectionConfigurationStateChangeResult {} +impl ::core::clone::Clone for ActivationSignalDetectionConfigurationStateChangeResult { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] +#[repr(transparent)] +pub struct ActivationSignalDetectionTrainingDataFormat(pub i32); +impl ActivationSignalDetectionTrainingDataFormat { + pub const Voice8kHz8BitMono: Self = Self(0i32); + pub const Voice8kHz16BitMono: Self = Self(1i32); + pub const Voice16kHz8BitMono: Self = Self(2i32); + pub const Voice16kHz16BitMono: Self = Self(3i32); + pub const VoiceOEMDefined: Self = Self(4i32); + pub const Audio44kHz8BitMono: Self = Self(5i32); + pub const Audio44kHz16BitMono: Self = Self(6i32); + pub const Audio48kHz8BitMono: Self = Self(7i32); + pub const Audio48kHz16BitMono: Self = Self(8i32); + pub const AudioOEMDefined: Self = Self(9i32); + pub const OtherOEMDefined: Self = Self(10i32); +} +impl ::core::marker::Copy for ActivationSignalDetectionTrainingDataFormat {} +impl ::core::clone::Clone for ActivationSignalDetectionTrainingDataFormat { + fn clone(&self) -> Self { + *self + } +} +pub type ActivationSignalDetector = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] +#[repr(transparent)] +pub struct ActivationSignalDetectorKind(pub i32); +impl ActivationSignalDetectorKind { + pub const AudioPattern: Self = Self(0i32); + pub const AudioImpulse: Self = Self(1i32); + pub const HardwareEvent: Self = Self(2i32); +} +impl ::core::marker::Copy for ActivationSignalDetectorKind {} +impl ::core::clone::Clone for ActivationSignalDetectorKind { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] +#[repr(transparent)] +pub struct ActivationSignalDetectorPowerState(pub i32); +impl ActivationSignalDetectorPowerState { + pub const HighPower: Self = Self(0i32); + pub const ConnectedLowPower: Self = Self(1i32); + pub const DisconnectedLowPower: Self = Self(2i32); +} +impl ::core::marker::Copy for ActivationSignalDetectorPowerState {} +impl ::core::clone::Clone for ActivationSignalDetectorPowerState { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] +#[repr(transparent)] +pub struct ConversationalAgentActivationKind(pub i32); +impl ConversationalAgentActivationKind { + pub const VoiceActivationPreview: Self = Self(0i32); + pub const Foreground: Self = Self(1i32); +} +impl ::core::marker::Copy for ConversationalAgentActivationKind {} +impl ::core::clone::Clone for ConversationalAgentActivationKind { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] +#[repr(transparent)] +pub struct ConversationalAgentActivationResult(pub i32); +impl ConversationalAgentActivationResult { + pub const Success: Self = Self(0i32); + pub const AgentInactive: Self = Self(1i32); + pub const ScreenNotAvailable: Self = Self(2i32); + pub const AgentInterrupted: Self = Self(3i32); +} +impl ::core::marker::Copy for ConversationalAgentActivationResult {} +impl ::core::clone::Clone for ConversationalAgentActivationResult { + fn clone(&self) -> Self { + *self + } +} +pub type ConversationalAgentDetectorManager = *mut ::core::ffi::c_void; +pub type ConversationalAgentSession = *mut ::core::ffi::c_void; +pub type ConversationalAgentSessionInterruptedEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] +#[repr(transparent)] +pub struct ConversationalAgentSessionUpdateResponse(pub i32); +impl ConversationalAgentSessionUpdateResponse { + pub const Success: Self = Self(0i32); + pub const Failed: Self = Self(1i32); +} +impl ::core::marker::Copy for ConversationalAgentSessionUpdateResponse {} +impl ::core::clone::Clone for ConversationalAgentSessionUpdateResponse { + fn clone(&self) -> Self { + *self + } +} +pub type ConversationalAgentSignal = *mut ::core::ffi::c_void; +pub type ConversationalAgentSignalDetectedEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] +#[repr(transparent)] +pub struct ConversationalAgentState(pub i32); +impl ConversationalAgentState { + pub const Inactive: Self = Self(0i32); + pub const Detecting: Self = Self(1i32); + pub const Listening: Self = Self(2i32); + pub const Working: Self = Self(3i32); + pub const Speaking: Self = Self(4i32); + pub const ListeningAndSpeaking: Self = Self(5i32); +} +impl ::core::marker::Copy for ConversationalAgentState {} +impl ::core::clone::Clone for ConversationalAgentState { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] +#[repr(transparent)] +pub struct ConversationalAgentSystemStateChangeType(pub i32); +impl ConversationalAgentSystemStateChangeType { + pub const UserAuthentication: Self = Self(0i32); + pub const ScreenAvailability: Self = Self(1i32); + pub const IndicatorLightAvailability: Self = Self(2i32); + pub const VoiceActivationAvailability: Self = Self(3i32); +} +impl ::core::marker::Copy for ConversationalAgentSystemStateChangeType {} +impl ::core::clone::Clone for ConversationalAgentSystemStateChangeType { + fn clone(&self) -> Self { + *self + } +} +pub type ConversationalAgentSystemStateChangedEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] +#[repr(transparent)] +pub struct ConversationalAgentVoiceActivationPrerequisiteKind(pub i32); +impl ConversationalAgentVoiceActivationPrerequisiteKind { + pub const MicrophonePermission: Self = Self(0i32); + pub const KnownAgents: Self = Self(1i32); + pub const AgentAllowed: Self = Self(2i32); + pub const AppCapability: Self = Self(3i32); + pub const BackgroundTaskRegistration: Self = Self(4i32); + pub const PolicyPermission: Self = Self(5i32); +} +impl ::core::marker::Copy for ConversationalAgentVoiceActivationPrerequisiteKind {} +impl ::core::clone::Clone for ConversationalAgentVoiceActivationPrerequisiteKind { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] +#[repr(transparent)] +pub struct DetectionConfigurationAvailabilityChangeKind(pub i32); +impl DetectionConfigurationAvailabilityChangeKind { + pub const SystemResourceAccess: Self = Self(0i32); + pub const Permission: Self = Self(1i32); + pub const LockScreenPermission: Self = Self(2i32); +} +impl ::core::marker::Copy for DetectionConfigurationAvailabilityChangeKind {} +impl ::core::clone::Clone for DetectionConfigurationAvailabilityChangeKind { + fn clone(&self) -> Self { + *self + } +} +pub type DetectionConfigurationAvailabilityChangedEventArgs = *mut ::core::ffi::c_void; +pub type DetectionConfigurationAvailabilityInfo = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] +#[repr(transparent)] +pub struct DetectionConfigurationTrainingStatus(pub i32); +impl DetectionConfigurationTrainingStatus { + pub const Success: Self = Self(0i32); + pub const FormatNotSupported: Self = Self(1i32); + pub const VoiceTooQuiet: Self = Self(2i32); + pub const VoiceTooLoud: Self = Self(3i32); + pub const VoiceTooFast: Self = Self(4i32); + pub const VoiceTooSlow: Self = Self(5i32); + pub const VoiceQualityProblem: Self = Self(6i32); + pub const TrainingSystemInternalError: Self = Self(7i32); + pub const TrainingTimedOut: Self = Self(8i32); + pub const ConfigurationNotFound: Self = Self(9i32); +} +impl ::core::marker::Copy for DetectionConfigurationTrainingStatus {} +impl ::core::clone::Clone for DetectionConfigurationTrainingStatus { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] +#[repr(transparent)] +pub struct SignalDetectorResourceKind(pub i32); +impl SignalDetectorResourceKind { + pub const ParallelModelSupport: Self = Self(0i32); + pub const ParallelModelSupportForAgent: Self = Self(1i32); + pub const ParallelSignalSupport: Self = Self(2i32); + pub const ParallelSignalSupportForAgent: Self = Self(3i32); + pub const DisplayOffSupport: Self = Self(4i32); + pub const PluggedInPower: Self = Self(5i32); + pub const Detector: Self = Self(6i32); + pub const SupportedSleepState: Self = Self(7i32); + pub const SupportedBatterySaverState: Self = Self(8i32); + pub const ScreenAvailability: Self = Self(9i32); + pub const InputHardware: Self = Self(10i32); + pub const AcousticEchoCancellation: Self = Self(11i32); + pub const ModelIdSupport: Self = Self(12i32); + pub const DataChannel: Self = Self(13i32); +} +impl ::core::marker::Copy for SignalDetectorResourceKind {} +impl ::core::clone::Clone for SignalDetectorResourceKind { + fn clone(&self) -> Self { + *self + } +} diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Core/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Core/mod.rs new file mode 100644 index 000000000..89de3444f --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Core/mod.rs @@ -0,0 +1,24 @@ +pub type AppListEntry = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Core\"`*"] +#[repr(transparent)] +pub struct AppRestartFailureReason(pub i32); +impl AppRestartFailureReason { + pub const RestartPending: Self = Self(0i32); + pub const NotInForeground: Self = Self(1i32); + pub const InvalidUser: Self = Self(2i32); + pub const Other: Self = Self(3i32); +} +impl ::core::marker::Copy for AppRestartFailureReason {} +impl ::core::clone::Clone for AppRestartFailureReason { + fn clone(&self) -> Self { + *self + } +} +pub type CoreApplicationView = *mut ::core::ffi::c_void; +pub type CoreApplicationViewTitleBar = *mut ::core::ffi::c_void; +pub type HostedViewClosingEventArgs = *mut ::core::ffi::c_void; +pub type ICoreApplicationUnhandledError = *mut ::core::ffi::c_void; +pub type IFrameworkView = *mut ::core::ffi::c_void; +pub type IFrameworkViewSource = *mut ::core::ffi::c_void; +pub type UnhandledError = *mut ::core::ffi::c_void; +pub type UnhandledErrorDetectedEventArgs = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs new file mode 100644 index 000000000..23cd099c7 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs @@ -0,0 +1,19 @@ +pub type CoreDragDropManager = *mut ::core::ffi::c_void; +pub type CoreDragInfo = *mut ::core::ffi::c_void; +pub type CoreDragOperation = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_DataTransfer_DragDrop_Core\"`*"] +#[repr(transparent)] +pub struct CoreDragUIContentMode(pub u32); +impl CoreDragUIContentMode { + pub const Auto: Self = Self(0u32); + pub const Deferred: Self = Self(1u32); +} +impl ::core::marker::Copy for CoreDragUIContentMode {} +impl ::core::clone::Clone for CoreDragUIContentMode { + fn clone(&self) -> Self { + *self + } +} +pub type CoreDragUIOverride = *mut ::core::ffi::c_void; +pub type CoreDropOperationTargetRequestedEventArgs = *mut ::core::ffi::c_void; +pub type ICoreDropOperationTarget = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/DataTransfer/DragDrop/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/DataTransfer/DragDrop/mod.rs new file mode 100644 index 000000000..7c5232529 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/DataTransfer/DragDrop/mod.rs @@ -0,0 +1,20 @@ +#[cfg(feature = "ApplicationModel_DataTransfer_DragDrop_Core")] +pub mod Core; +#[doc = "*Required features: `\"ApplicationModel_DataTransfer_DragDrop\"`*"] +#[repr(transparent)] +pub struct DragDropModifiers(pub u32); +impl DragDropModifiers { + pub const None: Self = Self(0u32); + pub const Shift: Self = Self(1u32); + pub const Control: Self = Self(2u32); + pub const Alt: Self = Self(4u32); + pub const LeftButton: Self = Self(8u32); + pub const MiddleButton: Self = Self(16u32); + pub const RightButton: Self = Self(32u32); +} +impl ::core::marker::Copy for DragDropModifiers {} +impl ::core::clone::Clone for DragDropModifiers { + fn clone(&self) -> Self { + *self + } +} diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs new file mode 100644 index 000000000..79f3ac267 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs @@ -0,0 +1,2 @@ +pub type QuickLink = *mut ::core::ffi::c_void; +pub type ShareOperation = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/DataTransfer/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/DataTransfer/mod.rs new file mode 100644 index 000000000..cfaba1ff9 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/DataTransfer/mod.rs @@ -0,0 +1,85 @@ +#[cfg(feature = "ApplicationModel_DataTransfer_DragDrop")] +pub mod DragDrop; +#[cfg(feature = "ApplicationModel_DataTransfer_ShareTarget")] +pub mod ShareTarget; +pub type ClipboardContentOptions = *mut ::core::ffi::c_void; +pub type ClipboardHistoryChangedEventArgs = *mut ::core::ffi::c_void; +pub type ClipboardHistoryItem = *mut ::core::ffi::c_void; +pub type ClipboardHistoryItemsResult = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] +#[repr(transparent)] +pub struct ClipboardHistoryItemsResultStatus(pub i32); +impl ClipboardHistoryItemsResultStatus { + pub const Success: Self = Self(0i32); + pub const AccessDenied: Self = Self(1i32); + pub const ClipboardHistoryDisabled: Self = Self(2i32); +} +impl ::core::marker::Copy for ClipboardHistoryItemsResultStatus {} +impl ::core::clone::Clone for ClipboardHistoryItemsResultStatus { + fn clone(&self) -> Self { + *self + } +} +pub type DataPackage = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] +#[repr(transparent)] +pub struct DataPackageOperation(pub u32); +impl DataPackageOperation { + pub const None: Self = Self(0u32); + pub const Copy: Self = Self(1u32); + pub const Move: Self = Self(2u32); + pub const Link: Self = Self(4u32); +} +impl ::core::marker::Copy for DataPackageOperation {} +impl ::core::clone::Clone for DataPackageOperation { + fn clone(&self) -> Self { + *self + } +} +pub type DataPackagePropertySet = *mut ::core::ffi::c_void; +pub type DataPackagePropertySetView = *mut ::core::ffi::c_void; +pub type DataPackageView = *mut ::core::ffi::c_void; +pub type DataProviderDeferral = *mut ::core::ffi::c_void; +pub type DataProviderHandler = *mut ::core::ffi::c_void; +pub type DataProviderRequest = *mut ::core::ffi::c_void; +pub type DataRequest = *mut ::core::ffi::c_void; +pub type DataRequestDeferral = *mut ::core::ffi::c_void; +pub type DataRequestedEventArgs = *mut ::core::ffi::c_void; +pub type DataTransferManager = *mut ::core::ffi::c_void; +pub type OperationCompletedEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] +#[repr(transparent)] +pub struct SetHistoryItemAsContentStatus(pub i32); +impl SetHistoryItemAsContentStatus { + pub const Success: Self = Self(0i32); + pub const AccessDenied: Self = Self(1i32); + pub const ItemDeleted: Self = Self(2i32); +} +impl ::core::marker::Copy for SetHistoryItemAsContentStatus {} +impl ::core::clone::Clone for SetHistoryItemAsContentStatus { + fn clone(&self) -> Self { + *self + } +} +pub type ShareCompletedEventArgs = *mut ::core::ffi::c_void; +pub type ShareProvider = *mut ::core::ffi::c_void; +pub type ShareProviderHandler = *mut ::core::ffi::c_void; +pub type ShareProviderOperation = *mut ::core::ffi::c_void; +pub type ShareProvidersRequestedEventArgs = *mut ::core::ffi::c_void; +pub type ShareTargetInfo = *mut ::core::ffi::c_void; +pub type ShareUIOptions = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] +#[repr(transparent)] +pub struct ShareUITheme(pub i32); +impl ShareUITheme { + pub const Default: Self = Self(0i32); + pub const Light: Self = Self(1i32); + pub const Dark: Self = Self(2i32); +} +impl ::core::marker::Copy for ShareUITheme {} +impl ::core::clone::Clone for ShareUITheme { + fn clone(&self) -> Self { + *self + } +} +pub type TargetApplicationChosenEventArgs = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Email/DataProvider/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Email/DataProvider/mod.rs new file mode 100644 index 000000000..a5ab5fe6b --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Email/DataProvider/mod.rs @@ -0,0 +1,32 @@ +pub type EmailDataProviderConnection = *mut ::core::ffi::c_void; +pub type EmailDataProviderTriggerDetails = *mut ::core::ffi::c_void; +pub type EmailMailboxCreateFolderRequest = *mut ::core::ffi::c_void; +pub type EmailMailboxCreateFolderRequestEventArgs = *mut ::core::ffi::c_void; +pub type EmailMailboxDeleteFolderRequest = *mut ::core::ffi::c_void; +pub type EmailMailboxDeleteFolderRequestEventArgs = *mut ::core::ffi::c_void; +pub type EmailMailboxDownloadAttachmentRequest = *mut ::core::ffi::c_void; +pub type EmailMailboxDownloadAttachmentRequestEventArgs = *mut ::core::ffi::c_void; +pub type EmailMailboxDownloadMessageRequest = *mut ::core::ffi::c_void; +pub type EmailMailboxDownloadMessageRequestEventArgs = *mut ::core::ffi::c_void; +pub type EmailMailboxEmptyFolderRequest = *mut ::core::ffi::c_void; +pub type EmailMailboxEmptyFolderRequestEventArgs = *mut ::core::ffi::c_void; +pub type EmailMailboxForwardMeetingRequest = *mut ::core::ffi::c_void; +pub type EmailMailboxForwardMeetingRequestEventArgs = *mut ::core::ffi::c_void; +pub type EmailMailboxGetAutoReplySettingsRequest = *mut ::core::ffi::c_void; +pub type EmailMailboxGetAutoReplySettingsRequestEventArgs = *mut ::core::ffi::c_void; +pub type EmailMailboxMoveFolderRequest = *mut ::core::ffi::c_void; +pub type EmailMailboxMoveFolderRequestEventArgs = *mut ::core::ffi::c_void; +pub type EmailMailboxProposeNewTimeForMeetingRequest = *mut ::core::ffi::c_void; +pub type EmailMailboxProposeNewTimeForMeetingRequestEventArgs = *mut ::core::ffi::c_void; +pub type EmailMailboxResolveRecipientsRequest = *mut ::core::ffi::c_void; +pub type EmailMailboxResolveRecipientsRequestEventArgs = *mut ::core::ffi::c_void; +pub type EmailMailboxServerSearchReadBatchRequest = *mut ::core::ffi::c_void; +pub type EmailMailboxServerSearchReadBatchRequestEventArgs = *mut ::core::ffi::c_void; +pub type EmailMailboxSetAutoReplySettingsRequest = *mut ::core::ffi::c_void; +pub type EmailMailboxSetAutoReplySettingsRequestEventArgs = *mut ::core::ffi::c_void; +pub type EmailMailboxSyncManagerSyncRequest = *mut ::core::ffi::c_void; +pub type EmailMailboxSyncManagerSyncRequestEventArgs = *mut ::core::ffi::c_void; +pub type EmailMailboxUpdateMeetingResponseRequest = *mut ::core::ffi::c_void; +pub type EmailMailboxUpdateMeetingResponseRequestEventArgs = *mut ::core::ffi::c_void; +pub type EmailMailboxValidateCertificatesRequest = *mut ::core::ffi::c_void; +pub type EmailMailboxValidateCertificatesRequestEventArgs = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Email/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Email/mod.rs new file mode 100644 index 000000000..dc77fb46b --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Email/mod.rs @@ -0,0 +1,503 @@ +#[cfg(feature = "ApplicationModel_Email_DataProvider")] +pub mod DataProvider; +pub type EmailAttachment = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailAttachmentDownloadState(pub i32); +impl EmailAttachmentDownloadState { + pub const NotDownloaded: Self = Self(0i32); + pub const Downloading: Self = Self(1i32); + pub const Downloaded: Self = Self(2i32); + pub const Failed: Self = Self(3i32); +} +impl ::core::marker::Copy for EmailAttachmentDownloadState {} +impl ::core::clone::Clone for EmailAttachmentDownloadState { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailBatchStatus(pub i32); +impl EmailBatchStatus { + pub const Success: Self = Self(0i32); + pub const ServerSearchSyncManagerError: Self = Self(1i32); + pub const ServerSearchUnknownError: Self = Self(2i32); +} +impl ::core::marker::Copy for EmailBatchStatus {} +impl ::core::clone::Clone for EmailBatchStatus { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailCertificateValidationStatus(pub i32); +impl EmailCertificateValidationStatus { + pub const Success: Self = Self(0i32); + pub const NoMatch: Self = Self(1i32); + pub const InvalidUsage: Self = Self(2i32); + pub const InvalidCertificate: Self = Self(3i32); + pub const Revoked: Self = Self(4i32); + pub const ChainRevoked: Self = Self(5i32); + pub const RevocationServerFailure: Self = Self(6i32); + pub const Expired: Self = Self(7i32); + pub const Untrusted: Self = Self(8i32); + pub const ServerError: Self = Self(9i32); + pub const UnknownFailure: Self = Self(10i32); +} +impl ::core::marker::Copy for EmailCertificateValidationStatus {} +impl ::core::clone::Clone for EmailCertificateValidationStatus { + fn clone(&self) -> Self { + *self + } +} +pub type EmailConversation = *mut ::core::ffi::c_void; +pub type EmailConversationBatch = *mut ::core::ffi::c_void; +pub type EmailConversationReader = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailFlagState(pub i32); +impl EmailFlagState { + pub const Unflagged: Self = Self(0i32); + pub const Flagged: Self = Self(1i32); + pub const Completed: Self = Self(2i32); + pub const Cleared: Self = Self(3i32); +} +impl ::core::marker::Copy for EmailFlagState {} +impl ::core::clone::Clone for EmailFlagState { + fn clone(&self) -> Self { + *self + } +} +pub type EmailFolder = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailImportance(pub i32); +impl EmailImportance { + pub const Normal: Self = Self(0i32); + pub const High: Self = Self(1i32); + pub const Low: Self = Self(2i32); +} +impl ::core::marker::Copy for EmailImportance {} +impl ::core::clone::Clone for EmailImportance { + fn clone(&self) -> Self { + *self + } +} +pub type EmailIrmInfo = *mut ::core::ffi::c_void; +pub type EmailIrmTemplate = *mut ::core::ffi::c_void; +pub type EmailItemCounts = *mut ::core::ffi::c_void; +pub type EmailMailbox = *mut ::core::ffi::c_void; +pub type EmailMailboxAction = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailMailboxActionKind(pub i32); +impl EmailMailboxActionKind { + pub const MarkMessageAsSeen: Self = Self(0i32); + pub const MarkMessageRead: Self = Self(1i32); + pub const ChangeMessageFlagState: Self = Self(2i32); + pub const MoveMessage: Self = Self(3i32); + pub const SaveDraft: Self = Self(4i32); + pub const SendMessage: Self = Self(5i32); + pub const CreateResponseReplyMessage: Self = Self(6i32); + pub const CreateResponseReplyAllMessage: Self = Self(7i32); + pub const CreateResponseForwardMessage: Self = Self(8i32); + pub const MoveFolder: Self = Self(9i32); + pub const MarkFolderForSyncEnabled: Self = Self(10i32); +} +impl ::core::marker::Copy for EmailMailboxActionKind {} +impl ::core::clone::Clone for EmailMailboxActionKind { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation(pub i32); +impl EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation { + pub const None: Self = Self(0i32); + pub const StrongAlgorithm: Self = Self(1i32); + pub const AnyAlgorithm: Self = Self(2i32); +} +impl ::core::marker::Copy for EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation {} +impl ::core::clone::Clone for EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation { + fn clone(&self) -> Self { + *self + } +} +pub type EmailMailboxAutoReply = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailMailboxAutoReplyMessageResponseKind(pub i32); +impl EmailMailboxAutoReplyMessageResponseKind { + pub const Html: Self = Self(0i32); + pub const PlainText: Self = Self(1i32); +} +impl ::core::marker::Copy for EmailMailboxAutoReplyMessageResponseKind {} +impl ::core::clone::Clone for EmailMailboxAutoReplyMessageResponseKind { + fn clone(&self) -> Self { + *self + } +} +pub type EmailMailboxAutoReplySettings = *mut ::core::ffi::c_void; +pub type EmailMailboxCapabilities = *mut ::core::ffi::c_void; +pub type EmailMailboxChange = *mut ::core::ffi::c_void; +pub type EmailMailboxChangeReader = *mut ::core::ffi::c_void; +pub type EmailMailboxChangeTracker = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailMailboxChangeType(pub i32); +impl EmailMailboxChangeType { + pub const MessageCreated: Self = Self(0i32); + pub const MessageModified: Self = Self(1i32); + pub const MessageDeleted: Self = Self(2i32); + pub const FolderCreated: Self = Self(3i32); + pub const FolderModified: Self = Self(4i32); + pub const FolderDeleted: Self = Self(5i32); + pub const ChangeTrackingLost: Self = Self(6i32); +} +impl ::core::marker::Copy for EmailMailboxChangeType {} +impl ::core::clone::Clone for EmailMailboxChangeType { + fn clone(&self) -> Self { + *self + } +} +pub type EmailMailboxChangedDeferral = *mut ::core::ffi::c_void; +pub type EmailMailboxChangedEventArgs = *mut ::core::ffi::c_void; +pub type EmailMailboxCreateFolderResult = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailMailboxCreateFolderStatus(pub i32); +impl EmailMailboxCreateFolderStatus { + pub const Success: Self = Self(0i32); + pub const NetworkError: Self = Self(1i32); + pub const PermissionsError: Self = Self(2i32); + pub const ServerError: Self = Self(3i32); + pub const UnknownFailure: Self = Self(4i32); + pub const NameCollision: Self = Self(5i32); + pub const ServerRejected: Self = Self(6i32); +} +impl ::core::marker::Copy for EmailMailboxCreateFolderStatus {} +impl ::core::clone::Clone for EmailMailboxCreateFolderStatus { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailMailboxDeleteFolderStatus(pub i32); +impl EmailMailboxDeleteFolderStatus { + pub const Success: Self = Self(0i32); + pub const NetworkError: Self = Self(1i32); + pub const PermissionsError: Self = Self(2i32); + pub const ServerError: Self = Self(3i32); + pub const UnknownFailure: Self = Self(4i32); + pub const CouldNotDeleteEverything: Self = Self(5i32); +} +impl ::core::marker::Copy for EmailMailboxDeleteFolderStatus {} +impl ::core::clone::Clone for EmailMailboxDeleteFolderStatus { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailMailboxEmptyFolderStatus(pub i32); +impl EmailMailboxEmptyFolderStatus { + pub const Success: Self = Self(0i32); + pub const NetworkError: Self = Self(1i32); + pub const PermissionsError: Self = Self(2i32); + pub const ServerError: Self = Self(3i32); + pub const UnknownFailure: Self = Self(4i32); + pub const CouldNotDeleteEverything: Self = Self(5i32); +} +impl ::core::marker::Copy for EmailMailboxEmptyFolderStatus {} +impl ::core::clone::Clone for EmailMailboxEmptyFolderStatus { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailMailboxOtherAppReadAccess(pub i32); +impl EmailMailboxOtherAppReadAccess { + pub const SystemOnly: Self = Self(0i32); + pub const Full: Self = Self(1i32); + pub const None: Self = Self(2i32); +} +impl ::core::marker::Copy for EmailMailboxOtherAppReadAccess {} +impl ::core::clone::Clone for EmailMailboxOtherAppReadAccess { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailMailboxOtherAppWriteAccess(pub i32); +impl EmailMailboxOtherAppWriteAccess { + pub const None: Self = Self(0i32); + pub const Limited: Self = Self(1i32); +} +impl ::core::marker::Copy for EmailMailboxOtherAppWriteAccess {} +impl ::core::clone::Clone for EmailMailboxOtherAppWriteAccess { + fn clone(&self) -> Self { + *self + } +} +pub type EmailMailboxPolicies = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailMailboxSmimeEncryptionAlgorithm(pub i32); +impl EmailMailboxSmimeEncryptionAlgorithm { + pub const Any: Self = Self(0i32); + pub const TripleDes: Self = Self(1i32); + pub const Des: Self = Self(2i32); + pub const RC2128Bit: Self = Self(3i32); + pub const RC264Bit: Self = Self(4i32); + pub const RC240Bit: Self = Self(5i32); +} +impl ::core::marker::Copy for EmailMailboxSmimeEncryptionAlgorithm {} +impl ::core::clone::Clone for EmailMailboxSmimeEncryptionAlgorithm { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailMailboxSmimeSigningAlgorithm(pub i32); +impl EmailMailboxSmimeSigningAlgorithm { + pub const Any: Self = Self(0i32); + pub const Sha1: Self = Self(1i32); + pub const MD5: Self = Self(2i32); +} +impl ::core::marker::Copy for EmailMailboxSmimeSigningAlgorithm {} +impl ::core::clone::Clone for EmailMailboxSmimeSigningAlgorithm { + fn clone(&self) -> Self { + *self + } +} +pub type EmailMailboxSyncManager = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailMailboxSyncStatus(pub i32); +impl EmailMailboxSyncStatus { + pub const Idle: Self = Self(0i32); + pub const Syncing: Self = Self(1i32); + pub const UpToDate: Self = Self(2i32); + pub const AuthenticationError: Self = Self(3i32); + pub const PolicyError: Self = Self(4i32); + pub const UnknownError: Self = Self(5i32); + pub const ManualAccountRemovalRequired: Self = Self(6i32); +} +impl ::core::marker::Copy for EmailMailboxSyncStatus {} +impl ::core::clone::Clone for EmailMailboxSyncStatus { + fn clone(&self) -> Self { + *self + } +} +pub type EmailManagerForUser = *mut ::core::ffi::c_void; +pub type EmailMeetingInfo = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailMeetingResponseType(pub i32); +impl EmailMeetingResponseType { + pub const Accept: Self = Self(0i32); + pub const Decline: Self = Self(1i32); + pub const Tentative: Self = Self(2i32); +} +impl ::core::marker::Copy for EmailMeetingResponseType {} +impl ::core::clone::Clone for EmailMeetingResponseType { + fn clone(&self) -> Self { + *self + } +} +pub type EmailMessage = *mut ::core::ffi::c_void; +pub type EmailMessageBatch = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailMessageBodyKind(pub i32); +impl EmailMessageBodyKind { + pub const Html: Self = Self(0i32); + pub const PlainText: Self = Self(1i32); +} +impl ::core::marker::Copy for EmailMessageBodyKind {} +impl ::core::clone::Clone for EmailMessageBodyKind { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailMessageDownloadState(pub i32); +impl EmailMessageDownloadState { + pub const PartiallyDownloaded: Self = Self(0i32); + pub const Downloading: Self = Self(1i32); + pub const Downloaded: Self = Self(2i32); + pub const Failed: Self = Self(3i32); +} +impl ::core::marker::Copy for EmailMessageDownloadState {} +impl ::core::clone::Clone for EmailMessageDownloadState { + fn clone(&self) -> Self { + *self + } +} +pub type EmailMessageReader = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailMessageResponseKind(pub i32); +impl EmailMessageResponseKind { + pub const None: Self = Self(0i32); + pub const Reply: Self = Self(1i32); + pub const ReplyAll: Self = Self(2i32); + pub const Forward: Self = Self(3i32); +} +impl ::core::marker::Copy for EmailMessageResponseKind {} +impl ::core::clone::Clone for EmailMessageResponseKind { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailMessageSmimeKind(pub i32); +impl EmailMessageSmimeKind { + pub const None: Self = Self(0i32); + pub const ClearSigned: Self = Self(1i32); + pub const OpaqueSigned: Self = Self(2i32); + pub const Encrypted: Self = Self(3i32); +} +impl ::core::marker::Copy for EmailMessageSmimeKind {} +impl ::core::clone::Clone for EmailMessageSmimeKind { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailQueryKind(pub i32); +impl EmailQueryKind { + pub const All: Self = Self(0i32); + pub const Important: Self = Self(1i32); + pub const Flagged: Self = Self(2i32); + pub const Unread: Self = Self(3i32); + pub const Read: Self = Self(4i32); + pub const Unseen: Self = Self(5i32); +} +impl ::core::marker::Copy for EmailQueryKind {} +impl ::core::clone::Clone for EmailQueryKind { + fn clone(&self) -> Self { + *self + } +} +pub type EmailQueryOptions = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailQuerySearchFields(pub u32); +impl EmailQuerySearchFields { + pub const None: Self = Self(0u32); + pub const Subject: Self = Self(1u32); + pub const Sender: Self = Self(2u32); + pub const Preview: Self = Self(4u32); + pub const Recipients: Self = Self(8u32); + pub const All: Self = Self(4294967295u32); +} +impl ::core::marker::Copy for EmailQuerySearchFields {} +impl ::core::clone::Clone for EmailQuerySearchFields { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailQuerySearchScope(pub i32); +impl EmailQuerySearchScope { + pub const Local: Self = Self(0i32); + pub const Server: Self = Self(1i32); +} +impl ::core::marker::Copy for EmailQuerySearchScope {} +impl ::core::clone::Clone for EmailQuerySearchScope { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailQuerySortDirection(pub i32); +impl EmailQuerySortDirection { + pub const Descending: Self = Self(0i32); + pub const Ascending: Self = Self(1i32); +} +impl ::core::marker::Copy for EmailQuerySortDirection {} +impl ::core::clone::Clone for EmailQuerySortDirection { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailQuerySortProperty(pub i32); +impl EmailQuerySortProperty { + pub const Date: Self = Self(0i32); +} +impl ::core::marker::Copy for EmailQuerySortProperty {} +impl ::core::clone::Clone for EmailQuerySortProperty { + fn clone(&self) -> Self { + *self + } +} +pub type EmailQueryTextSearch = *mut ::core::ffi::c_void; +pub type EmailRecipient = *mut ::core::ffi::c_void; +pub type EmailRecipientResolutionResult = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailRecipientResolutionStatus(pub i32); +impl EmailRecipientResolutionStatus { + pub const Success: Self = Self(0i32); + pub const RecipientNotFound: Self = Self(1i32); + pub const AmbiguousRecipient: Self = Self(2i32); + pub const NoCertificate: Self = Self(3i32); + pub const CertificateRequestLimitReached: Self = Self(4i32); + pub const CannotResolveDistributionList: Self = Self(5i32); + pub const ServerError: Self = Self(6i32); + pub const UnknownFailure: Self = Self(7i32); +} +impl ::core::marker::Copy for EmailRecipientResolutionStatus {} +impl ::core::clone::Clone for EmailRecipientResolutionStatus { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailSpecialFolderKind(pub i32); +impl EmailSpecialFolderKind { + pub const None: Self = Self(0i32); + pub const Root: Self = Self(1i32); + pub const Inbox: Self = Self(2i32); + pub const Outbox: Self = Self(3i32); + pub const Drafts: Self = Self(4i32); + pub const DeletedItems: Self = Self(5i32); + pub const Sent: Self = Self(6i32); +} +impl ::core::marker::Copy for EmailSpecialFolderKind {} +impl ::core::clone::Clone for EmailSpecialFolderKind { + fn clone(&self) -> Self { + *self + } +} +pub type EmailStore = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Email\"`*"] +#[repr(transparent)] +pub struct EmailStoreAccessType(pub i32); +impl EmailStoreAccessType { + pub const AppMailboxesReadWrite: Self = Self(0i32); + pub const AllMailboxesLimitedReadWrite: Self = Self(1i32); +} +impl ::core::marker::Copy for EmailStoreAccessType {} +impl ::core::clone::Clone for EmailStoreAccessType { + fn clone(&self) -> Self { + *self + } +} +pub type EmailStoreNotificationTriggerDetails = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/ExtendedExecution/Foreground/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/ExtendedExecution/Foreground/mod.rs new file mode 100644 index 000000000..aa5e66fcf --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/ExtendedExecution/Foreground/mod.rs @@ -0,0 +1,43 @@ +#[doc = "*Required features: `\"ApplicationModel_ExtendedExecution_Foreground\"`*"] +#[repr(transparent)] +pub struct ExtendedExecutionForegroundReason(pub i32); +impl ExtendedExecutionForegroundReason { + pub const Unspecified: Self = Self(0i32); + pub const SavingData: Self = Self(1i32); + pub const BackgroundAudio: Self = Self(2i32); + pub const Unconstrained: Self = Self(3i32); +} +impl ::core::marker::Copy for ExtendedExecutionForegroundReason {} +impl ::core::clone::Clone for ExtendedExecutionForegroundReason { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_ExtendedExecution_Foreground\"`*"] +#[repr(transparent)] +pub struct ExtendedExecutionForegroundResult(pub i32); +impl ExtendedExecutionForegroundResult { + pub const Allowed: Self = Self(0i32); + pub const Denied: Self = Self(1i32); +} +impl ::core::marker::Copy for ExtendedExecutionForegroundResult {} +impl ::core::clone::Clone for ExtendedExecutionForegroundResult { + fn clone(&self) -> Self { + *self + } +} +pub type ExtendedExecutionForegroundRevokedEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_ExtendedExecution_Foreground\"`*"] +#[repr(transparent)] +pub struct ExtendedExecutionForegroundRevokedReason(pub i32); +impl ExtendedExecutionForegroundRevokedReason { + pub const Resumed: Self = Self(0i32); + pub const SystemPolicy: Self = Self(1i32); +} +impl ::core::marker::Copy for ExtendedExecutionForegroundRevokedReason {} +impl ::core::clone::Clone for ExtendedExecutionForegroundRevokedReason { + fn clone(&self) -> Self { + *self + } +} +pub type ExtendedExecutionForegroundSession = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/ExtendedExecution/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/ExtendedExecution/mod.rs new file mode 100644 index 000000000..adcb16890 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/ExtendedExecution/mod.rs @@ -0,0 +1,44 @@ +#[cfg(feature = "ApplicationModel_ExtendedExecution_Foreground")] +pub mod Foreground; +#[doc = "*Required features: `\"ApplicationModel_ExtendedExecution\"`*"] +#[repr(transparent)] +pub struct ExtendedExecutionReason(pub i32); +impl ExtendedExecutionReason { + pub const Unspecified: Self = Self(0i32); + pub const LocationTracking: Self = Self(1i32); + pub const SavingData: Self = Self(2i32); +} +impl ::core::marker::Copy for ExtendedExecutionReason {} +impl ::core::clone::Clone for ExtendedExecutionReason { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_ExtendedExecution\"`*"] +#[repr(transparent)] +pub struct ExtendedExecutionResult(pub i32); +impl ExtendedExecutionResult { + pub const Allowed: Self = Self(0i32); + pub const Denied: Self = Self(1i32); +} +impl ::core::marker::Copy for ExtendedExecutionResult {} +impl ::core::clone::Clone for ExtendedExecutionResult { + fn clone(&self) -> Self { + *self + } +} +pub type ExtendedExecutionRevokedEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_ExtendedExecution\"`*"] +#[repr(transparent)] +pub struct ExtendedExecutionRevokedReason(pub i32); +impl ExtendedExecutionRevokedReason { + pub const Resumed: Self = Self(0i32); + pub const SystemPolicy: Self = Self(1i32); +} +impl ::core::marker::Copy for ExtendedExecutionRevokedReason {} +impl ::core::clone::Clone for ExtendedExecutionRevokedReason { + fn clone(&self) -> Self { + *self + } +} +pub type ExtendedExecutionSession = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Holographic/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Holographic/mod.rs new file mode 100644 index 000000000..ad826ed4b --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Holographic/mod.rs @@ -0,0 +1 @@ +pub type HolographicKeyboard = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/LockScreen/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/LockScreen/mod.rs new file mode 100644 index 000000000..927c9447b --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/LockScreen/mod.rs @@ -0,0 +1,5 @@ +pub type LockApplicationHost = *mut ::core::ffi::c_void; +pub type LockScreenBadge = *mut ::core::ffi::c_void; +pub type LockScreenInfo = *mut ::core::ffi::c_void; +pub type LockScreenUnlockingDeferral = *mut ::core::ffi::c_void; +pub type LockScreenUnlockingEventArgs = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Payments/Provider/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Payments/Provider/mod.rs new file mode 100644 index 000000000..be96438a0 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Payments/Provider/mod.rs @@ -0,0 +1,4 @@ +pub type PaymentAppCanMakePaymentTriggerDetails = *mut ::core::ffi::c_void; +pub type PaymentAppManager = *mut ::core::ffi::c_void; +pub type PaymentTransaction = *mut ::core::ffi::c_void; +pub type PaymentTransactionAcceptResult = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Payments/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Payments/mod.rs new file mode 100644 index 000000000..8657414d0 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Payments/mod.rs @@ -0,0 +1,107 @@ +#[cfg(feature = "ApplicationModel_Payments_Provider")] +pub mod Provider; +pub type PaymentAddress = *mut ::core::ffi::c_void; +pub type PaymentCanMakePaymentResult = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] +#[repr(transparent)] +pub struct PaymentCanMakePaymentResultStatus(pub i32); +impl PaymentCanMakePaymentResultStatus { + pub const Unknown: Self = Self(0i32); + pub const Yes: Self = Self(1i32); + pub const No: Self = Self(2i32); + pub const NotAllowed: Self = Self(3i32); + pub const UserNotSignedIn: Self = Self(4i32); + pub const SpecifiedPaymentMethodIdsNotSupported: Self = Self(5i32); + pub const NoQualifyingCardOnFile: Self = Self(6i32); +} +impl ::core::marker::Copy for PaymentCanMakePaymentResultStatus {} +impl ::core::clone::Clone for PaymentCanMakePaymentResultStatus { + fn clone(&self) -> Self { + *self + } +} +pub type PaymentCurrencyAmount = *mut ::core::ffi::c_void; +pub type PaymentDetails = *mut ::core::ffi::c_void; +pub type PaymentDetailsModifier = *mut ::core::ffi::c_void; +pub type PaymentItem = *mut ::core::ffi::c_void; +pub type PaymentMediator = *mut ::core::ffi::c_void; +pub type PaymentMerchantInfo = *mut ::core::ffi::c_void; +pub type PaymentMethodData = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] +#[repr(transparent)] +pub struct PaymentOptionPresence(pub i32); +impl PaymentOptionPresence { + pub const None: Self = Self(0i32); + pub const Optional: Self = Self(1i32); + pub const Required: Self = Self(2i32); +} +impl ::core::marker::Copy for PaymentOptionPresence {} +impl ::core::clone::Clone for PaymentOptionPresence { + fn clone(&self) -> Self { + *self + } +} +pub type PaymentOptions = *mut ::core::ffi::c_void; +pub type PaymentRequest = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] +#[repr(transparent)] +pub struct PaymentRequestChangeKind(pub i32); +impl PaymentRequestChangeKind { + pub const ShippingOption: Self = Self(0i32); + pub const ShippingAddress: Self = Self(1i32); +} +impl ::core::marker::Copy for PaymentRequestChangeKind {} +impl ::core::clone::Clone for PaymentRequestChangeKind { + fn clone(&self) -> Self { + *self + } +} +pub type PaymentRequestChangedArgs = *mut ::core::ffi::c_void; +pub type PaymentRequestChangedHandler = *mut ::core::ffi::c_void; +pub type PaymentRequestChangedResult = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] +#[repr(transparent)] +pub struct PaymentRequestCompletionStatus(pub i32); +impl PaymentRequestCompletionStatus { + pub const Succeeded: Self = Self(0i32); + pub const Failed: Self = Self(1i32); + pub const Unknown: Self = Self(2i32); +} +impl ::core::marker::Copy for PaymentRequestCompletionStatus {} +impl ::core::clone::Clone for PaymentRequestCompletionStatus { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] +#[repr(transparent)] +pub struct PaymentRequestStatus(pub i32); +impl PaymentRequestStatus { + pub const Succeeded: Self = Self(0i32); + pub const Failed: Self = Self(1i32); + pub const Canceled: Self = Self(2i32); +} +impl ::core::marker::Copy for PaymentRequestStatus {} +impl ::core::clone::Clone for PaymentRequestStatus { + fn clone(&self) -> Self { + *self + } +} +pub type PaymentRequestSubmitResult = *mut ::core::ffi::c_void; +pub type PaymentResponse = *mut ::core::ffi::c_void; +pub type PaymentShippingOption = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] +#[repr(transparent)] +pub struct PaymentShippingType(pub i32); +impl PaymentShippingType { + pub const Shipping: Self = Self(0i32); + pub const Delivery: Self = Self(1i32); + pub const Pickup: Self = Self(2i32); +} +impl ::core::marker::Copy for PaymentShippingType {} +impl ::core::clone::Clone for PaymentShippingType { + fn clone(&self) -> Self { + *self + } +} +pub type PaymentToken = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Preview/Holographic/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Preview/Holographic/mod.rs new file mode 100644 index 000000000..1bc908624 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Preview/Holographic/mod.rs @@ -0,0 +1 @@ +pub type HolographicKeyboardPlacementOverridePreview = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Preview/InkWorkspace/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Preview/InkWorkspace/mod.rs new file mode 100644 index 000000000..a7cbe4ac3 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Preview/InkWorkspace/mod.rs @@ -0,0 +1 @@ +pub type InkWorkspaceHostedAppManager = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Preview/Notes/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Preview/Notes/mod.rs new file mode 100644 index 000000000..8c527edee --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Preview/Notes/mod.rs @@ -0,0 +1,4 @@ +pub type NotePlacementChangedPreviewEventArgs = *mut ::core::ffi::c_void; +pub type NoteVisibilityChangedPreviewEventArgs = *mut ::core::ffi::c_void; +pub type NotesWindowManagerPreview = *mut ::core::ffi::c_void; +pub type NotesWindowManagerPreviewShowNoteOptions = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Preview/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Preview/mod.rs new file mode 100644 index 000000000..19b09936c --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Preview/mod.rs @@ -0,0 +1,6 @@ +#[cfg(feature = "ApplicationModel_Preview_Holographic")] +pub mod Holographic; +#[cfg(feature = "ApplicationModel_Preview_InkWorkspace")] +pub mod InkWorkspace; +#[cfg(feature = "ApplicationModel_Preview_Notes")] +pub mod Notes; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Resources/Core/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Resources/Core/mod.rs new file mode 100644 index 000000000..35d3cd74b --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Resources/Core/mod.rs @@ -0,0 +1,56 @@ +pub type NamedResource = *mut ::core::ffi::c_void; +pub type ResourceCandidate = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`*"] +#[repr(transparent)] +pub struct ResourceCandidateKind(pub i32); +impl ResourceCandidateKind { + pub const String: Self = Self(0i32); + pub const File: Self = Self(1i32); + pub const EmbeddedData: Self = Self(2i32); +} +impl ::core::marker::Copy for ResourceCandidateKind {} +impl ::core::clone::Clone for ResourceCandidateKind { + fn clone(&self) -> Self { + *self + } +} +pub type ResourceCandidateVectorView = *mut ::core::ffi::c_void; +pub type ResourceContext = *mut ::core::ffi::c_void; +pub type ResourceContextLanguagesVectorView = *mut ::core::ffi::c_void; +#[repr(C)] +#[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`*"] +pub struct ResourceLayoutInfo { + pub MajorVersion: u32, + pub MinorVersion: u32, + pub ResourceSubtreeCount: u32, + pub NamedResourceCount: u32, + pub Checksum: i32, +} +impl ::core::marker::Copy for ResourceLayoutInfo {} +impl ::core::clone::Clone for ResourceLayoutInfo { + fn clone(&self) -> Self { + *self + } +} +pub type ResourceManager = *mut ::core::ffi::c_void; +pub type ResourceMap = *mut ::core::ffi::c_void; +pub type ResourceMapIterator = *mut ::core::ffi::c_void; +pub type ResourceMapMapView = *mut ::core::ffi::c_void; +pub type ResourceMapMapViewIterator = *mut ::core::ffi::c_void; +pub type ResourceQualifier = *mut ::core::ffi::c_void; +pub type ResourceQualifierMapView = *mut ::core::ffi::c_void; +pub type ResourceQualifierObservableMap = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`*"] +#[repr(transparent)] +pub struct ResourceQualifierPersistence(pub i32); +impl ResourceQualifierPersistence { + pub const None: Self = Self(0i32); + pub const LocalMachine: Self = Self(1i32); +} +impl ::core::marker::Copy for ResourceQualifierPersistence {} +impl ::core::clone::Clone for ResourceQualifierPersistence { + fn clone(&self) -> Self { + *self + } +} +pub type ResourceQualifierVectorView = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Resources/Management/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Resources/Management/mod.rs new file mode 100644 index 000000000..7f4e312ed --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Resources/Management/mod.rs @@ -0,0 +1,17 @@ +pub type IndexedResourceCandidate = *mut ::core::ffi::c_void; +pub type IndexedResourceQualifier = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Resources_Management\"`*"] +#[repr(transparent)] +pub struct IndexedResourceType(pub i32); +impl IndexedResourceType { + pub const String: Self = Self(0i32); + pub const Path: Self = Self(1i32); + pub const EmbeddedData: Self = Self(2i32); +} +impl ::core::marker::Copy for IndexedResourceType {} +impl ::core::clone::Clone for IndexedResourceType { + fn clone(&self) -> Self { + *self + } +} +pub type ResourceIndexer = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Resources/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Resources/mod.rs new file mode 100644 index 000000000..649a7f9b1 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Resources/mod.rs @@ -0,0 +1,5 @@ +#[cfg(feature = "ApplicationModel_Resources_Core")] +pub mod Core; +#[cfg(feature = "ApplicationModel_Resources_Management")] +pub mod Management; +pub type ResourceLoader = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Search/Core/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Search/Core/mod.rs new file mode 100644 index 000000000..69279a1c1 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Search/Core/mod.rs @@ -0,0 +1,18 @@ +pub type RequestingFocusOnKeyboardInputEventArgs = *mut ::core::ffi::c_void; +pub type SearchSuggestion = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Search_Core\"`*"] +#[repr(transparent)] +pub struct SearchSuggestionKind(pub i32); +impl SearchSuggestionKind { + pub const Query: Self = Self(0i32); + pub const Result: Self = Self(1i32); + pub const Separator: Self = Self(2i32); +} +impl ::core::marker::Copy for SearchSuggestionKind {} +impl ::core::clone::Clone for SearchSuggestionKind { + fn clone(&self) -> Self { + *self + } +} +pub type SearchSuggestionManager = *mut ::core::ffi::c_void; +pub type SearchSuggestionsRequestedEventArgs = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Search/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Search/mod.rs new file mode 100644 index 000000000..005061499 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Search/mod.rs @@ -0,0 +1,17 @@ +#[cfg(feature = "ApplicationModel_Search_Core")] +pub mod Core; +pub type ISearchPaneQueryChangedEventArgs = *mut ::core::ffi::c_void; +pub type LocalContentSuggestionSettings = *mut ::core::ffi::c_void; +pub type SearchPane = *mut ::core::ffi::c_void; +pub type SearchPaneQueryChangedEventArgs = *mut ::core::ffi::c_void; +pub type SearchPaneQueryLinguisticDetails = *mut ::core::ffi::c_void; +pub type SearchPaneQuerySubmittedEventArgs = *mut ::core::ffi::c_void; +pub type SearchPaneResultSuggestionChosenEventArgs = *mut ::core::ffi::c_void; +pub type SearchPaneSuggestionsRequest = *mut ::core::ffi::c_void; +pub type SearchPaneSuggestionsRequestDeferral = *mut ::core::ffi::c_void; +pub type SearchPaneSuggestionsRequestedEventArgs = *mut ::core::ffi::c_void; +pub type SearchPaneVisibilityChangedEventArgs = *mut ::core::ffi::c_void; +pub type SearchQueryLinguisticDetails = *mut ::core::ffi::c_void; +pub type SearchSuggestionCollection = *mut ::core::ffi::c_void; +pub type SearchSuggestionsRequest = *mut ::core::ffi::c_void; +pub type SearchSuggestionsRequestDeferral = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/SocialInfo/Provider/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/SocialInfo/Provider/mod.rs new file mode 100644 index 000000000..4d8a7b6d6 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/SocialInfo/Provider/mod.rs @@ -0,0 +1,2 @@ +pub type SocialDashboardItemUpdater = *mut ::core::ffi::c_void; +pub type SocialFeedUpdater = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/SocialInfo/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/SocialInfo/mod.rs new file mode 100644 index 000000000..1717ff9e3 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/SocialInfo/mod.rs @@ -0,0 +1,78 @@ +#[cfg(feature = "ApplicationModel_SocialInfo_Provider")] +pub mod Provider; +pub type SocialFeedChildItem = *mut ::core::ffi::c_void; +pub type SocialFeedContent = *mut ::core::ffi::c_void; +pub type SocialFeedItem = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_SocialInfo\"`, `\"deprecated\"`*"] +#[cfg(feature = "deprecated")] +#[repr(transparent)] +pub struct SocialFeedItemStyle(pub i32); +#[cfg(feature = "deprecated")] +impl SocialFeedItemStyle { + pub const Default: Self = Self(0i32); + pub const Photo: Self = Self(1i32); +} +#[cfg(feature = "deprecated")] +impl ::core::marker::Copy for SocialFeedItemStyle {} +#[cfg(feature = "deprecated")] +impl ::core::clone::Clone for SocialFeedItemStyle { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_SocialInfo\"`, `\"deprecated\"`*"] +#[cfg(feature = "deprecated")] +#[repr(transparent)] +pub struct SocialFeedKind(pub i32); +#[cfg(feature = "deprecated")] +impl SocialFeedKind { + pub const HomeFeed: Self = Self(0i32); + pub const ContactFeed: Self = Self(1i32); + pub const Dashboard: Self = Self(2i32); +} +#[cfg(feature = "deprecated")] +impl ::core::marker::Copy for SocialFeedKind {} +#[cfg(feature = "deprecated")] +impl ::core::clone::Clone for SocialFeedKind { + fn clone(&self) -> Self { + *self + } +} +pub type SocialFeedSharedItem = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_SocialInfo\"`, `\"deprecated\"`*"] +#[cfg(feature = "deprecated")] +#[repr(transparent)] +pub struct SocialFeedUpdateMode(pub i32); +#[cfg(feature = "deprecated")] +impl SocialFeedUpdateMode { + pub const Append: Self = Self(0i32); + pub const Replace: Self = Self(1i32); +} +#[cfg(feature = "deprecated")] +impl ::core::marker::Copy for SocialFeedUpdateMode {} +#[cfg(feature = "deprecated")] +impl ::core::clone::Clone for SocialFeedUpdateMode { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_SocialInfo\"`, `\"deprecated\"`*"] +#[cfg(feature = "deprecated")] +#[repr(transparent)] +pub struct SocialItemBadgeStyle(pub i32); +#[cfg(feature = "deprecated")] +impl SocialItemBadgeStyle { + pub const Hidden: Self = Self(0i32); + pub const Visible: Self = Self(1i32); + pub const VisibleWithCount: Self = Self(2i32); +} +#[cfg(feature = "deprecated")] +impl ::core::marker::Copy for SocialItemBadgeStyle {} +#[cfg(feature = "deprecated")] +impl ::core::clone::Clone for SocialItemBadgeStyle { + fn clone(&self) -> Self { + *self + } +} +pub type SocialItemThumbnail = *mut ::core::ffi::c_void; +pub type SocialUserInfo = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Store/LicenseManagement/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Store/LicenseManagement/mod.rs new file mode 100644 index 000000000..a0d4ea4f9 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Store/LicenseManagement/mod.rs @@ -0,0 +1,15 @@ +#[doc = "*Required features: `\"ApplicationModel_Store_LicenseManagement\"`*"] +#[repr(transparent)] +pub struct LicenseRefreshOption(pub i32); +impl LicenseRefreshOption { + pub const RunningLicenses: Self = Self(0i32); + pub const AllLicenses: Self = Self(1i32); +} +impl ::core::marker::Copy for LicenseRefreshOption {} +impl ::core::clone::Clone for LicenseRefreshOption { + fn clone(&self) -> Self { + *self + } +} +pub type LicenseSatisfactionInfo = *mut ::core::ffi::c_void; +pub type LicenseSatisfactionResult = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Store/Preview/InstallControl/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Store/Preview/InstallControl/mod.rs new file mode 100644 index 000000000..45897f406 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Store/Preview/InstallControl/mod.rs @@ -0,0 +1,91 @@ +pub type AppInstallItem = *mut ::core::ffi::c_void; +pub type AppInstallManager = *mut ::core::ffi::c_void; +pub type AppInstallManagerItemEventArgs = *mut ::core::ffi::c_void; +pub type AppInstallOptions = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Store_Preview_InstallControl\"`*"] +#[repr(transparent)] +pub struct AppInstallState(pub i32); +impl AppInstallState { + pub const Pending: Self = Self(0i32); + pub const Starting: Self = Self(1i32); + pub const AcquiringLicense: Self = Self(2i32); + pub const Downloading: Self = Self(3i32); + pub const RestoringData: Self = Self(4i32); + pub const Installing: 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 PausedLowBattery: Self = Self(10i32); + pub const PausedWiFiRecommended: Self = Self(11i32); + pub const PausedWiFiRequired: Self = Self(12i32); + pub const ReadyToDownload: Self = Self(13i32); +} +impl ::core::marker::Copy for AppInstallState {} +impl ::core::clone::Clone for AppInstallState { + fn clone(&self) -> Self { + *self + } +} +pub type AppInstallStatus = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Store_Preview_InstallControl\"`*"] +#[repr(transparent)] +pub struct AppInstallType(pub i32); +impl AppInstallType { + pub const Install: Self = Self(0i32); + pub const Update: Self = Self(1i32); + pub const Repair: Self = Self(2i32); +} +impl ::core::marker::Copy for AppInstallType {} +impl ::core::clone::Clone for AppInstallType { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Store_Preview_InstallControl\"`*"] +#[repr(transparent)] +pub struct AppInstallationToastNotificationMode(pub i32); +impl AppInstallationToastNotificationMode { + pub const Default: Self = Self(0i32); + pub const Toast: Self = Self(1i32); + pub const ToastWithoutPopup: Self = Self(2i32); + pub const NoToast: Self = Self(3i32); +} +impl ::core::marker::Copy for AppInstallationToastNotificationMode {} +impl ::core::clone::Clone for AppInstallationToastNotificationMode { + fn clone(&self) -> Self { + *self + } +} +pub type AppUpdateOptions = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Store_Preview_InstallControl\"`*"] +#[repr(transparent)] +pub struct AutoUpdateSetting(pub i32); +impl AutoUpdateSetting { + pub const Disabled: Self = Self(0i32); + pub const Enabled: Self = Self(1i32); + pub const DisabledByPolicy: Self = Self(2i32); + pub const EnabledByPolicy: Self = Self(3i32); +} +impl ::core::marker::Copy for AutoUpdateSetting {} +impl ::core::clone::Clone for AutoUpdateSetting { + fn clone(&self) -> Self { + *self + } +} +pub type GetEntitlementResult = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Store_Preview_InstallControl\"`*"] +#[repr(transparent)] +pub struct GetEntitlementStatus(pub i32); +impl GetEntitlementStatus { + pub const Succeeded: Self = Self(0i32); + pub const NoStoreAccount: Self = Self(1i32); + pub const NetworkError: Self = Self(2i32); + pub const ServerError: Self = Self(3i32); +} +impl ::core::marker::Copy for GetEntitlementStatus {} +impl ::core::clone::Clone for GetEntitlementStatus { + fn clone(&self) -> Self { + *self + } +} diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Store/Preview/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Store/Preview/mod.rs new file mode 100644 index 000000000..2ecc17bc7 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Store/Preview/mod.rs @@ -0,0 +1,111 @@ +#[cfg(feature = "ApplicationModel_Store_Preview_InstallControl")] +pub mod InstallControl; +#[doc = "*Required features: `\"ApplicationModel_Store_Preview\"`*"] +#[repr(transparent)] +pub struct DeliveryOptimizationDownloadMode(pub i32); +impl DeliveryOptimizationDownloadMode { + pub const Simple: Self = Self(0i32); + pub const HttpOnly: Self = Self(1i32); + pub const Lan: Self = Self(2i32); + pub const Group: Self = Self(3i32); + pub const Internet: Self = Self(4i32); + pub const Bypass: Self = Self(5i32); +} +impl ::core::marker::Copy for DeliveryOptimizationDownloadMode {} +impl ::core::clone::Clone for DeliveryOptimizationDownloadMode { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Store_Preview\"`*"] +#[repr(transparent)] +pub struct DeliveryOptimizationDownloadModeSource(pub i32); +impl DeliveryOptimizationDownloadModeSource { + pub const Default: Self = Self(0i32); + pub const Policy: Self = Self(1i32); +} +impl ::core::marker::Copy for DeliveryOptimizationDownloadModeSource {} +impl ::core::clone::Clone for DeliveryOptimizationDownloadModeSource { + fn clone(&self) -> Self { + *self + } +} +pub type DeliveryOptimizationSettings = *mut ::core::ffi::c_void; +pub type StoreHardwareManufacturerInfo = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Store_Preview\"`*"] +#[repr(transparent)] +pub struct StoreLogOptions(pub u32); +impl StoreLogOptions { + pub const None: Self = Self(0u32); + pub const TryElevate: Self = Self(1u32); +} +impl ::core::marker::Copy for StoreLogOptions {} +impl ::core::clone::Clone for StoreLogOptions { + fn clone(&self) -> Self { + *self + } +} +pub type StorePreviewProductInfo = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Store_Preview\"`*"] +#[repr(transparent)] +pub struct StorePreviewProductPurchaseStatus(pub i32); +impl StorePreviewProductPurchaseStatus { + pub const Succeeded: Self = Self(0i32); + pub const AlreadyPurchased: Self = Self(1i32); + pub const NotFulfilled: Self = Self(2i32); + pub const NotPurchased: Self = Self(3i32); +} +impl ::core::marker::Copy for StorePreviewProductPurchaseStatus {} +impl ::core::clone::Clone for StorePreviewProductPurchaseStatus { + fn clone(&self) -> Self { + *self + } +} +pub type StorePreviewPurchaseResults = *mut ::core::ffi::c_void; +pub type StorePreviewSkuInfo = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Store_Preview\"`*"] +#[repr(transparent)] +pub struct StoreSystemFeature(pub i32); +impl StoreSystemFeature { + pub const ArchitectureX86: Self = Self(0i32); + pub const ArchitectureX64: Self = Self(1i32); + pub const ArchitectureArm: Self = Self(2i32); + pub const DirectX9: Self = Self(3i32); + pub const DirectX10: Self = Self(4i32); + pub const DirectX11: Self = Self(5i32); + pub const D3D12HardwareFL11: Self = Self(6i32); + pub const D3D12HardwareFL12: Self = Self(7i32); + pub const Memory300MB: Self = Self(8i32); + pub const Memory750MB: Self = Self(9i32); + pub const Memory1GB: Self = Self(10i32); + pub const Memory2GB: Self = Self(11i32); + pub const CameraFront: Self = Self(12i32); + pub const CameraRear: Self = Self(13i32); + pub const Gyroscope: Self = Self(14i32); + pub const Hover: Self = Self(15i32); + pub const Magnetometer: Self = Self(16i32); + pub const Nfc: Self = Self(17i32); + pub const Resolution720P: Self = Self(18i32); + pub const ResolutionWvga: Self = Self(19i32); + pub const ResolutionWvgaOr720P: Self = Self(20i32); + pub const ResolutionWxga: Self = Self(21i32); + pub const ResolutionWvgaOrWxga: Self = Self(22i32); + pub const ResolutionWxgaOr720P: Self = Self(23i32); + pub const Memory4GB: Self = Self(24i32); + pub const Memory6GB: Self = Self(25i32); + pub const Memory8GB: Self = Self(26i32); + pub const Memory12GB: Self = Self(27i32); + pub const Memory16GB: Self = Self(28i32); + pub const Memory20GB: Self = Self(29i32); + pub const VideoMemory2GB: Self = Self(30i32); + pub const VideoMemory4GB: Self = Self(31i32); + pub const VideoMemory6GB: Self = Self(32i32); + pub const VideoMemory1GB: Self = Self(33i32); + pub const ArchitectureArm64: Self = Self(34i32); +} +impl ::core::marker::Copy for StoreSystemFeature {} +impl ::core::clone::Clone for StoreSystemFeature { + fn clone(&self) -> Self { + *self + } +} diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Store/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Store/mod.rs new file mode 100644 index 000000000..f19aabd9b --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Store/mod.rs @@ -0,0 +1,57 @@ +#[cfg(feature = "ApplicationModel_Store_LicenseManagement")] +pub mod LicenseManagement; +#[cfg(feature = "ApplicationModel_Store_Preview")] +pub mod Preview; +#[doc = "*Required features: `\"ApplicationModel_Store\"`*"] +#[repr(transparent)] +pub struct FulfillmentResult(pub i32); +impl FulfillmentResult { + pub const Succeeded: Self = Self(0i32); + pub const NothingToFulfill: Self = Self(1i32); + pub const PurchasePending: Self = Self(2i32); + pub const PurchaseReverted: Self = Self(3i32); + pub const ServerError: Self = Self(4i32); +} +impl ::core::marker::Copy for FulfillmentResult {} +impl ::core::clone::Clone for FulfillmentResult { + fn clone(&self) -> Self { + *self + } +} +pub type LicenseChangedEventHandler = *mut ::core::ffi::c_void; +pub type LicenseInformation = *mut ::core::ffi::c_void; +pub type ListingInformation = *mut ::core::ffi::c_void; +pub type ProductLicense = *mut ::core::ffi::c_void; +pub type ProductListing = *mut ::core::ffi::c_void; +pub type ProductPurchaseDisplayProperties = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Store\"`*"] +#[repr(transparent)] +pub struct ProductPurchaseStatus(pub i32); +impl ProductPurchaseStatus { + pub const Succeeded: Self = Self(0i32); + pub const AlreadyPurchased: Self = Self(1i32); + pub const NotFulfilled: Self = Self(2i32); + pub const NotPurchased: Self = Self(3i32); +} +impl ::core::marker::Copy for ProductPurchaseStatus {} +impl ::core::clone::Clone for ProductPurchaseStatus { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Store\"`*"] +#[repr(transparent)] +pub struct ProductType(pub i32); +impl ProductType { + pub const Unknown: Self = Self(0i32); + pub const Durable: Self = Self(1i32); + pub const Consumable: Self = Self(2i32); +} +impl ::core::marker::Copy for ProductType {} +impl ::core::clone::Clone for ProductType { + fn clone(&self) -> Self { + *self + } +} +pub type PurchaseResults = *mut ::core::ffi::c_void; +pub type UnfulfilledConsumable = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/UserActivities/Core/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/UserActivities/Core/mod.rs new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/UserActivities/Core/mod.rs @@ -0,0 +1 @@ + diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/UserActivities/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/UserActivities/mod.rs new file mode 100644 index 000000000..2f3d9f713 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/UserActivities/mod.rs @@ -0,0 +1,26 @@ +#[cfg(feature = "ApplicationModel_UserActivities_Core")] +pub mod Core; +pub type IUserActivityContentInfo = *mut ::core::ffi::c_void; +pub type UserActivity = *mut ::core::ffi::c_void; +pub type UserActivityAttribution = *mut ::core::ffi::c_void; +pub type UserActivityChannel = *mut ::core::ffi::c_void; +pub type UserActivityContentInfo = *mut ::core::ffi::c_void; +pub type UserActivityRequest = *mut ::core::ffi::c_void; +pub type UserActivityRequestManager = *mut ::core::ffi::c_void; +pub type UserActivityRequestedEventArgs = *mut ::core::ffi::c_void; +pub type UserActivitySession = *mut ::core::ffi::c_void; +pub type UserActivitySessionHistoryItem = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_UserActivities\"`*"] +#[repr(transparent)] +pub struct UserActivityState(pub i32); +impl UserActivityState { + pub const New: Self = Self(0i32); + pub const Published: Self = Self(1i32); +} +impl ::core::marker::Copy for UserActivityState {} +impl ::core::clone::Clone for UserActivityState { + fn clone(&self) -> Self { + *self + } +} +pub type UserActivityVisualElements = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/UserDataAccounts/Provider/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/UserDataAccounts/Provider/mod.rs new file mode 100644 index 000000000..b480d49a4 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/UserDataAccounts/Provider/mod.rs @@ -0,0 +1,32 @@ +pub type IUserDataAccountProviderOperation = *mut ::core::ffi::c_void; +pub type UserDataAccountPartnerAccountInfo = *mut ::core::ffi::c_void; +pub type UserDataAccountProviderAddAccountOperation = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_UserDataAccounts_Provider\"`*"] +#[repr(transparent)] +pub struct UserDataAccountProviderOperationKind(pub i32); +impl UserDataAccountProviderOperationKind { + pub const AddAccount: Self = Self(0i32); + pub const Settings: Self = Self(1i32); + pub const ResolveErrors: Self = Self(2i32); +} +impl ::core::marker::Copy for UserDataAccountProviderOperationKind {} +impl ::core::clone::Clone for UserDataAccountProviderOperationKind { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_UserDataAccounts_Provider\"`*"] +#[repr(transparent)] +pub struct UserDataAccountProviderPartnerAccountKind(pub i32); +impl UserDataAccountProviderPartnerAccountKind { + pub const Exchange: Self = Self(0i32); + pub const PopOrImap: Self = Self(1i32); +} +impl ::core::marker::Copy for UserDataAccountProviderPartnerAccountKind {} +impl ::core::clone::Clone for UserDataAccountProviderPartnerAccountKind { + fn clone(&self) -> Self { + *self + } +} +pub type UserDataAccountProviderResolveErrorsOperation = *mut ::core::ffi::c_void; +pub type UserDataAccountProviderSettingsOperation = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs new file mode 100644 index 000000000..fff4fe0fb --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs @@ -0,0 +1,80 @@ +#[doc = "*Required features: `\"ApplicationModel_UserDataAccounts_SystemAccess\"`*"] +#[repr(transparent)] +pub struct DeviceAccountAuthenticationType(pub i32); +impl DeviceAccountAuthenticationType { + pub const Basic: Self = Self(0i32); + pub const OAuth: Self = Self(1i32); + pub const SingleSignOn: Self = Self(2i32); +} +impl ::core::marker::Copy for DeviceAccountAuthenticationType {} +impl ::core::clone::Clone for DeviceAccountAuthenticationType { + fn clone(&self) -> Self { + *self + } +} +pub type DeviceAccountConfiguration = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_UserDataAccounts_SystemAccess\"`*"] +#[repr(transparent)] +pub struct DeviceAccountIconId(pub i32); +impl DeviceAccountIconId { + pub const Exchange: Self = Self(0i32); + pub const Msa: Self = Self(1i32); + pub const Outlook: Self = Self(2i32); + pub const Generic: Self = Self(3i32); +} +impl ::core::marker::Copy for DeviceAccountIconId {} +impl ::core::clone::Clone for DeviceAccountIconId { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_UserDataAccounts_SystemAccess\"`*"] +#[repr(transparent)] +pub struct DeviceAccountMailAgeFilter(pub i32); +impl DeviceAccountMailAgeFilter { + pub const All: Self = Self(0i32); + pub const Last1Day: Self = Self(1i32); + pub const Last3Days: Self = Self(2i32); + pub const Last7Days: Self = Self(3i32); + pub const Last14Days: Self = Self(4i32); + pub const Last30Days: Self = Self(5i32); + pub const Last90Days: Self = Self(6i32); +} +impl ::core::marker::Copy for DeviceAccountMailAgeFilter {} +impl ::core::clone::Clone for DeviceAccountMailAgeFilter { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_UserDataAccounts_SystemAccess\"`*"] +#[repr(transparent)] +pub struct DeviceAccountServerType(pub i32); +impl DeviceAccountServerType { + pub const Exchange: Self = Self(0i32); + pub const Pop: Self = Self(1i32); + pub const Imap: Self = Self(2i32); +} +impl ::core::marker::Copy for DeviceAccountServerType {} +impl ::core::clone::Clone for DeviceAccountServerType { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_UserDataAccounts_SystemAccess\"`*"] +#[repr(transparent)] +pub struct DeviceAccountSyncScheduleKind(pub i32); +impl DeviceAccountSyncScheduleKind { + pub const Manual: Self = Self(0i32); + pub const Every15Minutes: Self = Self(1i32); + pub const Every30Minutes: Self = Self(2i32); + pub const Every60Minutes: Self = Self(3i32); + pub const Every2Hours: Self = Self(4i32); + pub const Daily: Self = Self(5i32); + pub const AsItemsArrive: Self = Self(6i32); +} +impl ::core::marker::Copy for DeviceAccountSyncScheduleKind {} +impl ::core::clone::Clone for DeviceAccountSyncScheduleKind { + fn clone(&self) -> Self { + *self + } +} diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/UserDataAccounts/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/UserDataAccounts/mod.rs new file mode 100644 index 000000000..4bfd6a6cd --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/UserDataAccounts/mod.rs @@ -0,0 +1,49 @@ +#[cfg(feature = "ApplicationModel_UserDataAccounts_Provider")] +pub mod Provider; +#[cfg(feature = "ApplicationModel_UserDataAccounts_SystemAccess")] +pub mod SystemAccess; +pub type UserDataAccount = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_UserDataAccounts\"`*"] +#[repr(transparent)] +pub struct UserDataAccountContentKinds(pub u32); +impl UserDataAccountContentKinds { + pub const Email: Self = Self(1u32); + pub const Contact: Self = Self(2u32); + pub const Appointment: Self = Self(4u32); +} +impl ::core::marker::Copy for UserDataAccountContentKinds {} +impl ::core::clone::Clone for UserDataAccountContentKinds { + fn clone(&self) -> Self { + *self + } +} +pub type UserDataAccountManagerForUser = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_UserDataAccounts\"`*"] +#[repr(transparent)] +pub struct UserDataAccountOtherAppReadAccess(pub i32); +impl UserDataAccountOtherAppReadAccess { + pub const SystemOnly: Self = Self(0i32); + pub const Full: Self = Self(1i32); + pub const None: Self = Self(2i32); +} +impl ::core::marker::Copy for UserDataAccountOtherAppReadAccess {} +impl ::core::clone::Clone for UserDataAccountOtherAppReadAccess { + fn clone(&self) -> Self { + *self + } +} +pub type UserDataAccountStore = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_UserDataAccounts\"`*"] +#[repr(transparent)] +pub struct UserDataAccountStoreAccessType(pub i32); +impl UserDataAccountStoreAccessType { + pub const AllAccountsReadOnly: Self = Self(0i32); + pub const AppAccountsReadWrite: Self = Self(1i32); +} +impl ::core::marker::Copy for UserDataAccountStoreAccessType {} +impl ::core::clone::Clone for UserDataAccountStoreAccessType { + fn clone(&self) -> Self { + *self + } +} +pub type UserDataAccountStoreChangedEventArgs = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/UserDataTasks/DataProvider/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/UserDataTasks/DataProvider/mod.rs new file mode 100644 index 000000000..65f9dd4d6 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/UserDataTasks/DataProvider/mod.rs @@ -0,0 +1,12 @@ +pub type UserDataTaskDataProviderConnection = *mut ::core::ffi::c_void; +pub type UserDataTaskDataProviderTriggerDetails = *mut ::core::ffi::c_void; +pub type UserDataTaskListCompleteTaskRequest = *mut ::core::ffi::c_void; +pub type UserDataTaskListCompleteTaskRequestEventArgs = *mut ::core::ffi::c_void; +pub type UserDataTaskListCreateOrUpdateTaskRequest = *mut ::core::ffi::c_void; +pub type UserDataTaskListCreateOrUpdateTaskRequestEventArgs = *mut ::core::ffi::c_void; +pub type UserDataTaskListDeleteTaskRequest = *mut ::core::ffi::c_void; +pub type UserDataTaskListDeleteTaskRequestEventArgs = *mut ::core::ffi::c_void; +pub type UserDataTaskListSkipOccurrenceRequest = *mut ::core::ffi::c_void; +pub type UserDataTaskListSkipOccurrenceRequestEventArgs = *mut ::core::ffi::c_void; +pub type UserDataTaskListSyncManagerSyncRequest = *mut ::core::ffi::c_void; +pub type UserDataTaskListSyncManagerSyncRequestEventArgs = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/UserDataTasks/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/UserDataTasks/mod.rs new file mode 100644 index 000000000..f79935e1b --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/UserDataTasks/mod.rs @@ -0,0 +1,217 @@ +#[cfg(feature = "ApplicationModel_UserDataTasks_DataProvider")] +pub mod DataProvider; +pub type UserDataTask = *mut ::core::ffi::c_void; +pub type UserDataTaskBatch = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] +#[repr(transparent)] +pub struct UserDataTaskDaysOfWeek(pub u32); +impl UserDataTaskDaysOfWeek { + pub const None: Self = Self(0u32); + pub const Sunday: Self = Self(1u32); + pub const Monday: Self = Self(2u32); + pub const Tuesday: Self = Self(4u32); + pub const Wednesday: Self = Self(8u32); + pub const Thursday: Self = Self(16u32); + pub const Friday: Self = Self(32u32); + pub const Saturday: Self = Self(64u32); +} +impl ::core::marker::Copy for UserDataTaskDaysOfWeek {} +impl ::core::clone::Clone for UserDataTaskDaysOfWeek { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] +#[repr(transparent)] +pub struct UserDataTaskDetailsKind(pub i32); +impl UserDataTaskDetailsKind { + pub const PlainText: Self = Self(0i32); + pub const Html: Self = Self(1i32); +} +impl ::core::marker::Copy for UserDataTaskDetailsKind {} +impl ::core::clone::Clone for UserDataTaskDetailsKind { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] +#[repr(transparent)] +pub struct UserDataTaskKind(pub i32); +impl UserDataTaskKind { + pub const Single: Self = Self(0i32); + pub const Recurring: Self = Self(1i32); + pub const Regenerating: Self = Self(2i32); +} +impl ::core::marker::Copy for UserDataTaskKind {} +impl ::core::clone::Clone for UserDataTaskKind { + fn clone(&self) -> Self { + *self + } +} +pub type UserDataTaskList = *mut ::core::ffi::c_void; +pub type UserDataTaskListLimitedWriteOperations = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] +#[repr(transparent)] +pub struct UserDataTaskListOtherAppReadAccess(pub i32); +impl UserDataTaskListOtherAppReadAccess { + pub const Full: Self = Self(0i32); + pub const SystemOnly: Self = Self(1i32); + pub const None: Self = Self(2i32); +} +impl ::core::marker::Copy for UserDataTaskListOtherAppReadAccess {} +impl ::core::clone::Clone for UserDataTaskListOtherAppReadAccess { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] +#[repr(transparent)] +pub struct UserDataTaskListOtherAppWriteAccess(pub i32); +impl UserDataTaskListOtherAppWriteAccess { + pub const Limited: Self = Self(0i32); + pub const None: Self = Self(1i32); +} +impl ::core::marker::Copy for UserDataTaskListOtherAppWriteAccess {} +impl ::core::clone::Clone for UserDataTaskListOtherAppWriteAccess { + fn clone(&self) -> Self { + *self + } +} +pub type UserDataTaskListSyncManager = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] +#[repr(transparent)] +pub struct UserDataTaskListSyncStatus(pub i32); +impl UserDataTaskListSyncStatus { + pub const Idle: Self = Self(0i32); + pub const Syncing: Self = Self(1i32); + pub const UpToDate: Self = Self(2i32); + pub const AuthenticationError: Self = Self(3i32); + pub const PolicyError: Self = Self(4i32); + pub const UnknownError: Self = Self(5i32); +} +impl ::core::marker::Copy for UserDataTaskListSyncStatus {} +impl ::core::clone::Clone for UserDataTaskListSyncStatus { + fn clone(&self) -> Self { + *self + } +} +pub type UserDataTaskManager = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] +#[repr(transparent)] +pub struct UserDataTaskPriority(pub i32); +impl UserDataTaskPriority { + pub const Normal: Self = Self(0i32); + pub const Low: Self = Self(-1i32); + pub const High: Self = Self(1i32); +} +impl ::core::marker::Copy for UserDataTaskPriority {} +impl ::core::clone::Clone for UserDataTaskPriority { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] +#[repr(transparent)] +pub struct UserDataTaskQueryKind(pub i32); +impl UserDataTaskQueryKind { + pub const All: Self = Self(0i32); + pub const Incomplete: Self = Self(1i32); + pub const Complete: Self = Self(2i32); +} +impl ::core::marker::Copy for UserDataTaskQueryKind {} +impl ::core::clone::Clone for UserDataTaskQueryKind { + fn clone(&self) -> Self { + *self + } +} +pub type UserDataTaskQueryOptions = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] +#[repr(transparent)] +pub struct UserDataTaskQuerySortProperty(pub i32); +impl UserDataTaskQuerySortProperty { + pub const DueDate: Self = Self(0i32); +} +impl ::core::marker::Copy for UserDataTaskQuerySortProperty {} +impl ::core::clone::Clone for UserDataTaskQuerySortProperty { + fn clone(&self) -> Self { + *self + } +} +pub type UserDataTaskReader = *mut ::core::ffi::c_void; +pub type UserDataTaskRecurrenceProperties = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] +#[repr(transparent)] +pub struct UserDataTaskRecurrenceUnit(pub i32); +impl UserDataTaskRecurrenceUnit { + pub const Daily: Self = Self(0i32); + pub const Weekly: Self = Self(1i32); + pub const Monthly: Self = Self(2i32); + pub const MonthlyOnDay: Self = Self(3i32); + pub const Yearly: Self = Self(4i32); + pub const YearlyOnDay: Self = Self(5i32); +} +impl ::core::marker::Copy for UserDataTaskRecurrenceUnit {} +impl ::core::clone::Clone for UserDataTaskRecurrenceUnit { + fn clone(&self) -> Self { + *self + } +} +pub type UserDataTaskRegenerationProperties = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] +#[repr(transparent)] +pub struct UserDataTaskRegenerationUnit(pub i32); +impl UserDataTaskRegenerationUnit { + pub const Daily: Self = Self(0i32); + pub const Weekly: Self = Self(1i32); + pub const Monthly: Self = Self(2i32); + pub const Yearly: Self = Self(4i32); +} +impl ::core::marker::Copy for UserDataTaskRegenerationUnit {} +impl ::core::clone::Clone for UserDataTaskRegenerationUnit { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] +#[repr(transparent)] +pub struct UserDataTaskSensitivity(pub i32); +impl UserDataTaskSensitivity { + pub const Public: Self = Self(0i32); + pub const Private: Self = Self(1i32); +} +impl ::core::marker::Copy for UserDataTaskSensitivity {} +impl ::core::clone::Clone for UserDataTaskSensitivity { + fn clone(&self) -> Self { + *self + } +} +pub type UserDataTaskStore = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] +#[repr(transparent)] +pub struct UserDataTaskStoreAccessType(pub i32); +impl UserDataTaskStoreAccessType { + pub const AppTasksReadWrite: Self = Self(0i32); + pub const AllTasksLimitedReadWrite: Self = Self(1i32); +} +impl ::core::marker::Copy for UserDataTaskStoreAccessType {} +impl ::core::clone::Clone for UserDataTaskStoreAccessType { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] +#[repr(transparent)] +pub struct UserDataTaskWeekOfMonth(pub i32); +impl UserDataTaskWeekOfMonth { + pub const First: Self = Self(0i32); + pub const Second: Self = Self(1i32); + pub const Third: Self = Self(2i32); + pub const Fourth: Self = Self(3i32); + pub const Last: Self = Self(4i32); +} +impl ::core::marker::Copy for UserDataTaskWeekOfMonth {} +impl ::core::clone::Clone for UserDataTaskWeekOfMonth { + fn clone(&self) -> Self { + *self + } +} diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/VoiceCommands/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/VoiceCommands/mod.rs new file mode 100644 index 000000000..56f24406d --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/VoiceCommands/mod.rs @@ -0,0 +1,46 @@ +pub type VoiceCommand = *mut ::core::ffi::c_void; +pub type VoiceCommandCompletedEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_VoiceCommands\"`*"] +#[repr(transparent)] +pub struct VoiceCommandCompletionReason(pub i32); +impl VoiceCommandCompletionReason { + pub const Unknown: Self = Self(0i32); + pub const CommunicationFailed: Self = Self(1i32); + pub const ResourceLimitsExceeded: Self = Self(2i32); + pub const Canceled: Self = Self(3i32); + pub const TimeoutExceeded: Self = Self(4i32); + pub const AppLaunched: Self = Self(5i32); + pub const Completed: Self = Self(6i32); +} +impl ::core::marker::Copy for VoiceCommandCompletionReason {} +impl ::core::clone::Clone for VoiceCommandCompletionReason { + fn clone(&self) -> Self { + *self + } +} +pub type VoiceCommandConfirmationResult = *mut ::core::ffi::c_void; +pub type VoiceCommandContentTile = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_VoiceCommands\"`*"] +#[repr(transparent)] +pub struct VoiceCommandContentTileType(pub i32); +impl VoiceCommandContentTileType { + pub const TitleOnly: Self = Self(0i32); + pub const TitleWithText: Self = Self(1i32); + pub const TitleWith68x68Icon: Self = Self(2i32); + pub const TitleWith68x68IconAndText: Self = Self(3i32); + pub const TitleWith68x92Icon: Self = Self(4i32); + pub const TitleWith68x92IconAndText: Self = Self(5i32); + pub const TitleWith280x140Icon: Self = Self(6i32); + pub const TitleWith280x140IconAndText: Self = Self(7i32); +} +impl ::core::marker::Copy for VoiceCommandContentTileType {} +impl ::core::clone::Clone for VoiceCommandContentTileType { + fn clone(&self) -> Self { + *self + } +} +pub type VoiceCommandDefinition = *mut ::core::ffi::c_void; +pub type VoiceCommandDisambiguationResult = *mut ::core::ffi::c_void; +pub type VoiceCommandResponse = *mut ::core::ffi::c_void; +pub type VoiceCommandServiceConnection = *mut ::core::ffi::c_void; +pub type VoiceCommandUserMessage = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Wallet/System/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Wallet/System/mod.rs new file mode 100644 index 000000000..1acc95c46 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Wallet/System/mod.rs @@ -0,0 +1,15 @@ +#[doc = "*Required features: `\"ApplicationModel_Wallet_System\"`*"] +#[repr(transparent)] +pub struct WalletItemAppAssociation(pub i32); +impl WalletItemAppAssociation { + pub const None: Self = Self(0i32); + pub const AppInstalled: Self = Self(1i32); + pub const AppNotInstalled: Self = Self(2i32); +} +impl ::core::marker::Copy for WalletItemAppAssociation {} +impl ::core::clone::Clone for WalletItemAppAssociation { + fn clone(&self) -> Self { + *self + } +} +pub type WalletItemSystemStore = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Wallet/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Wallet/mod.rs new file mode 100644 index 000000000..beb73ee45 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Wallet/mod.rs @@ -0,0 +1,106 @@ +#[cfg(feature = "ApplicationModel_Wallet_System")] +pub mod System; +#[doc = "*Required features: `\"ApplicationModel_Wallet\"`*"] +#[repr(transparent)] +pub struct WalletActionKind(pub i32); +impl WalletActionKind { + pub const OpenItem: Self = Self(0i32); + pub const Transaction: Self = Self(1i32); + pub const MoreTransactions: Self = Self(2i32); + pub const Message: Self = Self(3i32); + pub const Verb: Self = Self(4i32); +} +impl ::core::marker::Copy for WalletActionKind {} +impl ::core::clone::Clone for WalletActionKind { + fn clone(&self) -> Self { + *self + } +} +pub type WalletBarcode = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Wallet\"`*"] +#[repr(transparent)] +pub struct WalletBarcodeSymbology(pub i32); +impl WalletBarcodeSymbology { + pub const Invalid: Self = Self(0i32); + pub const Upca: Self = Self(1i32); + pub const Upce: Self = Self(2i32); + pub const Ean13: Self = Self(3i32); + pub const Ean8: Self = Self(4i32); + pub const Itf: Self = Self(5i32); + pub const Code39: Self = Self(6i32); + pub const Code128: Self = Self(7i32); + pub const Qr: Self = Self(8i32); + pub const Pdf417: Self = Self(9i32); + pub const Aztec: Self = Self(10i32); + pub const Custom: Self = Self(100000i32); +} +impl ::core::marker::Copy for WalletBarcodeSymbology {} +impl ::core::clone::Clone for WalletBarcodeSymbology { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Wallet\"`*"] +#[repr(transparent)] +pub struct WalletDetailViewPosition(pub i32); +impl WalletDetailViewPosition { + pub const Hidden: Self = Self(0i32); + pub const HeaderField1: Self = Self(1i32); + pub const HeaderField2: Self = Self(2i32); + pub const PrimaryField1: Self = Self(3i32); + pub const PrimaryField2: Self = Self(4i32); + pub const SecondaryField1: Self = Self(5i32); + pub const SecondaryField2: Self = Self(6i32); + pub const SecondaryField3: Self = Self(7i32); + pub const SecondaryField4: Self = Self(8i32); + pub const SecondaryField5: Self = Self(9i32); + pub const CenterField1: Self = Self(10i32); + pub const FooterField1: Self = Self(11i32); + pub const FooterField2: Self = Self(12i32); + pub const FooterField3: Self = Self(13i32); + pub const FooterField4: Self = Self(14i32); +} +impl ::core::marker::Copy for WalletDetailViewPosition {} +impl ::core::clone::Clone for WalletDetailViewPosition { + fn clone(&self) -> Self { + *self + } +} +pub type WalletItem = *mut ::core::ffi::c_void; +pub type WalletItemCustomProperty = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Wallet\"`*"] +#[repr(transparent)] +pub struct WalletItemKind(pub i32); +impl WalletItemKind { + pub const Invalid: Self = Self(0i32); + pub const Deal: Self = Self(1i32); + pub const General: Self = Self(2i32); + pub const PaymentInstrument: Self = Self(3i32); + pub const Ticket: Self = Self(4i32); + pub const BoardingPass: Self = Self(5i32); + pub const MembershipCard: Self = Self(6i32); +} +impl ::core::marker::Copy for WalletItemKind {} +impl ::core::clone::Clone for WalletItemKind { + fn clone(&self) -> Self { + *self + } +} +pub type WalletItemStore = *mut ::core::ffi::c_void; +pub type WalletRelevantLocation = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Wallet\"`*"] +#[repr(transparent)] +pub struct WalletSummaryViewPosition(pub i32); +impl WalletSummaryViewPosition { + pub const Hidden: Self = Self(0i32); + pub const Field1: Self = Self(1i32); + pub const Field2: Self = Self(2i32); +} +impl ::core::marker::Copy for WalletSummaryViewPosition {} +impl ::core::clone::Clone for WalletSummaryViewPosition { + fn clone(&self) -> Self { + *self + } +} +pub type WalletTransaction = *mut ::core::ffi::c_void; +pub type WalletVerb = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/mod.rs new file mode 100644 index 000000000..28caf06e3 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/mod.rs @@ -0,0 +1,246 @@ +#[cfg(feature = "ApplicationModel_Activation")] +pub mod Activation; +#[cfg(feature = "ApplicationModel_AppExtensions")] +pub mod AppExtensions; +#[cfg(feature = "ApplicationModel_AppService")] +pub mod AppService; +#[cfg(feature = "ApplicationModel_Appointments")] +pub mod Appointments; +#[cfg(feature = "ApplicationModel_Background")] +pub mod Background; +#[cfg(feature = "ApplicationModel_Calls")] +pub mod Calls; +#[cfg(feature = "ApplicationModel_Chat")] +pub mod Chat; +#[cfg(feature = "ApplicationModel_CommunicationBlocking")] +pub mod CommunicationBlocking; +#[cfg(feature = "ApplicationModel_Contacts")] +pub mod Contacts; +#[cfg(feature = "ApplicationModel_ConversationalAgent")] +pub mod ConversationalAgent; +#[cfg(feature = "ApplicationModel_Core")] +pub mod Core; +#[cfg(feature = "ApplicationModel_DataTransfer")] +pub mod DataTransfer; +#[cfg(feature = "ApplicationModel_Email")] +pub mod Email; +#[cfg(feature = "ApplicationModel_ExtendedExecution")] +pub mod ExtendedExecution; +#[cfg(feature = "ApplicationModel_Holographic")] +pub mod Holographic; +#[cfg(feature = "ApplicationModel_LockScreen")] +pub mod LockScreen; +#[cfg(feature = "ApplicationModel_Payments")] +pub mod Payments; +#[cfg(feature = "ApplicationModel_Preview")] +pub mod Preview; +#[cfg(feature = "ApplicationModel_Resources")] +pub mod Resources; +#[cfg(feature = "ApplicationModel_Search")] +pub mod Search; +#[cfg(feature = "ApplicationModel_SocialInfo")] +pub mod SocialInfo; +#[cfg(feature = "ApplicationModel_Store")] +pub mod Store; +#[cfg(feature = "ApplicationModel_UserActivities")] +pub mod UserActivities; +#[cfg(feature = "ApplicationModel_UserDataAccounts")] +pub mod UserDataAccounts; +#[cfg(feature = "ApplicationModel_UserDataTasks")] +pub mod UserDataTasks; +#[cfg(feature = "ApplicationModel_VoiceCommands")] +pub mod VoiceCommands; +#[cfg(feature = "ApplicationModel_Wallet")] +pub mod Wallet; +#[doc = "*Required features: `\"ApplicationModel\"`*"] +#[repr(transparent)] +pub struct AddResourcePackageOptions(pub u32); +impl AddResourcePackageOptions { + pub const None: Self = Self(0u32); + pub const ForceTargetAppShutdown: Self = Self(1u32); + pub const ApplyUpdateIfAvailable: Self = Self(2u32); +} +impl ::core::marker::Copy for AddResourcePackageOptions {} +impl ::core::clone::Clone for AddResourcePackageOptions { + fn clone(&self) -> Self { + *self + } +} +pub type AppDisplayInfo = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel\"`*"] +#[repr(transparent)] +pub struct AppExecutionContext(pub i32); +impl AppExecutionContext { + pub const Unknown: Self = Self(0i32); + pub const Host: Self = Self(1i32); + pub const Guest: Self = Self(2i32); +} +impl ::core::marker::Copy for AppExecutionContext {} +impl ::core::clone::Clone for AppExecutionContext { + fn clone(&self) -> Self { + *self + } +} +pub type AppInfo = *mut ::core::ffi::c_void; +pub type AppInstallerInfo = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel\"`*"] +#[repr(transparent)] +pub struct AppInstallerPolicySource(pub i32); +impl AppInstallerPolicySource { + pub const Default: Self = Self(0i32); + pub const System: Self = Self(1i32); +} +impl ::core::marker::Copy for AppInstallerPolicySource {} +impl ::core::clone::Clone for AppInstallerPolicySource { + fn clone(&self) -> Self { + *self + } +} +pub type AppInstance = *mut ::core::ffi::c_void; +pub type EnteredBackgroundEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel\"`*"] +#[repr(transparent)] +pub struct FullTrustLaunchResult(pub i32); +impl FullTrustLaunchResult { + pub const Success: Self = Self(0i32); + pub const AccessDenied: Self = Self(1i32); + pub const FileNotFound: Self = Self(2i32); + pub const Unknown: Self = Self(3i32); +} +impl ::core::marker::Copy for FullTrustLaunchResult {} +impl ::core::clone::Clone for FullTrustLaunchResult { + fn clone(&self) -> Self { + *self + } +} +pub type FullTrustProcessLaunchResult = *mut ::core::ffi::c_void; +pub type IEnteredBackgroundEventArgs = *mut ::core::ffi::c_void; +pub type ILeavingBackgroundEventArgs = *mut ::core::ffi::c_void; +pub type ISuspendingDeferral = *mut ::core::ffi::c_void; +pub type ISuspendingEventArgs = *mut ::core::ffi::c_void; +pub type ISuspendingOperation = *mut ::core::ffi::c_void; +pub type LeavingBackgroundEventArgs = *mut ::core::ffi::c_void; +pub type LimitedAccessFeatureRequestResult = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel\"`*"] +#[repr(transparent)] +pub struct LimitedAccessFeatureStatus(pub i32); +impl LimitedAccessFeatureStatus { + pub const Unavailable: Self = Self(0i32); + pub const Available: Self = Self(1i32); + pub const AvailableWithoutToken: Self = Self(2i32); + pub const Unknown: Self = Self(3i32); +} +impl ::core::marker::Copy for LimitedAccessFeatureStatus {} +impl ::core::clone::Clone for LimitedAccessFeatureStatus { + fn clone(&self) -> Self { + *self + } +} +pub type Package = *mut ::core::ffi::c_void; +pub type PackageCatalog = *mut ::core::ffi::c_void; +pub type PackageCatalogAddOptionalPackageResult = *mut ::core::ffi::c_void; +pub type PackageCatalogAddResourcePackageResult = *mut ::core::ffi::c_void; +pub type PackageCatalogRemoveOptionalPackagesResult = *mut ::core::ffi::c_void; +pub type PackageCatalogRemoveResourcePackagesResult = *mut ::core::ffi::c_void; +pub type PackageContentGroup = *mut ::core::ffi::c_void; +pub type PackageContentGroupStagingEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel\"`*"] +#[repr(transparent)] +pub struct PackageContentGroupState(pub i32); +impl PackageContentGroupState { + pub const NotStaged: Self = Self(0i32); + pub const Queued: Self = Self(1i32); + pub const Staging: Self = Self(2i32); + pub const Staged: Self = Self(3i32); +} +impl ::core::marker::Copy for PackageContentGroupState {} +impl ::core::clone::Clone for PackageContentGroupState { + fn clone(&self) -> Self { + *self + } +} +pub type PackageId = *mut ::core::ffi::c_void; +#[repr(C)] +#[doc = "*Required features: `\"ApplicationModel\"`*"] +pub struct PackageInstallProgress { + pub PercentComplete: u32, +} +impl ::core::marker::Copy for PackageInstallProgress {} +impl ::core::clone::Clone for PackageInstallProgress { + fn clone(&self) -> Self { + *self + } +} +pub type PackageInstallingEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel\"`*"] +#[repr(transparent)] +pub struct PackageSignatureKind(pub i32); +impl PackageSignatureKind { + pub const None: Self = Self(0i32); + pub const Developer: Self = Self(1i32); + pub const Enterprise: Self = Self(2i32); + pub const Store: Self = Self(3i32); + pub const System: Self = Self(4i32); +} +impl ::core::marker::Copy for PackageSignatureKind {} +impl ::core::clone::Clone for PackageSignatureKind { + fn clone(&self) -> Self { + *self + } +} +pub type PackageStagingEventArgs = *mut ::core::ffi::c_void; +pub type PackageStatus = *mut ::core::ffi::c_void; +pub type PackageStatusChangedEventArgs = *mut ::core::ffi::c_void; +pub type PackageUninstallingEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel\"`*"] +#[repr(transparent)] +pub struct PackageUpdateAvailability(pub i32); +impl PackageUpdateAvailability { + pub const Unknown: Self = Self(0i32); + pub const NoUpdates: Self = Self(1i32); + pub const Available: Self = Self(2i32); + pub const Required: Self = Self(3i32); + pub const Error: Self = Self(4i32); +} +impl ::core::marker::Copy for PackageUpdateAvailability {} +impl ::core::clone::Clone for PackageUpdateAvailability { + fn clone(&self) -> Self { + *self + } +} +pub type PackageUpdateAvailabilityResult = *mut ::core::ffi::c_void; +pub type PackageUpdatingEventArgs = *mut ::core::ffi::c_void; +#[repr(C)] +#[doc = "*Required features: `\"ApplicationModel\"`*"] +pub struct PackageVersion { + pub Major: u16, + pub Minor: u16, + pub Build: u16, + pub Revision: u16, +} +impl ::core::marker::Copy for PackageVersion {} +impl ::core::clone::Clone for PackageVersion { + fn clone(&self) -> Self { + *self + } +} +pub type StartupTask = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel\"`*"] +#[repr(transparent)] +pub struct StartupTaskState(pub i32); +impl StartupTaskState { + pub const Disabled: Self = Self(0i32); + pub const DisabledByUser: Self = Self(1i32); + pub const Enabled: Self = Self(2i32); + pub const DisabledByPolicy: Self = Self(3i32); + pub const EnabledByPolicy: Self = Self(4i32); +} +impl ::core::marker::Copy for StartupTaskState {} +impl ::core::clone::Clone for StartupTaskState { + fn clone(&self) -> Self { + *self + } +} +pub type SuspendingDeferral = *mut ::core::ffi::c_void; +pub type SuspendingEventArgs = *mut ::core::ffi::c_void; +pub type SuspendingOperation = *mut ::core::ffi::c_void; -- cgit v1.2.3