Struct windows::Win32::UI::Shell::IShellWindows
pub struct IShellWindows(/* private fields */);
Implementations§
§impl IShellWindows
impl IShellWindows
pub unsafe fn Count(&self) -> Result<i32>
pub unsafe fn Item<P0>(&self, index: P0) -> Result<IDispatch>where
P0: IntoParam<VARIANT>,
pub unsafe fn _NewEnum(&self) -> Result<IUnknown>
pub unsafe fn Register<P0>(
&self,
pid: P0,
hwnd: i32,
swclass: ShellWindowTypeConstants
) -> Result<i32>where
P0: IntoParam<IDispatch>,
pub unsafe fn RegisterPending( &self, lthreadid: i32, pvarloc: *const VARIANT, pvarlocroot: *const VARIANT, swclass: ShellWindowTypeConstants ) -> Result<i32>
pub unsafe fn Revoke(&self, lcookie: i32) -> Result<()>
pub unsafe fn OnActivated<P0>(&self, lcookie: i32, factive: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn FindWindowSW( &self, pvarloc: *const VARIANT, pvarlocroot: *const VARIANT, swclass: ShellWindowTypeConstants, phwnd: *mut i32, swfwoptions: ShellWindowFindWindowOptions ) -> Result<IDispatch>
pub unsafe fn OnCreated<P0>(&self, lcookie: i32, punk: P0) -> Result<()>where
P0: IntoParam<IUnknown>,
pub unsafe fn ProcessAttachDetach<P0>(&self, fattach: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
Trait Implementations§
§impl Clone for IShellWindows
impl Clone for IShellWindows
§fn clone(&self) -> IShellWindows
fn clone(&self) -> IShellWindows
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 IShellWindows
impl Debug for IShellWindows
§impl From<&IShellWindows> for &IDispatch
impl From<&IShellWindows> for &IDispatch
§fn from(value: &IShellWindows) -> Self
fn from(value: &IShellWindows) -> Self
Converts to this type from the input type.
§impl From<&IShellWindows> for &IUnknown
impl From<&IShellWindows> for &IUnknown
§fn from(value: &IShellWindows) -> Self
fn from(value: &IShellWindows) -> Self
Converts to this type from the input type.
§impl From<IShellWindows> for IDispatch
impl From<IShellWindows> for IDispatch
§fn from(value: IShellWindows) -> Self
fn from(value: IShellWindows) -> Self
Converts to this type from the input type.
§impl From<IShellWindows> for IUnknown
impl From<IShellWindows> for IUnknown
§fn from(value: IShellWindows) -> Self
fn from(value: IShellWindows) -> Self
Converts to this type from the input type.
§impl Interface for IShellWindows
impl Interface for IShellWindows
§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§impl PartialEq for IShellWindows
impl PartialEq for IShellWindows
§fn eq(&self, other: &IShellWindows) -> bool
fn eq(&self, other: &IShellWindows) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IShellWindows
impl StructuralPartialEq for IShellWindows
Auto Trait Implementations§
impl RefUnwindSafe for IShellWindows
impl !Send for IShellWindows
impl !Sync for IShellWindows
impl Unpin for IShellWindows
impl UnwindSafe for IShellWindows
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