Struct windows::Win32::Media::MediaFoundation::ITocParser
pub struct ITocParser(/* private fields */);
Implementations§
§impl ITocParser
impl ITocParser
pub unsafe fn Init<P0>(&self, pwszfilename: P0) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn GetTocCount( &self, enumtocpostype: TOC_POS_TYPE, pdwtoccount: *mut u32 ) -> Result<()>
pub unsafe fn GetTocByIndex( &self, enumtocpostype: TOC_POS_TYPE, dwtocindex: u32 ) -> Result<IToc>
pub unsafe fn GetTocByType( &self, enumtocpostype: TOC_POS_TYPE, guidtoctype: GUID ) -> Result<ITocCollection>
pub unsafe fn AddToc<P0>(
&self,
enumtocpostype: TOC_POS_TYPE,
ptoc: P0,
pdwtocindex: *mut u32
) -> Result<()>where
P0: IntoParam<IToc>,
pub unsafe fn RemoveTocByIndex( &self, enumtocpostype: TOC_POS_TYPE, dwtocindex: u32 ) -> Result<()>
pub unsafe fn RemoveTocByType( &self, enumtocpostype: TOC_POS_TYPE, guidtoctype: GUID ) -> Result<()>
pub unsafe fn Commit(&self) -> Result<()>
Trait Implementations§
§impl Clone for ITocParser
impl Clone for ITocParser
§fn clone(&self) -> ITocParser
fn clone(&self) -> ITocParser
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for ITocParser
impl Debug for ITocParser
§impl From<&ITocParser> for &IUnknown
impl From<&ITocParser> for &IUnknown
§fn from(value: &ITocParser) -> Self
fn from(value: &ITocParser) -> Self
Converts to this type from the input type.
§impl From<ITocParser> for IUnknown
impl From<ITocParser> for IUnknown
§fn from(value: ITocParser) -> Self
fn from(value: ITocParser) -> Self
Converts to this type from the input type.
§impl Interface for ITocParser
impl Interface for ITocParser
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for ITocParser
impl PartialEq for ITocParser
§fn eq(&self, other: &ITocParser) -> bool
fn eq(&self, other: &ITocParser) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ITocParser
impl StructuralPartialEq for ITocParser
Auto Trait Implementations§
impl RefUnwindSafe for ITocParser
impl !Send for ITocParser
impl !Sync for ITocParser
impl Unpin for ITocParser
impl UnwindSafe for ITocParser
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