windows::Win32::Media::MediaFoundation

Trait IDirect3DDevice9Video_Impl

pub trait IDirect3DDevice9Video_Impl: IUnknownImpl {
    // Required methods
    fn GetContentProtectionCaps(
        &self,
        pcryptotype: *const GUID,
        pdecodeprofile: *const GUID,
        pcaps: *mut D3DCONTENTPROTECTIONCAPS,
    ) -> Result<()>;
    fn CreateAuthenticatedChannel(
        &self,
        channeltype: D3DAUTHENTICATEDCHANNELTYPE,
        ppauthenticatedchannel: OutRef<'_, IDirect3DAuthenticatedChannel9>,
        pchannelhandle: *mut HANDLE,
    ) -> Result<()>;
    fn CreateCryptoSession(
        &self,
        pcryptotype: *const GUID,
        pdecodeprofile: *const GUID,
        ppcryptosession: OutRef<'_, IDirect3DCryptoSession9>,
        pcryptohandle: *mut HANDLE,
    ) -> Result<()>;
}

Required Methods§

fn GetContentProtectionCaps( &self, pcryptotype: *const GUID, pdecodeprofile: *const GUID, pcaps: *mut D3DCONTENTPROTECTIONCAPS, ) -> Result<()>

fn CreateAuthenticatedChannel( &self, channeltype: D3DAUTHENTICATEDCHANNELTYPE, ppauthenticatedchannel: OutRef<'_, IDirect3DAuthenticatedChannel9>, pchannelhandle: *mut HANDLE, ) -> Result<()>

fn CreateCryptoSession( &self, pcryptotype: *const GUID, pdecodeprofile: *const GUID, ppcryptosession: OutRef<'_, IDirect3DCryptoSession9>, pcryptohandle: *mut HANDLE, ) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§