Trait ISyncMgrHandler_Impl
pub trait ISyncMgrHandler_Impl: IUnknownImpl {
// Required methods
fn GetName(&self) -> Result<PWSTR>;
fn GetHandlerInfo(&self) -> Result<ISyncMgrHandlerInfo>;
fn GetObject(
&self,
rguidobjectid: *const GUID,
riid: *const GUID,
ppv: *mut *mut c_void,
) -> Result<()>;
fn GetCapabilities(&self) -> Result<SYNCMGR_HANDLER_CAPABILITIES>;
fn GetPolicies(&self) -> Result<SYNCMGR_HANDLER_POLICIES>;
fn Activate(&self, factivate: BOOL) -> Result<()>;
fn Enable(&self, fenable: BOOL) -> Result<()>;
fn Synchronize(
&self,
ppszitemids: *const PCWSTR,
citems: u32,
hwndowner: HWND,
psessioncreator: Ref<'_, ISyncMgrSessionCreator>,
punk: Ref<'_, IUnknown>,
) -> Result<()>;
}
Required Methods§
fn GetName(&self) -> Result<PWSTR>
fn GetHandlerInfo(&self) -> Result<ISyncMgrHandlerInfo>
fn GetObject( &self, rguidobjectid: *const GUID, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>
fn GetCapabilities(&self) -> Result<SYNCMGR_HANDLER_CAPABILITIES>
fn GetPolicies(&self) -> Result<SYNCMGR_HANDLER_POLICIES>
fn Activate(&self, factivate: BOOL) -> Result<()>
fn Enable(&self, fenable: BOOL) -> Result<()>
fn Synchronize( &self, ppszitemids: *const PCWSTR, citems: u32, hwndowner: HWND, psessioncreator: Ref<'_, ISyncMgrSessionCreator>, punk: Ref<'_, IUnknown>, ) -> 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.