RPM build fix (reverted CI changes which will need to be un-reverted or made conditional) and vendor Rust dependencies to make builds much faster in any CI system.

This commit is contained in:
Adam Ierymenko
2022-06-08 07:32:16 -04:00
parent 373ca30269
commit d5ca4e5f52
12611 changed files with 2898014 additions and 284 deletions

View File

@@ -0,0 +1,83 @@
#[doc = "*Required features: `\"AI_MachineLearning_Preview\"`, `\"deprecated\"`*"]
#[cfg(feature = "deprecated")]
#[repr(transparent)]
pub struct FeatureElementKindPreview(pub i32);
#[cfg(feature = "deprecated")]
impl FeatureElementKindPreview {
pub const Undefined: Self = Self(0i32);
pub const Float: Self = Self(1i32);
pub const UInt8: Self = Self(2i32);
pub const Int8: Self = Self(3i32);
pub const UInt16: Self = Self(4i32);
pub const Int16: Self = Self(5i32);
pub const Int32: Self = Self(6i32);
pub const Int64: Self = Self(7i32);
pub const String: Self = Self(8i32);
pub const Boolean: Self = Self(9i32);
pub const Float16: Self = Self(10i32);
pub const Double: Self = Self(11i32);
pub const UInt32: Self = Self(12i32);
pub const UInt64: Self = Self(13i32);
pub const Complex64: Self = Self(14i32);
pub const Complex128: Self = Self(15i32);
}
#[cfg(feature = "deprecated")]
impl ::core::marker::Copy for FeatureElementKindPreview {}
#[cfg(feature = "deprecated")]
impl ::core::clone::Clone for FeatureElementKindPreview {
fn clone(&self) -> Self {
*self
}
}
pub type ILearningModelVariableDescriptorPreview = *mut ::core::ffi::c_void;
pub type ImageVariableDescriptorPreview = *mut ::core::ffi::c_void;
pub type InferencingOptionsPreview = *mut ::core::ffi::c_void;
pub type LearningModelBindingPreview = *mut ::core::ffi::c_void;
pub type LearningModelDescriptionPreview = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"AI_MachineLearning_Preview\"`, `\"deprecated\"`*"]
#[cfg(feature = "deprecated")]
#[repr(transparent)]
pub struct LearningModelDeviceKindPreview(pub i32);
#[cfg(feature = "deprecated")]
impl LearningModelDeviceKindPreview {
pub const LearningDeviceAny: Self = Self(0i32);
pub const LearningDeviceCpu: Self = Self(1i32);
pub const LearningDeviceGpu: Self = Self(2i32);
pub const LearningDeviceNpu: Self = Self(3i32);
pub const LearningDeviceDsp: Self = Self(4i32);
pub const LearningDeviceFpga: Self = Self(5i32);
}
#[cfg(feature = "deprecated")]
impl ::core::marker::Copy for LearningModelDeviceKindPreview {}
#[cfg(feature = "deprecated")]
impl ::core::clone::Clone for LearningModelDeviceKindPreview {
fn clone(&self) -> Self {
*self
}
}
pub type LearningModelEvaluationResultPreview = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"AI_MachineLearning_Preview\"`, `\"deprecated\"`*"]
#[cfg(feature = "deprecated")]
#[repr(transparent)]
pub struct LearningModelFeatureKindPreview(pub i32);
#[cfg(feature = "deprecated")]
impl LearningModelFeatureKindPreview {
pub const Undefined: Self = Self(0i32);
pub const Tensor: Self = Self(1i32);
pub const Sequence: Self = Self(2i32);
pub const Map: Self = Self(3i32);
pub const Image: Self = Self(4i32);
}
#[cfg(feature = "deprecated")]
impl ::core::marker::Copy for LearningModelFeatureKindPreview {}
#[cfg(feature = "deprecated")]
impl ::core::clone::Clone for LearningModelFeatureKindPreview {
fn clone(&self) -> Self {
*self
}
}
pub type LearningModelPreview = *mut ::core::ffi::c_void;
pub type LearningModelVariableDescriptorPreview = *mut ::core::ffi::c_void;
pub type MapVariableDescriptorPreview = *mut ::core::ffi::c_void;
pub type SequenceVariableDescriptorPreview = *mut ::core::ffi::c_void;
pub type TensorVariableDescriptorPreview = *mut ::core::ffi::c_void;

View File

@@ -0,0 +1,102 @@
#[cfg(feature = "AI_MachineLearning_Preview")]
pub mod Preview;
pub type ILearningModelFeatureDescriptor = *mut ::core::ffi::c_void;
pub type ILearningModelFeatureValue = *mut ::core::ffi::c_void;
pub type ILearningModelOperatorProvider = *mut ::core::ffi::c_void;
pub type ITensor = *mut ::core::ffi::c_void;
pub type ImageFeatureDescriptor = *mut ::core::ffi::c_void;
pub type ImageFeatureValue = *mut ::core::ffi::c_void;
pub type LearningModel = *mut ::core::ffi::c_void;
pub type LearningModelBinding = *mut ::core::ffi::c_void;
pub type LearningModelDevice = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"AI_MachineLearning\"`*"]
#[repr(transparent)]
pub struct LearningModelDeviceKind(pub i32);
impl LearningModelDeviceKind {
pub const Default: Self = Self(0i32);
pub const Cpu: Self = Self(1i32);
pub const DirectX: Self = Self(2i32);
pub const DirectXHighPerformance: Self = Self(3i32);
pub const DirectXMinPower: Self = Self(4i32);
}
impl ::core::marker::Copy for LearningModelDeviceKind {}
impl ::core::clone::Clone for LearningModelDeviceKind {
fn clone(&self) -> Self {
*self
}
}
pub type LearningModelEvaluationResult = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"AI_MachineLearning\"`*"]
#[repr(transparent)]
pub struct LearningModelFeatureKind(pub i32);
impl LearningModelFeatureKind {
pub const Tensor: Self = Self(0i32);
pub const Sequence: Self = Self(1i32);
pub const Map: Self = Self(2i32);
pub const Image: Self = Self(3i32);
}
impl ::core::marker::Copy for LearningModelFeatureKind {}
impl ::core::clone::Clone for LearningModelFeatureKind {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"AI_MachineLearning\"`*"]
#[repr(transparent)]
pub struct LearningModelPixelRange(pub i32);
impl LearningModelPixelRange {
pub const ZeroTo255: Self = Self(0i32);
pub const ZeroToOne: Self = Self(1i32);
pub const MinusOneToOne: Self = Self(2i32);
}
impl ::core::marker::Copy for LearningModelPixelRange {}
impl ::core::clone::Clone for LearningModelPixelRange {
fn clone(&self) -> Self {
*self
}
}
pub type LearningModelSession = *mut ::core::ffi::c_void;
pub type LearningModelSessionOptions = *mut ::core::ffi::c_void;
pub type MapFeatureDescriptor = *mut ::core::ffi::c_void;
pub type SequenceFeatureDescriptor = *mut ::core::ffi::c_void;
pub type TensorBoolean = *mut ::core::ffi::c_void;
pub type TensorDouble = *mut ::core::ffi::c_void;
pub type TensorFeatureDescriptor = *mut ::core::ffi::c_void;
pub type TensorFloat = *mut ::core::ffi::c_void;
pub type TensorFloat16Bit = *mut ::core::ffi::c_void;
pub type TensorInt16Bit = *mut ::core::ffi::c_void;
pub type TensorInt32Bit = *mut ::core::ffi::c_void;
pub type TensorInt64Bit = *mut ::core::ffi::c_void;
pub type TensorInt8Bit = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"AI_MachineLearning\"`*"]
#[repr(transparent)]
pub struct TensorKind(pub i32);
impl TensorKind {
pub const Undefined: Self = Self(0i32);
pub const Float: Self = Self(1i32);
pub const UInt8: Self = Self(2i32);
pub const Int8: Self = Self(3i32);
pub const UInt16: Self = Self(4i32);
pub const Int16: Self = Self(5i32);
pub const Int32: Self = Self(6i32);
pub const Int64: Self = Self(7i32);
pub const String: Self = Self(8i32);
pub const Boolean: Self = Self(9i32);
pub const Float16: Self = Self(10i32);
pub const Double: Self = Self(11i32);
pub const UInt32: Self = Self(12i32);
pub const UInt64: Self = Self(13i32);
pub const Complex64: Self = Self(14i32);
pub const Complex128: Self = Self(15i32);
}
impl ::core::marker::Copy for TensorKind {}
impl ::core::clone::Clone for TensorKind {
fn clone(&self) -> Self {
*self
}
}
pub type TensorString = *mut ::core::ffi::c_void;
pub type TensorUInt16Bit = *mut ::core::ffi::c_void;
pub type TensorUInt32Bit = *mut ::core::ffi::c_void;
pub type TensorUInt64Bit = *mut ::core::ffi::c_void;
pub type TensorUInt8Bit = *mut ::core::ffi::c_void;

View File

@@ -0,0 +1,2 @@
#[cfg(feature = "AI_MachineLearning")]
pub mod MachineLearning;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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
}
}

View File

@@ -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;

View File

@@ -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;

View File

@@ -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
}
}

View File

@@ -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;

View File

@@ -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
}
}

View File

@@ -0,0 +1 @@
pub type PhoneCallOrigin = *mut ::core::ffi::c_void;

View File

@@ -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
}
}

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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
}
}

View File

@@ -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
}
}

View File

@@ -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;

View File

@@ -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;

View File

@@ -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
}
}

View File

@@ -0,0 +1,2 @@
pub type QuickLink = *mut ::core::ffi::c_void;
pub type ShareOperation = *mut ::core::ffi::c_void;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -0,0 +1 @@
pub type HolographicKeyboard = *mut ::core::ffi::c_void;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -0,0 +1 @@
pub type HolographicKeyboardPlacementOverridePreview = *mut ::core::ffi::c_void;

View File

@@ -0,0 +1 @@
pub type InkWorkspaceHostedAppManager = *mut ::core::ffi::c_void;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -0,0 +1,2 @@
pub type SocialDashboardItemUpdater = *mut ::core::ffi::c_void;
pub type SocialFeedUpdater = *mut ::core::ffi::c_void;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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
}
}

View File

@@ -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
}
}

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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
}
}

View File

@@ -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;

View File

@@ -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;

View File

@@ -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
}
}

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1,37 @@
pub type IJsonValue = *mut ::core::ffi::c_void;
pub type JsonArray = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Data_Json\"`*"]
#[repr(transparent)]
pub struct JsonErrorStatus(pub i32);
impl JsonErrorStatus {
pub const Unknown: Self = Self(0i32);
pub const InvalidJsonString: Self = Self(1i32);
pub const InvalidJsonNumber: Self = Self(2i32);
pub const JsonValueNotFound: Self = Self(3i32);
pub const ImplementationLimit: Self = Self(4i32);
}
impl ::core::marker::Copy for JsonErrorStatus {}
impl ::core::clone::Clone for JsonErrorStatus {
fn clone(&self) -> Self {
*self
}
}
pub type JsonObject = *mut ::core::ffi::c_void;
pub type JsonValue = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Data_Json\"`*"]
#[repr(transparent)]
pub struct JsonValueType(pub i32);
impl JsonValueType {
pub const Null: Self = Self(0i32);
pub const Boolean: Self = Self(1i32);
pub const Number: Self = Self(2i32);
pub const String: Self = Self(3i32);
pub const Array: Self = Self(4i32);
pub const Object: Self = Self(5i32);
}
impl ::core::marker::Copy for JsonValueType {}
impl ::core::clone::Clone for JsonValueType {
fn clone(&self) -> Self {
*self
}
}

View File

@@ -0,0 +1,19 @@
pub type PdfDocument = *mut ::core::ffi::c_void;
pub type PdfPage = *mut ::core::ffi::c_void;
pub type PdfPageDimensions = *mut ::core::ffi::c_void;
pub type PdfPageRenderOptions = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Data_Pdf\"`*"]
#[repr(transparent)]
pub struct PdfPageRotation(pub i32);
impl PdfPageRotation {
pub const Normal: Self = Self(0i32);
pub const Rotate90: Self = Self(1i32);
pub const Rotate180: Self = Self(2i32);
pub const Rotate270: Self = Self(3i32);
}
impl ::core::marker::Copy for PdfPageRotation {}
impl ::core::clone::Clone for PdfPageRotation {
fn clone(&self) -> Self {
*self
}
}

View File

@@ -0,0 +1,110 @@
#[doc = "*Required features: `\"Data_Text\"`*"]
#[repr(transparent)]
pub struct AlternateNormalizationFormat(pub i32);
impl AlternateNormalizationFormat {
pub const NotNormalized: Self = Self(0i32);
pub const Number: Self = Self(1i32);
pub const Currency: Self = Self(3i32);
pub const Date: Self = Self(4i32);
pub const Time: Self = Self(5i32);
}
impl ::core::marker::Copy for AlternateNormalizationFormat {}
impl ::core::clone::Clone for AlternateNormalizationFormat {
fn clone(&self) -> Self {
*self
}
}
pub type AlternateWordForm = *mut ::core::ffi::c_void;
pub type SelectableWordSegment = *mut ::core::ffi::c_void;
pub type SelectableWordSegmentsTokenizingHandler = *mut ::core::ffi::c_void;
pub type SelectableWordsSegmenter = *mut ::core::ffi::c_void;
pub type SemanticTextQuery = *mut ::core::ffi::c_void;
pub type TextConversionGenerator = *mut ::core::ffi::c_void;
pub type TextPhoneme = *mut ::core::ffi::c_void;
pub type TextPredictionGenerator = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Data_Text\"`*"]
#[repr(transparent)]
pub struct TextPredictionOptions(pub u32);
impl TextPredictionOptions {
pub const None: Self = Self(0u32);
pub const Predictions: Self = Self(1u32);
pub const Corrections: Self = Self(2u32);
}
impl ::core::marker::Copy for TextPredictionOptions {}
impl ::core::clone::Clone for TextPredictionOptions {
fn clone(&self) -> Self {
*self
}
}
pub type TextReverseConversionGenerator = *mut ::core::ffi::c_void;
#[repr(C)]
#[doc = "*Required features: `\"Data_Text\"`*"]
pub struct TextSegment {
pub StartPosition: u32,
pub Length: u32,
}
impl ::core::marker::Copy for TextSegment {}
impl ::core::clone::Clone for TextSegment {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Data_Text\"`*"]
#[repr(transparent)]
pub struct UnicodeGeneralCategory(pub i32);
impl UnicodeGeneralCategory {
pub const UppercaseLetter: Self = Self(0i32);
pub const LowercaseLetter: Self = Self(1i32);
pub const TitlecaseLetter: Self = Self(2i32);
pub const ModifierLetter: Self = Self(3i32);
pub const OtherLetter: Self = Self(4i32);
pub const NonspacingMark: Self = Self(5i32);
pub const SpacingCombiningMark: Self = Self(6i32);
pub const EnclosingMark: Self = Self(7i32);
pub const DecimalDigitNumber: Self = Self(8i32);
pub const LetterNumber: Self = Self(9i32);
pub const OtherNumber: Self = Self(10i32);
pub const SpaceSeparator: Self = Self(11i32);
pub const LineSeparator: Self = Self(12i32);
pub const ParagraphSeparator: Self = Self(13i32);
pub const Control: Self = Self(14i32);
pub const Format: Self = Self(15i32);
pub const Surrogate: Self = Self(16i32);
pub const PrivateUse: Self = Self(17i32);
pub const ConnectorPunctuation: Self = Self(18i32);
pub const DashPunctuation: Self = Self(19i32);
pub const OpenPunctuation: Self = Self(20i32);
pub const ClosePunctuation: Self = Self(21i32);
pub const InitialQuotePunctuation: Self = Self(22i32);
pub const FinalQuotePunctuation: Self = Self(23i32);
pub const OtherPunctuation: Self = Self(24i32);
pub const MathSymbol: Self = Self(25i32);
pub const CurrencySymbol: Self = Self(26i32);
pub const ModifierSymbol: Self = Self(27i32);
pub const OtherSymbol: Self = Self(28i32);
pub const NotAssigned: Self = Self(29i32);
}
impl ::core::marker::Copy for UnicodeGeneralCategory {}
impl ::core::clone::Clone for UnicodeGeneralCategory {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Data_Text\"`*"]
#[repr(transparent)]
pub struct UnicodeNumericType(pub i32);
impl UnicodeNumericType {
pub const None: Self = Self(0i32);
pub const Decimal: Self = Self(1i32);
pub const Digit: Self = Self(2i32);
pub const Numeric: Self = Self(3i32);
}
impl ::core::marker::Copy for UnicodeNumericType {}
impl ::core::clone::Clone for UnicodeNumericType {
fn clone(&self) -> Self {
*self
}
}
pub type WordSegment = *mut ::core::ffi::c_void;
pub type WordSegmentsTokenizingHandler = *mut ::core::ffi::c_void;
pub type WordsSegmenter = *mut ::core::ffi::c_void;

View File

