pub struct ITransferAdviseSink(/* private fields */);Implementations§
Source§impl ITransferAdviseSink
impl ITransferAdviseSink
pub unsafe fn UpdateProgress( &self, ullsizecurrent: u64, ullsizetotal: u64, nfilescurrent: i32, nfilestotal: i32, nfolderscurrent: i32, nfolderstotal: i32, ) -> Result<()>
pub unsafe fn UpdateTransferState(&self, ts: u32) -> Result<()>
pub unsafe fn ConfirmOverwrite<'a>( &self, psisource: impl IntoParam<'a, IShellItem>, psidestparent: impl IntoParam<'a, IShellItem>, pszname: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn ConfirmEncryptionLoss<'a>( &self, psisource: impl IntoParam<'a, IShellItem>, ) -> Result<()>
pub unsafe fn FileFailure<'a>( &self, psi: impl IntoParam<'a, IShellItem>, pszitem: impl IntoParam<'a, PWSTR>, hrerror: HRESULT, pszrename: impl IntoParam<'a, PWSTR>, cchrename: u32, ) -> Result<()>
pub unsafe fn SubStreamFailure<'a>( &self, psi: impl IntoParam<'a, IShellItem>, pszstreamname: impl IntoParam<'a, PWSTR>, hrerror: HRESULT, ) -> Result<()>
pub unsafe fn PropertyFailure<'a>( &self, psi: impl IntoParam<'a, IShellItem>, pkey: *const PROPERTYKEY, hrerror: HRESULT, ) -> Result<()>
Trait Implementations§
Source§impl Clone for ITransferAdviseSink
impl Clone for ITransferAdviseSink
Source§fn clone(&self) -> ITransferAdviseSink
fn clone(&self) -> ITransferAdviseSink
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 ITransferAdviseSink
impl Debug for ITransferAdviseSink
Source§impl From<&ITransferAdviseSink> for IUnknown
impl From<&ITransferAdviseSink> for IUnknown
Source§fn from(value: &ITransferAdviseSink) -> Self
fn from(value: &ITransferAdviseSink) -> Self
Converts to this type from the input type.
Source§impl From<ITransferAdviseSink> for IUnknown
impl From<ITransferAdviseSink> for IUnknown
Source§fn from(value: ITransferAdviseSink) -> Self
fn from(value: ITransferAdviseSink) -> Self
Converts to this type from the input type.
Source§impl Interface for ITransferAdviseSink
impl Interface for ITransferAdviseSink
const IID: Guid
type Vtable = ITransferAdviseSink_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 ITransferAdviseSink
impl PartialEq for ITransferAdviseSink
impl Eq for ITransferAdviseSink
impl StructuralPartialEq for ITransferAdviseSink
Auto Trait Implementations§
impl Freeze for ITransferAdviseSink
impl RefUnwindSafe for ITransferAdviseSink
impl !Send for ITransferAdviseSink
impl !Sync for ITransferAdviseSink
impl Unpin for ITransferAdviseSink
impl UnwindSafe for ITransferAdviseSink
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