windows::Win32::Media::KernelStreaming

Trait IKsFormatSupport_Impl

pub trait IKsFormatSupport_Impl: IUnknownImpl {
    // Required methods
    fn IsFormatSupported(
        &self,
        pksformat: *mut KSDATAFORMAT,
        cbformat: u32,
        pbsupported: *mut BOOL,
    ) -> Result<()>;
    fn GetDevicePreferredFormat(&self) -> Result<*mut KSDATAFORMAT>;
}

Required Methods§

fn IsFormatSupported( &self, pksformat: *mut KSDATAFORMAT, cbformat: u32, pbsupported: *mut BOOL, ) -> Result<()>

fn GetDevicePreferredFormat(&self) -> Result<*mut KSDATAFORMAT>

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§