pub trait ITocParser_Impl: Sized {
    // 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: Option<&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: Option<&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<()>

Object Safety§

This trait is not object safe.

Implementors§