Trait IVMRWindowlessControl_Impl
pub trait IVMRWindowlessControl_Impl: IUnknownImpl {
Show 15 methods
// Required methods
fn GetNativeVideoSize(
&self,
lpwidth: *mut i32,
lpheight: *mut i32,
lparwidth: *mut i32,
lparheight: *mut i32,
) -> Result<()>;
fn GetMinIdealVideoSize(
&self,
lpwidth: *mut i32,
lpheight: *mut i32,
) -> Result<()>;
fn GetMaxIdealVideoSize(
&self,
lpwidth: *mut i32,
lpheight: *mut i32,
) -> Result<()>;
fn SetVideoPosition(
&self,
lpsrcrect: *const RECT,
lpdstrect: *const RECT,
) -> Result<()>;
fn GetVideoPosition(
&self,
lpsrcrect: *mut RECT,
lpdstrect: *mut RECT,
) -> Result<()>;
fn GetAspectRatioMode(&self) -> Result<u32>;
fn SetAspectRatioMode(&self, aspectratiomode: u32) -> Result<()>;
fn SetVideoClippingWindow(&self, hwnd: HWND) -> Result<()>;
fn RepaintVideo(&self, hwnd: HWND, hdc: HDC) -> Result<()>;
fn DisplayModeChanged(&self) -> Result<()>;
fn GetCurrentImage(&self) -> Result<*mut u8>;
fn SetBorderColor(&self, clr: COLORREF) -> Result<()>;
fn GetBorderColor(&self) -> Result<COLORREF>;
fn SetColorKey(&self, clr: COLORREF) -> Result<()>;
fn GetColorKey(&self) -> Result<COLORREF>;
}
Required Methods§
fn GetNativeVideoSize( &self, lpwidth: *mut i32, lpheight: *mut i32, lparwidth: *mut i32, lparheight: *mut i32, ) -> Result<()>
fn GetMinIdealVideoSize( &self, lpwidth: *mut i32, lpheight: *mut i32, ) -> Result<()>
fn GetMaxIdealVideoSize( &self, lpwidth: *mut i32, lpheight: *mut i32, ) -> Result<()>
fn SetVideoPosition( &self, lpsrcrect: *const RECT, lpdstrect: *const RECT, ) -> Result<()>
fn GetVideoPosition( &self, lpsrcrect: *mut RECT, lpdstrect: *mut RECT, ) -> Result<()>
fn GetAspectRatioMode(&self) -> Result<u32>
fn SetAspectRatioMode(&self, aspectratiomode: u32) -> Result<()>
fn SetVideoClippingWindow(&self, hwnd: HWND) -> Result<()>
fn RepaintVideo(&self, hwnd: HWND, hdc: HDC) -> Result<()>
fn DisplayModeChanged(&self) -> Result<()>
fn GetCurrentImage(&self) -> Result<*mut u8>
fn SetBorderColor(&self, clr: COLORREF) -> Result<()>
fn GetBorderColor(&self) -> Result<COLORREF>
fn SetColorKey(&self, clr: COLORREF) -> Result<()>
fn GetColorKey(&self) -> Result<COLORREF>
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.