Trait windows::Win32::Media::DirectShow::IMixerOCX_Impl
pub trait IMixerOCX_Impl: Sized {
// Required methods
fn OnDisplayChange(
&self,
ulbitsperpixel: u32,
ulscreenwidth: u32,
ulscreenheight: u32
) -> Result<()>;
fn GetAspectRatio(
&self,
pdwpictaspectratiox: *mut u32,
pdwpictaspectratioy: *mut u32
) -> Result<()>;
fn GetVideoSize(
&self,
pdwvideowidth: *mut u32,
pdwvideoheight: *mut u32
) -> Result<()>;
fn GetStatus(&self) -> Result<*mut u32>;
fn OnDraw(&self, hdcdraw: HDC, prcdraw: *const RECT) -> Result<()>;
fn SetDrawRegion(
&self,
lppttopleftsc: *const POINT,
prcdrawcc: *const RECT,
lprcclip: *const RECT
) -> Result<()>;
fn Advise(&self, pmdns: Option<&IMixerOCXNotify>) -> Result<()>;
fn UnAdvise(&self) -> Result<()>;
}
Required Methods§
fn OnDisplayChange( &self, ulbitsperpixel: u32, ulscreenwidth: u32, ulscreenheight: u32 ) -> Result<()>
fn GetAspectRatio( &self, pdwpictaspectratiox: *mut u32, pdwpictaspectratioy: *mut u32 ) -> Result<()>
fn GetVideoSize( &self, pdwvideowidth: *mut u32, pdwvideoheight: *mut u32 ) -> Result<()>
fn GetStatus(&self) -> Result<*mut u32>
fn OnDraw(&self, hdcdraw: HDC, prcdraw: *const RECT) -> Result<()>
fn SetDrawRegion( &self, lppttopleftsc: *const POINT, prcdrawcc: *const RECT, lprcclip: *const RECT ) -> Result<()>
fn Advise(&self, pmdns: Option<&IMixerOCXNotify>) -> Result<()>
fn UnAdvise(&self) -> Result<()>
Object Safety§
This trait is not object safe.