Trait IWMPEffects_Impl
pub trait IWMPEffects_Impl: IUnknownImpl {
// Required methods
fn Render(
&self,
plevels: *mut TimedLevel,
hdc: HDC,
prc: *mut RECT,
) -> Result<()>;
fn MediaInfo(
&self,
lchannelcount: i32,
lsamplerate: i32,
bstrtitle: &BSTR,
) -> Result<()>;
fn GetCapabilities(&self, pdwcapabilities: *mut u32) -> Result<()>;
fn GetTitle(&self, bstrtitle: *mut BSTR) -> Result<()>;
fn GetPresetTitle(
&self,
npreset: i32,
bstrpresettitle: *mut BSTR,
) -> Result<()>;
fn GetPresetCount(&self, pnpresetcount: *mut i32) -> Result<()>;
fn SetCurrentPreset(&self, npreset: i32) -> Result<()>;
fn GetCurrentPreset(&self, pnpreset: *mut i32) -> Result<()>;
fn DisplayPropertyPage(&self, hwndowner: HWND) -> Result<()>;
fn GoFullscreen(&self, ffullscreen: BOOL) -> Result<()>;
fn RenderFullScreen(&self, plevels: *mut TimedLevel) -> Result<()>;
}
Required Methods§
fn Render( &self, plevels: *mut TimedLevel, hdc: HDC, prc: *mut RECT, ) -> Result<()>
fn MediaInfo( &self, lchannelcount: i32, lsamplerate: i32, bstrtitle: &BSTR, ) -> Result<()>
fn GetCapabilities(&self, pdwcapabilities: *mut u32) -> Result<()>
fn GetTitle(&self, bstrtitle: *mut BSTR) -> Result<()>
fn GetPresetTitle(&self, npreset: i32, bstrpresettitle: *mut BSTR) -> Result<()>
fn GetPresetCount(&self, pnpresetcount: *mut i32) -> Result<()>
fn SetCurrentPreset(&self, npreset: i32) -> Result<()>
fn GetCurrentPreset(&self, pnpreset: *mut i32) -> Result<()>
fn DisplayPropertyPage(&self, hwndowner: HWND) -> Result<()>
fn GoFullscreen(&self, ffullscreen: BOOL) -> Result<()>
fn RenderFullScreen(&self, plevels: *mut TimedLevel) -> 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.