Struct winsafe::IMFSourceResolver
source · pub struct IMFSourceResolver(/* private fields */);
Available on crate feature
mf
only.Expand description
IMFSourceResolver
COM interface over
IMFSourceResolverVT
.
Automatically calls
Release
when the object goes out of scope.
Usually created with
MFCreateSourceResolver
function.
§Examples
use winsafe::{self as w, prelude::*};
let source_resolver = w::MFCreateSourceResolver()?;
Trait Implementations§
source§impl Clone for IMFSourceResolver
impl Clone for IMFSourceResolver
source§impl Drop for IMFSourceResolver
impl Drop for IMFSourceResolver
source§impl ole_IUnknown for IMFSourceResolver
impl ole_IUnknown for IMFSourceResolver
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 IMFSourceResolver
impl mf_IMFSourceResolver for IMFSourceResolver
Auto Trait Implementations§
impl Freeze for IMFSourceResolver
impl RefUnwindSafe for IMFSourceResolver
impl !Sync for IMFSourceResolver
impl Unpin for IMFSourceResolver
impl UnwindSafe for IMFSourceResolver
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