@@ -0,0 +1,45 @@
pub type DtdEntity = *mut ::core::ffi::c_void;
pub type DtdNotation = *mut ::core::ffi::c_void;
pub type IXmlCharacterData = *mut ::core::ffi::c_void;
pub type IXmlNode = *mut ::core::ffi::c_void;
pub type IXmlNodeSelector = *mut ::core::ffi::c_void;
pub type IXmlNodeSerializer = *mut ::core::ffi::c_void;
pub type IXmlText = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Data_Xml_Dom\"`*"]
#[repr(transparent)]
pub struct NodeType(pub i32);
impl NodeType {
pub const Invalid: Self = Self(0i32);
pub const ElementNode: Self = Self(1i32);
pub const AttributeNode: Self = Self(2i32);
pub const TextNode: Self = Self(3i32);
pub const DataSectionNode: Self = Self(4i32);
pub const EntityReferenceNode: Self = Self(5i32);
pub const EntityNode: Self = Self(6i32);
pub const ProcessingInstructionNode: Self = Self(7i32);
pub const CommentNode: Self = Self(8i32);
pub const DocumentNode: Self = Self(9i32);
pub const DocumentTypeNode: Self = Self(10i32);
pub const DocumentFragmentNode: Self = Self(11i32);
pub const NotationNode: Self = Self(12i32);
}
impl ::core::marker::Copy for NodeType {}
impl ::core::clone::Clone for NodeType {
fn clone(&self) -> Self {
*self
}
}
pub type XmlAttribute = *mut ::core::ffi::c_void;
pub type XmlCDataSection = *mut ::core::ffi::c_void;
pub type XmlComment = *mut ::core::ffi::c_void;
pub type XmlDocument = *mut ::core::ffi::c_void;
pub type XmlDocumentFragment = *mut ::core::ffi::c_void;
pub type XmlDocumentType = *mut ::core::ffi::c_void;
pub type XmlDomImplementation = *mut ::core::ffi::c_void;
pub type XmlElement = *mut ::core::ffi::c_void;
pub type XmlEntityReference = *mut ::core::ffi::c_void;
pub type XmlLoadSettings = *mut ::core::ffi::c_void;
pub type XmlNamedNodeMap = *mut ::core::ffi::c_void;
pub type XmlNodeList = *mut ::core::ffi::c_void;
pub type XmlProcessingInstruction = *mut ::core::ffi::c_void;
pub type XmlText = *mut ::core::ffi::c_void;

View File

@@ -0,0 +1 @@
pub type XsltProcessor = *mut ::core::ffi::c_void;

View File

@@ -0,0 +1,4 @@
#[cfg(feature = "Data_Xml_Dom")]
pub mod Dom;
#[cfg(feature = "Data_Xml_Xsl")]
pub mod Xsl;

View File

@@ -0,0 +1,10 @@
#[cfg(feature = "Data_Html")]
pub mod Html;
#[cfg(feature = "Data_Json")]
pub mod Json;
#[cfg(feature = "Data_Pdf")]
pub mod Pdf;
#[cfg(feature = "Data_Text")]
pub mod Text;
#[cfg(feature = "Data_Xml")]
pub mod Xml;

View File

@@ -0,0 +1,15 @@
pub type IAdcControllerProvider = *mut ::core::ffi::c_void;
pub type IAdcProvider = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Adc_Provider\"`*"]
#[repr(transparent)]
pub struct ProviderAdcChannelMode(pub i32);
impl ProviderAdcChannelMode {
pub const SingleEnded: Self = Self(0i32);
pub const Differential: Self = Self(1i32);
}
impl ::core::marker::Copy for ProviderAdcChannelMode {}
impl ::core::clone::Clone for ProviderAdcChannelMode {
fn clone(&self) -> Self {
*self
}
}

View File

@@ -0,0 +1,17 @@
#[cfg(feature = "Devices_Adc_Provider")]
pub mod Provider;
pub type AdcChannel = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Adc\"`*"]
#[repr(transparent)]
pub struct AdcChannelMode(pub i32);
impl AdcChannelMode {
pub const SingleEnded: Self = Self(0i32);
pub const Differential: Self = Self(1i32);
}
impl ::core::marker::Copy for AdcChannelMode {}
impl ::core::clone::Clone for AdcChannelMode {
fn clone(&self) -> Self {
*self
}
}
pub type AdcController = *mut ::core::ffi::c_void;

View File

@@ -0,0 +1,104 @@
pub type AllJoynAboutData = *mut ::core::ffi::c_void;
pub type AllJoynAboutDataView = *mut ::core::ffi::c_void;
pub type AllJoynAcceptSessionJoinerEventArgs = *mut ::core::ffi::c_void;
pub type AllJoynAuthenticationCompleteEventArgs = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_AllJoyn\"`, `\"deprecated\"`*"]
#[cfg(feature = "deprecated")]
#[repr(transparent)]
pub struct AllJoynAuthenticationMechanism(pub i32);
#[cfg(feature = "deprecated")]
impl AllJoynAuthenticationMechanism {
pub const None: Self = Self(0i32);
pub const SrpAnonymous: Self = Self(1i32);
pub const SrpLogon: Self = Self(2i32);
pub const EcdheNull: Self = Self(3i32);
pub const EcdhePsk: Self = Self(4i32);
pub const EcdheEcdsa: Self = Self(5i32);
pub const EcdheSpeke: Self = Self(6i32);
}
#[cfg(feature = "deprecated")]
impl ::core::marker::Copy for AllJoynAuthenticationMechanism {}
#[cfg(feature = "deprecated")]
impl ::core::clone::Clone for AllJoynAuthenticationMechanism {
fn clone(&self) -> Self {
*self
}
}
pub type AllJoynBusAttachment = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_AllJoyn\"`, `\"deprecated\"`*"]
#[cfg(feature = "deprecated")]
#[repr(transparent)]
pub struct AllJoynBusAttachmentState(pub i32);
#[cfg(feature = "deprecated")]
impl AllJoynBusAttachmentState {
pub const Disconnected: Self = Self(0i32);
pub const Connecting: Self = Self(1i32);
pub const Connected: Self = Self(2i32);
pub const Disconnecting: Self = Self(3i32);
}
#[cfg(feature = "deprecated")]
impl ::core::marker::Copy for AllJoynBusAttachmentState {}
#[cfg(feature = "deprecated")]
impl ::core::clone::Clone for AllJoynBusAttachmentState {
fn clone(&self) -> Self {
*self
}
}
pub type AllJoynBusAttachmentStateChangedEventArgs = *mut ::core::ffi::c_void;
pub type AllJoynBusObject = *mut ::core::ffi::c_void;
pub type AllJoynBusObjectStoppedEventArgs = *mut ::core::ffi::c_void;
pub type AllJoynCredentials = *mut ::core::ffi::c_void;
pub type AllJoynCredentialsRequestedEventArgs = *mut ::core::ffi::c_void;
pub type AllJoynCredentialsVerificationRequestedEventArgs = *mut ::core::ffi::c_void;
pub type AllJoynMessageInfo = *mut ::core::ffi::c_void;
pub type AllJoynProducerStoppedEventArgs = *mut ::core::ffi::c_void;
pub type AllJoynServiceInfo = *mut ::core::ffi::c_void;
pub type AllJoynServiceInfoRemovedEventArgs = *mut ::core::ffi::c_void;
pub type AllJoynSession = *mut ::core::ffi::c_void;
pub type AllJoynSessionJoinedEventArgs = *mut ::core::ffi::c_void;
pub type AllJoynSessionLostEventArgs = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_AllJoyn\"`, `\"deprecated\"`*"]
#[cfg(feature = "deprecated")]
#[repr(transparent)]
pub struct AllJoynSessionLostReason(pub i32);
#[cfg(feature = "deprecated")]
impl AllJoynSessionLostReason {
pub const None: Self = Self(0i32);
pub const ProducerLeftSession: Self = Self(1i32);
pub const ProducerClosedAbruptly: Self = Self(2i32);
pub const RemovedByProducer: Self = Self(3i32);
pub const LinkTimeout: Self = Self(4i32);
pub const Other: Self = Self(5i32);
}
#[cfg(feature = "deprecated")]
impl ::core::marker::Copy for AllJoynSessionLostReason {}
#[cfg(feature = "deprecated")]
impl ::core::clone::Clone for AllJoynSessionLostReason {
fn clone(&self) -> Self {
*self
}
}
pub type AllJoynSessionMemberAddedEventArgs = *mut ::core::ffi::c_void;
pub type AllJoynSessionMemberRemovedEventArgs = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_AllJoyn\"`, `\"deprecated\"`*"]
#[cfg(feature = "deprecated")]
#[repr(transparent)]
pub struct AllJoynTrafficType(pub i32);
#[cfg(feature = "deprecated")]
impl AllJoynTrafficType {
pub const Unknown: Self = Self(0i32);
pub const Messages: Self = Self(1i32);
pub const RawUnreliable: Self = Self(2i32);
pub const RawReliable: Self = Self(4i32);
}
#[cfg(feature = "deprecated")]
impl ::core::marker::Copy for AllJoynTrafficType {}
#[cfg(feature = "deprecated")]
impl ::core::clone::Clone for AllJoynTrafficType {
fn clone(&self) -> Self {
*self
}
}
pub type AllJoynWatcherStoppedEventArgs = *mut ::core::ffi::c_void;
pub type IAllJoynAcceptSessionJoiner = *mut ::core::ffi::c_void;
pub type IAllJoynProducer = *mut ::core::ffi::c_void;

View File

@@ -0,0 +1,2 @@
pub type DeviceServicingDetails = *mut ::core::ffi::c_void;
pub type DeviceUseDetails = *mut ::core::ffi::c_void;

View File

@@ -0,0 +1,91 @@
pub type BluetoothLEAdvertisement = *mut ::core::ffi::c_void;
pub type BluetoothLEAdvertisementBytePattern = *mut ::core::ffi::c_void;
pub type BluetoothLEAdvertisementDataSection = *mut ::core::ffi::c_void;
pub type BluetoothLEAdvertisementFilter = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"]
#[repr(transparent)]
pub struct BluetoothLEAdvertisementFlags(pub u32);
impl BluetoothLEAdvertisementFlags {
pub const None: Self = Self(0u32);
pub const LimitedDiscoverableMode: Self = Self(1u32);
pub const GeneralDiscoverableMode: Self = Self(2u32);
pub const ClassicNotSupported: Self = Self(4u32);
pub const DualModeControllerCapable: Self = Self(8u32);
pub const DualModeHostCapable: Self = Self(16u32);
}
impl ::core::marker::Copy for BluetoothLEAdvertisementFlags {}
impl ::core::clone::Clone for BluetoothLEAdvertisementFlags {
fn clone(&self) -> Self {
*self
}
}
pub type BluetoothLEAdvertisementPublisher = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"]
#[repr(transparent)]
pub struct BluetoothLEAdvertisementPublisherStatus(pub i32);
impl BluetoothLEAdvertisementPublisherStatus {
pub const Created: Self = Self(0i32);
pub const Waiting: Self = Self(1i32);
pub const Started: Self = Self(2i32);
pub const Stopping: Self = Self(3i32);
pub const Stopped: Self = Self(4i32);
pub const Aborted: Self = Self(5i32);
}
impl ::core::marker::Copy for BluetoothLEAdvertisementPublisherStatus {}
impl ::core::clone::Clone for BluetoothLEAdvertisementPublisherStatus {
fn clone(&self) -> Self {
*self
}
}
pub type BluetoothLEAdvertisementPublisherStatusChangedEventArgs = *mut ::core::ffi::c_void;
pub type BluetoothLEAdvertisementReceivedEventArgs = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"]
#[repr(transparent)]
pub struct BluetoothLEAdvertisementType(pub i32);
impl BluetoothLEAdvertisementType {
pub const ConnectableUndirected: Self = Self(0i32);
pub const ConnectableDirected: Self = Self(1i32);
pub const ScannableUndirected: Self = Self(2i32);
pub const NonConnectableUndirected: Self = Self(3i32);
pub const ScanResponse: Self = Self(4i32);
pub const Extended: Self = Self(5i32);
}
impl ::core::marker::Copy for BluetoothLEAdvertisementType {}
impl ::core::clone::Clone for BluetoothLEAdvertisementType {
fn clone(&self) -> Self {
*self
}
}
pub type BluetoothLEAdvertisementWatcher = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"]
#[repr(transparent)]
pub struct BluetoothLEAdvertisementWatcherStatus(pub i32);
impl BluetoothLEAdvertisementWatcherStatus {
pub const Created: Self = Self(0i32);
pub const Started: Self = Self(1i32);
pub const Stopping: Self = Self(2i32);
pub const Stopped: Self = Self(3i32);
pub const Aborted: Self = Self(4i32);
}
impl ::core::marker::Copy for BluetoothLEAdvertisementWatcherStatus {}
impl ::core::clone::Clone for BluetoothLEAdvertisementWatcherStatus {
fn clone(&self) -> Self {
*self
}
}
pub type BluetoothLEAdvertisementWatcherStoppedEventArgs = *mut ::core::ffi::c_void;
pub type BluetoothLEManufacturerData = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"]
#[repr(transparent)]
pub struct BluetoothLEScanningMode(pub i32);
impl BluetoothLEScanningMode {
pub const Passive: Self = Self(0i32);
pub const Active: Self = Self(1i32);
pub const None: Self = Self(2i32);
}
impl ::core::marker::Copy for BluetoothLEScanningMode {}
impl ::core::clone::Clone for BluetoothLEScanningMode {
fn clone(&self) -> Self {
*self
}
}

View File

@@ -0,0 +1,22 @@
#[doc = "*Required features: `\"Devices_Bluetooth_Background\"`*"]
#[repr(transparent)]
pub struct BluetoothEventTriggeringMode(pub i32);
impl BluetoothEventTriggeringMode {
pub const Serial: Self = Self(0i32);
pub const Batch: Self = Self(1i32);
pub const KeepLatest: Self = Self(2i32);
}
impl ::core::marker::Copy for BluetoothEventTriggeringMode {}
impl ::core::clone::Clone for BluetoothEventTriggeringMode {
fn clone(&self) -> Self {
*self
}
}
pub type BluetoothLEAdvertisementPublisherTriggerDetails = *mut ::core::ffi::c_void;
pub type BluetoothLEAdvertisementWatcherTriggerDetails = *mut ::core::ffi::c_void;
pub type GattCharacteristicNotificationTriggerDetails = *mut ::core::ffi::c_void;
pub type GattServiceProviderConnection = *mut ::core::ffi::c_void;
pub type GattServiceProviderTriggerDetails = *mut ::core::ffi::c_void;
pub type RfcommConnectionTriggerDetails = *mut ::core::ffi::c_void;
pub type RfcommInboundConnectionInformation = *mut ::core::ffi::c_void;
pub type RfcommOutboundConnectionInformation = *mut ::core::ffi::c_void;

View File

