Trait windows::Win32::UI::Shell::ITransferAdviseSink_Impl
pub trait ITransferAdviseSink_Impl: Sized {
// Required methods
fn UpdateProgress(
&self,
ullsizecurrent: u64,
ullsizetotal: u64,
nfilescurrent: i32,
nfilestotal: i32,
nfolderscurrent: i32,
nfolderstotal: i32,
) -> Result<()>;
fn UpdateTransferState(&self, ts: u32) -> Result<()>;
fn ConfirmOverwrite(
&self,
psisource: Option<&IShellItem>,
psidestparent: Option<&IShellItem>,
pszname: &PCWSTR,
) -> Result<()>;
fn ConfirmEncryptionLoss(
&self,
psisource: Option<&IShellItem>,
) -> Result<()>;
fn FileFailure(
&self,
psi: Option<&IShellItem>,
pszitem: &PCWSTR,
hrerror: HRESULT,
pszrename: &PWSTR,
cchrename: u32,
) -> Result<()>;
fn SubStreamFailure(
&self,
psi: Option<&IShellItem>,
pszstreamname: &PCWSTR,
hrerror: HRESULT,
) -> Result<()>;
fn PropertyFailure(
&self,
psi: Option<&IShellItem>,
pkey: *const PROPERTYKEY,
hrerror: HRESULT,
) -> Result<()>;
}
Required Methods§
fn UpdateProgress( &self, ullsizecurrent: u64, ullsizetotal: u64, nfilescurrent: i32, nfilestotal: i32, nfolderscurrent: i32, nfolderstotal: i32, ) -> Result<()>
fn UpdateTransferState(&self, ts: u32) -> Result<()>
fn ConfirmOverwrite( &self, psisource: Option<&IShellItem>, psidestparent: Option<&IShellItem>, pszname: &PCWSTR, ) -> Result<()>
fn ConfirmEncryptionLoss(&self, psisource: Option<&IShellItem>) -> Result<()>
fn FileFailure( &self, psi: Option<&IShellItem>, pszitem: &PCWSTR, hrerror: HRESULT, pszrename: &PWSTR, cchrename: u32, ) -> Result<()>
fn SubStreamFailure( &self, psi: Option<&IShellItem>, pszstreamname: &PCWSTR, hrerror: HRESULT, ) -> Result<()>
fn PropertyFailure( &self, psi: Option<&IShellItem>, pkey: *const PROPERTYKEY, hrerror: HRESULT, ) -> Result<()>
Object Safety§
This trait is not object safe.