Trait IWMWriter_Impl
pub trait IWMWriter_Impl: IUnknownImpl {
Show 13 methods
// Required methods
fn SetProfileByID(&self, guidprofile: *const GUID) -> Result<()>;
fn SetProfile(&self, pprofile: Ref<'_, IWMProfile>) -> Result<()>;
fn SetOutputFilename(&self, pwszfilename: &PCWSTR) -> Result<()>;
fn GetInputCount(&self) -> Result<u32>;
fn GetInputProps(&self, dwinputnum: u32) -> Result<IWMInputMediaProps>;
fn SetInputProps(
&self,
dwinputnum: u32,
pinput: Ref<'_, IWMInputMediaProps>,
) -> Result<()>;
fn GetInputFormatCount(&self, dwinputnumber: u32) -> Result<u32>;
fn GetInputFormat(
&self,
dwinputnumber: u32,
dwformatnumber: u32,
) -> Result<IWMInputMediaProps>;
fn BeginWriting(&self) -> Result<()>;
fn EndWriting(&self) -> Result<()>;
fn AllocateSample(&self, dwsamplesize: u32) -> Result<INSSBuffer>;
fn WriteSample(
&self,
dwinputnum: u32,
cnssampletime: u64,
dwflags: u32,
psample: Ref<'_, INSSBuffer>,
) -> Result<()>;
fn Flush(&self) -> Result<()>;
}
Required Methods§
fn SetProfileByID(&self, guidprofile: *const GUID) -> Result<()>
fn SetProfile(&self, pprofile: Ref<'_, IWMProfile>) -> Result<()>
fn SetOutputFilename(&self, pwszfilename: &PCWSTR) -> Result<()>
fn GetInputCount(&self) -> Result<u32>
fn GetInputProps(&self, dwinputnum: u32) -> Result<IWMInputMediaProps>
fn SetInputProps( &self, dwinputnum: u32, pinput: Ref<'_, IWMInputMediaProps>, ) -> Result<()>
fn GetInputFormatCount(&self, dwinputnumber: u32) -> Result<u32>
fn GetInputFormat( &self, dwinputnumber: u32, dwformatnumber: u32, ) -> Result<IWMInputMediaProps>
fn BeginWriting(&self) -> Result<()>
fn EndWriting(&self) -> Result<()>
fn AllocateSample(&self, dwsamplesize: u32) -> Result<INSSBuffer>
fn WriteSample( &self, dwinputnum: u32, cnssampletime: u64, dwflags: u32, psample: Ref<'_, INSSBuffer>, ) -> Result<()>
fn Flush(&self) -> 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.