@@ -0,0 +1,186 @@
pub type GattCharacteristic = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"]
#[repr(transparent)]
pub struct GattCharacteristicProperties(pub u32);
impl GattCharacteristicProperties {
pub const None: Self = Self(0u32);
pub const Broadcast: Self = Self(1u32);
pub const Read: Self = Self(2u32);
pub const WriteWithoutResponse: Self = Self(4u32);
pub const Write: Self = Self(8u32);
pub const Notify: Self = Self(16u32);
pub const Indicate: Self = Self(32u32);
pub const AuthenticatedSignedWrites: Self = Self(64u32);
pub const ExtendedProperties: Self = Self(128u32);
pub const ReliableWrites: Self = Self(256u32);
pub const WritableAuxiliaries: Self = Self(512u32);
}
impl ::core::marker::Copy for GattCharacteristicProperties {}
impl ::core::clone::Clone for GattCharacteristicProperties {
fn clone(&self) -> Self {
*self
}
}
pub type GattCharacteristicsResult = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"]
#[repr(transparent)]
pub struct GattClientCharacteristicConfigurationDescriptorValue(pub i32);
impl GattClientCharacteristicConfigurationDescriptorValue {
pub const None: Self = Self(0i32);
pub const Notify: Self = Self(1i32);
pub const Indicate: Self = Self(2i32);
}
impl ::core::marker::Copy for GattClientCharacteristicConfigurationDescriptorValue {}
impl ::core::clone::Clone for GattClientCharacteristicConfigurationDescriptorValue {
fn clone(&self) -> Self {
*self
}
}
pub type GattClientNotificationResult = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"]
#[repr(transparent)]
pub struct GattCommunicationStatus(pub i32);
impl GattCommunicationStatus {
pub const Success: Self = Self(0i32);
pub const Unreachable: Self = Self(1i32);
pub const ProtocolError: Self = Self(2i32);
pub const AccessDenied: Self = Self(3i32);
}
impl ::core::marker::Copy for GattCommunicationStatus {}
impl ::core::clone::Clone for GattCommunicationStatus {
fn clone(&self) -> Self {
*self
}
}
pub type GattDescriptor = *mut ::core::ffi::c_void;
pub type GattDescriptorsResult = *mut ::core::ffi::c_void;
pub type GattDeviceService = *mut ::core::ffi::c_void;
pub type GattDeviceServicesResult = *mut ::core::ffi::c_void;
pub type GattLocalCharacteristic = *mut ::core::ffi::c_void;
pub type GattLocalCharacteristicParameters = *mut ::core::ffi::c_void;
pub type GattLocalCharacteristicResult = *mut ::core::ffi::c_void;
pub type GattLocalDescriptor = *mut ::core::ffi::c_void;
pub type GattLocalDescriptorParameters = *mut ::core::ffi::c_void;
pub type GattLocalDescriptorResult = *mut ::core::ffi::c_void;
pub type GattLocalService = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"]
#[repr(transparent)]
pub struct GattOpenStatus(pub i32);
impl GattOpenStatus {
pub const Unspecified: Self = Self(0i32);
pub const Success: Self = Self(1i32);
pub const AlreadyOpened: Self = Self(2i32);
pub const NotFound: Self = Self(3i32);
pub const SharingViolation: Self = Self(4i32);
pub const AccessDenied: Self = Self(5i32);
}
impl ::core::marker::Copy for GattOpenStatus {}
impl ::core::clone::Clone for GattOpenStatus {
fn clone(&self) -> Self {
*self
}
}
pub type GattPresentationFormat = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"]
#[repr(transparent)]
pub struct GattProtectionLevel(pub i32);
impl GattProtectionLevel {
pub const Plain: Self = Self(0i32);
pub const AuthenticationRequired: Self = Self(1i32);
pub const EncryptionRequired: Self = Self(2i32);
pub const EncryptionAndAuthenticationRequired: Self = Self(3i32);
}
impl ::core::marker::Copy for GattProtectionLevel {}
impl ::core::clone::Clone for GattProtectionLevel {
fn clone(&self) -> Self {
*self
}
}
pub type GattReadClientCharacteristicConfigurationDescriptorResult = *mut ::core::ffi::c_void;
pub type GattReadRequest = *mut ::core::ffi::c_void;
pub type GattReadRequestedEventArgs = *mut ::core::ffi::c_void;
pub type GattReadResult = *mut ::core::ffi::c_void;
pub type GattReliableWriteTransaction = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"]
#[repr(transparent)]
pub struct GattRequestState(pub i32);
impl GattRequestState {
pub const Pending: Self = Self(0i32);
pub const Completed: Self = Self(1i32);
pub const Canceled: Self = Self(2i32);
}
impl ::core::marker::Copy for GattRequestState {}
impl ::core::clone::Clone for GattRequestState {
fn clone(&self) -> Self {
*self
}
}
pub type GattRequestStateChangedEventArgs = *mut ::core::ffi::c_void;
pub type GattServiceProvider = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"]
#[repr(transparent)]
pub struct GattServiceProviderAdvertisementStatus(pub i32);
impl GattServiceProviderAdvertisementStatus {
pub const Created: Self = Self(0i32);
pub const Stopped: Self = Self(1i32);
pub const Started: Self = Self(2i32);
pub const Aborted: Self = Self(3i32);
pub const StartedWithoutAllAdvertisementData: Self = Self(4i32);
}
impl ::core::marker::Copy for GattServiceProviderAdvertisementStatus {}
impl ::core::clone::Clone for GattServiceProviderAdvertisementStatus {
fn clone(&self) -> Self {
*self
}
}
pub type GattServiceProviderAdvertisementStatusChangedEventArgs = *mut ::core::ffi::c_void;
pub type GattServiceProviderAdvertisingParameters = *mut ::core::ffi::c_void;
pub type GattServiceProviderResult = *mut ::core::ffi::c_void;
pub type GattSession = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"]
#[repr(transparent)]
pub struct GattSessionStatus(pub i32);
impl GattSessionStatus {
pub const Closed: Self = Self(0i32);
pub const Active: Self = Self(1i32);
}
impl ::core::marker::Copy for GattSessionStatus {}
impl ::core::clone::Clone for GattSessionStatus {
fn clone(&self) -> Self {
*self
}
}
pub type GattSessionStatusChangedEventArgs = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"]
#[repr(transparent)]
pub struct GattSharingMode(pub i32);
impl GattSharingMode {
pub const Unspecified: Self = Self(0i32);
pub const Exclusive: Self = Self(1i32);
pub const SharedReadOnly: Self = Self(2i32);
pub const SharedReadAndWrite: Self = Self(3i32);
}
impl ::core::marker::Copy for GattSharingMode {}
impl ::core::clone::Clone for GattSharingMode {
fn clone(&self) -> Self {
*self
}
}
pub type GattSubscribedClient = *mut ::core::ffi::c_void;
pub type GattValueChangedEventArgs = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"]
#[repr(transparent)]
pub struct GattWriteOption(pub i32);
impl GattWriteOption {
pub const WriteWithResponse: Self = Self(0i32);
pub const WriteWithoutResponse: Self = Self(1i32);
}
impl ::core::marker::Copy for GattWriteOption {}
impl ::core::clone::Clone for GattWriteOption {
fn clone(&self) -> Self {
*self
}
}
pub type GattWriteRequest = *mut ::core::ffi::c_void;
pub type GattWriteRequestedEventArgs = *mut ::core::ffi::c_void;
pub type GattWriteResult = *mut ::core::ffi::c_void;

View File

@@ -0,0 +1,4 @@
pub type RfcommDeviceService = *mut ::core::ffi::c_void;
pub type RfcommDeviceServicesResult = *mut ::core::ffi::c_void;
pub type RfcommServiceId = *mut ::core::ffi::c_void;
pub type RfcommServiceProvider = *mut ::core::ffi::c_void;

View File

@@ -0,0 +1,220 @@
#[cfg(feature = "Devices_Bluetooth_Advertisement")]
pub mod Advertisement;
#[cfg(feature = "Devices_Bluetooth_Background")]
pub mod Background;
#[cfg(feature = "Devices_Bluetooth_GenericAttributeProfile")]
pub mod GenericAttributeProfile;
#[cfg(feature = "Devices_Bluetooth_Rfcomm")]
pub mod Rfcomm;
pub type BluetoothAdapter = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Bluetooth\"`*"]
#[repr(transparent)]
pub struct BluetoothAddressType(pub i32);
impl BluetoothAddressType {
pub const Public: Self = Self(0i32);
pub const Random: Self = Self(1i32);
pub const Unspecified: Self = Self(2i32);
}
impl ::core::marker::Copy for BluetoothAddressType {}
impl ::core::clone::Clone for BluetoothAddressType {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Bluetooth\"`*"]
#[repr(transparent)]
pub struct BluetoothCacheMode(pub i32);
impl BluetoothCacheMode {
pub const Cached: Self = Self(0i32);
pub const Uncached: Self = Self(1i32);
}
impl ::core::marker::Copy for BluetoothCacheMode {}
impl ::core::clone::Clone for BluetoothCacheMode {
fn clone(&self) -> Self {
*self
}
}
pub type BluetoothClassOfDevice = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Bluetooth\"`*"]
#[repr(transparent)]
pub struct BluetoothConnectionStatus(pub i32);
impl BluetoothConnectionStatus {
pub const Disconnected: Self = Self(0i32);
pub const Connected: Self = Self(1i32);
}
impl ::core::marker::Copy for BluetoothConnectionStatus {}
impl ::core::clone::Clone for BluetoothConnectionStatus {
fn clone(&self) -> Self {
*self
}
}
pub type BluetoothDevice = *mut ::core::ffi::c_void;
pub type BluetoothDeviceId = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Bluetooth\"`*"]
#[repr(transparent)]
pub struct BluetoothError(pub i32);
impl BluetoothError {
pub const Success: Self = Self(0i32);
pub const RadioNotAvailable: Self = Self(1i32);
pub const ResourceInUse: Self = Self(2i32);
pub const DeviceNotConnected: Self = Self(3i32);
pub const OtherError: Self = Self(4i32);
pub const DisabledByPolicy: Self = Self(5i32);
pub const NotSupported: Self = Self(6i32);
pub const DisabledByUser: Self = Self(7i32);
pub const ConsentRequired: Self = Self(8i32);
pub const TransportNotSupported: Self = Self(9i32);
}
impl ::core::marker::Copy for BluetoothError {}
impl ::core::clone::Clone for BluetoothError {
fn clone(&self) -> Self {
*self
}
}
pub type BluetoothLEAppearance = *mut ::core::ffi::c_void;
pub type BluetoothLEConnectionParameters = *mut ::core::ffi::c_void;
pub type BluetoothLEConnectionPhy = *mut ::core::ffi::c_void;
pub type BluetoothLEConnectionPhyInfo = *mut ::core::ffi::c_void;
pub type BluetoothLEDevice = *mut ::core::ffi::c_void;
pub type BluetoothLEPreferredConnectionParameters = *mut ::core::ffi::c_void;
pub type BluetoothLEPreferredConnectionParametersRequest = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Bluetooth\"`*"]
#[repr(transparent)]
pub struct BluetoothLEPreferredConnectionParametersRequestStatus(pub i32);
impl BluetoothLEPreferredConnectionParametersRequestStatus {
pub const Unspecified: Self = Self(0i32);
pub const Success: Self = Self(1i32);
pub const DeviceNotAvailable: Self = Self(2i32);
pub const AccessDenied: Self = Self(3i32);
}
impl ::core::marker::Copy for BluetoothLEPreferredConnectionParametersRequestStatus {}
impl ::core::clone::Clone for BluetoothLEPreferredConnectionParametersRequestStatus {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Bluetooth\"`*"]
#[repr(transparent)]
pub struct BluetoothMajorClass(pub i32);
impl BluetoothMajorClass {
pub const Miscellaneous: Self = Self(0i32);
pub const Computer: Self = Self(1i32);
pub const Phone: Self = Self(2i32);
pub const NetworkAccessPoint: Self = Self(3i32);
pub const AudioVideo: Self = Self(4i32);
pub const Peripheral: Self = Self(5i32);
pub const Imaging: Self = Self(6i32);
pub const Wearable: Self = Self(7i32);
pub const Toy: Self = Self(8i32);
pub const Health: Self = Self(9i32);
}
impl ::core::marker::Copy for BluetoothMajorClass {}
impl ::core::clone::Clone for BluetoothMajorClass {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Bluetooth\"`*"]
#[repr(transparent)]
pub struct BluetoothMinorClass(pub i32);
impl BluetoothMinorClass {
pub const Uncategorized: Self = Self(0i32);
pub const ComputerDesktop: Self = Self(1i32);
pub const ComputerServer: Self = Self(2i32);
pub const ComputerLaptop: Self = Self(3i32);
pub const ComputerHandheld: Self = Self(4i32);
pub const ComputerPalmSize: Self = Self(5i32);
pub const ComputerWearable: Self = Self(6i32);
pub const ComputerTablet: Self = Self(7i32);
pub const PhoneCellular: Self = Self(1i32);
pub const PhoneCordless: Self = Self(2i32);
pub const PhoneSmartPhone: Self = Self(3i32);
pub const PhoneWired: Self = Self(4i32);
pub const PhoneIsdn: Self = Self(5i32);
pub const NetworkFullyAvailable: Self = Self(0i32);
pub const NetworkUsed01To17Percent: Self = Self(8i32);
pub const NetworkUsed17To33Percent: Self = Self(16i32);
pub const NetworkUsed33To50Percent: Self = Self(24i32);
pub const NetworkUsed50To67Percent: Self = Self(32i32);
pub const NetworkUsed67To83Percent: Self = Self(40i32);
pub const NetworkUsed83To99Percent: Self = Self(48i32);
pub const NetworkNoServiceAvailable: Self = Self(56i32);
pub const AudioVideoWearableHeadset: Self = Self(1i32);
pub const AudioVideoHandsFree: Self = Self(2i32);
pub const AudioVideoMicrophone: Self = Self(4i32);
pub const AudioVideoLoudspeaker: Self = Self(5i32);
pub const AudioVideoHeadphones: Self = Self(6i32);
pub const AudioVideoPortableAudio: Self = Self(7i32);
pub const AudioVideoCarAudio: Self = Self(8i32);
pub const AudioVideoSetTopBox: Self = Self(9i32);
pub const AudioVideoHifiAudioDevice: Self = Self(10i32);
pub const AudioVideoVcr: Self = Self(11i32);
pub const AudioVideoVideoCamera: Self = Self(12i32);
pub const AudioVideoCamcorder: Self = Self(13i32);
pub const AudioVideoVideoMonitor: Self = Self(14i32);
pub const AudioVideoVideoDisplayAndLoudspeaker: Self = Self(15i32);
pub const AudioVideoVideoConferencing: Self = Self(16i32);
pub const AudioVideoGamingOrToy: Self = Self(18i32);
pub const PeripheralJoystick: Self = Self(1i32);
pub const PeripheralGamepad: Self = Self(2i32);
pub const PeripheralRemoteControl: Self = Self(3i32);
pub const PeripheralSensing: Self = Self(4i32);
pub const PeripheralDigitizerTablet: Self = Self(5i32);
pub const PeripheralCardReader: Self = Self(6i32);
pub const PeripheralDigitalPen: Self = Self(7i32);
pub const PeripheralHandheldScanner: Self = Self(8i32);
pub const PeripheralHandheldGesture: Self = Self(9i32);
pub const WearableWristwatch: Self = Self(1i32);
pub const WearablePager: Self = Self(2i32);
pub const WearableJacket: Self = Self(3i32);
pub const WearableHelmet: Self = Self(4i32);
pub const WearableGlasses: Self = Self(5i32);
pub const ToyRobot: Self = Self(1i32);
pub const ToyVehicle: Self = Self(2i32);
pub const ToyDoll: Self = Self(3i32);
pub const ToyController: Self = Self(4i32);
pub const ToyGame: Self = Self(5i32);
pub const HealthBloodPressureMonitor: Self = Self(1i32);
pub const HealthThermometer: Self = Self(2i32);
pub const HealthWeighingScale: Self = Self(3i32);
pub const HealthGlucoseMeter: Self = Self(4i32);
pub const HealthPulseOximeter: Self = Self(5i32);
pub const HealthHeartRateMonitor: Self = Self(6i32);
pub const HealthHealthDataDisplay: Self = Self(7i32);
pub const HealthStepCounter: Self = Self(8i32);
pub const HealthBodyCompositionAnalyzer: Self = Self(9i32);
pub const HealthPeakFlowMonitor: Self = Self(10i32);
pub const HealthMedicationMonitor: Self = Self(11i32);
pub const HealthKneeProsthesis: Self = Self(12i32);
pub const HealthAnkleProsthesis: Self = Self(13i32);
pub const HealthGenericHealthManager: Self = Self(14i32);
pub const HealthPersonalMobilityDevice: Self = Self(15i32);
}
impl ::core::marker::Copy for BluetoothMinorClass {}
impl ::core::clone::Clone for BluetoothMinorClass {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Bluetooth\"`*"]
#[repr(transparent)]
pub struct BluetoothServiceCapabilities(pub u32);
impl BluetoothServiceCapabilities {
pub const None: Self = Self(0u32);
pub const LimitedDiscoverableMode: Self = Self(1u32);
pub const PositioningService: Self = Self(8u32);
pub const NetworkingService: Self = Self(16u32);
pub const RenderingService: Self = Self(32u32);
pub const CapturingService: Self = Self(64u32);
pub const ObjectTransferService: Self = Self(128u32);
pub const AudioService: Self = Self(256u32);
pub const TelephoneService: Self = Self(512u32);
pub const InformationService: Self = Self(1024u32);
}
impl ::core::marker::Copy for BluetoothServiceCapabilities {}
impl ::core::clone::Clone for BluetoothServiceCapabilities {
fn clone(&self) -> Self {
*self
}
}
pub type BluetoothSignalStrengthFilter = *mut ::core::ffi::c_void;

View File

@@ -0,0 +1,60 @@
pub type CustomDevice = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Custom\"`*"]
#[repr(transparent)]
pub struct DeviceAccessMode(pub i32);
impl DeviceAccessMode {
pub const Read: Self = Self(0i32);
pub const Write: Self = Self(1i32);
pub const ReadWrite: Self = Self(2i32);
}
impl ::core::marker::Copy for DeviceAccessMode {}
impl ::core::clone::Clone for DeviceAccessMode {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Custom\"`*"]
#[repr(transparent)]
pub struct DeviceSharingMode(pub i32);
impl DeviceSharingMode {
pub const Shared: Self = Self(0i32);
pub const Exclusive: Self = Self(1i32);
}
impl ::core::marker::Copy for DeviceSharingMode {}
impl ::core::clone::Clone for DeviceSharingMode {
fn clone(&self) -> Self {
*self
}
}
pub type IIOControlCode = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Custom\"`*"]
#[repr(transparent)]
pub struct IOControlAccessMode(pub i32);
impl IOControlAccessMode {
pub const Any: Self = Self(0i32);
pub const Read: Self = Self(1i32);
pub const Write: Self = Self(2i32);
pub const ReadWrite: Self = Self(3i32);
}
impl ::core::marker::Copy for IOControlAccessMode {}
impl ::core::clone::Clone for IOControlAccessMode {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Custom\"`*"]
#[repr(transparent)]
pub struct IOControlBufferingMethod(pub i32);
impl IOControlBufferingMethod {
pub const Buffered: Self = Self(0i32);
pub const DirectInput: Self = Self(1i32);
pub const DirectOutput: Self = Self(2i32);
pub const Neither: Self = Self(3i32);
}
impl ::core::marker::Copy for IOControlBufferingMethod {}
impl ::core::clone::Clone for IOControlBufferingMethod {
fn clone(&self) -> Self {
*self
}
}
pub type IOControlCode = *mut ::core::ffi::c_void;

View File

