pub struct IShellWindows(/* private fields */);
Implementations§
Source§impl IShellWindows
impl IShellWindows
pub unsafe fn GetTypeInfoCount(&self) -> Result<u32>
pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> Result<ITypeInfo>
pub unsafe fn GetIDsOfNames( &self, riid: *const Guid, rgsznames: *mut PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32, ) -> Result<()>
pub unsafe fn Invoke( &self, dispidmember: i32, riid: *const Guid, lcid: u32, wflags: u16, pdispparams: *mut DISPPARAMS, pvarresult: *mut VARIANT, pexcepinfo: *mut EXCEPINFO, puargerr: *mut u32, ) -> Result<()>
pub unsafe fn get_Count(&self) -> Result<i32>
pub unsafe fn Item<'a>( &self, index: impl IntoParam<'a, VARIANT>, ) -> Result<IDispatch>
pub unsafe fn _NewEnum(&self) -> Result<IUnknown>
pub unsafe fn Register<'a>( &self, pid: impl IntoParam<'a, IDispatch>, hwnd: i32, swclass: i32, ) -> Result<i32>
pub unsafe fn RegisterPending( &self, lthreadid: i32, pvarloc: *mut VARIANT, pvarlocroot: *mut VARIANT, swclass: i32, ) -> Result<i32>
pub unsafe fn Revoke(&self, lcookie: i32) -> Result<()>
pub unsafe fn OnActivated(&self, lcookie: i32, factive: i16) -> Result<()>
pub unsafe fn FindWindowSW( &self, pvarloc: *mut VARIANT, pvarlocroot: *mut VARIANT, swclass: i32, phwnd: *mut i32, swfwoptions: i32, ppdispout: *mut Option<IDispatch>, ) -> Result<()>
pub unsafe fn OnCreated<'a>( &self, lcookie: i32, punk: impl IntoParam<'a, IUnknown>, ) -> Result<()>
pub unsafe fn ProcessAttachDetach(&self, fattach: i16) -> Result<()>
Trait Implementations§
Source§impl Clone for IShellWindows
impl Clone for IShellWindows
Source§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 moreSource§impl Debug for IShellWindows
impl Debug for IShellWindows
Source§impl From<&IShellWindows> for IDispatch
impl From<&IShellWindows> for IDispatch
Source§fn from(value: &IShellWindows) -> Self
fn from(value: &IShellWindows) -> Self
Converts to this type from the input type.
Source§impl From<&IShellWindows> for IUnknown
impl From<&IShellWindows> for IUnknown
Source§fn from(value: &IShellWindows) -> Self
fn from(value: &IShellWindows) -> Self
Converts to this type from the input type.
Source§impl From<IShellWindows> for IDispatch
impl From<IShellWindows> for IDispatch
Source§fn from(value: IShellWindows) -> Self
fn from(value: IShellWindows) -> Self
Converts to this type from the input type.
Source§impl From<IShellWindows> for IUnknown
impl From<IShellWindows> for IUnknown
Source§fn from(value: IShellWindows) -> Self
fn from(value: IShellWindows) -> Self
Converts to this type from the input type.
Source§impl Interface for IShellWindows
impl Interface for IShellWindows
const IID: Guid
type Vtable = IShellWindows_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for IShellWindows
impl PartialEq for IShellWindows
impl Eq for IShellWindows
impl StructuralPartialEq for IShellWindows
Auto Trait Implementations§
impl Freeze for IShellWindows
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> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
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