pub struct IMFSourceResolver(/* private fields */);
Available on crate feature
mf
only.Expand description
IMFSourceResolver
COM interface.
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 mf_IMFSourceResolver for IMFSourceResolver
impl mf_IMFSourceResolver for IMFSourceResolver
Source§fn BeginCreateObjectFromByteStream(
&self,
byte_stream: &impl mf_IMFByteStream,
url: Option<&str>,
flags: MF_RESOLUTION,
props: Option<&impl oleaut_IPropertyStore>,
callback: &IMFAsyncCallback,
state: Option<&impl ole_IUnknown>,
) -> HrResult<IUnknown>
fn BeginCreateObjectFromByteStream( &self, byte_stream: &impl mf_IMFByteStream, url: Option<&str>, flags: MF_RESOLUTION, props: Option<&impl oleaut_IPropertyStore>, callback: &IMFAsyncCallback, state: Option<&impl ole_IUnknown>, ) -> HrResult<IUnknown>
Source§fn BeginCreateObjectFromURL(
&self,
url: &str,
flags: MF_RESOLUTION,
props: Option<&impl oleaut_IPropertyStore>,
callback: &IMFAsyncCallback,
state: Option<&impl ole_IUnknown>,
) -> HrResult<IUnknown>
fn BeginCreateObjectFromURL( &self, url: &str, flags: MF_RESOLUTION, props: Option<&impl oleaut_IPropertyStore>, callback: &IMFAsyncCallback, state: Option<&impl ole_IUnknown>, ) -> HrResult<IUnknown>
Source§fn CancelObjectCreation(&self, cookie: &impl ole_IUnknown) -> HrResult<()>
fn CancelObjectCreation(&self, cookie: &impl ole_IUnknown) -> HrResult<()>
Source§fn CreateObjectFromByteStream(
&self,
byte_stream: &impl mf_IMFByteStream,
url: Option<&str>,
flags: MF_RESOLUTION,
props: Option<&impl oleaut_IPropertyStore>,
) -> HrResult<(MF_OBJECT, IUnknown)>
fn CreateObjectFromByteStream( &self, byte_stream: &impl mf_IMFByteStream, url: Option<&str>, flags: MF_RESOLUTION, props: Option<&impl oleaut_IPropertyStore>, ) -> HrResult<(MF_OBJECT, IUnknown)>
Source§fn CreateObjectFromURL(
&self,
url: &str,
flags: MF_RESOLUTION,
props: Option<&impl oleaut_IPropertyStore>,
) -> HrResult<(MF_OBJECT, IUnknown)>
fn CreateObjectFromURL( &self, url: &str, flags: MF_RESOLUTION, props: Option<&impl oleaut_IPropertyStore>, ) -> HrResult<(MF_OBJECT, IUnknown)>
Source§fn EndCreateObjectFromByteStream(
&self,
result: &impl mf_IMFAsyncResult,
) -> HrResult<(MF_OBJECT, IUnknown)>
fn EndCreateObjectFromByteStream( &self, result: &impl mf_IMFAsyncResult, ) -> HrResult<(MF_OBJECT, IUnknown)>
Source§fn EndCreateObjectFromURL(
&self,
result: &impl mf_IMFAsyncResult,
) -> HrResult<(MF_OBJECT, IUnknown)>
fn EndCreateObjectFromURL( &self, result: &impl mf_IMFAsyncResult, ) -> HrResult<(MF_OBJECT, IUnknown)>
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
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