Struct IMSVidVMR9
pub struct IMSVidVMR9(/* private fields */);
Implementations§
§impl IMSVidVMR9
impl IMSVidVMR9
pub unsafe fn Allocator_ID(&self) -> Result<i32>
pub unsafe fn SetAllocator<P0>(&self, allocpresent: P0, id: i32) -> Result<()>where
P0: Param<IUnknown>,
pub unsafe fn SetSuppressEffects(&self, bsuppress: VARIANT_BOOL) -> Result<()>
pub unsafe fn SuppressEffects(&self) -> Result<VARIANT_BOOL>
pub unsafe fn Allocator(&self) -> Result<IUnknown>
Methods from Deref<Target = IMSVidVideoRenderer>§
pub unsafe fn CustomCompositorClass(&self) -> Result<BSTR>
pub unsafe fn SetCustomCompositorClass( &self, compositorclsid: &BSTR, ) -> Result<()>
pub unsafe fn _CustomCompositorClass(&self) -> Result<GUID>
pub unsafe fn Set_CustomCompositorClass( &self, compositorclsid: *const GUID, ) -> Result<()>
pub unsafe fn _CustomCompositor(&self) -> Result<IVMRImageCompositor>
pub unsafe fn Set_CustomCompositor<P0>(&self, compositor: P0) -> Result<()>where
P0: Param<IVMRImageCompositor>,
pub unsafe fn MixerBitmap(&self) -> Result<IPictureDisp>
pub unsafe fn _MixerBitmap(&self) -> Result<IVMRMixerBitmap>
pub unsafe fn SetMixerBitmap<P0>(&self, mixerpicturedisp: P0) -> Result<()>where
P0: Param<IPictureDisp>,
pub unsafe fn Set_MixerBitmap( &self, mixerpicture: *const VMRALPHABITMAP, ) -> Result<()>
pub unsafe fn MixerBitmapPositionRect(&self) -> Result<IMSVidRect>
pub unsafe fn SetMixerBitmapPositionRect<P0>(&self, rdest: P0) -> Result<()>where
P0: Param<IMSVidRect>,
pub unsafe fn MixerBitmapOpacity(&self) -> Result<i32>
pub unsafe fn SetMixerBitmapOpacity(&self, opacity: i32) -> Result<()>
pub unsafe fn SetupMixerBitmap<P0, P2>(
&self,
mixerpicturedisp: P0,
opacity: i32,
rdest: P2,
) -> Result<()>where
P0: Param<IPictureDisp>,
P2: Param<IMSVidRect>,
pub unsafe fn SourceSize(&self) -> Result<SourceSizeList>
pub unsafe fn SetSourceSize(&self, newsize: SourceSizeList) -> Result<()>
pub unsafe fn OverScan(&self) -> Result<i32>
pub unsafe fn SetOverScan(&self, lpercent: i32) -> Result<()>
pub unsafe fn AvailableSourceRect(&self) -> Result<IMSVidRect>
pub unsafe fn MaxVidRect(&self) -> Result<IMSVidRect>
pub unsafe fn MinVidRect(&self) -> Result<IMSVidRect>
pub unsafe fn ClippedSourceRect(&self) -> Result<IMSVidRect>
pub unsafe fn SetClippedSourceRect<P0>(&self, prect: P0) -> Result<()>where
P0: Param<IMSVidRect>,
pub unsafe fn UsingOverlay(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetUsingOverlay(&self, useoverlayval: VARIANT_BOOL) -> Result<()>
pub unsafe fn Capture(&self) -> Result<IPictureDisp>
pub unsafe fn FramesPerSecond(&self) -> Result<i32>
pub unsafe fn DecimateInput(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetDecimateInput(&self, pdeci: VARIANT_BOOL) -> Result<()>
Methods from Deref<Target = IMSVidDevice>§
pub unsafe fn Name(&self) -> Result<BSTR>
pub unsafe fn Status(&self) -> Result<i32>
pub unsafe fn SetPower(&self, power: VARIANT_BOOL) -> Result<()>
pub unsafe fn Power(&self) -> Result<VARIANT_BOOL>
pub unsafe fn Category(&self) -> Result<BSTR>
pub unsafe fn ClassID(&self) -> Result<BSTR>
pub unsafe fn _Category(&self) -> Result<GUID>
pub unsafe fn _ClassID(&self) -> Result<GUID>
pub unsafe fn IsEqualDevice<P0>(&self, device: P0) -> Result<VARIANT_BOOL>where
P0: Param<IMSVidDevice>,
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<IMSVidDevice> for IMSVidVMR9
impl CanInto<IMSVidDevice> for IMSVidVMR9
§impl CanInto<IMSVidOutputDevice> for IMSVidVMR9
impl CanInto<IMSVidOutputDevice> for IMSVidVMR9
§impl CanInto<IMSVidVideoRenderer> for IMSVidVMR9
impl CanInto<IMSVidVideoRenderer> for IMSVidVMR9
§impl CanInto<IUnknown> for IMSVidVMR9
impl CanInto<IUnknown> for IMSVidVMR9
§impl Clone for IMSVidVMR9
impl Clone for IMSVidVMR9
§fn clone(&self) -> IMSVidVMR9
fn clone(&self) -> IMSVidVMR9
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 IMSVidVMR9
impl Debug for IMSVidVMR9
§impl Deref for IMSVidVMR9
impl Deref for IMSVidVMR9
§impl From<&IMSVidVMR9> for &IDispatch
impl From<&IMSVidVMR9> for &IDispatch
§fn from(value: &IMSVidVMR9) -> Self
fn from(value: &IMSVidVMR9) -> Self
Converts to this type from the input type.
§impl From<&IMSVidVMR9> for &IMSVidDevice
impl From<&IMSVidVMR9> for &IMSVidDevice
§fn from(value: &IMSVidVMR9) -> Self
fn from(value: &IMSVidVMR9) -> Self
Converts to this type from the input type.
§impl From<&IMSVidVMR9> for &IMSVidOutputDevice
impl From<&IMSVidVMR9> for &IMSVidOutputDevice
§fn from(value: &IMSVidVMR9) -> Self
fn from(value: &IMSVidVMR9) -> Self
Converts to this type from the input type.
§impl From<&IMSVidVMR9> for &IMSVidVideoRenderer
impl From<&IMSVidVMR9> for &IMSVidVideoRenderer
§fn from(value: &IMSVidVMR9) -> Self
fn from(value: &IMSVidVMR9) -> Self
Converts to this type from the input type.
§impl From<&IMSVidVMR9> for &IUnknown
impl From<&IMSVidVMR9> for &IUnknown
§fn from(value: &IMSVidVMR9) -> Self
fn from(value: &IMSVidVMR9) -> Self
Converts to this type from the input type.
§impl From<IMSVidVMR9> for IDispatch
impl From<IMSVidVMR9> for IDispatch
§fn from(value: IMSVidVMR9) -> Self
fn from(value: IMSVidVMR9) -> Self
Converts to this type from the input type.
§impl From<IMSVidVMR9> for IMSVidDevice
impl From<IMSVidVMR9> for IMSVidDevice
§fn from(value: IMSVidVMR9) -> Self
fn from(value: IMSVidVMR9) -> Self
Converts to this type from the input type.
§impl From<IMSVidVMR9> for IMSVidOutputDevice
impl From<IMSVidVMR9> for IMSVidOutputDevice
§fn from(value: IMSVidVMR9) -> Self
fn from(value: IMSVidVMR9) -> Self
Converts to this type from the input type.
§impl From<IMSVidVMR9> for IMSVidVideoRenderer
impl From<IMSVidVMR9> for IMSVidVideoRenderer
§fn from(value: IMSVidVMR9) -> Self
fn from(value: IMSVidVMR9) -> Self
Converts to this type from the input type.
§impl From<IMSVidVMR9> for IUnknown
impl From<IMSVidVMR9> for IUnknown
§fn from(value: IMSVidVMR9) -> Self
fn from(value: IMSVidVMR9) -> Self
Converts to this type from the input type.
§impl Interface for IMSVidVMR9
impl Interface for IMSVidVMR9
§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 IMSVidVMR9
impl PartialEq for IMSVidVMR9
impl Eq for IMSVidVMR9
impl StructuralPartialEq for IMSVidVMR9
Auto Trait Implementations§
impl Freeze for IMSVidVMR9
impl RefUnwindSafe for IMSVidVMR9
impl !Send for IMSVidVMR9
impl !Sync for IMSVidVMR9
impl Unpin for IMSVidVMR9
impl UnwindSafe for IMSVidVMR9
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