Trait ITocParser_Impl
pub trait ITocParser_Impl: IUnknownImpl {
// Required methods
fn Init(&self, pwszfilename: &PCWSTR) -> Result<()>;
fn GetTocCount(
&self,
enumtocpostype: TOC_POS_TYPE,
pdwtoccount: *mut u32,
) -> Result<()>;
fn GetTocByIndex(
&self,
enumtocpostype: TOC_POS_TYPE,
dwtocindex: u32,
) -> Result<IToc>;
fn GetTocByType(
&self,
enumtocpostype: TOC_POS_TYPE,
guidtoctype: &GUID,
) -> Result<ITocCollection>;
fn AddToc(
&self,
enumtocpostype: TOC_POS_TYPE,
ptoc: Ref<'_, IToc>,
pdwtocindex: *mut u32,
) -> Result<()>;
fn RemoveTocByIndex(
&self,
enumtocpostype: TOC_POS_TYPE,
dwtocindex: u32,
) -> Result<()>;
fn RemoveTocByType(
&self,
enumtocpostype: TOC_POS_TYPE,
guidtoctype: &GUID,
) -> Result<()>;
fn Commit(&self) -> Result<()>;
}
Required Methods§
fn Init(&self, pwszfilename: &PCWSTR) -> Result<()>
fn GetTocCount( &self, enumtocpostype: TOC_POS_TYPE, pdwtoccount: *mut u32, ) -> Result<()>
fn GetTocByIndex( &self, enumtocpostype: TOC_POS_TYPE, dwtocindex: u32, ) -> Result<IToc>
fn GetTocByType( &self, enumtocpostype: TOC_POS_TYPE, guidtoctype: &GUID, ) -> Result<ITocCollection>
fn AddToc( &self, enumtocpostype: TOC_POS_TYPE, ptoc: Ref<'_, IToc>, pdwtocindex: *mut u32, ) -> Result<()>
fn RemoveTocByIndex( &self, enumtocpostype: TOC_POS_TYPE, dwtocindex: u32, ) -> Result<()>
fn RemoveTocByType( &self, enumtocpostype: TOC_POS_TYPE, guidtoctype: &GUID, ) -> Result<()>
fn Commit(&self) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.