Trait windows::Win32::Media::WindowsMediaFormat::IWMWriter_Impl
pub trait IWMWriter_Impl: Sized {
Show 13 methods
// Required methods
fn SetProfileByID(&self, guidprofile: *const GUID) -> Result<()>;
fn SetProfile(&self, pprofile: Option<&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: Option<&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: Option<&INSSBuffer>
) -> Result<()>;
fn Flush(&self) -> Result<()>;
}
Required Methods§
fn SetProfileByID(&self, guidprofile: *const GUID) -> Result<()>
fn SetProfile(&self, pprofile: Option<&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: Option<&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: Option<&INSSBuffer> ) -> Result<()>
fn Flush(&self) -> Result<()>
Object Safety§
This trait is not object safe.