@@ -0,0 +1,340 @@
pub type DisplayAdapter = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Display_Core\"`*"]
#[repr(transparent)]
pub struct DisplayBitsPerChannel(pub u32);
impl DisplayBitsPerChannel {
pub const None: Self = Self(0u32);
pub const Bpc6: Self = Self(1u32);
pub const Bpc8: Self = Self(2u32);
pub const Bpc10: Self = Self(4u32);
pub const Bpc12: Self = Self(8u32);
pub const Bpc14: Self = Self(16u32);
pub const Bpc16: Self = Self(32u32);
}
impl ::core::marker::Copy for DisplayBitsPerChannel {}
impl ::core::clone::Clone for DisplayBitsPerChannel {
fn clone(&self) -> Self {
*self
}
}
pub type DisplayDevice = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Display_Core\"`*"]
#[repr(transparent)]
pub struct DisplayDeviceCapability(pub i32);
impl DisplayDeviceCapability {
pub const FlipOverride: Self = Self(0i32);
}
impl ::core::marker::Copy for DisplayDeviceCapability {}
impl ::core::clone::Clone for DisplayDeviceCapability {
fn clone(&self) -> Self {
*self
}
}
pub type DisplayFence = *mut ::core::ffi::c_void;
pub type DisplayManager = *mut ::core::ffi::c_void;
pub type DisplayManagerChangedEventArgs = *mut ::core::ffi::c_void;
pub type DisplayManagerDisabledEventArgs = *mut ::core::ffi::c_void;
pub type DisplayManagerEnabledEventArgs = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Display_Core\"`*"]
#[repr(transparent)]
pub struct DisplayManagerOptions(pub u32);
impl DisplayManagerOptions {
pub const None: Self = Self(0u32);
pub const EnforceSourceOwnership: Self = Self(1u32);
pub const VirtualRefreshRateAware: Self = Self(2u32);
}
impl ::core::marker::Copy for DisplayManagerOptions {}
impl ::core::clone::Clone for DisplayManagerOptions {
fn clone(&self) -> Self {
*self
}
}
pub type DisplayManagerPathsFailedOrInvalidatedEventArgs = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Display_Core\"`*"]
#[repr(transparent)]
pub struct DisplayManagerResult(pub i32);
impl DisplayManagerResult {
pub const Success: Self = Self(0i32);
pub const UnknownFailure: Self = Self(1i32);
pub const TargetAccessDenied: Self = Self(2i32);
pub const TargetStale: Self = Self(3i32);
pub const RemoteSessionNotSupported: Self = Self(4i32);
}
impl ::core::marker::Copy for DisplayManagerResult {}
impl ::core::clone::Clone for DisplayManagerResult {
fn clone(&self) -> Self {
*self
}
}
pub type DisplayManagerResultWithState = *mut ::core::ffi::c_void;
pub type DisplayModeInfo = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Display_Core\"`*"]
#[repr(transparent)]
pub struct DisplayModeQueryOptions(pub u32);
impl DisplayModeQueryOptions {
pub const None: Self = Self(0u32);
pub const OnlyPreferredResolution: Self = Self(1u32);
}
impl ::core::marker::Copy for DisplayModeQueryOptions {}
impl ::core::clone::Clone for DisplayModeQueryOptions {
fn clone(&self) -> Self {
*self
}
}
pub type DisplayPath = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Display_Core\"`*"]
#[repr(transparent)]
pub struct DisplayPathScaling(pub i32);
impl DisplayPathScaling {
pub const Identity: Self = Self(0i32);
pub const Centered: Self = Self(1i32);
pub const Stretched: Self = Self(2i32);
pub const AspectRatioStretched: Self = Self(3i32);
pub const Custom: Self = Self(4i32);
pub const DriverPreferred: Self = Self(5i32);
}
impl ::core::marker::Copy for DisplayPathScaling {}
impl ::core::clone::Clone for DisplayPathScaling {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Display_Core\"`*"]
#[repr(transparent)]
pub struct DisplayPathStatus(pub i32);
impl DisplayPathStatus {
pub const Unknown: Self = Self(0i32);
pub const Succeeded: Self = Self(1i32);
pub const Pending: Self = Self(2i32);
pub const Failed: Self = Self(3i32);
pub const FailedAsync: Self = Self(4i32);
pub const InvalidatedAsync: Self = Self(5i32);
}
impl ::core::marker::Copy for DisplayPathStatus {}
impl ::core::clone::Clone for DisplayPathStatus {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Display_Core\"`*"]
#[repr(transparent)]
pub struct DisplayPresentStatus(pub i32);
impl DisplayPresentStatus {
pub const Success: Self = Self(0i32);
pub const SourceStatusPreventedPresent: Self = Self(1i32);
pub const ScanoutInvalid: Self = Self(2i32);
pub const SourceInvalid: Self = Self(3i32);
pub const DeviceInvalid: Self = Self(4i32);
pub const UnknownFailure: Self = Self(5i32);
}
impl ::core::marker::Copy for DisplayPresentStatus {}
impl ::core::clone::Clone for DisplayPresentStatus {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "*Required features: `\"Devices_Display_Core\"`, `\"Foundation_Numerics\"`*"]
#[cfg(feature = "Foundation_Numerics")]
pub struct DisplayPresentationRate {
pub VerticalSyncRate: super::super::super::Foundation::Numerics::Rational,
pub VerticalSyncsPerPresentation: i32,
}
#[cfg(feature = "Foundation_Numerics")]
impl ::core::marker::Copy for DisplayPresentationRate {}
#[cfg(feature = "Foundation_Numerics")]
impl ::core::clone::Clone for DisplayPresentationRate {
fn clone(&self) -> Self {
*self
}
}
pub type DisplayPrimaryDescription = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Display_Core\"`*"]
#[repr(transparent)]
pub struct DisplayRotation(pub i32);
impl DisplayRotation {
pub const None: Self = Self(0i32);
pub const Clockwise90Degrees: Self = Self(1i32);
pub const Clockwise180Degrees: Self = Self(2i32);
pub const Clockwise270Degrees: Self = Self(3i32);
}
impl ::core::marker::Copy for DisplayRotation {}
impl ::core::clone::Clone for DisplayRotation {
fn clone(&self) -> Self {
*self
}
}
pub type DisplayScanout = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Display_Core\"`*"]
#[repr(transparent)]
pub struct DisplayScanoutOptions(pub u32);
impl DisplayScanoutOptions {
pub const None: Self = Self(0u32);
pub const AllowTearing: Self = Self(2u32);
}
impl ::core::marker::Copy for DisplayScanoutOptions {}
impl ::core::clone::Clone for DisplayScanoutOptions {
fn clone(&self) -> Self {
*self
}
}
pub type DisplaySource = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Display_Core\"`*"]
#[repr(transparent)]
pub struct DisplaySourceStatus(pub i32);
impl DisplaySourceStatus {
pub const Active: Self = Self(0i32);
pub const PoweredOff: Self = Self(1i32);
pub const Invalid: Self = Self(2i32);
pub const OwnedByAnotherDevice: Self = Self(3i32);
pub const Unowned: Self = Self(4i32);
}
impl ::core::marker::Copy for DisplaySourceStatus {}
impl ::core::clone::Clone for DisplaySourceStatus {
fn clone(&self) -> Self {
*self
}
}
pub type DisplayState = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Display_Core\"`*"]
#[repr(transparent)]
pub struct DisplayStateApplyOptions(pub u32);
impl DisplayStateApplyOptions {
pub const None: Self = Self(0u32);
pub const FailIfStateChanged: Self = Self(1u32);
pub const ForceReapply: Self = Self(2u32);
pub const ForceModeEnumeration: Self = Self(4u32);
}
impl ::core::marker::Copy for DisplayStateApplyOptions {}
impl ::core::clone::Clone for DisplayStateApplyOptions {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Display_Core\"`*"]
#[repr(transparent)]
pub struct DisplayStateFunctionalizeOptions(pub u32);
impl DisplayStateFunctionalizeOptions {
pub const None: Self = Self(0u32);
pub const FailIfStateChanged: Self = Self(1u32);
pub const ValidateTopologyOnly: Self = Self(2u32);
}
impl ::core::marker::Copy for DisplayStateFunctionalizeOptions {}
impl ::core::clone::Clone for DisplayStateFunctionalizeOptions {
fn clone(&self) -> Self {
*self
}
}
pub type DisplayStateOperationResult = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Display_Core\"`*"]
#[repr(transparent)]
pub struct DisplayStateOperationStatus(pub i32);
impl DisplayStateOperationStatus {
pub const Success: Self = Self(0i32);
pub const PartialFailure: Self = Self(1i32);
pub const UnknownFailure: Self = Self(2i32);
pub const TargetOwnershipLost: Self = Self(3i32);
pub const SystemStateChanged: Self = Self(4i32);
pub const TooManyPathsForAdapter: Self = Self(5i32);
pub const ModesNotSupported: Self = Self(6i32);
pub const RemoteSessionNotSupported: Self = Self(7i32);
}
impl ::core::marker::Copy for DisplayStateOperationStatus {}
impl ::core::clone::Clone for DisplayStateOperationStatus {
fn clone(&self) -> Self {
*self
}
}
pub type DisplaySurface = *mut ::core::ffi::c_void;
pub type DisplayTarget = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Display_Core\"`*"]
#[repr(transparent)]
pub struct DisplayTargetPersistence(pub i32);
impl DisplayTargetPersistence {
pub const None: Self = Self(0i32);
pub const BootPersisted: Self = Self(1i32);
pub const TemporaryPersisted: Self = Self(2i32);
pub const PathPersisted: Self = Self(3i32);
}
impl ::core::marker::Copy for DisplayTargetPersistence {}
impl ::core::clone::Clone for DisplayTargetPersistence {
fn clone(&self) -> Self {
*self
}
}
pub type DisplayTask = *mut ::core::ffi::c_void;
pub type DisplayTaskPool = *mut ::core::ffi::c_void;
pub type DisplayTaskResult = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Display_Core\"`*"]
#[repr(transparent)]
pub struct DisplayTaskSignalKind(pub i32);
impl DisplayTaskSignalKind {
pub const OnPresentFlipAway: Self = Self(0i32);
pub const OnPresentFlipTo: Self = Self(1i32);
}
impl ::core::marker::Copy for DisplayTaskSignalKind {}
impl ::core::clone::Clone for DisplayTaskSignalKind {
fn clone(&self) -> Self {
*self
}
}
pub type DisplayView = *mut ::core::ffi::c_void;
pub type DisplayWireFormat = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Display_Core\"`*"]
#[repr(transparent)]
pub struct DisplayWireFormatColorSpace(pub i32);
impl DisplayWireFormatColorSpace {
pub const BT709: Self = Self(0i32);
pub const BT2020: Self = Self(1i32);
pub const ProfileDefinedWideColorGamut: Self = Self(2i32);
}
impl ::core::marker::Copy for DisplayWireFormatColorSpace {}
impl ::core::clone::Clone for DisplayWireFormatColorSpace {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Display_Core\"`*"]
#[repr(transparent)]
pub struct DisplayWireFormatEotf(pub i32);
impl DisplayWireFormatEotf {
pub const Sdr: Self = Self(0i32);
pub const HdrSmpte2084: Self = Self(1i32);
}
impl ::core::marker::Copy for DisplayWireFormatEotf {}
impl ::core::clone::Clone for DisplayWireFormatEotf {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Display_Core\"`*"]
#[repr(transparent)]
pub struct DisplayWireFormatHdrMetadata(pub i32);
impl DisplayWireFormatHdrMetadata {
pub const None: Self = Self(0i32);
pub const Hdr10: Self = Self(1i32);
pub const Hdr10Plus: Self = Self(2i32);
pub const DolbyVisionLowLatency: Self = Self(3i32);
}
impl ::core::marker::Copy for DisplayWireFormatHdrMetadata {}
impl ::core::clone::Clone for DisplayWireFormatHdrMetadata {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Display_Core\"`*"]
#[repr(transparent)]
pub struct DisplayWireFormatPixelEncoding(pub i32);
impl DisplayWireFormatPixelEncoding {
pub const Rgb444: Self = Self(0i32);
pub const Ycc444: Self = Self(1i32);
pub const Ycc422: Self = Self(2i32);
pub const Ycc420: Self = Self(3i32);
pub const Intensity: Self = Self(4i32);
}
impl ::core::marker::Copy for DisplayWireFormatPixelEncoding {}
impl ::core::clone::Clone for DisplayWireFormatPixelEncoding {
fn clone(&self) -> Self {
*self
}
}

View File

@@ -0,0 +1,64 @@
#[cfg(feature = "Devices_Display_Core")]
pub mod Core;
pub type DisplayMonitor = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Display\"`*"]
#[repr(transparent)]
pub struct DisplayMonitorConnectionKind(pub i32);
impl DisplayMonitorConnectionKind {
pub const Internal: Self = Self(0i32);
pub const Wired: Self = Self(1i32);
pub const Wireless: Self = Self(2i32);
pub const Virtual: Self = Self(3i32);
}
impl ::core::marker::Copy for DisplayMonitorConnectionKind {}
impl ::core::clone::Clone for DisplayMonitorConnectionKind {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Display\"`*"]
#[repr(transparent)]
pub struct DisplayMonitorDescriptorKind(pub i32);
impl DisplayMonitorDescriptorKind {
pub const Edid: Self = Self(0i32);
pub const DisplayId: Self = Self(1i32);
}
impl ::core::marker::Copy for DisplayMonitorDescriptorKind {}
impl ::core::clone::Clone for DisplayMonitorDescriptorKind {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Display\"`*"]
#[repr(transparent)]
pub struct DisplayMonitorPhysicalConnectorKind(pub i32);
impl DisplayMonitorPhysicalConnectorKind {
pub const Unknown: Self = Self(0i32);
pub const HD15: Self = Self(1i32);
pub const AnalogTV: Self = Self(2i32);
pub const Dvi: Self = Self(3i32);
pub const Hdmi: Self = Self(4i32);
pub const Lvds: Self = Self(5i32);
pub const Sdi: Self = Self(6i32);
pub const DisplayPort: Self = Self(7i32);
}
impl ::core::marker::Copy for DisplayMonitorPhysicalConnectorKind {}
impl ::core::clone::Clone for DisplayMonitorPhysicalConnectorKind {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Display\"`*"]
#[repr(transparent)]
pub struct DisplayMonitorUsageKind(pub i32);
impl DisplayMonitorUsageKind {
pub const Standard: Self = Self(0i32);
pub const HeadMounted: Self = Self(1i32);
pub const SpecialPurpose: Self = Self(2i32);
}
impl ::core::marker::Copy for DisplayMonitorUsageKind {}
impl ::core::clone::Clone for DisplayMonitorUsageKind {
fn clone(&self) -> Self {
*self
}
}

View File

@@ -0,0 +1,24 @@
pub type PnpObject = *mut ::core::ffi::c_void;
pub type PnpObjectCollection = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Enumeration_Pnp\"`*"]
#[repr(transparent)]
pub struct PnpObjectType(pub i32);
impl PnpObjectType {
pub const Unknown: Self = Self(0i32);
pub const DeviceInterface: Self = Self(1i32);
pub const DeviceContainer: Self = Self(2i32);
pub const Device: Self = Self(3i32);
pub const DeviceInterfaceClass: Self = Self(4i32);
pub const AssociationEndpoint: Self = Self(5i32);
pub const AssociationEndpointContainer: Self = Self(6i32);
pub const AssociationEndpointService: Self = Self(7i32);
pub const DevicePanel: Self = Self(8i32);
}
impl ::core::marker::Copy for PnpObjectType {}
impl ::core::clone::Clone for PnpObjectType {
fn clone(&self) -> Self {
*self
}
}
pub type PnpObjectUpdate = *mut ::core::ffi::c_void;
pub type PnpObjectWatcher = *mut ::core::ffi::c_void;

View File

