windows::Win32::Media::KernelStreaming

Trait IKsInterfaceHandler_Impl

pub trait IKsInterfaceHandler_Impl: IUnknownImpl {
    // Required methods
    fn KsSetPin(&self, kspin: Ref<'_, IKsPin>) -> Result<()>;
    fn KsProcessMediaSamples(
        &self,
        ksdatatypehandler: Ref<'_, IKsDataTypeHandler>,
        samplelist: *const Option<IMediaSample>,
        samplecount: *mut i32,
        iooperation: KSIOOPERATION,
        streamsegment: *mut *mut KSSTREAM_SEGMENT,
    ) -> Result<()>;
    fn KsCompleteIo(&self, streamsegment: *mut KSSTREAM_SEGMENT) -> Result<()>;
}

Required Methods§

fn KsSetPin(&self, kspin: Ref<'_, IKsPin>) -> Result<()>

fn KsProcessMediaSamples( &self, ksdatatypehandler: Ref<'_, IKsDataTypeHandler>, samplelist: *const Option<IMediaSample>, samplecount: *mut i32, iooperation: KSIOOPERATION, streamsegment: *mut *mut KSSTREAM_SEGMENT, ) -> Result<()>

fn KsCompleteIo(&self, streamsegment: *mut KSSTREAM_SEGMENT) -> 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§