Struct IShellView2
pub struct IShellView2(/* private fields */);
Implementations§
§impl IShellView2
impl 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(&self, fenable: bool) -> Result<()>
pub unsafe fn UIActivate(&self, ustate: u32) -> Result<()>
pub unsafe fn Refresh(&self) -> Result<()>
pub unsafe fn CreateViewWindow<P0, P2>(
&self,
psvprevious: P0,
pfs: *const FOLDERSETTINGS,
psb: P2,
prcview: *const RECT,
) -> Result<HWND>where
P0: Param<IShellView>,
P2: Param<IShellBrowser>,
pub unsafe fn DestroyViewWindow(&self) -> Result<()>
pub unsafe fn GetCurrentInfo(&self) -> Result<FOLDERSETTINGS>
pub unsafe fn AddPropertySheetPages( &self, dwreserved: u32, pfn: LPFNSVADDPROPSHEETPAGE, lparam: LPARAM, ) -> Result<()>
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(&self, fentermode: bool) -> Result<()>
Trait Implementations§
§impl CanInto<IOleWindow> for IShellView2
impl CanInto<IOleWindow> for IShellView2
§impl CanInto<IShellView> for IShellView2
impl CanInto<IShellView> for IShellView2
§impl CanInto<IShellView2> for IShellView3
impl CanInto<IShellView2> for IShellView3
§impl CanInto<IUnknown> for IShellView2
impl CanInto<IUnknown> for IShellView2
§impl Clone for IShellView2
impl Clone for IShellView2
§fn clone(&self) -> IShellView2
fn clone(&self) -> IShellView2
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 IShellView2
impl Debug for IShellView2
§impl Deref for IShellView2
impl Deref for IShellView2
§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<&IShellView2> for &IShellView
impl From<&IShellView2> for &IShellView
§fn from(value: &IShellView2) -> Self
fn from(value: &IShellView2) -> Self
Converts to this type from the input type.
§impl From<&IShellView2> for &IUnknown
impl From<&IShellView2> for &IUnknown
§fn from(value: &IShellView2) -> Self
fn from(value: &IShellView2) -> 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<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<IShellView2> for IShellView
impl From<IShellView2> for IShellView
§fn from(value: IShellView2) -> Self
fn from(value: IShellView2) -> Self
Converts to this type from the input type.
§impl From<IShellView2> for IUnknown
impl From<IShellView2> for IUnknown
§fn from(value: IShellView2) -> Self
fn from(value: IShellView2) -> 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 Interface for IShellView2
impl Interface for IShellView2
§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.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§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 IShellView2
impl PartialEq for IShellView2
impl Eq for IShellView2
impl StructuralPartialEq for IShellView2
Auto Trait Implementations§
impl Freeze for IShellView2
impl RefUnwindSafe for IShellView2
impl !Send for IShellView2
impl !Sync for IShellView2
impl Unpin for IShellView2
impl UnwindSafe for IShellView2
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