diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:21 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:21 +0000 |
commit | 4e8199b572f2035b7749cba276ece3a26630d23e (patch) | |
tree | f09feeed6a0fe39d027b1908aa63ea6b35e4b631 /vendor/windows-sys/src/Windows/Media/Protection/mod.rs | |
parent | Adding upstream version 1.66.0+dfsg1. (diff) | |
download | rustc-4e8199b572f2035b7749cba276ece3a26630d23e.tar.xz rustc-4e8199b572f2035b7749cba276ece3a26630d23e.zip |
Adding upstream version 1.67.1+dfsg1.upstream/1.67.1+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Media/Protection/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/Media/Protection/mod.rs | 117 |
1 files changed, 0 insertions, 117 deletions
diff --git a/vendor/windows-sys/src/Windows/Media/Protection/mod.rs b/vendor/windows-sys/src/Windows/Media/Protection/mod.rs deleted file mode 100644 index fada32a9b..000000000 --- a/vendor/windows-sys/src/Windows/Media/Protection/mod.rs +++ /dev/null @@ -1,117 +0,0 @@ -#[cfg(feature = "Media_Protection_PlayReady")] -pub mod PlayReady; -pub type ComponentLoadFailedEventArgs = *mut ::core::ffi::c_void; -pub type ComponentLoadFailedEventHandler = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Media_Protection\"`*"] -#[repr(transparent)] -pub struct GraphicsTrustStatus(pub i32); -impl GraphicsTrustStatus { - pub const TrustNotRequired: Self = Self(0i32); - pub const TrustEstablished: Self = Self(1i32); - pub const EnvironmentNotSupported: Self = Self(2i32); - pub const DriverNotSupported: Self = Self(3i32); - pub const DriverSigningFailure: Self = Self(4i32); - pub const UnknownFailure: Self = Self(5i32); -} -impl ::core::marker::Copy for GraphicsTrustStatus {} -impl ::core::clone::Clone for GraphicsTrustStatus { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Media_Protection\"`*"] -#[repr(transparent)] -pub struct HdcpProtection(pub i32); -impl HdcpProtection { - pub const Off: Self = Self(0i32); - pub const On: Self = Self(1i32); - pub const OnWithTypeEnforcement: Self = Self(2i32); -} -impl ::core::marker::Copy for HdcpProtection {} -impl ::core::clone::Clone for HdcpProtection { - fn clone(&self) -> Self { - *self - } -} -pub type HdcpSession = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Media_Protection\"`*"] -#[repr(transparent)] -pub struct HdcpSetProtectionResult(pub i32); -impl HdcpSetProtectionResult { - pub const Success: Self = Self(0i32); - pub const TimedOut: Self = Self(1i32); - pub const NotSupported: Self = Self(2i32); - pub const UnknownFailure: Self = Self(3i32); -} -impl ::core::marker::Copy for HdcpSetProtectionResult {} -impl ::core::clone::Clone for HdcpSetProtectionResult { - fn clone(&self) -> Self { - *self - } -} -pub type IMediaProtectionServiceRequest = *mut ::core::ffi::c_void; -pub type MediaProtectionManager = *mut ::core::ffi::c_void; -pub type MediaProtectionPMPServer = *mut ::core::ffi::c_void; -pub type MediaProtectionServiceCompletion = *mut ::core::ffi::c_void; -pub type ProtectionCapabilities = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Media_Protection\"`*"] -#[repr(transparent)] -pub struct ProtectionCapabilityResult(pub i32); -impl ProtectionCapabilityResult { - pub const NotSupported: Self = Self(0i32); - pub const Maybe: Self = Self(1i32); - pub const Probably: Self = Self(2i32); -} -impl ::core::marker::Copy for ProtectionCapabilityResult {} -impl ::core::clone::Clone for ProtectionCapabilityResult { - fn clone(&self) -> Self { - *self - } -} -pub type RebootNeededEventHandler = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Media_Protection\"`*"] -#[repr(transparent)] -pub struct RenewalStatus(pub i32); -impl RenewalStatus { - pub const NotStarted: Self = Self(0i32); - pub const UpdatesInProgress: Self = Self(1i32); - pub const UserCancelled: Self = Self(2i32); - pub const AppComponentsMayNeedUpdating: Self = Self(3i32); - pub const NoComponentsFound: Self = Self(4i32); -} -impl ::core::marker::Copy for RenewalStatus {} -impl ::core::clone::Clone for RenewalStatus { - fn clone(&self) -> Self { - *self - } -} -pub type RevocationAndRenewalInformation = *mut ::core::ffi::c_void; -pub type RevocationAndRenewalItem = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Media_Protection\"`*"] -#[repr(transparent)] -pub struct RevocationAndRenewalReasons(pub u32); -impl RevocationAndRenewalReasons { - pub const UserModeComponentLoad: Self = Self(1u32); - pub const KernelModeComponentLoad: Self = Self(2u32); - pub const AppComponent: Self = Self(4u32); - pub const GlobalRevocationListLoadFailed: Self = Self(16u32); - pub const InvalidGlobalRevocationListSignature: Self = Self(32u32); - pub const GlobalRevocationListAbsent: Self = Self(4096u32); - pub const ComponentRevoked: Self = Self(8192u32); - pub const InvalidComponentCertificateExtendedKeyUse: Self = Self(16384u32); - pub const ComponentCertificateRevoked: Self = Self(32768u32); - pub const InvalidComponentCertificateRoot: Self = Self(65536u32); - pub const ComponentHighSecurityCertificateRevoked: Self = Self(131072u32); - pub const ComponentLowSecurityCertificateRevoked: Self = Self(262144u32); - pub const BootDriverVerificationFailed: Self = Self(1048576u32); - pub const ComponentSignedWithTestCertificate: Self = Self(16777216u32); - pub const EncryptionFailure: Self = Self(268435456u32); -} -impl ::core::marker::Copy for RevocationAndRenewalReasons {} -impl ::core::clone::Clone for RevocationAndRenewalReasons { - fn clone(&self) -> Self { - *self - } -} -pub type ServiceRequestedEventArgs = *mut ::core::ffi::c_void; -pub type ServiceRequestedEventHandler = *mut ::core::ffi::c_void; |