Trait windows::Win32::UI::Shell::ISyncMgrHandler_Impl

pub trait ISyncMgrHandler_Impl: Sized {
    // 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: Option<&ISyncMgrSessionCreator>,
        punk: Option<&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: Option<&ISyncMgrSessionCreator>, punk: Option<&IUnknown>, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§