Trait IVideoWindow_Impl
pub trait IVideoWindow_Impl: IDispatch_Impl {
Show 39 methods
// Required methods
fn SetCaption(&self, strcaption: &BSTR) -> Result<()>;
fn Caption(&self) -> Result<BSTR>;
fn SetWindowStyle(&self, windowstyle: i32) -> Result<()>;
fn WindowStyle(&self) -> Result<i32>;
fn SetWindowStyleEx(&self, windowstyleex: i32) -> Result<()>;
fn WindowStyleEx(&self) -> Result<i32>;
fn SetAutoShow(&self, autoshow: i32) -> Result<()>;
fn AutoShow(&self) -> Result<i32>;
fn SetWindowState(&self, windowstate: i32) -> Result<()>;
fn WindowState(&self) -> Result<SHOW_WINDOW_CMD>;
fn SetBackgroundPalette(&self, backgroundpalette: i32) -> Result<()>;
fn BackgroundPalette(&self) -> Result<i32>;
fn SetVisible(&self, visible: i32) -> Result<()>;
fn Visible(&self) -> Result<i32>;
fn SetLeft(&self, left: i32) -> Result<()>;
fn Left(&self) -> Result<i32>;
fn SetWidth(&self, width: i32) -> Result<()>;
fn Width(&self) -> Result<i32>;
fn SetTop(&self, top: i32) -> Result<()>;
fn Top(&self) -> Result<i32>;
fn SetHeight(&self, height: i32) -> Result<()>;
fn Height(&self) -> Result<i32>;
fn SetOwner(&self, owner: isize) -> Result<()>;
fn Owner(&self) -> Result<isize>;
fn SetMessageDrain(&self, drain: isize) -> Result<()>;
fn MessageDrain(&self) -> Result<isize>;
fn BorderColor(&self) -> Result<i32>;
fn SetBorderColor(&self, color: i32) -> Result<()>;
fn FullScreenMode(&self) -> Result<i32>;
fn SetFullScreenMode(&self, fullscreenmode: i32) -> Result<()>;
fn SetWindowForeground(&self, focus: i32) -> Result<()>;
fn NotifyOwnerMessage(
&self,
hwnd: isize,
umsg: i32,
wparam: isize,
lparam: isize,
) -> Result<()>;
fn SetWindowPosition(
&self,
left: i32,
top: i32,
width: i32,
height: i32,
) -> Result<()>;
fn GetWindowPosition(
&self,
pleft: *mut i32,
ptop: *mut i32,
pwidth: *mut i32,
pheight: *mut i32,
) -> Result<()>;
fn GetMinIdealImageSize(
&self,
pwidth: *mut i32,
pheight: *mut i32,
) -> Result<()>;
fn GetMaxIdealImageSize(
&self,
pwidth: *mut i32,
pheight: *mut i32,
) -> Result<()>;
fn GetRestorePosition(
&self,
pleft: *mut i32,
ptop: *mut i32,
pwidth: *mut i32,
pheight: *mut i32,
) -> Result<()>;
fn HideCursor(&self, hidecursor: OA_BOOL) -> Result<()>;
fn IsCursorHidden(&self) -> Result<i32>;
}
Required Methods§
fn SetCaption(&self, strcaption: &BSTR) -> Result<()>
fn Caption(&self) -> Result<BSTR>
fn SetWindowStyle(&self, windowstyle: i32) -> Result<()>
fn WindowStyle(&self) -> Result<i32>
fn SetWindowStyleEx(&self, windowstyleex: i32) -> Result<()>
fn WindowStyleEx(&self) -> Result<i32>
fn SetAutoShow(&self, autoshow: i32) -> Result<()>
fn AutoShow(&self) -> Result<i32>
fn SetWindowState(&self, windowstate: i32) -> Result<()>
fn WindowState(&self) -> Result<SHOW_WINDOW_CMD>
fn SetBackgroundPalette(&self, backgroundpalette: i32) -> Result<()>
fn BackgroundPalette(&self) -> Result<i32>
fn SetVisible(&self, visible: i32) -> Result<()>
fn Visible(&self) -> Result<i32>
fn SetLeft(&self, left: i32) -> Result<()>
fn Left(&self) -> Result<i32>
fn SetWidth(&self, width: i32) -> Result<()>
fn Width(&self) -> Result<i32>
fn SetTop(&self, top: i32) -> Result<()>
fn Top(&self) -> Result<i32>
fn SetHeight(&self, height: i32) -> Result<()>
fn Height(&self) -> Result<i32>
fn SetOwner(&self, owner: isize) -> Result<()>
fn Owner(&self) -> Result<isize>
fn SetMessageDrain(&self, drain: isize) -> Result<()>
fn MessageDrain(&self) -> Result<isize>
fn BorderColor(&self) -> Result<i32>
fn SetBorderColor(&self, color: i32) -> Result<()>
fn FullScreenMode(&self) -> Result<i32>
fn SetFullScreenMode(&self, fullscreenmode: i32) -> Result<()>
fn SetWindowForeground(&self, focus: i32) -> Result<()>
fn NotifyOwnerMessage( &self, hwnd: isize, umsg: i32, wparam: isize, lparam: isize, ) -> Result<()>
fn SetWindowPosition( &self, left: i32, top: i32, width: i32, height: i32, ) -> Result<()>
fn GetWindowPosition( &self, pleft: *mut i32, ptop: *mut i32, pwidth: *mut i32, pheight: *mut i32, ) -> Result<()>
fn GetMinIdealImageSize( &self, pwidth: *mut i32, pheight: *mut i32, ) -> Result<()>
fn GetMaxIdealImageSize( &self, pwidth: *mut i32, pheight: *mut i32, ) -> Result<()>
fn GetRestorePosition( &self, pleft: *mut i32, ptop: *mut i32, pwidth: *mut i32, pheight: *mut i32, ) -> Result<()>
fn HideCursor(&self, hidecursor: OA_BOOL) -> Result<()>
fn IsCursorHidden(&self) -> Result<i32>
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.