Struct windows::Win32::System::Ole::IOleWindow
pub struct IOleWindow(/* private fields */);
Implementations§
§impl IOleWindow
impl IOleWindow
pub unsafe fn GetWindow(&self) -> Result<HWND>
pub unsafe fn ContextSensitiveHelp<P0>(&self, fentermode: P0) -> Result<()>where
P0: Param<BOOL>,
Trait Implementations§
§impl CanInto<IOleWindow> for IDeskBand2
impl CanInto<IOleWindow> for IDeskBand2
§impl CanInto<IOleWindow> for IDeskBarClient
impl CanInto<IOleWindow> for IDeskBarClient
§impl CanInto<IOleWindow> for IDockingWindow
impl CanInto<IOleWindow> for IDockingWindow
§impl CanInto<IOleWindow> for IDockingWindowFrame
impl CanInto<IOleWindow> for IDockingWindowFrame
§impl CanInto<IOleWindow> for IDockingWindowSite
impl CanInto<IOleWindow> for IDockingWindowSite
§impl CanInto<IOleWindow> for IMenuPopup
impl CanInto<IOleWindow> for IMenuPopup
§impl CanInto<IOleWindow> for IOleInPlaceActiveObject
impl CanInto<IOleWindow> for IOleInPlaceActiveObject
§impl CanInto<IOleWindow> for IOleInPlaceFrame
impl CanInto<IOleWindow> for IOleInPlaceFrame
§impl CanInto<IOleWindow> for IOleInPlaceObject
impl CanInto<IOleWindow> for IOleInPlaceObject
§impl CanInto<IOleWindow> for IOleInPlaceObjectWindowless
impl CanInto<IOleWindow> for IOleInPlaceObjectWindowless
§impl CanInto<IOleWindow> for IOleInPlaceSite
impl CanInto<IOleWindow> for IOleInPlaceSite
§impl CanInto<IOleWindow> for IOleInPlaceSiteEx
impl CanInto<IOleWindow> for IOleInPlaceSiteEx
§impl CanInto<IOleWindow> for IOleInPlaceSiteWindowless
impl CanInto<IOleWindow> for IOleInPlaceSiteWindowless
§impl CanInto<IOleWindow> for IOleInPlaceUIWindow
impl CanInto<IOleWindow> for IOleInPlaceUIWindow
§impl CanInto<IOleWindow> for IShellBrowser
impl CanInto<IOleWindow> for IShellBrowser
§impl CanInto<IOleWindow> for IShellView
impl CanInto<IOleWindow> for IShellView
§impl CanInto<IOleWindow> for IShellView2
impl CanInto<IOleWindow> for IShellView2
§impl CanInto<IOleWindow> for IShellView3
impl CanInto<IOleWindow> for IShellView3
§impl CanInto<IUnknown> for IOleWindow
impl CanInto<IUnknown> for IOleWindow
§impl Clone for IOleWindow
impl Clone for IOleWindow
§fn clone(&self) -> IOleWindow
fn clone(&self) -> IOleWindow
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 IOleWindow
impl Debug for IOleWindow
§impl Deref for IOleWindow
impl Deref for IOleWindow
§impl From<&IDeskBand> for &IOleWindow
impl From<&IDeskBand> for &IOleWindow
§impl From<&IDeskBand2> for &IOleWindow
impl From<&IDeskBand2> for &IOleWindow
§fn from(value: &IDeskBand2) -> Self
fn from(value: &IDeskBand2) -> Self
Converts to this type from the input type.
§impl From<&IDeskBar> for &IOleWindow
impl From<&IDeskBar> for &IOleWindow
§impl From<&IDeskBarClient> for &IOleWindow
impl From<&IDeskBarClient> for &IOleWindow
§fn from(value: &IDeskBarClient) -> Self
fn from(value: &IDeskBarClient) -> Self
Converts to this type from the input type.
§impl From<&IDockingWindow> for &IOleWindow
impl From<&IDockingWindow> for &IOleWindow
§fn from(value: &IDockingWindow) -> Self
fn from(value: &IDockingWindow) -> Self
Converts to this type from the input type.
§impl From<&IDockingWindowFrame> for &IOleWindow
impl From<&IDockingWindowFrame> for &IOleWindow
§fn from(value: &IDockingWindowFrame) -> Self
fn from(value: &IDockingWindowFrame) -> Self
Converts to this type from the input type.
§impl From<&IDockingWindowSite> for &IOleWindow
impl From<&IDockingWindowSite> for &IOleWindow
§fn from(value: &IDockingWindowSite) -> Self
fn from(value: &IDockingWindowSite) -> Self
Converts to this type from the input type.
§impl From<&IMenuPopup> for &IOleWindow
impl From<&IMenuPopup> for &IOleWindow
§fn from(value: &IMenuPopup) -> Self
fn from(value: &IMenuPopup) -> Self
Converts to this type from the input type.
§impl From<&IOleInPlaceActiveObject> for &IOleWindow
impl From<&IOleInPlaceActiveObject> for &IOleWindow
§fn from(value: &IOleInPlaceActiveObject) -> Self
fn from(value: &IOleInPlaceActiveObject) -> Self
Converts to this type from the input type.
§impl From<&IOleInPlaceFrame> for &IOleWindow
impl From<&IOleInPlaceFrame> for &IOleWindow
§fn from(value: &IOleInPlaceFrame) -> Self
fn from(value: &IOleInPlaceFrame) -> Self
Converts to this type from the input type.
§impl From<&IOleInPlaceObject> for &IOleWindow
impl From<&IOleInPlaceObject> for &IOleWindow
§fn from(value: &IOleInPlaceObject) -> Self
fn from(value: &IOleInPlaceObject) -> Self
Converts to this type from the input type.
§impl From<&IOleInPlaceObjectWindowless> for &IOleWindow
impl From<&IOleInPlaceObjectWindowless> for &IOleWindow
§fn from(value: &IOleInPlaceObjectWindowless) -> Self
fn from(value: &IOleInPlaceObjectWindowless) -> Self
Converts to this type from the input type.
§impl From<&IOleInPlaceSite> for &IOleWindow
impl From<&IOleInPlaceSite> for &IOleWindow
§fn from(value: &IOleInPlaceSite) -> Self
fn from(value: &IOleInPlaceSite) -> Self
Converts to this type from the input type.
§impl From<&IOleInPlaceSiteEx> for &IOleWindow
impl From<&IOleInPlaceSiteEx> for &IOleWindow
§fn from(value: &IOleInPlaceSiteEx) -> Self
fn from(value: &IOleInPlaceSiteEx) -> 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<&IOleInPlaceUIWindow> for &IOleWindow
impl From<&IOleInPlaceUIWindow> for &IOleWindow
§fn from(value: &IOleInPlaceUIWindow) -> Self
fn from(value: &IOleInPlaceUIWindow) -> Self
Converts to this type from the input type.
§impl From<&IOleWindow> for &IUnknown
impl From<&IOleWindow> for &IUnknown
§fn from(value: &IOleWindow) -> Self
fn from(value: &IOleWindow) -> Self
Converts to this type from the input type.
§impl From<&IShellBrowser> for &IOleWindow
impl From<&IShellBrowser> for &IOleWindow
§fn from(value: &IShellBrowser) -> Self
fn from(value: &IShellBrowser) -> Self
Converts to this type from the input type.
§impl From<&IShellView> for &IOleWindow
impl From<&IShellView> for &IOleWindow
§fn from(value: &IShellView) -> Self
fn from(value: &IShellView) -> Self
Converts to this type from the input type.
§impl From<&IShellView2> for &IOleWindow
impl From<&IShellView2> for &IOleWindow
§fn from(value: &IShellView2) -> Self
fn from(value: &IShellView2) -> Self
Converts to this type from the input type.
§impl From<&IShellView3> for &IOleWindow
impl From<&IShellView3> for &IOleWindow
§fn from(value: &IShellView3) -> Self
fn from(value: &IShellView3) -> Self
Converts to this type from the input type.
§impl From<IDeskBand> for IOleWindow
impl From<IDeskBand> for IOleWindow
§impl From<IDeskBand2> for IOleWindow
impl From<IDeskBand2> for IOleWindow
§fn from(value: IDeskBand2) -> Self
fn from(value: IDeskBand2) -> Self
Converts to this type from the input type.
§impl From<IDeskBar> for IOleWindow
impl From<IDeskBar> for IOleWindow
§impl From<IDeskBarClient> for IOleWindow
impl From<IDeskBarClient> for IOleWindow
§fn from(value: IDeskBarClient) -> Self
fn from(value: IDeskBarClient) -> Self
Converts to this type from the input type.
§impl From<IDockingWindow> for IOleWindow
impl From<IDockingWindow> for IOleWindow
§fn from(value: IDockingWindow) -> Self
fn from(value: IDockingWindow) -> Self
Converts to this type from the input type.
§impl From<IDockingWindowFrame> for IOleWindow
impl From<IDockingWindowFrame> for IOleWindow
§fn from(value: IDockingWindowFrame) -> Self
fn from(value: IDockingWindowFrame) -> Self
Converts to this type from the input type.
§impl From<IDockingWindowSite> for IOleWindow
impl From<IDockingWindowSite> for IOleWindow
§fn from(value: IDockingWindowSite) -> Self
fn from(value: IDockingWindowSite) -> Self
Converts to this type from the input type.
§impl From<IMenuPopup> for IOleWindow
impl From<IMenuPopup> for IOleWindow
§fn from(value: IMenuPopup) -> Self
fn from(value: IMenuPopup) -> Self
Converts to this type from the input type.
§impl From<IOleInPlaceActiveObject> for IOleWindow
impl From<IOleInPlaceActiveObject> for IOleWindow
§fn from(value: IOleInPlaceActiveObject) -> Self
fn from(value: IOleInPlaceActiveObject) -> Self
Converts to this type from the input type.
§impl From<IOleInPlaceFrame> for IOleWindow
impl From<IOleInPlaceFrame> for IOleWindow
§fn from(value: IOleInPlaceFrame) -> Self
fn from(value: IOleInPlaceFrame) -> Self
Converts to this type from the input type.
§impl From<IOleInPlaceObject> for IOleWindow
impl From<IOleInPlaceObject> for IOleWindow
§fn from(value: IOleInPlaceObject) -> Self
fn from(value: IOleInPlaceObject) -> Self
Converts to this type from the input type.
§impl From<IOleInPlaceObjectWindowless> for IOleWindow
impl From<IOleInPlaceObjectWindowless> for IOleWindow
§fn from(value: IOleInPlaceObjectWindowless) -> Self
fn from(value: IOleInPlaceObjectWindowless) -> Self
Converts to this type from the input type.
§impl From<IOleInPlaceSite> for IOleWindow
impl From<IOleInPlaceSite> for IOleWindow
§fn from(value: IOleInPlaceSite) -> Self
fn from(value: IOleInPlaceSite) -> Self
Converts to this type from the input type.
§impl From<IOleInPlaceSiteEx> for IOleWindow
impl From<IOleInPlaceSiteEx> for IOleWindow
§fn from(value: IOleInPlaceSiteEx) -> Self
fn from(value: IOleInPlaceSiteEx) -> 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<IOleInPlaceUIWindow> for IOleWindow
impl From<IOleInPlaceUIWindow> for IOleWindow
§fn from(value: IOleInPlaceUIWindow) -> Self
fn from(value: IOleInPlaceUIWindow) -> Self
Converts to this type from the input type.
§impl From<IOleWindow> for IUnknown
impl From<IOleWindow> for IUnknown
§fn from(value: IOleWindow) -> Self
fn from(value: IOleWindow) -> Self
Converts to this type from the input type.
§impl From<IShellBrowser> for IOleWindow
impl From<IShellBrowser> for IOleWindow
§fn from(value: IShellBrowser) -> Self
fn from(value: IShellBrowser) -> Self
Converts to this type from the input type.
§impl From<IShellView> for IOleWindow
impl From<IShellView> for IOleWindow
§fn from(value: IShellView) -> Self
fn from(value: IShellView) -> Self
Converts to this type from the input type.
§impl From<IShellView2> for IOleWindow
impl From<IShellView2> for IOleWindow
§fn from(value: IShellView2) -> Self
fn from(value: IShellView2) -> Self
Converts to this type from the input type.
§impl From<IShellView3> for IOleWindow
impl From<IShellView3> for IOleWindow
§fn from(value: IShellView3) -> Self
fn from(value: IShellView3) -> Self
Converts to this type from the input type.
§impl Interface for IOleWindow
impl Interface for IOleWindow
§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.
§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 IOleWindow
impl PartialEq for IOleWindow
§fn eq(&self, other: &IOleWindow) -> bool
fn eq(&self, other: &IOleWindow) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IOleWindow
impl StructuralPartialEq for IOleWindow
Auto Trait Implementations§
impl Freeze for IOleWindow
impl RefUnwindSafe for IOleWindow
impl !Send for IOleWindow
impl !Sync for IOleWindow
impl Unpin for IOleWindow
impl UnwindSafe for IOleWindow
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)