@@ -0,0 +1,220 @@
#[cfg(feature = "Devices_Enumeration_Pnp")]
pub mod Pnp;
pub type DeviceAccessChangedEventArgs = *mut ::core::ffi::c_void;
pub type DeviceAccessInformation = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Enumeration\"`*"]
#[repr(transparent)]
pub struct DeviceAccessStatus(pub i32);
impl DeviceAccessStatus {
pub const Unspecified: Self = Self(0i32);
pub const Allowed: Self = Self(1i32);
pub const DeniedByUser: Self = Self(2i32);
pub const DeniedBySystem: Self = Self(3i32);
}
impl ::core::marker::Copy for DeviceAccessStatus {}
impl ::core::clone::Clone for DeviceAccessStatus {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Enumeration\"`*"]
#[repr(transparent)]
pub struct DeviceClass(pub i32);
impl DeviceClass {
pub const All: Self = Self(0i32);
pub const AudioCapture: Self = Self(1i32);
pub const AudioRender: Self = Self(2i32);
pub const PortableStorageDevice: Self = Self(3i32);
pub const VideoCapture: Self = Self(4i32);
pub const ImageScanner: Self = Self(5i32);
pub const Location: Self = Self(6i32);
}
impl ::core::marker::Copy for DeviceClass {}
impl ::core::clone::Clone for DeviceClass {
fn clone(&self) -> Self {
*self
}
}
pub type DeviceConnectionChangeTriggerDetails = *mut ::core::ffi::c_void;
pub type DeviceDisconnectButtonClickedEventArgs = *mut ::core::ffi::c_void;
pub type DeviceInformation = *mut ::core::ffi::c_void;
pub type DeviceInformationCollection = *mut ::core::ffi::c_void;
pub type DeviceInformationCustomPairing = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Enumeration\"`*"]
#[repr(transparent)]
pub struct DeviceInformationKind(pub i32);
impl DeviceInformationKind {
pub const Unknown: Self = Self(0i32);
pub const DeviceInterface: Self = Self(1i32);
pub const DeviceContainer: Self = Self(2i32);
pub const Device: Self = Self(3i32);
pub const DeviceInterfaceClass: Self = Self(4i32);
pub const AssociationEndpoint: Self = Self(5i32);
pub const AssociationEndpointContainer: Self = Self(6i32);
pub const AssociationEndpointService: Self = Self(7i32);
pub const DevicePanel: Self = Self(8i32);
}
impl ::core::marker::Copy for DeviceInformationKind {}
impl ::core::clone::Clone for DeviceInformationKind {
fn clone(&self) -> Self {
*self
}
}
pub type DeviceInformationPairing = *mut ::core::ffi::c_void;
pub type DeviceInformationUpdate = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Enumeration\"`*"]
#[repr(transparent)]
pub struct DevicePairingKinds(pub u32);
impl DevicePairingKinds {
pub const None: Self = Self(0u32);
pub const ConfirmOnly: Self = Self(1u32);
pub const DisplayPin: Self = Self(2u32);
pub const ProvidePin: Self = Self(4u32);
pub const ConfirmPinMatch: Self = Self(8u32);
pub const ProvidePasswordCredential: Self = Self(16u32);
}
impl ::core::marker::Copy for DevicePairingKinds {}
impl ::core::clone::Clone for DevicePairingKinds {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Enumeration\"`*"]
#[repr(transparent)]
pub struct DevicePairingProtectionLevel(pub i32);
impl DevicePairingProtectionLevel {
pub const Default: Self = Self(0i32);
pub const None: Self = Self(1i32);
pub const Encryption: Self = Self(2i32);
pub const EncryptionAndAuthentication: Self = Self(3i32);
}
impl ::core::marker::Copy for DevicePairingProtectionLevel {}
impl ::core::clone::Clone for DevicePairingProtectionLevel {
fn clone(&self) -> Self {
*self
}
}
pub type DevicePairingRequestedEventArgs = *mut ::core::ffi::c_void;
pub type DevicePairingResult = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Enumeration\"`*"]
#[repr(transparent)]
pub struct DevicePairingResultStatus(pub i32);
impl DevicePairingResultStatus {
pub const Paired: Self = Self(0i32);
pub const NotReadyToPair: Self = Self(1i32);
pub const NotPaired: Self = Self(2i32);
pub const AlreadyPaired: Self = Self(3i32);
pub const ConnectionRejected: Self = Self(4i32);
pub const TooManyConnections: Self = Self(5i32);
pub const HardwareFailure: Self = Self(6i32);
pub const AuthenticationTimeout: Self = Self(7i32);
pub const AuthenticationNotAllowed: Self = Self(8i32);
pub const AuthenticationFailure: Self = Self(9i32);
pub const NoSupportedProfiles: Self = Self(10i32);
pub const ProtectionLevelCouldNotBeMet: Self = Self(11i32);
pub const AccessDenied: Self = Self(12i32);
pub const InvalidCeremonyData: Self = Self(13i32);
pub const PairingCanceled: Self = Self(14i32);
pub const OperationAlreadyInProgress: Self = Self(15i32);
pub const RequiredHandlerNotRegistered: Self = Self(16i32);
pub const RejectedByHandler: Self = Self(17i32);
pub const RemoteDeviceHasAssociation: Self = Self(18i32);
pub const Failed: Self = Self(19i32);
}
impl ::core::marker::Copy for DevicePairingResultStatus {}
impl ::core::clone::Clone for DevicePairingResultStatus {
fn clone(&self) -> Self {
*self
}
}
pub type DevicePicker = *mut ::core::ffi::c_void;
pub type DevicePickerAppearance = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Enumeration\"`*"]
#[repr(transparent)]
pub struct DevicePickerDisplayStatusOptions(pub u32);
impl DevicePickerDisplayStatusOptions {
pub const None: Self = Self(0u32);
pub const ShowProgress: Self = Self(1u32);
pub const ShowDisconnectButton: Self = Self(2u32);
pub const ShowRetryButton: Self = Self(4u32);
}
impl ::core::marker::Copy for DevicePickerDisplayStatusOptions {}
impl ::core::clone::Clone for DevicePickerDisplayStatusOptions {
fn clone(&self) -> Self {
*self
}
}
pub type DevicePickerFilter = *mut ::core::ffi::c_void;
pub type DeviceSelectedEventArgs = *mut ::core::ffi::c_void;
pub type DeviceThumbnail = *mut ::core::ffi::c_void;
pub type DeviceUnpairingResult = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Enumeration\"`*"]
#[repr(transparent)]
pub struct DeviceUnpairingResultStatus(pub i32);
impl DeviceUnpairingResultStatus {
pub const Unpaired: Self = Self(0i32);
pub const AlreadyUnpaired: Self = Self(1i32);
pub const OperationAlreadyInProgress: Self = Self(2i32);
pub const AccessDenied: Self = Self(3i32);
pub const Failed: Self = Self(4i32);
}
impl ::core::marker::Copy for DeviceUnpairingResultStatus {}
impl ::core::clone::Clone for DeviceUnpairingResultStatus {
fn clone(&self) -> Self {
*self
}
}
pub type DeviceWatcher = *mut ::core::ffi::c_void;
pub type DeviceWatcherEvent = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Enumeration\"`*"]
#[repr(transparent)]
pub struct DeviceWatcherEventKind(pub i32);
impl DeviceWatcherEventKind {
pub const Add: Self = Self(0i32);
pub const Update: Self = Self(1i32);
pub const Remove: Self = Self(2i32);
}
impl ::core::marker::Copy for DeviceWatcherEventKind {}
impl ::core::clone::Clone for DeviceWatcherEventKind {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Enumeration\"`*"]
#[repr(transparent)]
pub struct DeviceWatcherStatus(pub i32);
impl DeviceWatcherStatus {
pub const Created: Self = Self(0i32);
pub const Started: Self = Self(1i32);
pub const EnumerationCompleted: Self = Self(2i32);
pub const Stopping: Self = Self(3i32);
pub const Stopped: Self = Self(4i32);
pub const Aborted: Self = Self(5i32);
}
impl ::core::marker::Copy for DeviceWatcherStatus {}
impl ::core::clone::Clone for DeviceWatcherStatus {
fn clone(&self) -> Self {
*self
}
}
pub type DeviceWatcherTriggerDetails = *mut ::core::ffi::c_void;
pub type EnclosureLocation = *mut ::core::ffi::c_void;
pub type IDevicePairingSettings = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Enumeration\"`*"]
#[repr(transparent)]
pub struct Panel(pub i32);
impl Panel {
pub const Unknown: Self = Self(0i32);
pub const Front: Self = Self(1i32);
pub const Back: Self = Self(2i32);
pub const Top: Self = Self(3i32);
pub const Bottom: Self = Self(4i32);
pub const Left: Self = Self(5i32);
pub const Right: Self = Self(6i32);
}
impl ::core::marker::Copy for Panel {}
impl ::core::clone::Clone for Panel {
fn clone(&self) -> Self {
*self
}
}

View File

@@ -0,0 +1,63 @@
pub type Geofence = *mut ::core::ffi::c_void;
pub type GeofenceMonitor = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Geolocation_Geofencing\"`*"]
#[repr(transparent)]
pub struct GeofenceMonitorStatus(pub i32);
impl GeofenceMonitorStatus {
pub const Ready: Self = Self(0i32);
pub const Initializing: Self = Self(1i32);
pub const NoData: Self = Self(2i32);
pub const Disabled: Self = Self(3i32);
pub const NotInitialized: Self = Self(4i32);
pub const NotAvailable: Self = Self(5i32);
}
impl ::core::marker::Copy for GeofenceMonitorStatus {}
impl ::core::clone::Clone for GeofenceMonitorStatus {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Geolocation_Geofencing\"`*"]
#[repr(transparent)]
pub struct GeofenceRemovalReason(pub i32);
impl GeofenceRemovalReason {
pub const Used: Self = Self(0i32);
pub const Expired: Self = Self(1i32);
}
impl ::core::marker::Copy for GeofenceRemovalReason {}
impl ::core::clone::Clone for GeofenceRemovalReason {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Geolocation_Geofencing\"`*"]
#[repr(transparent)]
pub struct GeofenceState(pub u32);
impl GeofenceState {
pub const None: Self = Self(0u32);
pub const Entered: Self = Self(1u32);
pub const Exited: Self = Self(2u32);
pub const Removed: Self = Self(4u32);
}
impl ::core::marker::Copy for GeofenceState {}
impl ::core::clone::Clone for GeofenceState {
fn clone(&self) -> Self {
*self
}
}
pub type GeofenceStateChangeReport = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Geolocation_Geofencing\"`*"]
#[repr(transparent)]
pub struct MonitoredGeofenceStates(pub u32);
impl MonitoredGeofenceStates {
pub const None: Self = Self(0u32);
pub const Entered: Self = Self(1u32);
pub const Exited: Self = Self(2u32);
pub const Removed: Self = Self(4u32);
}
impl ::core::marker::Copy for MonitoredGeofenceStates {}
impl ::core::clone::Clone for MonitoredGeofenceStates {
fn clone(&self) -> Self {
*self
}
}

View File

@@ -0,0 +1,153 @@
#[cfg(feature = "Devices_Geolocation_Geofencing")]
pub mod Geofencing;
#[doc = "*Required features: `\"Devices_Geolocation\"`*"]
#[repr(transparent)]
pub struct AltitudeReferenceSystem(pub i32);
impl AltitudeReferenceSystem {
pub const Unspecified: Self = Self(0i32);
pub const Terrain: Self = Self(1i32);
pub const Ellipsoid: Self = Self(2i32);
pub const Geoid: Self = Self(3i32);
pub const Surface: Self = Self(4i32);
}
impl ::core::marker::Copy for AltitudeReferenceSystem {}
impl ::core::clone::Clone for AltitudeReferenceSystem {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "*Required features: `\"Devices_Geolocation\"`*"]
pub struct BasicGeoposition {
pub Latitude: f64,
pub Longitude: f64,
pub Altitude: f64,
}
impl ::core::marker::Copy for BasicGeoposition {}
impl ::core::clone::Clone for BasicGeoposition {
fn clone(&self) -> Self {
*self
}
}
pub type CivicAddress = *mut ::core::ffi::c_void;
pub type GeoboundingBox = *mut ::core::ffi::c_void;
pub type Geocircle = *mut ::core::ffi::c_void;
pub type Geocoordinate = *mut ::core::ffi::c_void;
pub type GeocoordinateSatelliteData = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Geolocation\"`*"]
#[repr(transparent)]
pub struct GeolocationAccessStatus(pub i32);
impl GeolocationAccessStatus {
pub const Unspecified: Self = Self(0i32);
pub const Allowed: Self = Self(1i32);
pub const Denied: Self = Self(2i32);
}
impl ::core::marker::Copy for GeolocationAccessStatus {}
impl ::core::clone::Clone for GeolocationAccessStatus {
fn clone(&self) -> Self {
*self
}
}
pub type Geolocator = *mut ::core::ffi::c_void;
pub type Geopath = *mut ::core::ffi::c_void;
pub type Geopoint = *mut ::core::ffi::c_void;
pub type Geoposition = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Geolocation\"`*"]
#[repr(transparent)]
pub struct GeoshapeType(pub i32);
impl GeoshapeType {
pub const Geopoint: Self = Self(0i32);
pub const Geocircle: Self = Self(1i32);
pub const Geopath: Self = Self(2i32);
pub const GeoboundingBox: Self = Self(3i32);
}
impl ::core::marker::Copy for GeoshapeType {}
impl ::core::clone::Clone for GeoshapeType {
fn clone(&self) -> Self {
*self
}
}
pub type Geovisit = *mut ::core::ffi::c_void;
pub type GeovisitMonitor = *mut ::core::ffi::c_void;
pub type GeovisitStateChangedEventArgs = *mut ::core::ffi::c_void;
pub type GeovisitTriggerDetails = *mut ::core::ffi::c_void;
pub type IGeoshape = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Geolocation\"`*"]
#[repr(transparent)]
pub struct PositionAccuracy(pub i32);
impl PositionAccuracy {
pub const Default: Self = Self(0i32);
pub const High: Self = Self(1i32);
}
impl ::core::marker::Copy for PositionAccuracy {}
impl ::core::clone::Clone for PositionAccuracy {
fn clone(&self) -> Self {
*self
}
}
pub type PositionChangedEventArgs = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Geolocation\"`*"]
#[repr(transparent)]
pub struct PositionSource(pub i32);
impl PositionSource {
pub const Cellular: Self = Self(0i32);
pub const Satellite: Self = Self(1i32);
pub const WiFi: Self = Self(2i32);
pub const IPAddress: Self = Self(3i32);
pub const Unknown: Self = Self(4i32);
pub const Default: Self = Self(5i32);
pub const Obfuscated: Self = Self(6i32);
}
impl ::core::marker::Copy for PositionSource {}
impl ::core::clone::Clone for PositionSource {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Geolocation\"`*"]
#[repr(transparent)]
pub struct PositionStatus(pub i32);
impl PositionStatus {
pub const Ready: Self = Self(0i32);
pub const Initializing: Self = Self(1i32);
pub const NoData: Self = Self(2i32);
pub const Disabled: Self = Self(3i32);
pub const NotInitialized: Self = Self(4i32);
pub const NotAvailable: Self = Self(5i32);
}
impl ::core::marker::Copy for PositionStatus {}
impl ::core::clone::Clone for PositionStatus {
fn clone(&self) -> Self {
*self
}
}
pub type StatusChangedEventArgs = *mut ::core::ffi::c_void;
pub type VenueData = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Geolocation\"`*"]
#[repr(transparent)]
pub struct VisitMonitoringScope(pub i32);
impl VisitMonitoringScope {
pub const Venue: Self = Self(0i32);
pub const City: Self = Self(1i32);
}
impl ::core::marker::Copy for VisitMonitoringScope {}
impl ::core::clone::Clone for VisitMonitoringScope {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Geolocation\"`*"]
#[repr(transparent)]
pub struct VisitStateChange(pub i32);
impl VisitStateChange {
pub const TrackingLost: Self = Self(0i32);
pub const Arrived: Self = Self(1i32);
pub const Departed: Self = Self(2i32);
pub const OtherMovement: Self = Self(3i32);
}
impl ::core::marker::Copy for VisitStateChange {}
impl ::core::clone::Clone for VisitStateChange {
fn clone(&self) -> Self {
*self
}
}

View File

@@ -0,0 +1,62 @@
pub type GpioPinProviderValueChangedEventArgs = *mut ::core::ffi::c_void;
pub type IGpioControllerProvider = *mut ::core::ffi::c_void;
pub type IGpioPinProvider = *mut ::core::ffi::c_void;
pub type IGpioProvider = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Gpio_Provider\"`*"]
#[repr(transparent)]
pub struct ProviderGpioPinDriveMode(pub i32);
impl ProviderGpioPinDriveMode {
pub const Input: Self = Self(0i32);
pub const Output: Self = Self(1i32);
pub const InputPullUp: Self = Self(2i32);
pub const InputPullDown: Self = Self(3i32);
pub const OutputOpenDrain: Self = Self(4i32);
pub const OutputOpenDrainPullUp: Self = Self(5i32);
pub const OutputOpenSource: Self = Self(6i32);
pub const OutputOpenSourcePullDown: Self = Self(7i32);
}
impl ::core::marker::Copy for ProviderGpioPinDriveMode {}
impl ::core::clone::Clone for ProviderGpioPinDriveMode {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Gpio_Provider\"`*"]
#[repr(transparent)]
pub struct ProviderGpioPinEdge(pub i32);
impl ProviderGpioPinEdge {
pub const FallingEdge: Self = Self(0i32);
pub const RisingEdge: Self = Self(1i32);
}
impl ::core::marker::Copy for ProviderGpioPinEdge {}
impl ::core::clone::Clone for ProviderGpioPinEdge {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Gpio_Provider\"`*"]
#[repr(transparent)]
pub struct ProviderGpioPinValue(pub i32);
impl ProviderGpioPinValue {
pub const Low: Self = Self(0i32);
pub const High: Self = Self(1i32);
}
impl ::core::marker::Copy for ProviderGpioPinValue {}
impl ::core::clone::Clone for ProviderGpioPinValue {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Gpio_Provider\"`*"]
#[repr(transparent)]
pub struct ProviderGpioSharingMode(pub i32);
impl ProviderGpioSharingMode {
pub const Exclusive: Self = Self(0i32);
pub const SharedReadOnly: Self = Self(1i32);
}
impl ::core::marker::Copy for ProviderGpioSharingMode {}
impl ::core::clone::Clone for ProviderGpioSharingMode {
fn clone(&self) -> Self {
*self
}
}

View File

@@ -0,0 +1,125 @@
#[cfg(feature = "Devices_Gpio_Provider")]
pub mod Provider;
#[repr(C)]
#[doc = "*Required features: `\"Devices_Gpio\"`, `\"Foundation\"`*"]
#[cfg(feature = "Foundation")]
pub struct GpioChangeCount {
pub Count: u64,
pub RelativeTime: super::super::Foundation::TimeSpan,
}
#[cfg(feature = "Foundation")]
impl ::core::marker::Copy for GpioChangeCount {}
#[cfg(feature = "Foundation")]
impl ::core::clone::Clone for GpioChangeCount {
fn clone(&self) -> Self {
*self
}
}
pub type GpioChangeCounter = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Gpio\"`*"]
#[repr(transparent)]
pub struct GpioChangePolarity(pub i32);
impl GpioChangePolarity {
pub const Falling: Self = Self(0i32);
pub const Rising: Self = Self(1i32);
pub const Both: Self = Self(2i32);
}
impl ::core::marker::Copy for GpioChangePolarity {}
impl ::core::clone::Clone for GpioChangePolarity {
fn clone(&self) -> Self {
*self
}
}
pub type GpioChangeReader = *mut ::core::ffi::c_void;
#[repr(C)]
#[doc = "*Required features: `\"Devices_Gpio\"`, `\"Foundation\"`*"]
#[cfg(feature = "Foundation")]
pub struct GpioChangeRecord {
pub RelativeTime: super::super::Foundation::TimeSpan,
pub Edge: GpioPinEdge,
}
#[cfg(feature = "Foundation")]
impl ::core::marker::Copy for GpioChangeRecord {}
#[cfg(feature = "Foundation")]
impl ::core::clone::Clone for GpioChangeRecord {
fn clone(&self) -> Self {
*self
}
}
pub type GpioController = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Gpio\"`*"]
#[repr(transparent)]
pub struct GpioOpenStatus(pub i32);
impl GpioOpenStatus {
pub const PinOpened: Self = Self(0i32);
pub const PinUnavailable: Self = Self(1i32);
pub const SharingViolation: Self = Self(2i32);
pub const MuxingConflict: Self = Self(3i32);
pub const UnknownError: Self = Self(4i32);
}
impl ::core::marker::Copy for GpioOpenStatus {}
impl ::core::clone::Clone for GpioOpenStatus {
fn clone(&self) -> Self {
*self
}
}
pub type GpioPin = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Gpio\"`*"]
#[repr(transparent)]
pub struct GpioPinDriveMode(pub i32);
impl GpioPinDriveMode {
pub const Input: Self = Self(0i32);
pub const Output: Self = Self(1i32);
pub const InputPullUp: Self = Self(2i32);
pub const InputPullDown: Self = Self(3i32);
pub const OutputOpenDrain: Self = Self(4i32);
pub const OutputOpenDrainPullUp: Self = Self(5i32);
pub const OutputOpenSource: Self = Self(6i32);
pub const OutputOpenSourcePullDown: Self = Self(7i32);
}
impl ::core::marker::Copy for GpioPinDriveMode {}
impl ::core::clone::Clone for GpioPinDriveMode {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Gpio\"`*"]
#[repr(transparent)]
pub struct GpioPinEdge(pub i32);
impl GpioPinEdge {
pub const FallingEdge: Self = Self(0i32);
pub const RisingEdge: Self = Self(1i32);
}
impl ::core::marker::Copy for GpioPinEdge {}
impl ::core::clone::Clone for GpioPinEdge {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Gpio\"`*"]
#[repr(transparent)]
pub struct GpioPinValue(pub i32);
impl GpioPinValue {
pub const Low: Self = Self(0i32);
pub const High: Self = Self(1i32);
}
impl ::core::marker::Copy for GpioPinValue {}
impl ::core::clone::Clone for GpioPinValue {
fn clone(&self) -> Self {
*self
}
}
pub type GpioPinValueChangedEventArgs = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Gpio\"`*"]
#[repr(transparent)]
pub struct GpioSharingMode(pub i32);
impl GpioSharingMode {
pub const Exclusive: Self = Self(0i32);
pub const SharedReadOnly: Self = Self(1i32);
}
impl ::core::marker::Copy for GpioSharingMode {}
impl ::core::clone::Clone for GpioSharingMode {
fn clone(&self) -> Self {
*self
}
}

