pub struct IBaseFilter(/* private fields */);
Available on crate feature
dshow
only.Expand description
IBaseFilter
COM interface.
Automatically calls
IUnknown::Release
when the object goes out of scope.
§Examples
use winsafe::{self as w, prelude::*, co};
let vmr = w::CoCreateInstance::<w::IBaseFilter>(
&co::CLSID::EnhancedVideoRenderer,
None,
co::CLSCTX::INPROC_SERVER,
)?;
Trait Implementations§
Source§impl Clone for IBaseFilter
impl Clone for IBaseFilter
Source§impl Drop for IBaseFilter
impl Drop for IBaseFilter
Source§impl dshow_IBaseFilter for IBaseFilter
impl dshow_IBaseFilter for IBaseFilter
Source§fn JoinFilterGraph(
&self,
graph: Option<&impl dshow_IFilterGraph>,
name: &str,
) -> HrResult<()>
fn JoinFilterGraph( &self, graph: Option<&impl dshow_IFilterGraph>, name: &str, ) -> HrResult<()>
IBaseFilter::JoinFilterGraph
method.Source§fn QueryFilterInfo(&self, info: &mut FILTER_INFO) -> HrResult<()>
fn QueryFilterInfo(&self, info: &mut FILTER_INFO) -> HrResult<()>
IBaseFilter::QueryFilterInfo
method.Source§fn QueryVendorInfo(&self) -> HrResult<String>
fn QueryVendorInfo(&self) -> HrResult<String>
IBaseFilter::QueryVendorInfo
method.Source§impl dshow_IMediaFilter for IBaseFilter
impl dshow_IMediaFilter for IBaseFilter
Source§fn GetState(&self, ms_timeout: Option<u32>) -> HrResult<FILTER_STATE>
fn GetState(&self, ms_timeout: Option<u32>) -> HrResult<FILTER_STATE>
IMediaFilter::GetState
method.Source§impl ole_IPersist for IBaseFilter
impl ole_IPersist for IBaseFilter
Source§fn GetClassID(&self) -> HrResult<CLSID>
fn GetClassID(&self) -> HrResult<CLSID>
Available on crate feature
ole
only.IPersist::GetClassID
method.Source§impl ole_IUnknown for IBaseFilter
impl ole_IUnknown for IBaseFilter
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 IBaseFilter
Auto Trait Implementations§
impl Freeze for IBaseFilter
impl RefUnwindSafe for IBaseFilter
impl !Sync for IBaseFilter
impl Unpin for IBaseFilter
impl UnwindSafe for IBaseFilter
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