windows::Win32::Media::MediaFoundation

Trait IMFByteStreamHandler_Impl

pub trait IMFByteStreamHandler_Impl: IUnknownImpl {
    // Required methods
    fn BeginCreateObject(
        &self,
        pbytestream: Ref<'_, IMFByteStream>,
        pwszurl: &PCWSTR,
        dwflags: u32,
        pprops: Ref<'_, IPropertyStore>,
        ppiunknowncancelcookie: OutRef<'_, IUnknown>,
        pcallback: Ref<'_, IMFAsyncCallback>,
        punkstate: Ref<'_, IUnknown>,
    ) -> Result<()>;
    fn EndCreateObject(
        &self,
        presult: Ref<'_, IMFAsyncResult>,
        pobjecttype: *mut MF_OBJECT_TYPE,
        ppobject: OutRef<'_, IUnknown>,
    ) -> Result<()>;
    fn CancelObjectCreation(
        &self,
        piunknowncancelcookie: Ref<'_, IUnknown>,
    ) -> Result<()>;
    fn GetMaxNumberOfBytesRequiredForResolution(&self) -> Result<u64>;
}

Required Methods§

fn BeginCreateObject( &self, pbytestream: Ref<'_, IMFByteStream>, pwszurl: &PCWSTR, dwflags: u32, pprops: Ref<'_, IPropertyStore>, ppiunknowncancelcookie: OutRef<'_, IUnknown>, pcallback: Ref<'_, IMFAsyncCallback>, punkstate: Ref<'_, IUnknown>, ) -> Result<()>

fn EndCreateObject( &self, presult: Ref<'_, IMFAsyncResult>, pobjecttype: *mut MF_OBJECT_TYPE, ppobject: OutRef<'_, IUnknown>, ) -> Result<()>

fn CancelObjectCreation( &self, piunknowncancelcookie: Ref<'_, IUnknown>, ) -> Result<()>

fn GetMaxNumberOfBytesRequiredForResolution(&self) -> Result<u64>

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§