Struct IVideoWindow
pub struct IVideoWindow(/* private fields */);Implementations§
§impl IVideoWindow
 
impl IVideoWindow
pub unsafe fn SetCaption(&self, strcaption: &BSTR) -> Result<()>
pub unsafe fn Caption(&self) -> Result<BSTR>
pub unsafe fn SetWindowStyle(&self, windowstyle: i32) -> Result<()>
pub unsafe fn WindowStyle(&self) -> Result<i32>
pub unsafe fn SetWindowStyleEx(&self, windowstyleex: i32) -> Result<()>
pub unsafe fn WindowStyleEx(&self) -> Result<i32>
pub unsafe fn SetAutoShow(&self, autoshow: i32) -> Result<()>
pub unsafe fn AutoShow(&self) -> Result<i32>
pub unsafe fn SetWindowState(&self, windowstate: i32) -> Result<()>
pub unsafe fn WindowState(&self) -> Result<SHOW_WINDOW_CMD>
pub unsafe fn SetBackgroundPalette(&self, backgroundpalette: i32) -> Result<()>
pub unsafe fn BackgroundPalette(&self) -> Result<i32>
pub unsafe fn SetVisible(&self, visible: i32) -> Result<()>
pub unsafe fn Visible(&self) -> Result<i32>
pub unsafe fn SetLeft(&self, left: i32) -> Result<()>
pub unsafe fn Left(&self) -> Result<i32>
pub unsafe fn SetWidth(&self, width: i32) -> Result<()>
pub unsafe fn Width(&self) -> Result<i32>
pub unsafe fn SetTop(&self, top: i32) -> Result<()>
pub unsafe fn Top(&self) -> Result<i32>
pub unsafe fn SetHeight(&self, height: i32) -> Result<()>
pub unsafe fn Height(&self) -> Result<i32>
pub unsafe fn SetOwner(&self, owner: isize) -> Result<()>
pub unsafe fn Owner(&self) -> Result<isize>
pub unsafe fn SetMessageDrain(&self, drain: isize) -> Result<()>
pub unsafe fn MessageDrain(&self) -> Result<isize>
pub unsafe fn BorderColor(&self) -> Result<i32>
pub unsafe fn SetBorderColor(&self, color: i32) -> Result<()>
pub unsafe fn FullScreenMode(&self) -> Result<i32>
pub unsafe fn SetFullScreenMode(&self, fullscreenmode: i32) -> Result<()>
pub unsafe fn SetWindowForeground(&self, focus: i32) -> Result<()>
pub unsafe fn NotifyOwnerMessage( &self, hwnd: isize, umsg: i32, wparam: isize, lparam: isize, ) -> Result<()>
pub unsafe fn SetWindowPosition( &self, left: i32, top: i32, width: i32, height: i32, ) -> Result<()>
pub unsafe fn GetWindowPosition( &self, pleft: *mut i32, ptop: *mut i32, pwidth: *mut i32, pheight: *mut i32, ) -> Result<()>
pub unsafe fn GetMinIdealImageSize( &self, pwidth: *mut i32, pheight: *mut i32, ) -> Result<()>
pub unsafe fn GetMaxIdealImageSize( &self, pwidth: *mut i32, pheight: *mut i32, ) -> Result<()>
pub unsafe fn GetRestorePosition( &self, pleft: *mut i32, ptop: *mut i32, pwidth: *mut i32, pheight: *mut i32, ) -> Result<()>
pub unsafe fn HideCursor(&self, hidecursor: OA_BOOL) -> Result<()>
pub unsafe fn IsCursorHidden(&self) -> Result<i32>
Methods from Deref<Target = IDispatch>§
pub unsafe fn GetTypeInfoCount(&self) -> Result<u32>
pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> Result<ITypeInfo>
pub unsafe fn GetIDsOfNames( &self, riid: *const GUID, rgsznames: *const PCWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32, ) -> Result<()>
pub unsafe fn Invoke( &self, dispidmember: i32, riid: *const GUID, lcid: u32, wflags: DISPATCH_FLAGS, pdispparams: *const DISPPARAMS, pvarresult: Option<*mut VARIANT>, pexcepinfo: Option<*mut EXCEPINFO>, puargerr: Option<*mut u32>, ) -> Result<()>
Trait Implementations§
§impl CanInto<IUnknown> for IVideoWindow
 
impl CanInto<IUnknown> for IVideoWindow
§impl Clone for IVideoWindow
 
impl Clone for IVideoWindow
§fn clone(&self) -> IVideoWindow
 
fn clone(&self) -> IVideoWindow
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read more§impl Debug for IVideoWindow
 
impl Debug for IVideoWindow
§impl Deref for IVideoWindow
 
impl Deref for IVideoWindow
§impl From<&IVideoWindow> for &IDispatch
 
impl From<&IVideoWindow> for &IDispatch
§fn from(value: &IVideoWindow) -> Self
 
fn from(value: &IVideoWindow) -> Self
Converts to this type from the input type.
§impl From<&IVideoWindow> for &IUnknown
 
impl From<&IVideoWindow> for &IUnknown
§fn from(value: &IVideoWindow) -> Self
 
fn from(value: &IVideoWindow) -> Self
Converts to this type from the input type.
§impl From<IVideoWindow> for IDispatch
 
impl From<IVideoWindow> for IDispatch
§fn from(value: IVideoWindow) -> Self
 
fn from(value: IVideoWindow) -> Self
Converts to this type from the input type.
§impl From<IVideoWindow> for IUnknown
 
impl From<IVideoWindow> for IUnknown
§fn from(value: IVideoWindow) -> Self
 
fn from(value: IVideoWindow) -> Self
Converts to this type from the input type.
§impl Interface for IVideoWindow
 
impl Interface for IVideoWindow
§fn as_raw(&self) -> *mut c_void
 
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the 
Interface implementation.§fn into_raw(self) -> *mut c_void
 
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
 
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§fn cast<T>(&self) -> Result<T, Error>where
    T: Interface,
 
fn cast<T>(&self) -> Result<T, Error>where
    T: Interface,
Attempts to cast the current interface to another interface using 
QueryInterface. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
    T: ComObjectInner,
    <T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
 
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
    T: ComObjectInner,
    <T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any]. Read more§fn is_object<T>(&self) -> boolwhere
    T: ComObjectInner,
    <T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
 
fn is_object<T>(&self) -> boolwhere
    T: ComObjectInner,
    <T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
    T: ComObjectInner,
    <T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
 
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
    T: ComObjectInner,
    <T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl, not the inner &MyApp object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
    T: ComObjectInner,
    <T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
 
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
    T: ComObjectInner,
    <T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any]. It returns a reference to the “outer”
object, e.g. MyApp_Impl, not the inner MyApp object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
 
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak] reference to this object.§impl PartialEq for IVideoWindow
 
impl PartialEq for IVideoWindow
impl Eq for IVideoWindow
impl StructuralPartialEq for IVideoWindow
Auto Trait Implementations§
impl Freeze for IVideoWindow
impl RefUnwindSafe for IVideoWindow
impl !Send for IVideoWindow
impl !Sync for IVideoWindow
impl Unpin for IVideoWindow
impl UnwindSafe for IVideoWindow
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more