View File

@@ -0,0 +1,18 @@
pub type SimpleHapticsController = *mut ::core::ffi::c_void;
pub type SimpleHapticsControllerFeedback = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Haptics\"`*"]
#[repr(transparent)]
pub struct VibrationAccessStatus(pub i32);
impl VibrationAccessStatus {
pub const Allowed: Self = Self(0i32);
pub const DeniedByUser: Self = Self(1i32);
pub const DeniedBySystem: Self = Self(2i32);
pub const DeniedByEnergySaver: Self = Self(3i32);
}
impl ::core::marker::Copy for VibrationAccessStatus {}
impl ::core::clone::Clone for VibrationAccessStatus {
fn clone(&self) -> Self {
*self
}
}
pub type VibrationDevice = *mut ::core::ffi::c_void;

View File

@@ -0,0 +1,43 @@
pub type HidBooleanControl = *mut ::core::ffi::c_void;
pub type HidBooleanControlDescription = *mut ::core::ffi::c_void;
pub type HidCollection = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_HumanInterfaceDevice\"`*"]
#[repr(transparent)]
pub struct HidCollectionType(pub i32);
impl HidCollectionType {
pub const Physical: Self = Self(0i32);
pub const Application: Self = Self(1i32);
pub const Logical: Self = Self(2i32);
pub const Report: Self = Self(3i32);
pub const NamedArray: Self = Self(4i32);
pub const UsageSwitch: Self = Self(5i32);
pub const UsageModifier: Self = Self(6i32);
pub const Other: Self = Self(7i32);
}
impl ::core::marker::Copy for HidCollectionType {}
impl ::core::clone::Clone for HidCollectionType {
fn clone(&self) -> Self {
*self
}
}
pub type HidDevice = *mut ::core::ffi::c_void;
pub type HidFeatureReport = *mut ::core::ffi::c_void;
pub type HidInputReport = *mut ::core::ffi::c_void;
pub type HidInputReportReceivedEventArgs = *mut ::core::ffi::c_void;
pub type HidNumericControl = *mut ::core::ffi::c_void;
pub type HidNumericControlDescription = *mut ::core::ffi::c_void;
pub type HidOutputReport = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_HumanInterfaceDevice\"`*"]
#[repr(transparent)]
pub struct HidReportType(pub i32);
impl HidReportType {
pub const Input: Self = Self(0i32);
pub const Output: Self = Self(1i32);
pub const Feature: Self = Self(2i32);
}
impl ::core::marker::Copy for HidReportType {}
impl ::core::clone::Clone for HidReportType {
fn clone(&self) -> Self {
*self
}
}

View File

@@ -0,0 +1,56 @@
pub type II2cControllerProvider = *mut ::core::ffi::c_void;
pub type II2cDeviceProvider = *mut ::core::ffi::c_void;
pub type II2cProvider = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_I2c_Provider\"`*"]
#[repr(transparent)]
pub struct ProviderI2cBusSpeed(pub i32);
impl ProviderI2cBusSpeed {
pub const StandardMode: Self = Self(0i32);
pub const FastMode: Self = Self(1i32);
}
impl ::core::marker::Copy for ProviderI2cBusSpeed {}
impl ::core::clone::Clone for ProviderI2cBusSpeed {
fn clone(&self) -> Self {
*self
}
}
pub type ProviderI2cConnectionSettings = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_I2c_Provider\"`*"]
#[repr(transparent)]
pub struct ProviderI2cSharingMode(pub i32);
impl ProviderI2cSharingMode {
pub const Exclusive: Self = Self(0i32);
pub const Shared: Self = Self(1i32);
}
impl ::core::marker::Copy for ProviderI2cSharingMode {}
impl ::core::clone::Clone for ProviderI2cSharingMode {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "*Required features: `\"Devices_I2c_Provider\"`*"]
pub struct ProviderI2cTransferResult {
pub Status: ProviderI2cTransferStatus,
pub BytesTransferred: u32,
}
impl ::core::marker::Copy for ProviderI2cTransferResult {}
impl ::core::clone::Clone for ProviderI2cTransferResult {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_I2c_Provider\"`*"]
#[repr(transparent)]
pub struct ProviderI2cTransferStatus(pub i32);
impl ProviderI2cTransferStatus {
pub const FullTransfer: Self = Self(0i32);
pub const PartialTransfer: Self = Self(1i32);
pub const SlaveAddressNotAcknowledged: Self = Self(2i32);
}
impl ::core::marker::Copy for ProviderI2cTransferStatus {}
impl ::core::clone::Clone for ProviderI2cTransferStatus {
fn clone(&self) -> Self {
*self
}
}

View File

@@ -0,0 +1,60 @@
#[cfg(feature = "Devices_I2c_Provider")]
pub mod Provider;
#[doc = "*Required features: `\"Devices_I2c\"`*"]
#[repr(transparent)]
pub struct I2cBusSpeed(pub i32);
impl I2cBusSpeed {
pub const StandardMode: Self = Self(0i32);
pub const FastMode: Self = Self(1i32);
}
impl ::core::marker::Copy for I2cBusSpeed {}
impl ::core::clone::Clone for I2cBusSpeed {
fn clone(&self) -> Self {
*self
}
}
pub type I2cConnectionSettings = *mut ::core::ffi::c_void;
pub type I2cController = *mut ::core::ffi::c_void;
pub type I2cDevice = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_I2c\"`*"]
#[repr(transparent)]
pub struct I2cSharingMode(pub i32);
impl I2cSharingMode {
pub const Exclusive: Self = Self(0i32);
pub const Shared: Self = Self(1i32);
}
impl ::core::marker::Copy for I2cSharingMode {}
impl ::core::clone::Clone for I2cSharingMode {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "*Required features: `\"Devices_I2c\"`*"]
pub struct I2cTransferResult {
pub Status: I2cTransferStatus,
pub BytesTransferred: u32,
}
impl ::core::marker::Copy for I2cTransferResult {}
impl ::core::clone::Clone for I2cTransferResult {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_I2c\"`*"]
#[repr(transparent)]
pub struct I2cTransferStatus(pub i32);
impl I2cTransferStatus {
pub const FullTransfer: Self = Self(0i32);
pub const PartialTransfer: Self = Self(1i32);
pub const SlaveAddressNotAcknowledged: Self = Self(2i32);
pub const ClockStretchTimeout: Self = Self(3i32);
pub const UnknownError: Self = Self(4i32);
}
impl ::core::marker::Copy for I2cTransferStatus {}
impl ::core::clone::Clone for I2cTransferStatus {
fn clone(&self) -> Self {
*self
}
}
pub type II2cDeviceStatics = *mut ::core::ffi::c_void;

View File

@@ -0,0 +1,26 @@
#[doc = "*Required features: `\"Devices_Input_Preview\"`*"]
#[repr(transparent)]
pub struct GazeDeviceConfigurationStatePreview(pub i32);
impl GazeDeviceConfigurationStatePreview {
pub const Unknown: Self = Self(0i32);
pub const Ready: Self = Self(1i32);
pub const Configuring: Self = Self(2i32);
pub const ScreenSetupNeeded: Self = Self(3i32);
pub const UserCalibrationNeeded: Self = Self(4i32);
}
impl ::core::marker::Copy for GazeDeviceConfigurationStatePreview {}
impl ::core::clone::Clone for GazeDeviceConfigurationStatePreview {
fn clone(&self) -> Self {
*self
}
}
pub type GazeDevicePreview = *mut ::core::ffi::c_void;
pub type GazeDeviceWatcherAddedPreviewEventArgs = *mut ::core::ffi::c_void;
pub type GazeDeviceWatcherPreview = *mut ::core::ffi::c_void;
pub type GazeDeviceWatcherRemovedPreviewEventArgs = *mut ::core::ffi::c_void;
pub type GazeDeviceWatcherUpdatedPreviewEventArgs = *mut ::core::ffi::c_void;
pub type GazeEnteredPreviewEventArgs = *mut ::core::ffi::c_void;
pub type GazeExitedPreviewEventArgs = *mut ::core::ffi::c_void;
pub type GazeInputSourcePreview = *mut ::core::ffi::c_void;
pub type GazeMovedPreviewEventArgs = *mut ::core::ffi::c_void;
pub type GazePointPreview = *mut ::core::ffi::c_void;

View File

@@ -0,0 +1,60 @@
#[cfg(feature = "Devices_Input_Preview")]
pub mod Preview;
pub type KeyboardCapabilities = *mut ::core::ffi::c_void;
pub type MouseCapabilities = *mut ::core::ffi::c_void;
#[repr(C)]
#[doc = "*Required features: `\"Devices_Input\"`*"]
pub struct MouseDelta {
pub X: i32,
pub Y: i32,
}
impl ::core::marker::Copy for MouseDelta {}
impl ::core::clone::Clone for MouseDelta {
fn clone(&self) -> Self {
*self
}
}
pub type MouseDevice = *mut ::core::ffi::c_void;
pub type MouseEventArgs = *mut ::core::ffi::c_void;
pub type PenButtonListener = *mut ::core::ffi::c_void;
pub type PenDevice = *mut ::core::ffi::c_void;
pub type PenDockListener = *mut ::core::ffi::c_void;
pub type PenDockedEventArgs = *mut ::core::ffi::c_void;
pub type PenTailButtonClickedEventArgs = *mut ::core::ffi::c_void;
pub type PenTailButtonDoubleClickedEventArgs = *mut ::core::ffi::c_void;
pub type PenTailButtonLongPressedEventArgs = *mut ::core::ffi::c_void;
pub type PenUndockedEventArgs = *mut ::core::ffi::c_void;
pub type PointerDevice = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Input\"`*"]
#[repr(transparent)]
pub struct PointerDeviceType(pub i32);
impl PointerDeviceType {
pub const Touch: Self = Self(0i32);
pub const Pen: Self = Self(1i32);
pub const Mouse: Self = Self(2i32);
}
impl ::core::marker::Copy for PointerDeviceType {}
impl ::core::clone::Clone for PointerDeviceType {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "*Required features: `\"Devices_Input\"`*"]
pub struct PointerDeviceUsage {
pub UsagePage: u32,
pub Usage: u32,
pub MinLogical: i32,
pub MaxLogical: i32,
pub MinPhysical: i32,
pub MaxPhysical: i32,
pub Unit: u32,
pub PhysicalMultiplier: f32,
}
impl ::core::marker::Copy for PointerDeviceUsage {}
impl ::core::clone::Clone for PointerDeviceUsage {
fn clone(&self) -> Self {
*self
}
}
pub type TouchCapabilities = *mut ::core::ffi::c_void;

View File

@@ -0,0 +1,48 @@
pub type ILampArrayEffect = *mut ::core::ffi::c_void;
pub type LampArrayBitmapEffect = *mut ::core::ffi::c_void;
pub type LampArrayBitmapRequestedEventArgs = *mut ::core::ffi::c_void;
pub type LampArrayBlinkEffect = *mut ::core::ffi::c_void;
pub type LampArrayColorRampEffect = *mut ::core::ffi::c_void;
pub type LampArrayCustomEffect = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Lights_Effects\"`*"]
#[repr(transparent)]
pub struct LampArrayEffectCompletionBehavior(pub i32);
impl LampArrayEffectCompletionBehavior {
pub const ClearState: Self = Self(0i32);
pub const KeepState: Self = Self(1i32);
}
impl ::core::marker::Copy for LampArrayEffectCompletionBehavior {}
impl ::core::clone::Clone for LampArrayEffectCompletionBehavior {
fn clone(&self) -> Self {
*self
}
}
pub type LampArrayEffectPlaylist = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Lights_Effects\"`*"]
#[repr(transparent)]
pub struct LampArrayEffectStartMode(pub i32);
impl LampArrayEffectStartMode {
pub const Sequential: Self = Self(0i32);
pub const Simultaneous: Self = Self(1i32);
}
impl ::core::marker::Copy for LampArrayEffectStartMode {}
impl ::core::clone::Clone for LampArrayEffectStartMode {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_Lights_Effects\"`*"]
#[repr(transparent)]
pub struct LampArrayRepetitionMode(pub i32);
impl LampArrayRepetitionMode {
pub const Occurrences: Self = Self(0i32);
pub const Forever: Self = Self(1i32);
}
impl ::core::marker::Copy for LampArrayRepetitionMode {}
impl ::core::clone::Clone for LampArrayRepetitionMode {
fn clone(&self) -> Self {
*self
}
}
pub type LampArraySolidEffect = *mut ::core::ffi::c_void;
pub type LampArrayUpdateRequestedEventArgs = *mut ::core::ffi::c_void;

View File

@@ -0,0 +1,46 @@
#[cfg(feature = "Devices_Lights_Effects")]
pub mod Effects;
pub type Lamp = *mut ::core::ffi::c_void;
pub type LampArray = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Lights\"`*"]
#[repr(transparent)]
pub struct LampArrayKind(pub i32);
impl LampArrayKind {
pub const Undefined: Self = Self(0i32);
pub const Keyboard: Self = Self(1i32);
pub const Mouse: Self = Self(2i32);
pub const GameController: Self = Self(3i32);
pub const Peripheral: Self = Self(4i32);
pub const Scene: Self = Self(5i32);
pub const Notification: Self = Self(6i32);
pub const Chassis: Self = Self(7i32);
pub const Wearable: Self = Self(8i32);
pub const Furniture: Self = Self(9i32);
pub const Art: Self = Self(10i32);
}
impl ::core::marker::Copy for LampArrayKind {}
impl ::core::clone::Clone for LampArrayKind {
fn clone(&self) -> Self {
*self
}
}
pub type LampAvailabilityChangedEventArgs = *mut ::core::ffi::c_void;
pub type LampInfo = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Lights\"`*"]
#[repr(transparent)]
pub struct LampPurposes(pub u32);
impl LampPurposes {
pub const Undefined: Self = Self(0u32);
pub const Control: Self = Self(1u32);
pub const Accent: Self = Self(2u32);
pub const Branding: Self = Self(4u32);
pub const Status: Self = Self(8u32);
pub const Illumination: Self = Self(16u32);
pub const Presentation: Self = Self(32u32);
}
impl ::core::marker::Copy for LampPurposes {}
impl ::core::clone::Clone for LampPurposes {
fn clone(&self) -> Self {
*self
}
}

View File

@@ -0,0 +1,55 @@
pub type IMidiMessage = *mut ::core::ffi::c_void;
pub type IMidiOutPort = *mut ::core::ffi::c_void;
pub type MidiActiveSensingMessage = *mut ::core::ffi::c_void;
pub type MidiChannelPressureMessage = *mut ::core::ffi::c_void;
pub type MidiContinueMessage = *mut ::core::ffi::c_void;
pub type MidiControlChangeMessage = *mut ::core::ffi::c_void;
pub type MidiInPort = *mut ::core::ffi::c_void;
pub type MidiMessageReceivedEventArgs = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Midi\"`*"]
#[repr(transparent)]
pub struct MidiMessageType(pub i32);
impl MidiMessageType {
pub const None: Self = Self(0i32);
pub const NoteOff: Self = Self(128i32);
pub const NoteOn: Self = Self(144i32);
pub const PolyphonicKeyPressure: Self = Self(160i32);
pub const ControlChange: Self = Self(176i32);
pub const ProgramChange: Self = Self(192i32);
pub const ChannelPressure: Self = Self(208i32);
pub const PitchBendChange: Self = Self(224i32);
pub const SystemExclusive: Self = Self(240i32);
pub const MidiTimeCode: Self = Self(241i32);
pub const SongPositionPointer: Self = Self(242i32);
pub const SongSelect: Self = Self(243i32);
pub const TuneRequest: Self = Self(246i32);
pub const EndSystemExclusive: Self = Self(247i32);
pub const TimingClock: Self = Self(248i32);
pub const Start: Self = Self(250i32);
pub const Continue: Self = Self(251i32);
pub const Stop: Self = Self(252i32);
pub const ActiveSensing: Self = Self(254i32);
pub const SystemReset: Self = Self(255i32);
}
impl ::core::marker::Copy for MidiMessageType {}
impl ::core::clone::Clone for MidiMessageType {
fn clone(&self) -> Self {
*self
}
}
pub type MidiNoteOffMessage = *mut ::core::ffi::c_void;
pub type MidiNoteOnMessage = *mut ::core::ffi::c_void;
pub type MidiOutPort = *mut ::core::ffi::c_void;
pub type MidiPitchBendChangeMessage = *mut ::core::ffi::c_void;
pub type MidiPolyphonicKeyPressureMessage = *mut ::core::ffi::c_void;
pub type MidiProgramChangeMessage = *mut ::core::ffi::c_void;
pub type MidiSongPositionPointerMessage = *mut ::core::ffi::c_void;
pub type MidiSongSelectMessage = *mut ::core::ffi::c_void;
pub type MidiStartMessage = *mut ::core::ffi::c_void;
pub type MidiStopMessage = *mut ::core::ffi::c_void;
pub type MidiSynthesizer = *mut ::core::ffi::c_void;
pub type MidiSystemExclusiveMessage = *mut ::core::ffi::c_void;
pub type MidiSystemResetMessage = *mut ::core::ffi::c_void;
pub type MidiTimeCodeMessage = *mut ::core::ffi::c_void;
pub type MidiTimingClockMessage = *mut ::core::ffi::c_void;
pub type MidiTuneRequestMessage = *mut ::core::ffi::c_void;

