pub struct IMFPresentationDescriptor(/* private fields */);Available on crate feature
mf only.Expand description
IMFPresentationDescriptor
COM interface.
Automatically calls
Release
when the object goes out of scope.
Trait Implementations§
Source§impl Clone for IMFPresentationDescriptor
impl Clone for IMFPresentationDescriptor
Source§impl Drop for IMFPresentationDescriptor
impl Drop for IMFPresentationDescriptor
Source§impl mf_IMFAttributes for IMFPresentationDescriptor
impl mf_IMFAttributes for IMFPresentationDescriptor
Source§fn Compare(
&self,
theirs: &impl mf_IMFAttributes,
match_type: MF_ATTRIBUTES_MATCH,
) -> HrResult<bool>
fn Compare( &self, theirs: &impl mf_IMFAttributes, match_type: MF_ATTRIBUTES_MATCH, ) -> HrResult<bool>
IMFAttributes::Compare
method.Source§fn CompareItem(&self, guid_key: &GUID, value: &PropVariant) -> HrResult<bool>
fn CompareItem(&self, guid_key: &GUID, value: &PropVariant) -> HrResult<bool>
IMFAttributes::CompareItem
method.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§fn GetBlob(&self, guid_key: &GUID) -> HrResult<Vec<u8>>
fn GetBlob(&self, guid_key: &GUID) -> HrResult<Vec<u8>>
IMFAttributes::GetBlob
method. Read moreSource§fn GetBlobSize(&self, guid_key: &GUID) -> HrResult<u32>
fn GetBlobSize(&self, guid_key: &GUID) -> HrResult<u32>
IMFAttributes::GetBlobSize
method.Source§fn GetItem(&self, guid_key: &GUID) -> HrResult<PropVariant>
fn GetItem(&self, guid_key: &GUID) -> HrResult<PropVariant>
IMFAttributes::GetItem
method.Source§fn GetItemByIndex(&self, index: u32) -> HrResult<(GUID, PropVariant)>
fn GetItemByIndex(&self, index: u32) -> HrResult<(GUID, PropVariant)>
IMFAttributes::GetItemByIndex
method.Source§fn GetItemType(&self, guid_key: &GUID) -> HrResult<MF_ATTRIBUTE>
fn GetItemType(&self, guid_key: &GUID) -> HrResult<MF_ATTRIBUTE>
IMFAttributes::GetItemType
method.Source§fn GetString(&self, guid_key: &GUID) -> HrResult<String>
fn GetString(&self, guid_key: &GUID) -> HrResult<String>
IMFAttributes::GetString
method. Read moreSource§fn GetStringLength(&self, guid_key: &GUID) -> HrResult<u32>
fn GetStringLength(&self, guid_key: &GUID) -> HrResult<u32>
IMFAttributes::GetStringLength
method.Source§fn GetUnknown<T>(&self, guid_key: &GUID) -> HrResult<T>where
T: ole_IUnknown,
fn GetUnknown<T>(&self, guid_key: &GUID) -> HrResult<T>where
T: ole_IUnknown,
IMFAttributes::GetUnknown
method.Source§fn SetDouble(&self, guid_key: &GUID, value: f64) -> HrResult<()>
fn SetDouble(&self, guid_key: &GUID, value: f64) -> HrResult<()>
IMFAttributes::SetDouble
method.Source§fn SetGUID(&self, guid_key: &GUID, value: &GUID) -> HrResult<()>
fn SetGUID(&self, guid_key: &GUID, value: &GUID) -> HrResult<()>
IMFAttributes::SetGUID
method.Source§fn SetItem(&self, guid_key: &GUID, value: &PropVariant) -> HrResult<()>
fn SetItem(&self, guid_key: &GUID, value: &PropVariant) -> HrResult<()>
IMFAttributes::SetItem
method.Source§fn SetString(&self, guid_key: &GUID, value: &str) -> HrResult<()>
fn SetString(&self, guid_key: &GUID, value: &str) -> HrResult<()>
IMFAttributes::SetString
method.Source§fn SetUINT32(&self, guid_key: &GUID, value: u32) -> HrResult<()>
fn SetUINT32(&self, guid_key: &GUID, value: u32) -> HrResult<()>
IMFAttributes::SetUINT32
method.Source§fn SetUINT64(&self, guid_key: &GUID, value: u64) -> HrResult<()>
fn SetUINT64(&self, guid_key: &GUID, value: u64) -> HrResult<()>
IMFAttributes::SetUINT64
method.Source§fn SetUnknown(&self, guid_key: &GUID, value: &impl ole_IUnknown) -> HrResult<()>
fn SetUnknown(&self, guid_key: &GUID, value: &impl ole_IUnknown) -> HrResult<()>
IMFAttributes::SetUnknown
method.Source§fn UnlockStore(&self) -> HrResult<()>
fn UnlockStore(&self) -> HrResult<()>
IMFAttributes::UnlockStore
method.Source§impl mf_IMFPresentationDescriptor for IMFPresentationDescriptor
impl mf_IMFPresentationDescriptor for IMFPresentationDescriptor
Source§fn Clone(&self) -> HrResult<IMFPresentationDescriptor>
fn Clone(&self) -> HrResult<IMFPresentationDescriptor>
IMFPresentationDescriptor::Clone
method.Source§fn GetStreamDescriptorByIndex(
&self,
index: u32,
) -> HrResult<(bool, IMFStreamDescriptor)>
fn GetStreamDescriptorByIndex( &self, index: u32, ) -> HrResult<(bool, IMFStreamDescriptor)>
Source§fn GetStreamDescriptorCount(&self) -> HrResult<u32>
fn GetStreamDescriptorCount(&self) -> HrResult<u32>
Source§impl ole_IUnknown for IMFPresentationDescriptor
impl ole_IUnknown for IMFPresentationDescriptor
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 IMFPresentationDescriptor
Auto Trait Implementations§
impl Freeze for IMFPresentationDescriptor
impl RefUnwindSafe for IMFPresentationDescriptor
impl !Sync for IMFPresentationDescriptor
impl Unpin for IMFPresentationDescriptor
impl UnwindSafe for IMFPresentationDescriptor
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