windows::Win32::UI::Shell

Trait ITransferSource_Impl

pub trait ITransferSource_Impl: IUnknownImpl {
Show 13 methods // Required methods fn Advise(&self, psink: Ref<'_, ITransferAdviseSink>) -> Result<u32>; fn Unadvise(&self, dwcookie: u32) -> Result<()>; fn SetProperties( &self, pproparray: Ref<'_, IPropertyChangeArray>, ) -> Result<()>; fn OpenItem( &self, psi: Ref<'_, IShellItem>, flags: u32, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>; fn MoveItem( &self, psi: Ref<'_, IShellItem>, psiparentdst: Ref<'_, IShellItem>, psznamedst: &PCWSTR, flags: u32, ) -> Result<IShellItem>; fn RecycleItem( &self, psisource: Ref<'_, IShellItem>, psiparentdest: Ref<'_, IShellItem>, flags: u32, ) -> Result<IShellItem>; fn RemoveItem( &self, psisource: Ref<'_, IShellItem>, flags: u32, ) -> Result<()>; fn RenameItem( &self, psisource: Ref<'_, IShellItem>, psznewname: &PCWSTR, flags: u32, ) -> Result<IShellItem>; fn LinkItem( &self, psisource: Ref<'_, IShellItem>, psiparentdest: Ref<'_, IShellItem>, psznewname: &PCWSTR, flags: u32, ) -> Result<IShellItem>; fn ApplyPropertiesToItem( &self, psisource: Ref<'_, IShellItem>, ) -> Result<IShellItem>; fn GetDefaultDestinationName( &self, psisource: Ref<'_, IShellItem>, psiparentdest: Ref<'_, IShellItem>, ) -> Result<PWSTR>; fn EnterFolder(&self, psichildfolderdest: Ref<'_, IShellItem>) -> Result<()>; fn LeaveFolder(&self, psichildfolderdest: Ref<'_, IShellItem>) -> Result<()>;
}

Required Methods§

fn Advise(&self, psink: Ref<'_, ITransferAdviseSink>) -> Result<u32>

fn Unadvise(&self, dwcookie: u32) -> Result<()>

fn SetProperties(&self, pproparray: Ref<'_, IPropertyChangeArray>) -> Result<()>

fn OpenItem( &self, psi: Ref<'_, IShellItem>, flags: u32, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>

fn MoveItem( &self, psi: Ref<'_, IShellItem>, psiparentdst: Ref<'_, IShellItem>, psznamedst: &PCWSTR, flags: u32, ) -> Result<IShellItem>

fn RecycleItem( &self, psisource: Ref<'_, IShellItem>, psiparentdest: Ref<'_, IShellItem>, flags: u32, ) -> Result<IShellItem>

fn RemoveItem(&self, psisource: Ref<'_, IShellItem>, flags: u32) -> Result<()>

fn RenameItem( &self, psisource: Ref<'_, IShellItem>, psznewname: &PCWSTR, flags: u32, ) -> Result<IShellItem>

fn LinkItem( &self, psisource: Ref<'_, IShellItem>, psiparentdest: Ref<'_, IShellItem>, psznewname: &PCWSTR, flags: u32, ) -> Result<IShellItem>

fn ApplyPropertiesToItem( &self, psisource: Ref<'_, IShellItem>, ) -> Result<IShellItem>

fn GetDefaultDestinationName( &self, psisource: Ref<'_, IShellItem>, psiparentdest: Ref<'_, IShellItem>, ) -> Result<PWSTR>

fn EnterFolder(&self, psichildfolderdest: Ref<'_, IShellItem>) -> Result<()>

fn LeaveFolder(&self, psichildfolderdest: Ref<'_, IShellItem>) -> Result<()>

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.

Implementors§