Trait IMFMediaBuffer_Impl
pub trait IMFMediaBuffer_Impl: IUnknownImpl {
// Required methods
fn Lock(
&self,
ppbbuffer: *mut *mut u8,
pcbmaxlength: *mut u32,
pcbcurrentlength: *mut u32,
) -> Result<()>;
fn Unlock(&self) -> Result<()>;
fn GetCurrentLength(&self) -> Result<u32>;
fn SetCurrentLength(&self, cbcurrentlength: u32) -> Result<()>;
fn GetMaxLength(&self) -> Result<u32>;
}
Required Methods§
fn Lock( &self, ppbbuffer: *mut *mut u8, pcbmaxlength: *mut u32, pcbcurrentlength: *mut u32, ) -> Result<()>
fn Unlock(&self) -> Result<()>
fn GetCurrentLength(&self) -> Result<u32>
fn SetCurrentLength(&self, cbcurrentlength: u32) -> Result<()>
fn GetMaxLength(&self) -> Result<u32>
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.