Struct IGraphConfig
pub struct IGraphConfig(/* private fields */);
Implementations§
§impl IGraphConfig
impl IGraphConfig
pub unsafe fn Reconnect<P0, P1, P3>( &self, poutputpin: P0, pinputpin: P1, pmtfirstconnection: *const AM_MEDIA_TYPE, pusingfilter: P3, habortevent: HANDLE, dwflags: u32, ) -> Result<()>
pub unsafe fn Reconfigure<P0>(
&self,
pcallback: P0,
pvcontext: *const c_void,
dwflags: u32,
habortevent: HANDLE,
) -> Result<()>where
P0: Param<IGraphConfigCallback>,
pub unsafe fn AddFilterToCache<P0>(&self, pfilter: P0) -> Result<()>where
P0: Param<IBaseFilter>,
pub unsafe fn EnumCacheFilter(&self) -> Result<IEnumFilters>
pub unsafe fn RemoveFilterFromCache<P0>(&self, pfilter: P0) -> Result<()>where
P0: Param<IBaseFilter>,
pub unsafe fn GetStartTime(&self) -> Result<i64>
pub unsafe fn PushThroughData<P0, P1>(
&self,
poutputpin: P0,
pconnection: P1,
heventabort: HANDLE,
) -> Result<()>where
P0: Param<IPin>,
P1: Param<IPinConnection>,
pub unsafe fn SetFilterFlags<P0>(&self, pfilter: P0, dwflags: u32) -> Result<()>where
P0: Param<IBaseFilter>,
pub unsafe fn GetFilterFlags<P0>(&self, pfilter: P0) -> Result<u32>where
P0: Param<IBaseFilter>,
pub unsafe fn RemoveFilterEx<P0>(&self, pfilter: P0, flags: u32) -> Result<()>where
P0: Param<IBaseFilter>,
Trait Implementations§
§impl CanInto<IUnknown> for IGraphConfig
impl CanInto<IUnknown> for IGraphConfig
§impl Clone for IGraphConfig
impl Clone for IGraphConfig
§fn clone(&self) -> IGraphConfig
fn clone(&self) -> IGraphConfig
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 IGraphConfig
impl Debug for IGraphConfig
§impl From<&IGraphConfig> for &IUnknown
impl From<&IGraphConfig> for &IUnknown
§fn from(value: &IGraphConfig) -> Self
fn from(value: &IGraphConfig) -> Self
Converts to this type from the input type.
§impl From<IGraphConfig> for IUnknown
impl From<IGraphConfig> for IUnknown
§fn from(value: IGraphConfig) -> Self
fn from(value: IGraphConfig) -> Self
Converts to this type from the input type.
§impl Interface for IGraphConfig
impl Interface for IGraphConfig
§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 IGraphConfig
impl PartialEq for IGraphConfig
impl Eq for IGraphConfig
impl StructuralPartialEq for IGraphConfig
Auto Trait Implementations§
impl Freeze for IGraphConfig
impl RefUnwindSafe for IGraphConfig
impl !Send for IGraphConfig
impl !Sync for IGraphConfig
impl Unpin for IGraphConfig
impl UnwindSafe for IGraphConfig
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