pub struct IFileOperationProgressSink(/* private fields */);
Implementations§
Source§impl IFileOperationProgressSink
impl IFileOperationProgressSink
pub unsafe fn StartOperations(&self) -> Result<()>
pub unsafe fn FinishOperations(&self, hrresult: HRESULT) -> Result<()>
pub unsafe fn PreRenameItem<'a>( &self, dwflags: u32, psiitem: impl IntoParam<'a, IShellItem>, psznewname: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn PostRenameItem<'a>( &self, dwflags: u32, psiitem: impl IntoParam<'a, IShellItem>, psznewname: impl IntoParam<'a, PWSTR>, hrrename: HRESULT, psinewlycreated: impl IntoParam<'a, IShellItem>, ) -> Result<()>
pub unsafe fn PreMoveItem<'a>( &self, dwflags: u32, psiitem: impl IntoParam<'a, IShellItem>, psidestinationfolder: impl IntoParam<'a, IShellItem>, psznewname: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn PostMoveItem<'a>( &self, dwflags: u32, psiitem: impl IntoParam<'a, IShellItem>, psidestinationfolder: impl IntoParam<'a, IShellItem>, psznewname: impl IntoParam<'a, PWSTR>, hrmove: HRESULT, psinewlycreated: impl IntoParam<'a, IShellItem>, ) -> Result<()>
pub unsafe fn PreCopyItem<'a>( &self, dwflags: u32, psiitem: impl IntoParam<'a, IShellItem>, psidestinationfolder: impl IntoParam<'a, IShellItem>, psznewname: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn PostCopyItem<'a>( &self, dwflags: u32, psiitem: impl IntoParam<'a, IShellItem>, psidestinationfolder: impl IntoParam<'a, IShellItem>, psznewname: impl IntoParam<'a, PWSTR>, hrcopy: HRESULT, psinewlycreated: impl IntoParam<'a, IShellItem>, ) -> Result<()>
pub unsafe fn PreDeleteItem<'a>( &self, dwflags: u32, psiitem: impl IntoParam<'a, IShellItem>, ) -> Result<()>
pub unsafe fn PostDeleteItem<'a>( &self, dwflags: u32, psiitem: impl IntoParam<'a, IShellItem>, hrdelete: HRESULT, psinewlycreated: impl IntoParam<'a, IShellItem>, ) -> Result<()>
pub unsafe fn PreNewItem<'a>( &self, dwflags: u32, psidestinationfolder: impl IntoParam<'a, IShellItem>, psznewname: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn PostNewItem<'a>( &self, dwflags: u32, psidestinationfolder: impl IntoParam<'a, IShellItem>, psznewname: impl IntoParam<'a, PWSTR>, psztemplatename: impl IntoParam<'a, PWSTR>, dwfileattributes: u32, hrnew: HRESULT, psinewitem: impl IntoParam<'a, IShellItem>, ) -> Result<()>
pub unsafe fn UpdateProgress( &self, iworktotal: u32, iworksofar: u32, ) -> Result<()>
pub unsafe fn ResetTimer(&self) -> Result<()>
pub unsafe fn PauseTimer(&self) -> Result<()>
pub unsafe fn ResumeTimer(&self) -> Result<()>
Trait Implementations§
Source§impl Clone for IFileOperationProgressSink
impl Clone for IFileOperationProgressSink
Source§fn clone(&self) -> IFileOperationProgressSink
fn clone(&self) -> IFileOperationProgressSink
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 IFileOperationProgressSink
impl Debug for IFileOperationProgressSink
Source§impl From<&IFileOperationProgressSink> for IUnknown
impl From<&IFileOperationProgressSink> for IUnknown
Source§fn from(value: &IFileOperationProgressSink) -> Self
fn from(value: &IFileOperationProgressSink) -> Self
Converts to this type from the input type.
Source§impl From<IFileOperationProgressSink> for IUnknown
impl From<IFileOperationProgressSink> for IUnknown
Source§fn from(value: IFileOperationProgressSink) -> Self
fn from(value: IFileOperationProgressSink) -> Self
Converts to this type from the input type.
Source§impl Interface for IFileOperationProgressSink
impl Interface for IFileOperationProgressSink
const IID: Guid
type Vtable = IFileOperationProgressSink_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
impl Eq for IFileOperationProgressSink
impl StructuralPartialEq for IFileOperationProgressSink
Auto Trait Implementations§
impl Freeze for IFileOperationProgressSink
impl RefUnwindSafe for IFileOperationProgressSink
impl !Send for IFileOperationProgressSink
impl !Sync for IFileOperationProgressSink
impl Unpin for IFileOperationProgressSink
impl UnwindSafe for IFileOperationProgressSink
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