windows::Win32::Media::WindowsMediaFormat

Trait IWMProfile_Impl

pub trait IWMProfile_Impl: IUnknownImpl {
Show 18 methods // Required methods fn GetVersion(&self) -> Result<WMT_VERSION>; fn GetName(&self, pwszname: PWSTR, pcchname: *mut u32) -> Result<()>; fn SetName(&self, pwszname: &PCWSTR) -> Result<()>; fn GetDescription( &self, pwszdescription: PWSTR, pcchdescription: *mut u32, ) -> Result<()>; fn SetDescription(&self, pwszdescription: &PCWSTR) -> Result<()>; fn GetStreamCount(&self) -> Result<u32>; fn GetStream(&self, dwstreamindex: u32) -> Result<IWMStreamConfig>; fn GetStreamByNumber(&self, wstreamnum: u16) -> Result<IWMStreamConfig>; fn RemoveStream(&self, pconfig: Ref<'_, IWMStreamConfig>) -> Result<()>; fn RemoveStreamByNumber(&self, wstreamnum: u16) -> Result<()>; fn AddStream(&self, pconfig: Ref<'_, IWMStreamConfig>) -> Result<()>; fn ReconfigStream(&self, pconfig: Ref<'_, IWMStreamConfig>) -> Result<()>; fn CreateNewStream( &self, guidstreamtype: *const GUID, ) -> Result<IWMStreamConfig>; fn GetMutualExclusionCount(&self) -> Result<u32>; fn GetMutualExclusion(&self, dwmeindex: u32) -> Result<IWMMutualExclusion>; fn RemoveMutualExclusion( &self, pme: Ref<'_, IWMMutualExclusion>, ) -> Result<()>; fn AddMutualExclusion(&self, pme: Ref<'_, IWMMutualExclusion>) -> Result<()>; fn CreateNewMutualExclusion(&self) -> Result<IWMMutualExclusion>;
}

Required Methods§

fn GetVersion(&self) -> Result<WMT_VERSION>

fn GetName(&self, pwszname: PWSTR, pcchname: *mut u32) -> Result<()>

fn SetName(&self, pwszname: &PCWSTR) -> Result<()>

fn GetDescription( &self, pwszdescription: PWSTR, pcchdescription: *mut u32, ) -> Result<()>

fn SetDescription(&self, pwszdescription: &PCWSTR) -> Result<()>

fn GetStreamCount(&self) -> Result<u32>

fn GetStream(&self, dwstreamindex: u32) -> Result<IWMStreamConfig>

fn GetStreamByNumber(&self, wstreamnum: u16) -> Result<IWMStreamConfig>

fn RemoveStream(&self, pconfig: Ref<'_, IWMStreamConfig>) -> Result<()>

fn RemoveStreamByNumber(&self, wstreamnum: u16) -> Result<()>

fn AddStream(&self, pconfig: Ref<'_, IWMStreamConfig>) -> Result<()>

fn ReconfigStream(&self, pconfig: Ref<'_, IWMStreamConfig>) -> Result<()>

fn CreateNewStream( &self, guidstreamtype: *const GUID, ) -> Result<IWMStreamConfig>

fn GetMutualExclusionCount(&self) -> Result<u32>

fn GetMutualExclusion(&self, dwmeindex: u32) -> Result<IWMMutualExclusion>

fn RemoveMutualExclusion(&self, pme: Ref<'_, IWMMutualExclusion>) -> Result<()>

fn AddMutualExclusion(&self, pme: Ref<'_, IWMMutualExclusion>) -> Result<()>

fn CreateNewMutualExclusion(&self) -> Result<IWMMutualExclusion>

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§