Trait windows::Win32::UI::Shell::IShellWindows_Impl
pub trait IShellWindows_Impl: Sized + IDispatch_Impl {
// Required methods
fn Count(&self) -> Result<i32>;
fn Item(&self, index: &VARIANT) -> Result<IDispatch>;
fn _NewEnum(&self) -> Result<IUnknown>;
fn Register(
&self,
pid: Option<&IDispatch>,
hwnd: i32,
swclass: ShellWindowTypeConstants,
) -> Result<i32>;
fn RegisterPending(
&self,
lthreadid: i32,
pvarloc: *const VARIANT,
pvarlocroot: *const VARIANT,
swclass: ShellWindowTypeConstants,
) -> Result<i32>;
fn Revoke(&self, lcookie: i32) -> Result<()>;
fn OnNavigate(&self, lcookie: i32, pvarloc: *const VARIANT) -> Result<()>;
fn OnActivated(&self, lcookie: i32, factive: VARIANT_BOOL) -> Result<()>;
fn FindWindowSW(
&self,
pvarloc: *const VARIANT,
pvarlocroot: *const VARIANT,
swclass: ShellWindowTypeConstants,
phwnd: *mut i32,
swfwoptions: ShellWindowFindWindowOptions,
) -> Result<IDispatch>;
fn OnCreated(&self, lcookie: i32, punk: Option<&IUnknown>) -> Result<()>;
fn ProcessAttachDetach(&self, fattach: VARIANT_BOOL) -> Result<()>;
}
Required Methods§
fn Count(&self) -> Result<i32>
fn Item(&self, index: &VARIANT) -> Result<IDispatch>
fn _NewEnum(&self) -> Result<IUnknown>
fn Register( &self, pid: Option<&IDispatch>, hwnd: i32, swclass: ShellWindowTypeConstants, ) -> Result<i32>
fn RegisterPending( &self, lthreadid: i32, pvarloc: *const VARIANT, pvarlocroot: *const VARIANT, swclass: ShellWindowTypeConstants, ) -> Result<i32>
fn Revoke(&self, lcookie: i32) -> Result<()>
fn OnActivated(&self, lcookie: i32, factive: VARIANT_BOOL) -> Result<()>
fn FindWindowSW( &self, pvarloc: *const VARIANT, pvarlocroot: *const VARIANT, swclass: ShellWindowTypeConstants, phwnd: *mut i32, swfwoptions: ShellWindowFindWindowOptions, ) -> Result<IDispatch>
fn OnCreated(&self, lcookie: i32, punk: Option<&IUnknown>) -> Result<()>
fn ProcessAttachDetach(&self, fattach: VARIANT_BOOL) -> Result<()>
Object Safety§
This trait is not object safe.