From 5363f350887b1e5b5dd21a86f88c8af9d7fea6da Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:18:25 +0200 Subject: Merging upstream version 1.67.1+dfsg1. Signed-off-by: Daniel Baumann --- .../src/Windows/Security/Isolation/mod.rs | 229 --------------------- 1 file changed, 229 deletions(-) delete mode 100644 vendor/windows-sys-0.28.0/src/Windows/Security/Isolation/mod.rs (limited to 'vendor/windows-sys-0.28.0/src/Windows/Security/Isolation') diff --git a/vendor/windows-sys-0.28.0/src/Windows/Security/Isolation/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Security/Isolation/mod.rs deleted file mode 100644 index 415b33aaf..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Security/Isolation/mod.rs +++ /dev/null @@ -1,229 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -pub type HostMessageReceivedCallback = *mut ::core::ffi::c_void; -pub type IsolatedWindowsEnvironment = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct IsolatedWindowsEnvironmentActivator(pub i32); -impl IsolatedWindowsEnvironmentActivator { - pub const System: Self = Self(0i32); - pub const User: Self = Self(1i32); -} -impl ::core::marker::Copy for IsolatedWindowsEnvironmentActivator {} -impl ::core::clone::Clone for IsolatedWindowsEnvironmentActivator { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct IsolatedWindowsEnvironmentAllowedClipboardFormats(pub u32); -impl IsolatedWindowsEnvironmentAllowedClipboardFormats { - pub const None: Self = Self(0u32); - pub const Text: Self = Self(1u32); - pub const Image: Self = Self(2u32); -} -impl ::core::marker::Copy for IsolatedWindowsEnvironmentAllowedClipboardFormats {} -impl ::core::clone::Clone for IsolatedWindowsEnvironmentAllowedClipboardFormats { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct IsolatedWindowsEnvironmentAvailablePrinters(pub u32); -impl IsolatedWindowsEnvironmentAvailablePrinters { - pub const None: Self = Self(0u32); - pub const Local: Self = Self(1u32); - pub const Network: Self = Self(2u32); - pub const SystemPrintToPdf: Self = Self(4u32); - pub const SystemPrintToXps: Self = Self(8u32); -} -impl ::core::marker::Copy for IsolatedWindowsEnvironmentAvailablePrinters {} -impl ::core::clone::Clone for IsolatedWindowsEnvironmentAvailablePrinters { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct IsolatedWindowsEnvironmentClipboardCopyPasteDirections(pub u32); -impl IsolatedWindowsEnvironmentClipboardCopyPasteDirections { - pub const None: Self = Self(0u32); - pub const HostToIsolatedWindowsEnvironment: Self = Self(1u32); - pub const IsolatedWindowsEnvironmentToHost: Self = Self(2u32); -} -impl ::core::marker::Copy for IsolatedWindowsEnvironmentClipboardCopyPasteDirections {} -impl ::core::clone::Clone for IsolatedWindowsEnvironmentClipboardCopyPasteDirections { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct IsolatedWindowsEnvironmentCreateProgress { - pub State: IsolatedWindowsEnvironmentProgressState, - pub PercentComplete: u32, -} -impl ::core::marker::Copy for IsolatedWindowsEnvironmentCreateProgress {} -impl ::core::clone::Clone for IsolatedWindowsEnvironmentCreateProgress { - fn clone(&self) -> Self { - *self - } -} -pub type IsolatedWindowsEnvironmentCreateResult = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct IsolatedWindowsEnvironmentCreateStatus(pub i32); -impl IsolatedWindowsEnvironmentCreateStatus { - pub const Success: Self = Self(0i32); - pub const FailureByPolicy: Self = Self(1i32); - pub const UnknownFailure: Self = Self(2i32); -} -impl ::core::marker::Copy for IsolatedWindowsEnvironmentCreateStatus {} -impl ::core::clone::Clone for IsolatedWindowsEnvironmentCreateStatus { - fn clone(&self) -> Self { - *self - } -} -pub type IsolatedWindowsEnvironmentFile = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct IsolatedWindowsEnvironmentHostError(pub i32); -impl IsolatedWindowsEnvironmentHostError { - pub const AdminPolicyIsDisabledOrNotPresent: Self = Self(0i32); - pub const FeatureNotInstalled: Self = Self(1i32); - pub const HardwareRequirementsNotMet: Self = Self(2i32); - pub const RebootRequired: Self = Self(3i32); - pub const UnknownError: Self = Self(4i32); -} -impl ::core::marker::Copy for IsolatedWindowsEnvironmentHostError {} -impl ::core::clone::Clone for IsolatedWindowsEnvironmentHostError { - fn clone(&self) -> Self { - *self - } -} -pub type IsolatedWindowsEnvironmentLaunchFileResult = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct IsolatedWindowsEnvironmentLaunchFileStatus(pub i32); -impl IsolatedWindowsEnvironmentLaunchFileStatus { - pub const Success: Self = Self(0i32); - pub const UnknownFailure: Self = Self(1i32); - pub const EnvironmentUnavailable: Self = Self(2i32); - pub const FileNotFound: Self = Self(3i32); - pub const TimedOut: Self = Self(4i32); - pub const AlreadySharedWithConflictingOptions: Self = Self(5i32); -} -impl ::core::marker::Copy for IsolatedWindowsEnvironmentLaunchFileStatus {} -impl ::core::clone::Clone for IsolatedWindowsEnvironmentLaunchFileStatus { - fn clone(&self) -> Self { - *self - } -} -pub type IsolatedWindowsEnvironmentOptions = *mut ::core::ffi::c_void; -pub type IsolatedWindowsEnvironmentOwnerRegistrationData = *mut ::core::ffi::c_void; -pub type IsolatedWindowsEnvironmentOwnerRegistrationResult = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct IsolatedWindowsEnvironmentOwnerRegistrationStatus(pub i32); -impl IsolatedWindowsEnvironmentOwnerRegistrationStatus { - pub const Success: Self = Self(0i32); - pub const InvalidArgument: Self = Self(1i32); - pub const AccessDenied: Self = Self(2i32); - pub const InsufficientMemory: Self = Self(3i32); - pub const UnknownFailure: Self = Self(4i32); -} -impl ::core::marker::Copy for IsolatedWindowsEnvironmentOwnerRegistrationStatus {} -impl ::core::clone::Clone for IsolatedWindowsEnvironmentOwnerRegistrationStatus { - fn clone(&self) -> Self { - *self - } -} -pub type IsolatedWindowsEnvironmentPostMessageResult = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct IsolatedWindowsEnvironmentPostMessageStatus(pub i32); -impl IsolatedWindowsEnvironmentPostMessageStatus { - pub const Success: Self = Self(0i32); - pub const UnknownFailure: Self = Self(1i32); - pub const EnvironmentUnavailable: Self = Self(2i32); -} -impl ::core::marker::Copy for IsolatedWindowsEnvironmentPostMessageStatus {} -impl ::core::clone::Clone for IsolatedWindowsEnvironmentPostMessageStatus { - fn clone(&self) -> Self { - *self - } -} -pub type IsolatedWindowsEnvironmentProcess = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct IsolatedWindowsEnvironmentProcessState(pub i32); -impl IsolatedWindowsEnvironmentProcessState { - pub const Running: Self = Self(1i32); - pub const Aborted: Self = Self(2i32); - pub const Completed: Self = Self(3i32); -} -impl ::core::marker::Copy for IsolatedWindowsEnvironmentProcessState {} -impl ::core::clone::Clone for IsolatedWindowsEnvironmentProcessState { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct IsolatedWindowsEnvironmentProgressState(pub i32); -impl IsolatedWindowsEnvironmentProgressState { - pub const Queued: Self = Self(0i32); - pub const Processing: Self = Self(1i32); - pub const Completed: Self = Self(2i32); -} -impl ::core::marker::Copy for IsolatedWindowsEnvironmentProgressState {} -impl ::core::clone::Clone for IsolatedWindowsEnvironmentProgressState { - fn clone(&self) -> Self { - *self - } -} -pub type IsolatedWindowsEnvironmentShareFileRequestOptions = *mut ::core::ffi::c_void; -pub type IsolatedWindowsEnvironmentShareFileResult = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct IsolatedWindowsEnvironmentShareFileStatus(pub i32); -impl IsolatedWindowsEnvironmentShareFileStatus { - pub const Success: Self = Self(0i32); - pub const UnknownFailure: Self = Self(1i32); - pub const EnvironmentUnavailable: Self = Self(2i32); - pub const AlreadySharedWithConflictingOptions: Self = Self(3i32); - pub const FileNotFound: Self = Self(4i32); - pub const AccessDenied: Self = Self(5i32); -} -impl ::core::marker::Copy for IsolatedWindowsEnvironmentShareFileStatus {} -impl ::core::clone::Clone for IsolatedWindowsEnvironmentShareFileStatus { - fn clone(&self) -> Self { - *self - } -} -pub type IsolatedWindowsEnvironmentShareFolderRequestOptions = *mut ::core::ffi::c_void; -pub type IsolatedWindowsEnvironmentShareFolderResult = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct IsolatedWindowsEnvironmentShareFolderStatus(pub i32); -impl IsolatedWindowsEnvironmentShareFolderStatus { - pub const Success: Self = Self(0i32); - pub const UnknownFailure: Self = Self(1i32); - pub const EnvironmentUnavailable: Self = Self(2i32); - pub const FolderNotFound: Self = Self(3i32); - pub const AccessDenied: Self = Self(4i32); -} -impl ::core::marker::Copy for IsolatedWindowsEnvironmentShareFolderStatus {} -impl ::core::clone::Clone for IsolatedWindowsEnvironmentShareFolderStatus { - fn clone(&self) -> Self { - *self - } -} -pub type IsolatedWindowsEnvironmentStartProcessResult = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct IsolatedWindowsEnvironmentStartProcessStatus(pub i32); -impl IsolatedWindowsEnvironmentStartProcessStatus { - pub const Success: Self = Self(0i32); - pub const UnknownFailure: Self = Self(1i32); - pub const EnvironmentUnavailable: Self = Self(2i32); - pub const FileNotFound: Self = Self(3i32); - pub const AppNotRegistered: Self = Self(4i32); -} -impl ::core::marker::Copy for IsolatedWindowsEnvironmentStartProcessStatus {} -impl ::core::clone::Clone for IsolatedWindowsEnvironmentStartProcessStatus { - fn clone(&self) -> Self { - *self - } -} -pub type IsolatedWindowsEnvironmentTelemetryParameters = *mut ::core::ffi::c_void; -pub type IsolatedWindowsEnvironmentUserInfo = *mut ::core::ffi::c_void; -pub type MessageReceivedCallback = *mut ::core::ffi::c_void; -- cgit v1.2.3