windows::Win32::UI::Controls::RichEdit

Trait IRichEditOleCallback_Impl

pub trait IRichEditOleCallback_Impl: IUnknownImpl {
    // Required methods
    fn GetNewStorage(&self) -> Result<IStorage>;
    fn GetInPlaceContext(
        &self,
        lplpframe: OutRef<'_, IOleInPlaceFrame>,
        lplpdoc: OutRef<'_, IOleInPlaceUIWindow>,
        lpframeinfo: *mut OLEINPLACEFRAMEINFO,
    ) -> Result<()>;
    fn ShowContainerUI(&self, fshow: BOOL) -> Result<()>;
    fn QueryInsertObject(
        &self,
        lpclsid: *mut GUID,
        lpstg: Ref<'_, IStorage>,
        cp: i32,
    ) -> Result<()>;
    fn DeleteObject(&self, lpoleobj: Ref<'_, IOleObject>) -> Result<()>;
    fn QueryAcceptData(
        &self,
        lpdataobj: Ref<'_, 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: OutRef<'_, 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: Ref<'_, IOleObject>,
        lpchrg: *mut CHARRANGE,
        lphmenu: *mut HMENU,
    ) -> Result<()>;
}

Required Methods§

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

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

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

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

fn DeleteObject(&self, lpoleobj: Ref<'_, IOleObject>) -> Result<()>

fn QueryAcceptData( &self, lpdataobj: Ref<'_, 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: OutRef<'_, 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: Ref<'_, IOleObject>, lpchrg: *mut CHARRANGE, lphmenu: *mut HMENU, ) -> 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.

Implementors§