pub trait IDirectManipulationManager_Impl: Sized {
    // Required methods
    fn Activate(&self, window: HWND) -> Result<()>;
    fn Deactivate(&self, window: HWND) -> Result<()>;
    fn RegisterHitTestTarget(
        &self,
        window: HWND,
        hittestwindow: HWND,
        type: DIRECTMANIPULATION_HITTEST_TYPE,
    ) -> Result<()>;
    fn ProcessInput(&self, message: *const MSG) -> Result<BOOL>;
    fn GetUpdateManager(
        &self,
        riid: *const GUID,
        object: *mut *mut c_void,
    ) -> Result<()>;
    fn CreateViewport(
        &self,
        frameinfo: Option<&IDirectManipulationFrameInfoProvider>,
        window: HWND,
        riid: *const GUID,
        object: *mut *mut c_void,
    ) -> Result<()>;
    fn CreateContent(
        &self,
        frameinfo: Option<&IDirectManipulationFrameInfoProvider>,
        clsid: *const GUID,
        riid: *const GUID,
        object: *mut *mut c_void,
    ) -> Result<()>;
}

Required Methods§

fn Activate(&self, window: HWND) -> Result<()>

fn Deactivate(&self, window: HWND) -> Result<()>

fn RegisterHitTestTarget( &self, window: HWND, hittestwindow: HWND, type: DIRECTMANIPULATION_HITTEST_TYPE, ) -> Result<()>

fn ProcessInput(&self, message: *const MSG) -> Result<BOOL>

fn GetUpdateManager( &self, riid: *const GUID, object: *mut *mut c_void, ) -> Result<()>

fn CreateViewport( &self, frameinfo: Option<&IDirectManipulationFrameInfoProvider>, window: HWND, riid: *const GUID, object: *mut *mut c_void, ) -> Result<()>

fn CreateContent( &self, frameinfo: Option<&IDirectManipulationFrameInfoProvider>, clsid: *const GUID, riid: *const GUID, object: *mut *mut c_void, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§