pub trait IRichEditOleCallback_Impl: Sized {
    // Required methods
    fn GetNewStorage(&self) -> Result<IStorage>;
    fn GetInPlaceContext(
        &self,
        lplpframe: *mut Option<IOleInPlaceFrame>,
        lplpdoc: *mut Option<IOleInPlaceUIWindow>,
        lpframeinfo: *mut OLEINPLACEFRAMEINFO
    ) -> Result<()>;
    fn ShowContainerUI(&self, fshow: BOOL) -> Result<()>;
    fn QueryInsertObject(
        &self,
        lpclsid: *mut GUID,
        lpstg: Option<&IStorage>,
        cp: i32
    ) -> Result<()>;
    fn DeleteObject(&self, lpoleobj: Option<&IOleObject>) -> Result<()>;
    fn QueryAcceptData(
        &self,
        lpdataobj: Option<&IDataObject>,
        lpcfformat: *mut u16,
        reco: RECO_FLAGS,
        freally: BOOL,
        hmetapict: HGLOBAL
    ) -> Result<()>;
    fn ContextSensitiveHelp(&self, fentermode: BOOL) -> Result<()>;
    fn GetClipboardData(
        &self,
        lpchrg: *mut CHARRANGE,
        reco: u32,
        lplpdataobj: *mut Option<IDataObject>
    ) -> Result<()>;
    fn GetDragDropEffect(
        &self,
        fdrag: BOOL,
        grfkeystate: MODIFIERKEYS_FLAGS,
        pdweffect: *mut DROPEFFECT
    ) -> Result<()>;
    fn GetContextMenu(
        &self,
        seltype: RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE,
        lpoleobj: Option<&IOleObject>,
        lpchrg: *mut CHARRANGE,
        lphmenu: *mut HMENU
    ) -> Result<()>;
}

Required Methods§

fn GetNewStorage(&self) -> Result<IStorage>

fn GetInPlaceContext( &self, lplpframe: *mut Option<IOleInPlaceFrame>, lplpdoc: *mut Option<IOleInPlaceUIWindow>, lpframeinfo: *mut OLEINPLACEFRAMEINFO ) -> Result<()>

fn ShowContainerUI(&self, fshow: BOOL) -> Result<()>

fn QueryInsertObject( &self, lpclsid: *mut GUID, lpstg: Option<&IStorage>, cp: i32 ) -> Result<()>

fn DeleteObject(&self, lpoleobj: Option<&IOleObject>) -> Result<()>

fn QueryAcceptData( &self, lpdataobj: Option<&IDataObject>, lpcfformat: *mut u16, reco: RECO_FLAGS, freally: BOOL, hmetapict: HGLOBAL ) -> Result<()>

fn ContextSensitiveHelp(&self, fentermode: BOOL) -> Result<()>

fn GetClipboardData( &self, lpchrg: *mut CHARRANGE, reco: u32, lplpdataobj: *mut Option<IDataObject> ) -> Result<()>

fn GetDragDropEffect( &self, fdrag: BOOL, grfkeystate: MODIFIERKEYS_FLAGS, pdweffect: *mut DROPEFFECT ) -> Result<()>

fn GetContextMenu( &self, seltype: RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE, lpoleobj: Option<&IOleObject>, lpchrg: *mut CHARRANGE, lphmenu: *mut HMENU ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§