pub struct IFileOperation(/* private fields */);
Implementations§
Source§impl IFileOperation
impl IFileOperation
pub unsafe fn Advise<'a>( &self, pfops: impl IntoParam<'a, IFileOperationProgressSink>, ) -> Result<u32>
pub unsafe fn Unadvise(&self, dwcookie: u32) -> Result<()>
pub unsafe fn SetOperationFlags(&self, dwoperationflags: u32) -> Result<()>
pub unsafe fn SetProgressMessage<'a>( &self, pszmessage: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn SetProgressDialog<'a>( &self, popd: impl IntoParam<'a, IOperationsProgressDialog>, ) -> Result<()>
pub unsafe fn SetProperties<'a>( &self, pproparray: impl IntoParam<'a, IPropertyChangeArray>, ) -> Result<()>
pub unsafe fn SetOwnerWindow<'a>( &self, hwndowner: impl IntoParam<'a, HWND>, ) -> Result<()>
pub unsafe fn ApplyPropertiesToItem<'a>( &self, psiitem: impl IntoParam<'a, IShellItem>, ) -> Result<()>
pub unsafe fn ApplyPropertiesToItems<'a>( &self, punkitems: impl IntoParam<'a, IUnknown>, ) -> Result<()>
pub unsafe fn RenameItem<'a>( &self, psiitem: impl IntoParam<'a, IShellItem>, psznewname: impl IntoParam<'a, PWSTR>, pfopsitem: impl IntoParam<'a, IFileOperationProgressSink>, ) -> Result<()>
pub unsafe fn RenameItems<'a>( &self, punkitems: impl IntoParam<'a, IUnknown>, psznewname: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn MoveItem<'a>( &self, psiitem: impl IntoParam<'a, IShellItem>, psidestinationfolder: impl IntoParam<'a, IShellItem>, psznewname: impl IntoParam<'a, PWSTR>, pfopsitem: impl IntoParam<'a, IFileOperationProgressSink>, ) -> Result<()>
pub unsafe fn MoveItems<'a>( &self, punkitems: impl IntoParam<'a, IUnknown>, psidestinationfolder: impl IntoParam<'a, IShellItem>, ) -> Result<()>
pub unsafe fn CopyItem<'a>( &self, psiitem: impl IntoParam<'a, IShellItem>, psidestinationfolder: impl IntoParam<'a, IShellItem>, pszcopyname: impl IntoParam<'a, PWSTR>, pfopsitem: impl IntoParam<'a, IFileOperationProgressSink>, ) -> Result<()>
pub unsafe fn CopyItems<'a>( &self, punkitems: impl IntoParam<'a, IUnknown>, psidestinationfolder: impl IntoParam<'a, IShellItem>, ) -> Result<()>
pub unsafe fn DeleteItem<'a>( &self, psiitem: impl IntoParam<'a, IShellItem>, pfopsitem: impl IntoParam<'a, IFileOperationProgressSink>, ) -> Result<()>
pub unsafe fn DeleteItems<'a>( &self, punkitems: impl IntoParam<'a, IUnknown>, ) -> Result<()>
pub unsafe fn NewItem<'a>( &self, psidestinationfolder: impl IntoParam<'a, IShellItem>, dwfileattributes: u32, pszname: impl IntoParam<'a, PWSTR>, psztemplatename: impl IntoParam<'a, PWSTR>, pfopsitem: impl IntoParam<'a, IFileOperationProgressSink>, ) -> Result<()>
pub unsafe fn PerformOperations(&self) -> Result<()>
pub unsafe fn GetAnyOperationsAborted(&self) -> Result<BOOL>
Trait Implementations§
Source§impl Clone for IFileOperation
impl Clone for IFileOperation
Source§fn clone(&self) -> IFileOperation
fn clone(&self) -> IFileOperation
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 IFileOperation
impl Debug for IFileOperation
Source§impl From<&IFileOperation> for IUnknown
impl From<&IFileOperation> for IUnknown
Source§fn from(value: &IFileOperation) -> Self
fn from(value: &IFileOperation) -> Self
Converts to this type from the input type.
Source§impl From<&IFileOperation2> for IFileOperation
impl From<&IFileOperation2> for IFileOperation
Source§fn from(value: &IFileOperation2) -> Self
fn from(value: &IFileOperation2) -> Self
Converts to this type from the input type.
Source§impl From<IFileOperation> for IUnknown
impl From<IFileOperation> for IUnknown
Source§fn from(value: IFileOperation) -> Self
fn from(value: IFileOperation) -> Self
Converts to this type from the input type.
Source§impl From<IFileOperation2> for IFileOperation
impl From<IFileOperation2> for IFileOperation
Source§fn from(value: IFileOperation2) -> Self
fn from(value: IFileOperation2) -> Self
Converts to this type from the input type.
Source§impl Interface for IFileOperation
impl Interface for IFileOperation
const IID: Guid
type Vtable = IFileOperation_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 IFileOperation
impl PartialEq for IFileOperation
impl Eq for IFileOperation
impl StructuralPartialEq for IFileOperation
Auto Trait Implementations§
impl Freeze for IFileOperation
impl RefUnwindSafe for IFileOperation
impl !Send for IFileOperation
impl !Sync for IFileOperation
impl Unpin for IFileOperation
impl UnwindSafe for IFileOperation
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