pub struct IProgressDialog(/* private fields */);
Implementations§
Source§impl IProgressDialog
impl IProgressDialog
pub unsafe fn StartProgressDialog<'a>( &self, hwndparent: impl IntoParam<'a, HWND>, punkenablemodless: impl IntoParam<'a, IUnknown>, dwflags: u32, pvresevered: *const c_void, ) -> Result<()>
pub unsafe fn StopProgressDialog(&self) -> Result<()>
pub unsafe fn SetTitle<'a>( &self, pwztitle: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn SetAnimation<'a>( &self, hinstanimation: impl IntoParam<'a, HINSTANCE>, idanimation: u32, ) -> Result<()>
pub unsafe fn HasUserCancelled(&self) -> BOOL
pub unsafe fn SetProgress(&self, dwcompleted: u32, dwtotal: u32) -> Result<()>
pub unsafe fn SetProgress64( &self, ullcompleted: u64, ulltotal: u64, ) -> Result<()>
pub unsafe fn SetLine<'a>( &self, dwlinenum: u32, pwzstring: impl IntoParam<'a, PWSTR>, fcompactpath: impl IntoParam<'a, BOOL>, pvresevered: *const c_void, ) -> Result<()>
pub unsafe fn SetCancelMsg<'a>( &self, pwzcancelmsg: impl IntoParam<'a, PWSTR>, pvresevered: *const c_void, ) -> Result<()>
pub unsafe fn Timer( &self, dwtimeraction: u32, pvresevered: *const c_void, ) -> Result<()>
Trait Implementations§
Source§impl Clone for IProgressDialog
impl Clone for IProgressDialog
Source§fn clone(&self) -> IProgressDialog
fn clone(&self) -> IProgressDialog
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 moreSource§impl Debug for IProgressDialog
impl Debug for IProgressDialog
Source§impl From<&IProgressDialog> for IUnknown
impl From<&IProgressDialog> for IUnknown
Source§fn from(value: &IProgressDialog) -> Self
fn from(value: &IProgressDialog) -> Self
Converts to this type from the input type.
Source§impl From<IProgressDialog> for IUnknown
impl From<IProgressDialog> for IUnknown
Source§fn from(value: IProgressDialog) -> Self
fn from(value: IProgressDialog) -> Self
Converts to this type from the input type.
Source§impl Interface for IProgressDialog
impl Interface for IProgressDialog
const IID: Guid
type Vtable = IProgressDialog_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for IProgressDialog
impl PartialEq for IProgressDialog
impl Eq for IProgressDialog
impl StructuralPartialEq for IProgressDialog
Auto Trait Implementations§
impl Freeze for IProgressDialog
impl RefUnwindSafe for IProgressDialog
impl !Send for IProgressDialog
impl !Sync for IProgressDialog
impl Unpin for IProgressDialog
impl UnwindSafe for IProgressDialog
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
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