pub trait IVMRWindowlessControl_Impl: Sized {
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>

Object Safety§

This trait is not object safe.

Implementors§