Struct winsafe::IMFMediaEvent
source · pub struct IMFMediaEvent(/* private fields */);
Available on crate feature
mf
only.Expand description
IMFMediaEvent
COM interface over
IMFMediaEventVT
.
Automatically calls
Release
when the object goes out of scope.
Trait Implementations§
source§impl Clone for IMFMediaEvent
impl Clone for IMFMediaEvent
source§impl Drop for IMFMediaEvent
impl Drop for IMFMediaEvent
source§impl mf_IMFAttributes for IMFMediaEvent
impl mf_IMFAttributes for IMFMediaEvent
source§fn CopyAllItems(&self, dest: &impl mf_IMFAttributes) -> HrResult<()>
fn CopyAllItems(&self, dest: &impl mf_IMFAttributes) -> HrResult<()>
IMFAttributes::CopyAllItems
method.source§fn DeleteAllItems(&self) -> HrResult<()>
fn DeleteAllItems(&self) -> HrResult<()>
IMFAttributes::DeleteAllItems
method.source§fn DeleteItem(&self, guid_key: &GUID) -> HrResult<()>
fn DeleteItem(&self, guid_key: &GUID) -> HrResult<()>
IMFAttributes::DeleteItem
method.source§impl mf_IMFMediaEvent for IMFMediaEvent
impl mf_IMFMediaEvent for IMFMediaEvent
source§fn GetExtendedType(&self) -> HrResult<GUID>
fn GetExtendedType(&self) -> HrResult<GUID>
IMFMediaEvent::GetExtendedType
method.source§fn GetValue(&self) -> HrResult<PROPVARIANT>
fn GetValue(&self) -> HrResult<PROPVARIANT>
IMFMediaEvent::GetValue
method.source§impl ole_IUnknown for IMFMediaEvent
impl ole_IUnknown for IMFMediaEvent
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 IMFMediaEvent
Auto Trait Implementations§
impl RefUnwindSafe for IMFMediaEvent
impl !Sync for IMFMediaEvent
impl Unpin for IMFMediaEvent
impl UnwindSafe for IMFMediaEvent
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