windows::Win32::System::Ole

Trait IOleInPlaceSite_Impl

pub trait IOleInPlaceSite_Impl: IOleWindow_Impl {
    // Required methods
    fn CanInPlaceActivate(&self) -> Result<()>;
    fn OnInPlaceActivate(&self) -> Result<()>;
    fn OnUIActivate(&self) -> Result<()>;
    fn GetWindowContext(
        &self,
        ppframe: OutRef<'_, IOleInPlaceFrame>,
        ppdoc: OutRef<'_, IOleInPlaceUIWindow>,
        lprcposrect: *mut RECT,
        lprccliprect: *mut RECT,
        lpframeinfo: *mut OLEINPLACEFRAMEINFO,
    ) -> Result<()>;
    fn Scroll(&self, scrollextant: &SIZE) -> Result<()>;
    fn OnUIDeactivate(&self, fundoable: BOOL) -> Result<()>;
    fn OnInPlaceDeactivate(&self) -> Result<()>;
    fn DiscardUndoState(&self) -> Result<()>;
    fn DeactivateAndUndo(&self) -> Result<()>;
    fn OnPosRectChange(&self, lprcposrect: *const RECT) -> Result<()>;
}

Required Methods§

fn CanInPlaceActivate(&self) -> Result<()>

fn OnInPlaceActivate(&self) -> Result<()>

fn OnUIActivate(&self) -> Result<()>

fn GetWindowContext( &self, ppframe: OutRef<'_, IOleInPlaceFrame>, ppdoc: OutRef<'_, IOleInPlaceUIWindow>, lprcposrect: *mut RECT, lprccliprect: *mut RECT, lpframeinfo: *mut OLEINPLACEFRAMEINFO, ) -> Result<()>

fn Scroll(&self, scrollextant: &SIZE) -> Result<()>

fn OnUIDeactivate(&self, fundoable: BOOL) -> Result<()>

fn OnInPlaceDeactivate(&self) -> Result<()>

fn DiscardUndoState(&self) -> Result<()>

fn DeactivateAndUndo(&self) -> Result<()>

fn OnPosRectChange(&self, lprcposrect: *const RECT) -> 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§