Struct winsafe::IMFMediaSource
source · pub struct IMFMediaSource(/* private fields */);
Available on crate feature
mf
only.Expand description
IMFMediaSource
COM interface over IMFMediaSourceVT
.
Automatically calls
Release
when the object goes out of scope.
Trait Implementations§
source§impl Clone for IMFMediaSource
impl Clone for IMFMediaSource
source§impl Drop for IMFMediaSource
impl Drop for IMFMediaSource
source§impl mf_IMFMediaEventGenerator for IMFMediaSource
impl mf_IMFMediaEventGenerator for IMFMediaSource
source§fn BeginGetEvent(
&self,
callback: &impl mf_IMFAsyncCallback,
state: Option<&impl ole_IUnknown>
) -> HrResult<()>
fn BeginGetEvent( &self, callback: &impl mf_IMFAsyncCallback, state: Option<&impl ole_IUnknown> ) -> HrResult<()>
source§fn EndGetEvent(
&self,
result: &impl mf_IMFAsyncResult
) -> HrResult<IMFMediaEvent>
fn EndGetEvent( &self, result: &impl mf_IMFAsyncResult ) -> HrResult<IMFMediaEvent>
source§fn GetEvent(&self, flags: Option<MF_EVENT_FLAG>) -> HrResult<IMFMediaEvent>
fn GetEvent(&self, flags: Option<MF_EVENT_FLAG>) -> HrResult<IMFMediaEvent>
IMFMediaEventGenerator::GetEvent
method.source§fn QueueEvent(
&self,
met: ME,
extended_type: &GUID,
status: HRESULT,
value: Option<&PROPVARIANT>
) -> HrResult<()>
fn QueueEvent( &self, met: ME, extended_type: &GUID, status: HRESULT, value: Option<&PROPVARIANT> ) -> HrResult<()>
source§impl mf_IMFMediaSource for IMFMediaSource
impl mf_IMFMediaSource for IMFMediaSource
source§fn GetCharacteristics(&self) -> HrResult<MFMEDIASOURCE>
fn GetCharacteristics(&self) -> HrResult<MFMEDIASOURCE>
source§fn Start(
&self,
presentation_descriptor: IMFPresentationDescriptor,
time_format: Option<&GUID>,
start_position: Option<&PROPVARIANT>
) -> HrResult<()>
fn Start( &self, presentation_descriptor: IMFPresentationDescriptor, time_format: Option<&GUID>, start_position: Option<&PROPVARIANT> ) -> HrResult<()>
IMFMediaSource::Start
method.source§impl ole_IUnknown for IMFMediaSource
impl ole_IUnknown for IMFMediaSource
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 IMFMediaSource
Auto Trait Implementations§
impl RefUnwindSafe for IMFMediaSource
impl !Sync for IMFMediaSource
impl Unpin for IMFMediaSource
impl UnwindSafe for IMFMediaSource
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