windows::Win32::Media::WindowsMediaFormat

Trait IWMProfileManager_Impl

pub trait IWMProfileManager_Impl: IUnknownImpl {
    // Required methods
    fn CreateEmptyProfile(&self, dwversion: WMT_VERSION) -> Result<IWMProfile>;
    fn LoadProfileByID(&self, guidprofile: *const GUID) -> Result<IWMProfile>;
    fn LoadProfileByData(&self, pwszprofile: &PCWSTR) -> Result<IWMProfile>;
    fn SaveProfile(
        &self,
        piwmprofile: Ref<'_, IWMProfile>,
        pwszprofile: &PCWSTR,
        pdwlength: *mut u32,
    ) -> Result<()>;
    fn GetSystemProfileCount(&self) -> Result<u32>;
    fn LoadSystemProfile(&self, dwprofileindex: u32) -> Result<IWMProfile>;
}

Required Methods§

fn CreateEmptyProfile(&self, dwversion: WMT_VERSION) -> Result<IWMProfile>

fn LoadProfileByID(&self, guidprofile: *const GUID) -> Result<IWMProfile>

fn LoadProfileByData(&self, pwszprofile: &PCWSTR) -> Result<IWMProfile>

fn SaveProfile( &self, piwmprofile: Ref<'_, IWMProfile>, pwszprofile: &PCWSTR, pdwlength: *mut u32, ) -> Result<()>

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

fn LoadSystemProfile(&self, dwprofileindex: u32) -> Result<IWMProfile>

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§