View File

@@ -0,0 +1,12 @@
pub type IPerceptionFrameProvider = *mut ::core::ffi::c_void;
pub type IPerceptionFrameProviderManager = *mut ::core::ffi::c_void;
pub type PerceptionControlGroup = *mut ::core::ffi::c_void;
pub type PerceptionCorrelation = *mut ::core::ffi::c_void;
pub type PerceptionCorrelationGroup = *mut ::core::ffi::c_void;
pub type PerceptionFaceAuthenticationGroup = *mut ::core::ffi::c_void;
pub type PerceptionFrame = *mut ::core::ffi::c_void;
pub type PerceptionFrameProviderInfo = *mut ::core::ffi::c_void;
pub type PerceptionPropertyChangeRequest = *mut ::core::ffi::c_void;
pub type PerceptionStartFaceAuthenticationHandler = *mut ::core::ffi::c_void;
pub type PerceptionStopFaceAuthenticationHandler = *mut ::core::ffi::c_void;
pub type PerceptionVideoFrameAllocator = *mut ::core::ffi::c_void;

View File

@@ -0,0 +1,69 @@
#[cfg(feature = "Devices_Perception_Provider")]
pub mod Provider;
pub type PerceptionColorFrame = *mut ::core::ffi::c_void;
pub type PerceptionColorFrameArrivedEventArgs = *mut ::core::ffi::c_void;
pub type PerceptionColorFrameReader = *mut ::core::ffi::c_void;
pub type PerceptionColorFrameSource = *mut ::core::ffi::c_void;
pub type PerceptionColorFrameSourceAddedEventArgs = *mut ::core::ffi::c_void;
pub type PerceptionColorFrameSourceRemovedEventArgs = *mut ::core::ffi::c_void;
pub type PerceptionColorFrameSourceWatcher = *mut ::core::ffi::c_void;
pub type PerceptionControlSession = *mut ::core::ffi::c_void;
pub type PerceptionDepthCorrelatedCameraIntrinsics = *mut ::core::ffi::c_void;
pub type PerceptionDepthCorrelatedCoordinateMapper = *mut ::core::ffi::c_void;
pub type PerceptionDepthFrame = *mut ::core::ffi::c_void;
pub type PerceptionDepthFrameArrivedEventArgs = *mut ::core::ffi::c_void;
pub type PerceptionDepthFrameReader = *mut ::core::ffi::c_void;
pub type PerceptionDepthFrameSource = *mut ::core::ffi::c_void;
pub type PerceptionDepthFrameSourceAddedEventArgs = *mut ::core::ffi::c_void;
pub type PerceptionDepthFrameSourceRemovedEventArgs = *mut ::core::ffi::c_void;
pub type PerceptionDepthFrameSourceWatcher = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Perception\"`, `\"deprecated\"`*"]
#[cfg(feature = "deprecated")]
#[repr(transparent)]
pub struct PerceptionFrameSourceAccessStatus(pub i32);
#[cfg(feature = "deprecated")]
impl PerceptionFrameSourceAccessStatus {
pub const Unspecified: Self = Self(0i32);
pub const Allowed: Self = Self(1i32);
pub const DeniedByUser: Self = Self(2i32);
pub const DeniedBySystem: Self = Self(3i32);
}
#[cfg(feature = "deprecated")]
impl ::core::marker::Copy for PerceptionFrameSourceAccessStatus {}
#[cfg(feature = "deprecated")]
impl ::core::clone::Clone for PerceptionFrameSourceAccessStatus {
fn clone(&self) -> Self {
*self
}
}
pub type PerceptionFrameSourcePropertiesChangedEventArgs = *mut ::core::ffi::c_void;
pub type PerceptionFrameSourcePropertyChangeResult = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Perception\"`, `\"deprecated\"`*"]
#[cfg(feature = "deprecated")]
#[repr(transparent)]
pub struct PerceptionFrameSourcePropertyChangeStatus(pub i32);
#[cfg(feature = "deprecated")]
impl PerceptionFrameSourcePropertyChangeStatus {
pub const Unknown: Self = Self(0i32);
pub const Accepted: Self = Self(1i32);
pub const LostControl: Self = Self(2i32);
pub const PropertyNotSupported: Self = Self(3i32);
pub const PropertyReadOnly: Self = Self(4i32);
pub const ValueOutOfRange: Self = Self(5i32);
}
#[cfg(feature = "deprecated")]
impl ::core::marker::Copy for PerceptionFrameSourcePropertyChangeStatus {}
#[cfg(feature = "deprecated")]
impl ::core::clone::Clone for PerceptionFrameSourcePropertyChangeStatus {
fn clone(&self) -> Self {
*self
}
}
pub type PerceptionInfraredFrame = *mut ::core::ffi::c_void;
pub type PerceptionInfraredFrameArrivedEventArgs = *mut ::core::ffi::c_void;
pub type PerceptionInfraredFrameReader = *mut ::core::ffi::c_void;
pub type PerceptionInfraredFrameSource = *mut ::core::ffi::c_void;
pub type PerceptionInfraredFrameSourceAddedEventArgs = *mut ::core::ffi::c_void;
pub type PerceptionInfraredFrameSourceRemovedEventArgs = *mut ::core::ffi::c_void;
pub type PerceptionInfraredFrameSourceWatcher = *mut ::core::ffi::c_void;
pub type PerceptionVideoProfile = *mut ::core::ffi::c_void;

View File

@@ -0,0 +1,35 @@
pub type BarcodeScannerDisableScannerRequest = *mut ::core::ffi::c_void;
pub type BarcodeScannerDisableScannerRequestEventArgs = *mut ::core::ffi::c_void;
pub type BarcodeScannerEnableScannerRequest = *mut ::core::ffi::c_void;
pub type BarcodeScannerEnableScannerRequestEventArgs = *mut ::core::ffi::c_void;
pub type BarcodeScannerFrameReader = *mut ::core::ffi::c_void;
pub type BarcodeScannerFrameReaderFrameArrivedEventArgs = *mut ::core::ffi::c_void;
pub type BarcodeScannerGetSymbologyAttributesRequest = *mut ::core::ffi::c_void;
pub type BarcodeScannerGetSymbologyAttributesRequestEventArgs = *mut ::core::ffi::c_void;
pub type BarcodeScannerHideVideoPreviewRequest = *mut ::core::ffi::c_void;
pub type BarcodeScannerHideVideoPreviewRequestEventArgs = *mut ::core::ffi::c_void;
pub type BarcodeScannerProviderConnection = *mut ::core::ffi::c_void;
pub type BarcodeScannerProviderTriggerDetails = *mut ::core::ffi::c_void;
pub type BarcodeScannerSetActiveSymbologiesRequest = *mut ::core::ffi::c_void;
pub type BarcodeScannerSetActiveSymbologiesRequestEventArgs = *mut ::core::ffi::c_void;
pub type BarcodeScannerSetSymbologyAttributesRequest = *mut ::core::ffi::c_void;
pub type BarcodeScannerSetSymbologyAttributesRequestEventArgs = *mut ::core::ffi::c_void;
pub type BarcodeScannerStartSoftwareTriggerRequest = *mut ::core::ffi::c_void;
pub type BarcodeScannerStartSoftwareTriggerRequestEventArgs = *mut ::core::ffi::c_void;
pub type BarcodeScannerStopSoftwareTriggerRequest = *mut ::core::ffi::c_void;
pub type BarcodeScannerStopSoftwareTriggerRequestEventArgs = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"]
#[repr(transparent)]
pub struct BarcodeScannerTriggerState(pub i32);
impl BarcodeScannerTriggerState {
pub const Released: Self = Self(0i32);
pub const Pressed: Self = Self(1i32);
}
impl ::core::marker::Copy for BarcodeScannerTriggerState {}
impl ::core::clone::Clone for BarcodeScannerTriggerState {
fn clone(&self) -> Self {
*self
}
}
pub type BarcodeScannerVideoFrame = *mut ::core::ffi::c_void;
pub type BarcodeSymbologyAttributesBuilder = *mut ::core::ffi::c_void;

View File

