Struct IOleInPlaceSiteWindowless
pub struct IOleInPlaceSiteWindowless(/* private fields */);
Implementations§
§impl IOleInPlaceSiteWindowless
impl IOleInPlaceSiteWindowless
pub unsafe fn CanWindowlessActivate(&self) -> Result<()>
pub unsafe fn GetCapture(&self) -> Result<()>
pub unsafe fn SetCapture(&self, fcapture: bool) -> Result<()>
pub unsafe fn GetFocus(&self) -> Result<()>
pub unsafe fn SetFocus(&self, ffocus: bool) -> Result<()>
pub unsafe fn GetDC(&self, prect: *const RECT, grfflags: u32) -> Result<HDC>
pub unsafe fn ReleaseDC(&self, hdc: HDC) -> Result<()>
pub unsafe fn InvalidateRect( &self, prect: *const RECT, ferase: bool, ) -> Result<()>
pub unsafe fn InvalidateRgn(&self, hrgn: HRGN, ferase: bool) -> Result<()>
pub unsafe fn ScrollRect( &self, dx: i32, dy: i32, prectscroll: *const RECT, prectclip: *const RECT, ) -> Result<()>
pub unsafe fn AdjustRect(&self, prc: *mut RECT) -> Result<()>
pub unsafe fn OnDefWindowMessage( &self, msg: u32, wparam: WPARAM, lparam: LPARAM, ) -> Result<LRESULT>
Methods from Deref<Target = IOleInPlaceSiteEx>§
pub unsafe fn OnInPlaceActivateEx( &self, pfnoredraw: *mut BOOL, dwflags: u32, ) -> Result<()>
pub unsafe fn OnInPlaceDeactivateEx(&self, fnoredraw: bool) -> Result<()>
pub unsafe fn RequestUIActivate(&self) -> Result<()>
Methods from Deref<Target = IOleInPlaceSite>§
pub unsafe fn CanInPlaceActivate(&self) -> Result<()>
pub unsafe fn OnInPlaceActivate(&self) -> Result<()>
pub unsafe fn OnUIActivate(&self) -> Result<()>
pub unsafe fn GetWindowContext( &self, ppframe: *mut Option<IOleInPlaceFrame>, ppdoc: *mut Option<IOleInPlaceUIWindow>, lprcposrect: *mut RECT, lprccliprect: *mut RECT, lpframeinfo: *mut OLEINPLACEFRAMEINFO, ) -> Result<()>
pub unsafe fn Scroll(&self, scrollextant: SIZE) -> Result<()>
pub unsafe fn OnUIDeactivate(&self, fundoable: bool) -> Result<()>
pub unsafe fn OnInPlaceDeactivate(&self) -> Result<()>
pub unsafe fn DiscardUndoState(&self) -> Result<()>
pub unsafe fn DeactivateAndUndo(&self) -> Result<()>
pub unsafe fn OnPosRectChange(&self, lprcposrect: *const RECT) -> Result<()>
Methods from Deref<Target = IOleWindow>§
pub unsafe fn GetWindow(&self) -> Result<HWND>
pub unsafe fn ContextSensitiveHelp(&self, fentermode: bool) -> Result<()>
Trait Implementations§
§impl CanInto<IOleInPlaceSite> for IOleInPlaceSiteWindowless
impl CanInto<IOleInPlaceSite> for IOleInPlaceSiteWindowless
§impl CanInto<IOleInPlaceSiteEx> for IOleInPlaceSiteWindowless
impl CanInto<IOleInPlaceSiteEx> for IOleInPlaceSiteWindowless
§impl CanInto<IOleWindow> for IOleInPlaceSiteWindowless
impl CanInto<IOleWindow> for IOleInPlaceSiteWindowless
§impl CanInto<IUnknown> for IOleInPlaceSiteWindowless
impl CanInto<IUnknown> for IOleInPlaceSiteWindowless
§impl Clone for IOleInPlaceSiteWindowless
impl Clone for IOleInPlaceSiteWindowless
§fn clone(&self) -> IOleInPlaceSiteWindowless
fn clone(&self) -> IOleInPlaceSiteWindowless
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IOleInPlaceSiteWindowless
impl Debug for IOleInPlaceSiteWindowless
§impl Deref for IOleInPlaceSiteWindowless
impl Deref for IOleInPlaceSiteWindowless
§impl From<&IOleInPlaceSiteWindowless> for &IOleInPlaceSite
impl From<&IOleInPlaceSiteWindowless> for &IOleInPlaceSite
§fn from(value: &IOleInPlaceSiteWindowless) -> Self
fn from(value: &IOleInPlaceSiteWindowless) -> Self
Converts to this type from the input type.
§impl From<&IOleInPlaceSiteWindowless> for &IOleInPlaceSiteEx
impl From<&IOleInPlaceSiteWindowless> for &IOleInPlaceSiteEx
§fn from(value: &IOleInPlaceSiteWindowless) -> Self
fn from(value: &IOleInPlaceSiteWindowless) -> Self
Converts to this type from the input type.
§impl From<&IOleInPlaceSiteWindowless> for &IOleWindow
impl From<&IOleInPlaceSiteWindowless> for &IOleWindow
§fn from(value: &IOleInPlaceSiteWindowless) -> Self
fn from(value: &IOleInPlaceSiteWindowless) -> Self
Converts to this type from the input type.
§impl From<&IOleInPlaceSiteWindowless> for &IUnknown
impl From<&IOleInPlaceSiteWindowless> for &IUnknown
§fn from(value: &IOleInPlaceSiteWindowless) -> Self
fn from(value: &IOleInPlaceSiteWindowless) -> Self
Converts to this type from the input type.
§impl From<IOleInPlaceSiteWindowless> for IOleInPlaceSite
impl From<IOleInPlaceSiteWindowless> for IOleInPlaceSite
§fn from(value: IOleInPlaceSiteWindowless) -> Self
fn from(value: IOleInPlaceSiteWindowless) -> Self
Converts to this type from the input type.
§impl From<IOleInPlaceSiteWindowless> for IOleInPlaceSiteEx
impl From<IOleInPlaceSiteWindowless> for IOleInPlaceSiteEx
§fn from(value: IOleInPlaceSiteWindowless) -> Self
fn from(value: IOleInPlaceSiteWindowless) -> Self
Converts to this type from the input type.
§impl From<IOleInPlaceSiteWindowless> for IOleWindow
impl From<IOleInPlaceSiteWindowless> for IOleWindow
§fn from(value: IOleInPlaceSiteWindowless) -> Self
fn from(value: IOleInPlaceSiteWindowless) -> Self
Converts to this type from the input type.
§impl From<IOleInPlaceSiteWindowless> for IUnknown
impl From<IOleInPlaceSiteWindowless> for IUnknown
§fn from(value: IOleInPlaceSiteWindowless) -> Self
fn from(value: IOleInPlaceSiteWindowless) -> Self
Converts to this type from the input type.
§impl Interface for IOleInPlaceSiteWindowless
impl Interface for IOleInPlaceSiteWindowless
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IOleInPlaceSiteWindowless
impl PartialEq for IOleInPlaceSiteWindowless
impl Eq for IOleInPlaceSiteWindowless
impl StructuralPartialEq for IOleInPlaceSiteWindowless
Auto Trait Implementations§
impl Freeze for IOleInPlaceSiteWindowless
impl RefUnwindSafe for IOleInPlaceSiteWindowless
impl !Send for IOleInPlaceSiteWindowless
impl !Sync for IOleInPlaceSiteWindowless
impl Unpin for IOleInPlaceSiteWindowless
impl UnwindSafe for IOleInPlaceSiteWindowless
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more