Trait windows::Win32::Media::WindowsMediaFormat::IWMProfile_Impl
pub trait IWMProfile_Impl: Sized {
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: Option<&IWMStreamConfig>) -> Result<()>;
fn RemoveStreamByNumber(&self, wstreamnum: u16) -> Result<()>;
fn AddStream(&self, pconfig: Option<&IWMStreamConfig>) -> Result<()>;
fn ReconfigStream(&self, pconfig: Option<&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: Option<&IWMMutualExclusion>
) -> Result<()>;
fn AddMutualExclusion(&self, pme: Option<&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: Option<&IWMStreamConfig>) -> Result<()>
fn RemoveStreamByNumber(&self, wstreamnum: u16) -> Result<()>
fn AddStream(&self, pconfig: Option<&IWMStreamConfig>) -> Result<()>
fn ReconfigStream(&self, pconfig: Option<&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: Option<&IWMMutualExclusion>) -> Result<()>
fn AddMutualExclusion(&self, pme: Option<&IWMMutualExclusion>) -> Result<()>
fn CreateNewMutualExclusion(&self) -> Result<IWMMutualExclusion>
Object Safety§
This trait is not object safe.