Struct winsafe::IFileSinkFilter
source · pub struct IFileSinkFilter(/* private fields */);
Available on crate feature
dshow
only.Expand description
IFileSinkFilter
COM interface over IFileSinkFilterVT
.
Automatically calls
IUnknown::Release
when the object goes out of scope.
Trait Implementations§
source§impl Clone for IFileSinkFilter
impl Clone for IFileSinkFilter
source§impl Drop for IFileSinkFilter
impl Drop for IFileSinkFilter
source§impl dshow_IFileSinkFilter for IFileSinkFilter
impl dshow_IFileSinkFilter for IFileSinkFilter
source§unsafe fn GetCurFile(
&self,
mt: Option<&mut AM_MEDIA_TYPE<'_>>
) -> HrResult<String>
unsafe fn GetCurFile( &self, mt: Option<&mut AM_MEDIA_TYPE<'_>> ) -> HrResult<String>
IFileSinkFilter::GetCurFile
method. Read moresource§fn SetFileName(
&self,
file_name: &str,
mt: Option<&AM_MEDIA_TYPE<'_>>
) -> HrResult<()>
fn SetFileName( &self, file_name: &str, mt: Option<&AM_MEDIA_TYPE<'_>> ) -> HrResult<()>
IFileSinkFilter::SetFileName
method.source§impl ole_IUnknown for IFileSinkFilter
impl ole_IUnknown for IFileSinkFilter
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 IFileSinkFilter
Auto Trait Implementations§
impl RefUnwindSafe for IFileSinkFilter
impl !Sync for IFileSinkFilter
impl Unpin for IFileSinkFilter
impl UnwindSafe for IFileSinkFilter
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