Struct windows::Win32::UI::Shell::IShellView3
pub struct IShellView3(/* private fields */);
Implementations§
§impl IShellView3
impl IShellView3
pub unsafe fn CreateViewWindow3<P0, P1>(
&self,
psbowner: P0,
psvprev: P1,
dwviewflags: u32,
dwmask: FOLDERFLAGS,
dwflags: FOLDERFLAGS,
fvmode: FOLDERVIEWMODE,
pvid: *const GUID,
prcview: *const RECT,
) -> Result<HWND>where
P0: Param<IShellBrowser>,
P1: Param<IShellView>,
Methods from Deref<Target = IShellView2>§
pub unsafe fn GetView(&self, pvid: *mut GUID, uview: u32) -> Result<()>
pub unsafe fn CreateViewWindow2( &self, lpparams: *const SV2CVW2_PARAMS, ) -> Result<()>
pub unsafe fn HandleRename(&self, pidlnew: *const ITEMIDLIST) -> Result<()>
pub unsafe fn SelectAndPositionItem( &self, pidlitem: *const ITEMIDLIST, uflags: u32, ppt: *const POINT, ) -> Result<()>
Methods from Deref<Target = IShellView>§
pub unsafe fn TranslateAccelerator(&self, pmsg: *const MSG) -> HRESULT
pub unsafe fn EnableModeless<P0>(&self, fenable: P0) -> Result<()>where
P0: Param<BOOL>,
pub unsafe fn UIActivate(&self, ustate: u32) -> Result<()>
pub unsafe fn Refresh(&self) -> Result<()>
pub unsafe fn CreateViewWindow<P0, P1>(
&self,
psvprevious: P0,
pfs: *const FOLDERSETTINGS,
psb: P1,
prcview: *const RECT,
) -> Result<HWND>where
P0: Param<IShellView>,
P1: Param<IShellBrowser>,
pub unsafe fn DestroyViewWindow(&self) -> Result<()>
pub unsafe fn GetCurrentInfo(&self) -> Result<FOLDERSETTINGS>
pub unsafe fn AddPropertySheetPages<P0>(
&self,
dwreserved: u32,
pfn: LPFNSVADDPROPSHEETPAGE,
lparam: P0,
) -> Result<()>where
P0: Param<LPARAM>,
pub unsafe fn SaveViewState(&self) -> Result<()>
pub unsafe fn SelectItem( &self, pidlitem: *const ITEMIDLIST, uflags: u32, ) -> Result<()>
pub unsafe fn GetItemObject<T>(&self, uitem: _SVGIO) -> Result<T>where
T: Interface,
Methods from Deref<Target = 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 IShellView3
impl CanInto<IOleWindow> for IShellView3
§impl CanInto<IShellView> for IShellView3
impl CanInto<IShellView> for IShellView3
§impl CanInto<IShellView2> for IShellView3
impl CanInto<IShellView2> for IShellView3
§impl CanInto<IUnknown> for IShellView3
impl CanInto<IUnknown> for IShellView3
§impl Clone for IShellView3
impl Clone for IShellView3
§fn clone(&self) -> IShellView3
fn clone(&self) -> IShellView3
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 IShellView3
impl Debug for IShellView3
§impl Deref for IShellView3
impl Deref for IShellView3
§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<&IShellView3> for &IShellView
impl From<&IShellView3> for &IShellView
§fn from(value: &IShellView3) -> Self
fn from(value: &IShellView3) -> Self
Converts to this type from the input type.
§impl From<&IShellView3> for &IShellView2
impl From<&IShellView3> for &IShellView2
§fn from(value: &IShellView3) -> Self
fn from(value: &IShellView3) -> Self
Converts to this type from the input type.
§impl From<&IShellView3> for &IUnknown
impl From<&IShellView3> for &IUnknown
§fn from(value: &IShellView3) -> Self
fn from(value: &IShellView3) -> 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<IShellView3> for IShellView
impl From<IShellView3> for IShellView
§fn from(value: IShellView3) -> Self
fn from(value: IShellView3) -> Self
Converts to this type from the input type.
§impl From<IShellView3> for IShellView2
impl From<IShellView3> for IShellView2
§fn from(value: IShellView3) -> Self
fn from(value: IShellView3) -> Self
Converts to this type from the input type.
§impl From<IShellView3> for IUnknown
impl From<IShellView3> for IUnknown
§fn from(value: IShellView3) -> Self
fn from(value: IShellView3) -> Self
Converts to this type from the input type.
§impl Interface for IShellView3
impl Interface for IShellView3
§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 IShellView3
impl PartialEq for IShellView3
§fn eq(&self, other: &IShellView3) -> bool
fn eq(&self, other: &IShellView3) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IShellView3
impl StructuralPartialEq for IShellView3
Auto Trait Implementations§
impl Freeze for IShellView3
impl RefUnwindSafe for IShellView3
impl !Send for IShellView3
impl !Sync for IShellView3
impl Unpin for IShellView3
impl UnwindSafe for IShellView3
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
)