Trait IFileOperation_Impl
pub trait IFileOperation_Impl: IUnknownImpl {
Show 20 methods
    // Required methods
    fn Advise(&self, pfops: Ref<'_, IFileOperationProgressSink>) -> Result<u32>;
    fn Unadvise(&self, dwcookie: u32) -> Result<()>;
    fn SetOperationFlags(
        &self,
        dwoperationflags: FILEOPERATION_FLAGS,
    ) -> Result<()>;
    fn SetProgressMessage(&self, pszmessage: &PCWSTR) -> Result<()>;
    fn SetProgressDialog(
        &self,
        popd: Ref<'_, IOperationsProgressDialog>,
    ) -> Result<()>;
    fn SetProperties(
        &self,
        pproparray: Ref<'_, IPropertyChangeArray>,
    ) -> Result<()>;
    fn SetOwnerWindow(&self, hwndowner: HWND) -> Result<()>;
    fn ApplyPropertiesToItem(&self, psiitem: Ref<'_, IShellItem>) -> Result<()>;
    fn ApplyPropertiesToItems(&self, punkitems: Ref<'_, IUnknown>) -> Result<()>;
    fn RenameItem(
        &self,
        psiitem: Ref<'_, IShellItem>,
        psznewname: &PCWSTR,
        pfopsitem: Ref<'_, IFileOperationProgressSink>,
    ) -> Result<()>;
    fn RenameItems(
        &self,
        punkitems: Ref<'_, IUnknown>,
        psznewname: &PCWSTR,
    ) -> Result<()>;
    fn MoveItem(
        &self,
        psiitem: Ref<'_, IShellItem>,
        psidestinationfolder: Ref<'_, IShellItem>,
        psznewname: &PCWSTR,
        pfopsitem: Ref<'_, IFileOperationProgressSink>,
    ) -> Result<()>;
    fn MoveItems(
        &self,
        punkitems: Ref<'_, IUnknown>,
        psidestinationfolder: Ref<'_, IShellItem>,
    ) -> Result<()>;
    fn CopyItem(
        &self,
        psiitem: Ref<'_, IShellItem>,
        psidestinationfolder: Ref<'_, IShellItem>,
        pszcopyname: &PCWSTR,
        pfopsitem: Ref<'_, IFileOperationProgressSink>,
    ) -> Result<()>;
    fn CopyItems(
        &self,
        punkitems: Ref<'_, IUnknown>,
        psidestinationfolder: Ref<'_, IShellItem>,
    ) -> Result<()>;
    fn DeleteItem(
        &self,
        psiitem: Ref<'_, IShellItem>,
        pfopsitem: Ref<'_, IFileOperationProgressSink>,
    ) -> Result<()>;
    fn DeleteItems(&self, punkitems: Ref<'_, IUnknown>) -> Result<()>;
    fn NewItem(
        &self,
        psidestinationfolder: Ref<'_, IShellItem>,
        dwfileattributes: u32,
        pszname: &PCWSTR,
        psztemplatename: &PCWSTR,
        pfopsitem: Ref<'_, IFileOperationProgressSink>,
    ) -> Result<()>;
    fn PerformOperations(&self) -> Result<()>;
    fn GetAnyOperationsAborted(&self) -> Result<BOOL>;
}Required Methods§
fn Advise(&self, pfops: Ref<'_, IFileOperationProgressSink>) -> Result<u32>
fn Unadvise(&self, dwcookie: u32) -> Result<()>
fn SetOperationFlags(&self, dwoperationflags: FILEOPERATION_FLAGS) -> Result<()>
fn SetProgressMessage(&self, pszmessage: &PCWSTR) -> Result<()>
fn SetProgressDialog( &self, popd: Ref<'_, IOperationsProgressDialog>, ) -> Result<()>
fn SetProperties(&self, pproparray: Ref<'_, IPropertyChangeArray>) -> Result<()>
fn SetOwnerWindow(&self, hwndowner: HWND) -> Result<()>
fn ApplyPropertiesToItem(&self, psiitem: Ref<'_, IShellItem>) -> Result<()>
fn ApplyPropertiesToItems(&self, punkitems: Ref<'_, IUnknown>) -> Result<()>
fn RenameItem( &self, psiitem: Ref<'_, IShellItem>, psznewname: &PCWSTR, pfopsitem: Ref<'_, IFileOperationProgressSink>, ) -> Result<()>
fn RenameItems( &self, punkitems: Ref<'_, IUnknown>, psznewname: &PCWSTR, ) -> Result<()>
fn MoveItem( &self, psiitem: Ref<'_, IShellItem>, psidestinationfolder: Ref<'_, IShellItem>, psznewname: &PCWSTR, pfopsitem: Ref<'_, IFileOperationProgressSink>, ) -> Result<()>
fn MoveItems( &self, punkitems: Ref<'_, IUnknown>, psidestinationfolder: Ref<'_, IShellItem>, ) -> Result<()>
fn CopyItem( &self, psiitem: Ref<'_, IShellItem>, psidestinationfolder: Ref<'_, IShellItem>, pszcopyname: &PCWSTR, pfopsitem: Ref<'_, IFileOperationProgressSink>, ) -> Result<()>
fn CopyItems( &self, punkitems: Ref<'_, IUnknown>, psidestinationfolder: Ref<'_, IShellItem>, ) -> Result<()>
fn DeleteItem( &self, psiitem: Ref<'_, IShellItem>, pfopsitem: Ref<'_, IFileOperationProgressSink>, ) -> Result<()>
fn DeleteItems(&self, punkitems: Ref<'_, IUnknown>) -> Result<()>
fn NewItem( &self, psidestinationfolder: Ref<'_, IShellItem>, dwfileattributes: u32, pszname: &PCWSTR, psztemplatename: &PCWSTR, pfopsitem: Ref<'_, IFileOperationProgressSink>, ) -> Result<()>
fn PerformOperations(&self) -> Result<()>
fn GetAnyOperationsAborted(&self) -> Result<BOOL>
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.