pub trait IProgressDialog_Impl: Sized {
    // Required methods
    fn StartProgressDialog(
        &self,
        hwndparent: HWND,
        punkenablemodless: Option<&IUnknown>,
        dwflags: u32,
        pvresevered: *const c_void
    ) -> Result<()>;
    fn StopProgressDialog(&self) -> Result<()>;
    fn SetTitle(&self, pwztitle: &PCWSTR) -> Result<()>;
    fn SetAnimation(
        &self,
        hinstanimation: HINSTANCE,
        idanimation: u32
    ) -> Result<()>;
    fn HasUserCancelled(&self) -> BOOL;
    fn SetProgress(&self, dwcompleted: u32, dwtotal: u32) -> Result<()>;
    fn SetProgress64(&self, ullcompleted: u64, ulltotal: u64) -> Result<()>;
    fn SetLine(
        &self,
        dwlinenum: u32,
        pwzstring: &PCWSTR,
        fcompactpath: BOOL,
        pvresevered: *const c_void
    ) -> Result<()>;
    fn SetCancelMsg(
        &self,
        pwzcancelmsg: &PCWSTR,
        pvresevered: *const c_void
    ) -> Result<()>;
    fn Timer(
        &self,
        dwtimeraction: u32,
        pvresevered: *const c_void
    ) -> Result<()>;
}

Required Methods§

fn StartProgressDialog( &self, hwndparent: HWND, punkenablemodless: Option<&IUnknown>, dwflags: u32, pvresevered: *const c_void ) -> Result<()>

fn StopProgressDialog(&self) -> Result<()>

fn SetTitle(&self, pwztitle: &PCWSTR) -> Result<()>

fn SetAnimation( &self, hinstanimation: HINSTANCE, idanimation: u32 ) -> Result<()>

fn HasUserCancelled(&self) -> BOOL

fn SetProgress(&self, dwcompleted: u32, dwtotal: u32) -> Result<()>

fn SetProgress64(&self, ullcompleted: u64, ulltotal: u64) -> Result<()>

fn SetLine( &self, dwlinenum: u32, pwzstring: &PCWSTR, fcompactpath: BOOL, pvresevered: *const c_void ) -> Result<()>

fn SetCancelMsg( &self, pwzcancelmsg: &PCWSTR, pvresevered: *const c_void ) -> Result<()>

fn Timer(&self, dwtimeraction: u32, pvresevered: *const c_void) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§