@@ -0,0 +1,654 @@
#[cfg(feature = "Devices_PointOfService_Provider")]
pub mod Provider;
pub type BarcodeScanner = *mut ::core::ffi::c_void;
pub type BarcodeScannerCapabilities = *mut ::core::ffi::c_void;
pub type BarcodeScannerDataReceivedEventArgs = *mut ::core::ffi::c_void;
pub type BarcodeScannerErrorOccurredEventArgs = *mut ::core::ffi::c_void;
pub type BarcodeScannerImagePreviewReceivedEventArgs = *mut ::core::ffi::c_void;
pub type BarcodeScannerReport = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct BarcodeScannerStatus(pub i32);
impl BarcodeScannerStatus {
pub const Online: Self = Self(0i32);
pub const Off: Self = Self(1i32);
pub const Offline: Self = Self(2i32);
pub const OffOrOffline: Self = Self(3i32);
pub const Extended: Self = Self(4i32);
}
impl ::core::marker::Copy for BarcodeScannerStatus {}
impl ::core::clone::Clone for BarcodeScannerStatus {
fn clone(&self) -> Self {
*self
}
}
pub type BarcodeScannerStatusUpdatedEventArgs = *mut ::core::ffi::c_void;
pub type BarcodeSymbologyAttributes = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct BarcodeSymbologyDecodeLengthKind(pub i32);
impl BarcodeSymbologyDecodeLengthKind {
pub const AnyLength: Self = Self(0i32);
pub const Discrete: Self = Self(1i32);
pub const Range: Self = Self(2i32);
}
impl ::core::marker::Copy for BarcodeSymbologyDecodeLengthKind {}
impl ::core::clone::Clone for BarcodeSymbologyDecodeLengthKind {
fn clone(&self) -> Self {
*self
}
}
pub type CashDrawer = *mut ::core::ffi::c_void;
pub type CashDrawerCapabilities = *mut ::core::ffi::c_void;
pub type CashDrawerCloseAlarm = *mut ::core::ffi::c_void;
pub type CashDrawerClosedEventArgs = *mut ::core::ffi::c_void;
pub type CashDrawerEventSource = *mut ::core::ffi::c_void;
pub type CashDrawerOpenedEventArgs = *mut ::core::ffi::c_void;
pub type CashDrawerStatus = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct CashDrawerStatusKind(pub i32);
impl CashDrawerStatusKind {
pub const Online: Self = Self(0i32);
pub const Off: Self = Self(1i32);
pub const Offline: Self = Self(2i32);
pub const OffOrOffline: Self = Self(3i32);
pub const Extended: Self = Self(4i32);
}
impl ::core::marker::Copy for CashDrawerStatusKind {}
impl ::core::clone::Clone for CashDrawerStatusKind {
fn clone(&self) -> Self {
*self
}
}
pub type CashDrawerStatusUpdatedEventArgs = *mut ::core::ffi::c_void;
pub type ClaimedBarcodeScanner = *mut ::core::ffi::c_void;
pub type ClaimedBarcodeScannerClosedEventArgs = *mut ::core::ffi::c_void;
pub type ClaimedCashDrawer = *mut ::core::ffi::c_void;
pub type ClaimedCashDrawerClosedEventArgs = *mut ::core::ffi::c_void;
pub type ClaimedJournalPrinter = *mut ::core::ffi::c_void;
pub type ClaimedLineDisplay = *mut ::core::ffi::c_void;
pub type ClaimedLineDisplayClosedEventArgs = *mut ::core::ffi::c_void;
pub type ClaimedMagneticStripeReader = *mut ::core::ffi::c_void;
pub type ClaimedMagneticStripeReaderClosedEventArgs = *mut ::core::ffi::c_void;
pub type ClaimedPosPrinter = *mut ::core::ffi::c_void;
pub type ClaimedPosPrinterClosedEventArgs = *mut ::core::ffi::c_void;
pub type ClaimedReceiptPrinter = *mut ::core::ffi::c_void;
pub type ClaimedSlipPrinter = *mut ::core::ffi::c_void;
pub type ICashDrawerEventSourceEventArgs = *mut ::core::ffi::c_void;
pub type ICommonClaimedPosPrinterStation = *mut ::core::ffi::c_void;
pub type ICommonPosPrintStationCapabilities = *mut ::core::ffi::c_void;
pub type ICommonReceiptSlipCapabilities = *mut ::core::ffi::c_void;
pub type IPosPrinterJob = *mut ::core::ffi::c_void;
pub type IReceiptOrSlipJob = *mut ::core::ffi::c_void;
pub type JournalPrintJob = *mut ::core::ffi::c_void;
pub type JournalPrinterCapabilities = *mut ::core::ffi::c_void;
pub type LineDisplay = *mut ::core::ffi::c_void;
pub type LineDisplayAttributes = *mut ::core::ffi::c_void;
pub type LineDisplayCapabilities = *mut ::core::ffi::c_void;
pub type LineDisplayCursor = *mut ::core::ffi::c_void;
pub type LineDisplayCursorAttributes = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct LineDisplayCursorType(pub i32);
impl LineDisplayCursorType {
pub const None: Self = Self(0i32);
pub const Block: Self = Self(1i32);
pub const HalfBlock: Self = Self(2i32);
pub const Underline: Self = Self(3i32);
pub const Reverse: Self = Self(4i32);
pub const Other: Self = Self(5i32);
}
impl ::core::marker::Copy for LineDisplayCursorType {}
impl ::core::clone::Clone for LineDisplayCursorType {
fn clone(&self) -> Self {
*self
}
}
pub type LineDisplayCustomGlyphs = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct LineDisplayDescriptorState(pub i32);
impl LineDisplayDescriptorState {
pub const Off: Self = Self(0i32);
pub const On: Self = Self(1i32);
pub const Blink: Self = Self(2i32);
}
impl ::core::marker::Copy for LineDisplayDescriptorState {}
impl ::core::clone::Clone for LineDisplayDescriptorState {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct LineDisplayHorizontalAlignment(pub i32);
impl LineDisplayHorizontalAlignment {
pub const Left: Self = Self(0i32);
pub const Center: Self = Self(1i32);
pub const Right: Self = Self(2i32);
}
impl ::core::marker::Copy for LineDisplayHorizontalAlignment {}
impl ::core::clone::Clone for LineDisplayHorizontalAlignment {
fn clone(&self) -> Self {
*self
}
}
pub type LineDisplayMarquee = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct LineDisplayMarqueeFormat(pub i32);
impl LineDisplayMarqueeFormat {
pub const None: Self = Self(0i32);
pub const Walk: Self = Self(1i32);
pub const Place: Self = Self(2i32);
}
impl ::core::marker::Copy for LineDisplayMarqueeFormat {}
impl ::core::clone::Clone for LineDisplayMarqueeFormat {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct LineDisplayPowerStatus(pub i32);
impl LineDisplayPowerStatus {
pub const Unknown: Self = Self(0i32);
pub const Online: Self = Self(1i32);
pub const Off: Self = Self(2i32);
pub const Offline: Self = Self(3i32);
pub const OffOrOffline: Self = Self(4i32);
}
impl ::core::marker::Copy for LineDisplayPowerStatus {}
impl ::core::clone::Clone for LineDisplayPowerStatus {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct LineDisplayScrollDirection(pub i32);
impl LineDisplayScrollDirection {
pub const Up: Self = Self(0i32);
pub const Down: Self = Self(1i32);
pub const Left: Self = Self(2i32);
pub const Right: Self = Self(3i32);
}
impl ::core::marker::Copy for LineDisplayScrollDirection {}
impl ::core::clone::Clone for LineDisplayScrollDirection {
fn clone(&self) -> Self {
*self
}
}
pub type LineDisplayStatisticsCategorySelector = *mut ::core::ffi::c_void;
pub type LineDisplayStatusUpdatedEventArgs = *mut ::core::ffi::c_void;
pub type LineDisplayStoredBitmap = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct LineDisplayTextAttribute(pub i32);
impl LineDisplayTextAttribute {
pub const Normal: Self = Self(0i32);
pub const Blink: Self = Self(1i32);
pub const Reverse: Self = Self(2i32);
pub const ReverseBlink: Self = Self(3i32);
}
impl ::core::marker::Copy for LineDisplayTextAttribute {}
impl ::core::clone::Clone for LineDisplayTextAttribute {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct LineDisplayTextAttributeGranularity(pub i32);
impl LineDisplayTextAttributeGranularity {
pub const NotSupported: Self = Self(0i32);
pub const EntireDisplay: Self = Self(1i32);
pub const PerCharacter: Self = Self(2i32);
}
impl ::core::marker::Copy for LineDisplayTextAttributeGranularity {}
impl ::core::clone::Clone for LineDisplayTextAttributeGranularity {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct LineDisplayVerticalAlignment(pub i32);
impl LineDisplayVerticalAlignment {
pub const Top: Self = Self(0i32);
pub const Center: Self = Self(1i32);
pub const Bottom: Self = Self(2i32);
}
impl ::core::marker::Copy for LineDisplayVerticalAlignment {}
impl ::core::clone::Clone for LineDisplayVerticalAlignment {
fn clone(&self) -> Self {
*self
}
}
pub type LineDisplayWindow = *mut ::core::ffi::c_void;
pub type MagneticStripeReader = *mut ::core::ffi::c_void;
pub type MagneticStripeReaderAamvaCardDataReceivedEventArgs = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct MagneticStripeReaderAuthenticationLevel(pub i32);
impl MagneticStripeReaderAuthenticationLevel {
pub const NotSupported: Self = Self(0i32);
pub const Optional: Self = Self(1i32);
pub const Required: Self = Self(2i32);
}
impl ::core::marker::Copy for MagneticStripeReaderAuthenticationLevel {}
impl ::core::clone::Clone for MagneticStripeReaderAuthenticationLevel {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct MagneticStripeReaderAuthenticationProtocol(pub i32);
impl MagneticStripeReaderAuthenticationProtocol {
pub const None: Self = Self(0i32);
pub const ChallengeResponse: Self = Self(1i32);
}
impl ::core::marker::Copy for MagneticStripeReaderAuthenticationProtocol {}
impl ::core::clone::Clone for MagneticStripeReaderAuthenticationProtocol {
fn clone(&self) -> Self {
*self
}
}
pub type MagneticStripeReaderBankCardDataReceivedEventArgs = *mut ::core::ffi::c_void;
pub type MagneticStripeReaderCapabilities = *mut ::core::ffi::c_void;
pub type MagneticStripeReaderErrorOccurredEventArgs = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct MagneticStripeReaderErrorReportingType(pub i32);
impl MagneticStripeReaderErrorReportingType {
pub const CardLevel: Self = Self(0i32);
pub const TrackLevel: Self = Self(1i32);
}
impl ::core::marker::Copy for MagneticStripeReaderErrorReportingType {}
impl ::core::clone::Clone for MagneticStripeReaderErrorReportingType {
fn clone(&self) -> Self {
*self
}
}
pub type MagneticStripeReaderReport = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct MagneticStripeReaderStatus(pub i32);
impl MagneticStripeReaderStatus {
pub const Unauthenticated: Self = Self(0i32);
pub const Authenticated: Self = Self(1i32);
pub const Extended: Self = Self(2i32);
}
impl ::core::marker::Copy for MagneticStripeReaderStatus {}
impl ::core::clone::Clone for MagneticStripeReaderStatus {
fn clone(&self) -> Self {
*self
}
}
pub type MagneticStripeReaderStatusUpdatedEventArgs = *mut ::core::ffi::c_void;
pub type MagneticStripeReaderTrackData = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct MagneticStripeReaderTrackErrorType(pub i32);
impl MagneticStripeReaderTrackErrorType {
pub const None: Self = Self(0i32);
pub const StartSentinelError: Self = Self(1i32);
pub const EndSentinelError: Self = Self(2i32);
pub const ParityError: Self = Self(3i32);
pub const LrcError: Self = Self(4i32);
pub const Unknown: Self = Self(-1i32);
}
impl ::core::marker::Copy for MagneticStripeReaderTrackErrorType {}
impl ::core::clone::Clone for MagneticStripeReaderTrackErrorType {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct MagneticStripeReaderTrackIds(pub i32);
impl MagneticStripeReaderTrackIds {
pub const None: Self = Self(0i32);
pub const Track1: Self = Self(1i32);
pub const Track2: Self = Self(2i32);
pub const Track3: Self = Self(4i32);
pub const Track4: Self = Self(8i32);
}
impl ::core::marker::Copy for MagneticStripeReaderTrackIds {}
impl ::core::clone::Clone for MagneticStripeReaderTrackIds {
fn clone(&self) -> Self {
*self
}
}
pub type MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct PosConnectionTypes(pub u32);
impl PosConnectionTypes {
pub const Local: Self = Self(1u32);
pub const IP: Self = Self(2u32);
pub const Bluetooth: Self = Self(4u32);
pub const All: Self = Self(4294967295u32);
}
impl ::core::marker::Copy for PosConnectionTypes {}
impl ::core::clone::Clone for PosConnectionTypes {
fn clone(&self) -> Self {
*self
}
}
pub type PosPrinter = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct PosPrinterAlignment(pub i32);
impl PosPrinterAlignment {
pub const Left: Self = Self(0i32);
pub const Center: Self = Self(1i32);
pub const Right: Self = Self(2i32);
}
impl ::core::marker::Copy for PosPrinterAlignment {}
impl ::core::clone::Clone for PosPrinterAlignment {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct PosPrinterBarcodeTextPosition(pub i32);
impl PosPrinterBarcodeTextPosition {
pub const None: Self = Self(0i32);
pub const Above: Self = Self(1i32);
pub const Below: Self = Self(2i32);
}
impl ::core::marker::Copy for PosPrinterBarcodeTextPosition {}
impl ::core::clone::Clone for PosPrinterBarcodeTextPosition {
fn clone(&self) -> Self {
*self
}
}
pub type PosPrinterCapabilities = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct PosPrinterCartridgeSensors(pub u32);
impl PosPrinterCartridgeSensors {
pub const None: Self = Self(0u32);
pub const Removed: Self = Self(1u32);
pub const Empty: Self = Self(2u32);
pub const HeadCleaning: Self = Self(4u32);
pub const NearEnd: Self = Self(8u32);
}
impl ::core::marker::Copy for PosPrinterCartridgeSensors {}
impl ::core::clone::Clone for PosPrinterCartridgeSensors {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct PosPrinterColorCapabilities(pub u32);
impl PosPrinterColorCapabilities {
pub const None: Self = Self(0u32);
pub const Primary: Self = Self(1u32);
pub const Custom1: Self = Self(2u32);
pub const Custom2: Self = Self(4u32);
pub const Custom3: Self = Self(8u32);
pub const Custom4: Self = Self(16u32);
pub const Custom5: Self = Self(32u32);
pub const Custom6: Self = Self(64u32);
pub const Cyan: Self = Self(128u32);
pub const Magenta: Self = Self(256u32);
pub const Yellow: Self = Self(512u32);
pub const Full: Self = Self(1024u32);
}
impl ::core::marker::Copy for PosPrinterColorCapabilities {}
impl ::core::clone::Clone for PosPrinterColorCapabilities {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct PosPrinterColorCartridge(pub i32);
impl PosPrinterColorCartridge {
pub const Unknown: Self = Self(0i32);
pub const Primary: Self = Self(1i32);
pub const Custom1: Self = Self(2i32);
pub const Custom2: Self = Self(3i32);
pub const Custom3: Self = Self(4i32);
pub const Custom4: Self = Self(5i32);
pub const Custom5: Self = Self(6i32);
pub const Custom6: Self = Self(7i32);
pub const Cyan: Self = Self(8i32);
pub const Magenta: Self = Self(9i32);
pub const Yellow: Self = Self(10i32);
}
impl ::core::marker::Copy for PosPrinterColorCartridge {}
impl ::core::clone::Clone for PosPrinterColorCartridge {
fn clone(&self) -> Self {
*self
}
}
pub type PosPrinterFontProperty = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct PosPrinterLineDirection(pub i32);
impl PosPrinterLineDirection {
pub const Horizontal: Self = Self(0i32);
pub const Vertical: Self = Self(1i32);
}
impl ::core::marker::Copy for PosPrinterLineDirection {}
impl ::core::clone::Clone for PosPrinterLineDirection {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct PosPrinterLineStyle(pub i32);
impl PosPrinterLineStyle {
pub const SingleSolid: Self = Self(0i32);
pub const DoubleSolid: Self = Self(1i32);
pub const Broken: Self = Self(2i32);
pub const Chain: Self = Self(3i32);
}
impl ::core::marker::Copy for PosPrinterLineStyle {}
impl ::core::clone::Clone for PosPrinterLineStyle {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct PosPrinterMapMode(pub i32);
impl PosPrinterMapMode {
pub const Dots: Self = Self(0i32);
pub const Twips: Self = Self(1i32);
pub const English: Self = Self(2i32);
pub const Metric: Self = Self(3i32);
}
impl ::core::marker::Copy for PosPrinterMapMode {}
impl ::core::clone::Clone for PosPrinterMapMode {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct PosPrinterMarkFeedCapabilities(pub u32);
impl PosPrinterMarkFeedCapabilities {
pub const None: Self = Self(0u32);
pub const ToTakeUp: Self = Self(1u32);
pub const ToCutter: Self = Self(2u32);
pub const ToCurrentTopOfForm: Self = Self(4u32);
pub const ToNextTopOfForm: Self = Self(8u32);
}
impl ::core::marker::Copy for PosPrinterMarkFeedCapabilities {}
impl ::core::clone::Clone for PosPrinterMarkFeedCapabilities {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct PosPrinterMarkFeedKind(pub i32);
impl PosPrinterMarkFeedKind {
pub const ToTakeUp: Self = Self(0i32);
pub const ToCutter: Self = Self(1i32);
pub const ToCurrentTopOfForm: Self = Self(2i32);
pub const ToNextTopOfForm: Self = Self(3i32);
}
impl ::core::marker::Copy for PosPrinterMarkFeedKind {}
impl ::core::clone::Clone for PosPrinterMarkFeedKind {
fn clone(&self) -> Self {
*self
}
}
pub type PosPrinterPrintOptions = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct PosPrinterPrintSide(pub i32);
impl PosPrinterPrintSide {
pub const Unknown: Self = Self(0i32);
pub const Side1: Self = Self(1i32);
pub const Side2: Self = Self(2i32);
}
impl ::core::marker::Copy for PosPrinterPrintSide {}
impl ::core::clone::Clone for PosPrinterPrintSide {
fn clone(&self) -> Self {
*self
}
}
pub type PosPrinterReleaseDeviceRequestedEventArgs = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct PosPrinterRotation(pub i32);
impl PosPrinterRotation {
pub const Normal: Self = Self(0i32);
pub const Right90: Self = Self(1i32);
pub const Left90: Self = Self(2i32);
pub const Rotate180: Self = Self(3i32);
}
impl ::core::marker::Copy for PosPrinterRotation {}
impl ::core::clone::Clone for PosPrinterRotation {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct PosPrinterRuledLineCapabilities(pub u32);
impl PosPrinterRuledLineCapabilities {
pub const None: Self = Self(0u32);
pub const Horizontal: Self = Self(1u32);
pub const Vertical: Self = Self(2u32);
}
impl ::core::marker::Copy for PosPrinterRuledLineCapabilities {}
impl ::core::clone::Clone for PosPrinterRuledLineCapabilities {
fn clone(&self) -> Self {
*self
}
}
pub type PosPrinterStatus = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct PosPrinterStatusKind(pub i32);
impl PosPrinterStatusKind {
pub const Online: Self = Self(0i32);
pub const Off: Self = Self(1i32);
pub const Offline: Self = Self(2i32);
pub const OffOrOffline: Self = Self(3i32);
pub const Extended: Self = Self(4i32);
}
impl ::core::marker::Copy for PosPrinterStatusKind {}
impl ::core::clone::Clone for PosPrinterStatusKind {
fn clone(&self) -> Self {
*self
}
}
pub type PosPrinterStatusUpdatedEventArgs = *mut ::core::ffi::c_void;
pub type ReceiptPrintJob = *mut ::core::ffi::c_void;
pub type ReceiptPrinterCapabilities = *mut ::core::ffi::c_void;
#[repr(C)]
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
pub struct SizeUInt32 {
pub Width: u32,
pub Height: u32,
}
impl ::core::marker::Copy for SizeUInt32 {}
impl ::core::clone::Clone for SizeUInt32 {
fn clone(&self) -> Self {
*self
}
}
pub type SlipPrintJob = *mut ::core::ffi::c_void;
pub type SlipPrinterCapabilities = *mut ::core::ffi::c_void;
pub type UnifiedPosErrorData = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct UnifiedPosErrorReason(pub i32);
impl UnifiedPosErrorReason {
pub const UnknownErrorReason: Self = Self(0i32);
pub const NoService: Self = Self(1i32);
pub const Disabled: Self = Self(2i32);
pub const Illegal: Self = Self(3i32);
pub const NoHardware: Self = Self(4i32);
pub const Closed: Self = Self(5i32);
pub const Offline: Self = Self(6i32);
pub const Failure: Self = Self(7i32);
pub const Timeout: Self = Self(8i32);
pub const Busy: Self = Self(9i32);
pub const Extended: Self = Self(10i32);
}
impl ::core::marker::Copy for UnifiedPosErrorReason {}
impl ::core::clone::Clone for UnifiedPosErrorReason {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct UnifiedPosErrorSeverity(pub i32);
impl UnifiedPosErrorSeverity {
pub const UnknownErrorSeverity: Self = Self(0i32);
pub const Warning: Self = Self(1i32);
pub const Recoverable: Self = Self(2i32);
pub const Unrecoverable: Self = Self(3i32);
pub const AssistanceRequired: Self = Self(4i32);
pub const Fatal: Self = Self(5i32);
}
impl ::core::marker::Copy for UnifiedPosErrorSeverity {}
impl ::core::clone::Clone for UnifiedPosErrorSeverity {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct UnifiedPosHealthCheckLevel(pub i32);
impl UnifiedPosHealthCheckLevel {
pub const UnknownHealthCheckLevel: Self = Self(0i32);
pub const POSInternal: Self = Self(1i32);
pub const External: Self = Self(2i32);
pub const Interactive: Self = Self(3i32);
}
impl ::core::marker::Copy for UnifiedPosHealthCheckLevel {}
impl ::core::clone::Clone for UnifiedPosHealthCheckLevel {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
#[repr(transparent)]
pub struct UnifiedPosPowerReportingType(pub i32);
impl UnifiedPosPowerReportingType {
pub const UnknownPowerReportingType: Self = Self(0i32);
pub const Standard: Self = Self(1i32);
pub const Advanced: Self = Self(2i32);
}
impl ::core::marker::Copy for UnifiedPosPowerReportingType {}
impl ::core::clone::Clone for UnifiedPosPowerReportingType {
fn clone(&self) -> Self {
*self
}
}

View File

@@ -0,0 +1,18 @@
#[doc = "*Required features: `\"Devices_Portable\"`*"]
#[repr(transparent)]
pub struct ServiceDeviceType(pub i32);
impl ServiceDeviceType {
pub const CalendarService: Self = Self(0i32);
pub const ContactsService: Self = Self(1i32);
pub const DeviceStatusService: Self = Self(2i32);
pub const NotesService: Self = Self(3i32);
pub const RingtonesService: Self = Self(4i32);
pub const SmsService: Self = Self(5i32);
pub const TasksService: Self = Self(6i32);
}
impl ::core::marker::Copy for ServiceDeviceType {}
impl ::core::clone::Clone for ServiceDeviceType {
fn clone(&self) -> Self {
*self
}
}

View File

@@ -0,0 +1,2 @@
pub type Battery = *mut ::core::ffi::c_void;
pub type BatteryReport = *mut ::core::ffi::c_void;

View File

@@ -0,0 +1,42 @@
pub type Print3DWorkflow = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"]
#[repr(transparent)]
pub struct Print3DWorkflowDetail(pub i32);
impl Print3DWorkflowDetail {
pub const Unknown: Self = Self(0i32);
pub const ModelExceedsPrintBed: Self = Self(1i32);
pub const UploadFailed: Self = Self(2i32);
pub const InvalidMaterialSelection: Self = Self(3i32);
pub const InvalidModel: Self = Self(4i32);
pub const ModelNotManifold: Self = Self(5i32);
pub const InvalidPrintTicket: Self = Self(6i32);
}
impl ::core::marker::Copy for Print3DWorkflowDetail {}
impl ::core::clone::Clone for Print3DWorkflowDetail {
fn clone(&self) -> Self {
*self
}
}
pub type Print3DWorkflowPrintRequestedEventArgs = *mut ::core::ffi::c_void;
pub type Print3DWorkflowPrinterChangedEventArgs = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"]
#[repr(transparent)]
pub struct Print3DWorkflowStatus(pub i32);
impl Print3DWorkflowStatus {
pub const Abandoned: Self = Self(0i32);
pub const Canceled: Self = Self(1i32);
pub const Failed: Self = Self(2i32);
pub const Slicing: Self = Self(3i32);
pub const Submitted: Self = Self(4i32);
}
impl ::core::marker::Copy for Print3DWorkflowStatus {}
impl ::core::clone::Clone for Print3DWorkflowStatus {
fn clone(&self) -> Self {
*self
}
}
pub type PrintNotificationEventDetails = *mut ::core::ffi::c_void;
pub type PrintTaskConfiguration = *mut ::core::ffi::c_void;
pub type PrintTaskConfigurationSaveRequest = *mut ::core::ffi::c_void;
pub type PrintTaskConfigurationSaveRequestedDeferral = *mut ::core::ffi::c_void;
pub type PrintTaskConfigurationSaveRequestedEventArgs = *mut ::core::ffi::c_void;

Some files were not shown because too many files have changed in this diff Show More