Trait IProgressDialog_Impl
pub trait IProgressDialog_Impl: IUnknownImpl {
// Required methods
fn StartProgressDialog(
&self,
hwndparent: HWND,
punkenablemodless: Ref<'_, 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: Ref<'_, 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<()>
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.