Trait windows::Win32::UI::Shell::ISyncMgrSyncCallback_Impl
pub trait ISyncMgrSyncCallback_Impl: Sized {
// Required methods
fn ReportProgress(
&self,
pszitemid: &PCWSTR,
pszprogresstext: &PCWSTR,
nstatus: SYNCMGR_PROGRESS_STATUS,
ucurrentstep: u32,
umaxstep: u32,
pncancelrequest: *mut SYNCMGR_CANCEL_REQUEST
) -> Result<()>;
fn SetHandlerProgressText(
&self,
pszprogresstext: &PCWSTR,
pncancelrequest: *mut SYNCMGR_CANCEL_REQUEST
) -> Result<()>;
fn ReportEvent(
&self,
pszitemid: &PCWSTR,
nlevel: SYNCMGR_EVENT_LEVEL,
nflags: SYNCMGR_EVENT_FLAGS,
pszname: &PCWSTR,
pszdescription: &PCWSTR,
pszlinktext: &PCWSTR,
pszlinkreference: &PCWSTR,
pszcontext: &PCWSTR
) -> Result<GUID>;
fn CanContinue(&self, pszitemid: &PCWSTR) -> Result<()>;
fn QueryForAdditionalItems(
&self,
ppenumitemids: *mut Option<IEnumString>,
ppenumpunks: *mut Option<IEnumUnknown>
) -> Result<()>;
fn AddItemToSession(&self, pszitemid: &PCWSTR) -> Result<()>;
fn AddIUnknownToSession(&self, punk: Option<&IUnknown>) -> Result<()>;
fn ProposeItem(&self, pnewitem: Option<&ISyncMgrSyncItem>) -> Result<()>;
fn CommitItem(&self, pszitemid: &PCWSTR) -> Result<()>;
fn ReportManualSync(&self) -> Result<()>;
}
Required Methods§
fn ReportProgress( &self, pszitemid: &PCWSTR, pszprogresstext: &PCWSTR, nstatus: SYNCMGR_PROGRESS_STATUS, ucurrentstep: u32, umaxstep: u32, pncancelrequest: *mut SYNCMGR_CANCEL_REQUEST ) -> Result<()>
fn SetHandlerProgressText( &self, pszprogresstext: &PCWSTR, pncancelrequest: *mut SYNCMGR_CANCEL_REQUEST ) -> Result<()>
fn ReportEvent( &self, pszitemid: &PCWSTR, nlevel: SYNCMGR_EVENT_LEVEL, nflags: SYNCMGR_EVENT_FLAGS, pszname: &PCWSTR, pszdescription: &PCWSTR, pszlinktext: &PCWSTR, pszlinkreference: &PCWSTR, pszcontext: &PCWSTR ) -> Result<GUID>
fn CanContinue(&self, pszitemid: &PCWSTR) -> Result<()>
fn QueryForAdditionalItems( &self, ppenumitemids: *mut Option<IEnumString>, ppenumpunks: *mut Option<IEnumUnknown> ) -> Result<()>
fn AddItemToSession(&self, pszitemid: &PCWSTR) -> Result<()>
fn AddIUnknownToSession(&self, punk: Option<&IUnknown>) -> Result<()>
fn ProposeItem(&self, pnewitem: Option<&ISyncMgrSyncItem>) -> Result<()>
fn CommitItem(&self, pszitemid: &PCWSTR) -> Result<()>
fn ReportManualSync(&self) -> Result<()>
Object Safety§
This trait is not object safe.