Struct winsafe::IFilterGraph
source · pub struct IFilterGraph(/* private fields */);
Available on crate feature
dshow
only.Expand description
IFilterGraph
COM interface over IFilterGraphVT
.
Automatically calls
IUnknown::Release
when the object goes out of scope.
Trait Implementations§
source§impl Clone for IFilterGraph
impl Clone for IFilterGraph
source§impl Drop for IFilterGraph
impl Drop for IFilterGraph
source§impl dshow_IFilterGraph for IFilterGraph
impl dshow_IFilterGraph for IFilterGraph
source§fn AddFilter(&self, filter: &impl dshow_IBaseFilter, name: &str) -> HrResult<()>
fn AddFilter(&self, filter: &impl dshow_IBaseFilter, name: &str) -> HrResult<()>
IFilterGraph::AddFilter
method.source§fn ConnectDirect(
&self,
pin_out: &impl dshow_IPin,
pin_in: &impl dshow_IPin,
mt: Option<&AM_MEDIA_TYPE<'_>>
) -> HrResult<()>
fn ConnectDirect( &self, pin_out: &impl dshow_IPin, pin_in: &impl dshow_IPin, mt: Option<&AM_MEDIA_TYPE<'_>> ) -> HrResult<()>
IFilterGraph::ConnectDirect
method.source§fn Disconnect(&self, pin: &impl dshow_IPin) -> HrResult<()>
fn Disconnect(&self, pin: &impl dshow_IPin) -> HrResult<()>
IFilterGraph::Disconnect
method.source§fn EnumFilters(&self) -> HrResult<IEnumFilters>
fn EnumFilters(&self) -> HrResult<IEnumFilters>
IFilterGraph::EnumFilters
method.source§fn FindFilterByName(&self, name: &str) -> HrResult<IBaseFilter>
fn FindFilterByName(&self, name: &str) -> HrResult<IBaseFilter>
IFilterGraph::FindFilterByName
method.source§fn Reconnect(&self, pin: &impl dshow_IPin) -> HrResult<()>
fn Reconnect(&self, pin: &impl dshow_IPin) -> HrResult<()>
IFilterGraph::Reconnect
method.source§fn RemoveFilter(&self, filter: &impl dshow_IBaseFilter) -> HrResult<()>
fn RemoveFilter(&self, filter: &impl dshow_IBaseFilter) -> HrResult<()>
IFilterGraph::RemoveFilter
method.source§fn SetDefaultSyncSource(&self) -> HrResult<()>
fn SetDefaultSyncSource(&self) -> HrResult<()>
source§impl ole_IUnknown for IFilterGraph
impl ole_IUnknown for IFilterGraph
source§unsafe fn from_ptr(p: *mut c_void) -> Self
unsafe fn from_ptr(p: *mut c_void) -> Self
Available on crate feature
ole
only.Creates an object from a COM virtual table pointer. Read more
source§unsafe fn as_mut(&mut self) -> &mut *mut c_void
unsafe fn as_mut(&mut self) -> &mut *mut c_void
Available on crate feature
ole
only.Returns a mutable reference do the underlying COM virtual table pointer. Read more
source§fn ptr(&self) -> *mut c_void
fn ptr(&self) -> *mut c_void
Available on crate feature
ole
only.Returns the pointer to the underlying COM virtual table. Read more
source§unsafe fn null() -> Self
unsafe fn null() -> Self
Available on crate feature
ole
only.Creates an object from a null COM virtual table pointer. Read more
source§fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
Available on crate feature
ole
only.IUnknown::QueryInterface
method.impl Send for IFilterGraph
Auto Trait Implementations§
impl Freeze for IFilterGraph
impl RefUnwindSafe for IFilterGraph
impl !Sync for IFilterGraph
impl Unpin for IFilterGraph
impl UnwindSafe for IFilterGraph
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