blob: a01c07bba80e6f04fc1a898776f2039e700020dc [file] [log] [blame]
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "Media_Protection_PlayReady")]
pub mod PlayReady;
#[link(name = "windows")]
extern "system" {}
pub type ComponentLoadFailedEventArgs = *mut ::core::ffi::c_void;
pub type ComponentLoadFailedEventHandler = *mut ::core::ffi::c_void;
#[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
}
}
#[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;
#[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;
#[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;
#[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;
#[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;