windows::Win32::Media::KernelStreaming

Trait IKsDataTypeHandler_Impl

pub trait IKsDataTypeHandler_Impl: IUnknownImpl {
    // Required methods
    fn KsCompleteIoOperation(
        &self,
        sample: Ref<'_, IMediaSample>,
        streamheader: *mut c_void,
        iooperation: KSIOOPERATION,
        cancelled: BOOL,
    ) -> Result<()>;
    fn KsIsMediaTypeInRanges(&self, dataranges: *const c_void) -> Result<()>;
    fn KsPrepareIoOperation(
        &self,
        sample: Ref<'_, IMediaSample>,
        streamheader: *mut c_void,
        iooperation: KSIOOPERATION,
    ) -> Result<()>;
    fn KsQueryExtendedSize(&self) -> Result<u32>;
    fn KsSetMediaType(&self, ammediatype: *const AM_MEDIA_TYPE) -> Result<()>;
}

Required Methods§

fn KsCompleteIoOperation( &self, sample: Ref<'_, IMediaSample>, streamheader: *mut c_void, iooperation: KSIOOPERATION, cancelled: BOOL, ) -> Result<()>

fn KsIsMediaTypeInRanges(&self, dataranges: *const c_void) -> Result<()>

fn KsPrepareIoOperation( &self, sample: Ref<'_, IMediaSample>, streamheader: *mut c_void, iooperation: KSIOOPERATION, ) -> Result<()>

fn KsQueryExtendedSize(&self) -> Result<u32>

fn KsSetMediaType(&self, ammediatype: *const AM_MEDIA_TYPE) -> 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§