Trait ISyncMgrControl_Impl
pub trait ISyncMgrControl_Impl: IUnknownImpl {
Show 15 methods
// Required methods
fn StartHandlerSync(
&self,
pszhandlerid: &PCWSTR,
hwndowner: HWND,
punk: Ref<'_, IUnknown>,
nsynccontrolflags: SYNCMGR_SYNC_CONTROL_FLAGS,
presult: Ref<'_, ISyncMgrSyncResult>,
) -> Result<()>;
fn StartItemSync(
&self,
pszhandlerid: &PCWSTR,
ppszitemids: *const PCWSTR,
citems: u32,
hwndowner: HWND,
punk: Ref<'_, IUnknown>,
nsynccontrolflags: SYNCMGR_SYNC_CONTROL_FLAGS,
presult: Ref<'_, ISyncMgrSyncResult>,
) -> Result<()>;
fn StartSyncAll(&self, hwndowner: HWND) -> Result<()>;
fn StopHandlerSync(&self, pszhandlerid: &PCWSTR) -> Result<()>;
fn StopItemSync(
&self,
pszhandlerid: &PCWSTR,
ppszitemids: *const PCWSTR,
citems: u32,
) -> Result<()>;
fn StopSyncAll(&self) -> Result<()>;
fn UpdateHandlerCollection(
&self,
rclsidcollectionid: *const GUID,
ncontrolflags: SYNCMGR_CONTROL_FLAGS,
) -> Result<()>;
fn UpdateHandler(
&self,
pszhandlerid: &PCWSTR,
ncontrolflags: SYNCMGR_CONTROL_FLAGS,
) -> Result<()>;
fn UpdateItem(
&self,
pszhandlerid: &PCWSTR,
pszitemid: &PCWSTR,
ncontrolflags: SYNCMGR_CONTROL_FLAGS,
) -> Result<()>;
fn UpdateEvents(
&self,
pszhandlerid: &PCWSTR,
pszitemid: &PCWSTR,
ncontrolflags: SYNCMGR_CONTROL_FLAGS,
) -> Result<()>;
fn UpdateConflict(
&self,
pszhandlerid: &PCWSTR,
pszitemid: &PCWSTR,
pconflict: Ref<'_, ISyncMgrConflict>,
nreason: SYNCMGR_UPDATE_REASON,
) -> Result<()>;
fn UpdateConflicts(
&self,
pszhandlerid: &PCWSTR,
pszitemid: &PCWSTR,
ncontrolflags: SYNCMGR_CONTROL_FLAGS,
) -> Result<()>;
fn ActivateHandler(
&self,
factivate: BOOL,
pszhandlerid: &PCWSTR,
hwndowner: HWND,
ncontrolflags: SYNCMGR_CONTROL_FLAGS,
) -> Result<()>;
fn EnableHandler(
&self,
fenable: BOOL,
pszhandlerid: &PCWSTR,
hwndowner: HWND,
ncontrolflags: SYNCMGR_CONTROL_FLAGS,
) -> Result<()>;
fn EnableItem(
&self,
fenable: BOOL,
pszhandlerid: &PCWSTR,
pszitemid: &PCWSTR,
hwndowner: HWND,
ncontrolflags: SYNCMGR_CONTROL_FLAGS,
) -> Result<()>;
}
Required Methods§
fn StartHandlerSync( &self, pszhandlerid: &PCWSTR, hwndowner: HWND, punk: Ref<'_, IUnknown>, nsynccontrolflags: SYNCMGR_SYNC_CONTROL_FLAGS, presult: Ref<'_, ISyncMgrSyncResult>, ) -> Result<()>
fn StartItemSync( &self, pszhandlerid: &PCWSTR, ppszitemids: *const PCWSTR, citems: u32, hwndowner: HWND, punk: Ref<'_, IUnknown>, nsynccontrolflags: SYNCMGR_SYNC_CONTROL_FLAGS, presult: Ref<'_, ISyncMgrSyncResult>, ) -> Result<()>
fn StartSyncAll(&self, hwndowner: HWND) -> Result<()>
fn StopHandlerSync(&self, pszhandlerid: &PCWSTR) -> Result<()>
fn StopItemSync( &self, pszhandlerid: &PCWSTR, ppszitemids: *const PCWSTR, citems: u32, ) -> Result<()>
fn StopSyncAll(&self) -> Result<()>
fn UpdateHandlerCollection( &self, rclsidcollectionid: *const GUID, ncontrolflags: SYNCMGR_CONTROL_FLAGS, ) -> Result<()>
fn UpdateHandler( &self, pszhandlerid: &PCWSTR, ncontrolflags: SYNCMGR_CONTROL_FLAGS, ) -> Result<()>
fn UpdateItem( &self, pszhandlerid: &PCWSTR, pszitemid: &PCWSTR, ncontrolflags: SYNCMGR_CONTROL_FLAGS, ) -> Result<()>
fn UpdateEvents( &self, pszhandlerid: &PCWSTR, pszitemid: &PCWSTR, ncontrolflags: SYNCMGR_CONTROL_FLAGS, ) -> Result<()>
fn UpdateConflict( &self, pszhandlerid: &PCWSTR, pszitemid: &PCWSTR, pconflict: Ref<'_, ISyncMgrConflict>, nreason: SYNCMGR_UPDATE_REASON, ) -> Result<()>
fn UpdateConflicts( &self, pszhandlerid: &PCWSTR, pszitemid: &PCWSTR, ncontrolflags: SYNCMGR_CONTROL_FLAGS, ) -> Result<()>
fn ActivateHandler( &self, factivate: BOOL, pszhandlerid: &PCWSTR, hwndowner: HWND, ncontrolflags: SYNCMGR_CONTROL_FLAGS, ) -> Result<()>
fn EnableHandler( &self, fenable: BOOL, pszhandlerid: &PCWSTR, hwndowner: HWND, ncontrolflags: SYNCMGR_CONTROL_FLAGS, ) -> Result<()>
fn EnableItem( &self, fenable: BOOL, pszhandlerid: &PCWSTR, pszitemid: &PCWSTR, hwndowner: HWND, ncontrolflags: SYNCMGR_CONTROL_FLAGS, ) -> 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.