pub struct IActionProgress(/* private fields */);
Implementations§
Source§impl IActionProgress
impl IActionProgress
pub unsafe fn Begin(&self, action: SPACTION, flags: u32) -> Result<()>
pub unsafe fn UpdateProgress( &self, ulcompleted: u64, ultotal: u64, ) -> Result<()>
pub unsafe fn UpdateText<'a>( &self, sptext: SPTEXT, psztext: impl IntoParam<'a, PWSTR>, fmaycompact: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn QueryCancel(&self) -> Result<BOOL>
pub unsafe fn ResetCancel(&self) -> Result<()>
pub unsafe fn End(&self) -> Result<()>
Trait Implementations§
Source§impl Clone for IActionProgress
impl Clone for IActionProgress
Source§fn clone(&self) -> IActionProgress
fn clone(&self) -> IActionProgress
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 IActionProgress
impl Debug for IActionProgress
Source§impl From<&IActionProgress> for IUnknown
impl From<&IActionProgress> for IUnknown
Source§fn from(value: &IActionProgress) -> Self
fn from(value: &IActionProgress) -> Self
Converts to this type from the input type.
Source§impl From<IActionProgress> for IUnknown
impl From<IActionProgress> for IUnknown
Source§fn from(value: IActionProgress) -> Self
fn from(value: IActionProgress) -> Self
Converts to this type from the input type.
Source§impl Interface for IActionProgress
impl Interface for IActionProgress
const IID: Guid
type Vtable = IActionProgress_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 IActionProgress
impl PartialEq for IActionProgress
impl Eq for IActionProgress
impl StructuralPartialEq for IActionProgress
Auto Trait Implementations§
impl Freeze for IActionProgress
impl RefUnwindSafe for IActionProgress
impl !Send for IActionProgress
impl !Sync for IActionProgress
impl Unpin for IActionProgress
impl UnwindSafe for IActionProgress
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