Trait windows::Win32::UI::Shell::IFileOperation_Impl

pub trait IFileOperation_Impl: Sized {
Show 20 methods // Required methods fn Advise(&self, pfops: Option<&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: Option<&IOperationsProgressDialog>, ) -> Result<()>; fn SetProperties( &self, pproparray: Option<&IPropertyChangeArray>, ) -> Result<()>; fn SetOwnerWindow(&self, hwndowner: HWND) -> Result<()>; fn ApplyPropertiesToItem(&self, psiitem: Option<&IShellItem>) -> Result<()>; fn ApplyPropertiesToItems(&self, punkitems: Option<&IUnknown>) -> Result<()>; fn RenameItem( &self, psiitem: Option<&IShellItem>, psznewname: &PCWSTR, pfopsitem: Option<&IFileOperationProgressSink>, ) -> Result<()>; fn RenameItems( &self, punkitems: Option<&IUnknown>, psznewname: &PCWSTR, ) -> Result<()>; fn MoveItem( &self, psiitem: Option<&IShellItem>, psidestinationfolder: Option<&IShellItem>, psznewname: &PCWSTR, pfopsitem: Option<&IFileOperationProgressSink>, ) -> Result<()>; fn MoveItems( &self, punkitems: Option<&IUnknown>, psidestinationfolder: Option<&IShellItem>, ) -> Result<()>; fn CopyItem( &self, psiitem: Option<&IShellItem>, psidestinationfolder: Option<&IShellItem>, pszcopyname: &PCWSTR, pfopsitem: Option<&IFileOperationProgressSink>, ) -> Result<()>; fn CopyItems( &self, punkitems: Option<&IUnknown>, psidestinationfolder: Option<&IShellItem>, ) -> Result<()>; fn DeleteItem( &self, psiitem: Option<&IShellItem>, pfopsitem: Option<&IFileOperationProgressSink>, ) -> Result<()>; fn DeleteItems(&self, punkitems: Option<&IUnknown>) -> Result<()>; fn NewItem( &self, psidestinationfolder: Option<&IShellItem>, dwfileattributes: u32, pszname: &PCWSTR, psztemplatename: &PCWSTR, pfopsitem: Option<&IFileOperationProgressSink>, ) -> Result<()>; fn PerformOperations(&self) -> Result<()>; fn GetAnyOperationsAborted(&self) -> Result<BOOL>;
}

Required Methods§

fn Advise(&self, pfops: Option<&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: Option<&IOperationsProgressDialog>, ) -> Result<()>

fn SetProperties(&self, pproparray: Option<&IPropertyChangeArray>) -> Result<()>

fn SetOwnerWindow(&self, hwndowner: HWND) -> Result<()>

fn ApplyPropertiesToItem(&self, psiitem: Option<&IShellItem>) -> Result<()>

fn ApplyPropertiesToItems(&self, punkitems: Option<&IUnknown>) -> Result<()>

fn RenameItem( &self, psiitem: Option<&IShellItem>, psznewname: &PCWSTR, pfopsitem: Option<&IFileOperationProgressSink>, ) -> Result<()>

fn RenameItems( &self, punkitems: Option<&IUnknown>, psznewname: &PCWSTR, ) -> Result<()>

fn MoveItem( &self, psiitem: Option<&IShellItem>, psidestinationfolder: Option<&IShellItem>, psznewname: &PCWSTR, pfopsitem: Option<&IFileOperationProgressSink>, ) -> Result<()>

fn MoveItems( &self, punkitems: Option<&IUnknown>, psidestinationfolder: Option<&IShellItem>, ) -> Result<()>

fn CopyItem( &self, psiitem: Option<&IShellItem>, psidestinationfolder: Option<&IShellItem>, pszcopyname: &PCWSTR, pfopsitem: Option<&IFileOperationProgressSink>, ) -> Result<()>

fn CopyItems( &self, punkitems: Option<&IUnknown>, psidestinationfolder: Option<&IShellItem>, ) -> Result<()>

fn DeleteItem( &self, psiitem: Option<&IShellItem>, pfopsitem: Option<&IFileOperationProgressSink>, ) -> Result<()>

fn DeleteItems(&self, punkitems: Option<&IUnknown>) -> Result<()>

fn NewItem( &self, psidestinationfolder: Option<&IShellItem>, dwfileattributes: u32, pszname: &PCWSTR, psztemplatename: &PCWSTR, pfopsitem: Option<&IFileOperationProgressSink>, ) -> Result<()>

fn PerformOperations(&self) -> Result<()>

fn GetAnyOperationsAborted(&self) -> Result<BOOL>

Object Safety§

This trait is not object safe.

Implementors§