Struct windows::Win32::Media::DirectShow::Tv::IMSVidGenericSink2
pub struct IMSVidGenericSink2(/* private fields */);
Implementations§
§impl IMSVidGenericSink2
impl IMSVidGenericSink2
pub unsafe fn Name(&self) -> Result<BSTR>
pub unsafe fn Status(&self) -> Result<i32>
pub unsafe fn SetPower<P0>(&self, power: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
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: IntoParam<IMSVidDevice>,
pub unsafe fn SetSinkFilter<P0>(&self, bstrname: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn SinkStreams(&self) -> Result<MSVidSinkStreams>
pub unsafe fn SetSinkStreams(&self, streams: MSVidSinkStreams) -> Result<()>
pub unsafe fn AddFilter<P0>(&self, bstrname: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn ResetFilterList(&self) -> Result<()>
Trait Implementations§
§impl Clone for IMSVidGenericSink2
impl Clone for IMSVidGenericSink2
§fn clone(&self) -> IMSVidGenericSink2
fn clone(&self) -> IMSVidGenericSink2
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 IMSVidGenericSink2
impl Debug for IMSVidGenericSink2
§impl From<&IMSVidGenericSink2> for &IDispatch
impl From<&IMSVidGenericSink2> for &IDispatch
§fn from(value: &IMSVidGenericSink2) -> Self
fn from(value: &IMSVidGenericSink2) -> Self
Converts to this type from the input type.
§impl From<&IMSVidGenericSink2> for &IMSVidDevice
impl From<&IMSVidGenericSink2> for &IMSVidDevice
§fn from(value: &IMSVidGenericSink2) -> Self
fn from(value: &IMSVidGenericSink2) -> Self
Converts to this type from the input type.
§impl From<&IMSVidGenericSink2> for &IMSVidGenericSink
impl From<&IMSVidGenericSink2> for &IMSVidGenericSink
§fn from(value: &IMSVidGenericSink2) -> Self
fn from(value: &IMSVidGenericSink2) -> Self
Converts to this type from the input type.
§impl From<&IMSVidGenericSink2> for &IMSVidOutputDevice
impl From<&IMSVidGenericSink2> for &IMSVidOutputDevice
§fn from(value: &IMSVidGenericSink2) -> Self
fn from(value: &IMSVidGenericSink2) -> Self
Converts to this type from the input type.
§impl From<&IMSVidGenericSink2> for &IUnknown
impl From<&IMSVidGenericSink2> for &IUnknown
§fn from(value: &IMSVidGenericSink2) -> Self
fn from(value: &IMSVidGenericSink2) -> Self
Converts to this type from the input type.
§impl From<IMSVidGenericSink2> for IDispatch
impl From<IMSVidGenericSink2> for IDispatch
§fn from(value: IMSVidGenericSink2) -> Self
fn from(value: IMSVidGenericSink2) -> Self
Converts to this type from the input type.
§impl From<IMSVidGenericSink2> for IMSVidDevice
impl From<IMSVidGenericSink2> for IMSVidDevice
§fn from(value: IMSVidGenericSink2) -> Self
fn from(value: IMSVidGenericSink2) -> Self
Converts to this type from the input type.
§impl From<IMSVidGenericSink2> for IMSVidGenericSink
impl From<IMSVidGenericSink2> for IMSVidGenericSink
§fn from(value: IMSVidGenericSink2) -> Self
fn from(value: IMSVidGenericSink2) -> Self
Converts to this type from the input type.
§impl From<IMSVidGenericSink2> for IMSVidOutputDevice
impl From<IMSVidGenericSink2> for IMSVidOutputDevice
§fn from(value: IMSVidGenericSink2) -> Self
fn from(value: IMSVidGenericSink2) -> Self
Converts to this type from the input type.
§impl From<IMSVidGenericSink2> for IUnknown
impl From<IMSVidGenericSink2> for IUnknown
§fn from(value: IMSVidGenericSink2) -> Self
fn from(value: IMSVidGenericSink2) -> Self
Converts to this type from the input type.
§impl Interface for IMSVidGenericSink2
impl Interface for IMSVidGenericSink2
§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.
§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§impl PartialEq for IMSVidGenericSink2
impl PartialEq for IMSVidGenericSink2
§fn eq(&self, other: &IMSVidGenericSink2) -> bool
fn eq(&self, other: &IMSVidGenericSink2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IMSVidGenericSink2
impl StructuralPartialEq for IMSVidGenericSink2
Auto Trait Implementations§
impl RefUnwindSafe for IMSVidGenericSink2
impl !Send for IMSVidGenericSink2
impl !Sync for IMSVidGenericSink2
impl Unpin for IMSVidGenericSink2
impl UnwindSafe for IMSVidGenericSink2
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