Struct IShellView
pub struct IShellView(/* private fields */);
Implementations§
§impl IShellView
impl 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 IShellView
impl CanInto<IOleWindow> for IShellView
§impl CanInto<IShellView> for IShellView2
impl CanInto<IShellView> for IShellView2
§impl CanInto<IShellView> for IShellView3
impl CanInto<IShellView> for IShellView3
§impl CanInto<IUnknown> for IShellView
impl CanInto<IUnknown> for IShellView
§impl Clone for IShellView
impl Clone for IShellView
§fn clone(&self) -> IShellView
fn clone(&self) -> IShellView
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 IShellView
impl Debug for IShellView
§impl Deref for IShellView
impl Deref for IShellView
§impl From<&IShellView> for &IOleWindow
impl From<&IShellView> for &IOleWindow
§fn from(value: &IShellView) -> Self
fn from(value: &IShellView) -> Self
Converts to this type from the input type.
§impl From<&IShellView> for &IUnknown
impl From<&IShellView> for &IUnknown
§fn from(value: &IShellView) -> Self
fn from(value: &IShellView) -> 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<&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<IShellView> for IOleWindow
impl From<IShellView> for IOleWindow
§fn from(value: IShellView) -> Self
fn from(value: IShellView) -> Self
Converts to this type from the input type.
§impl From<IShellView> for IUnknown
impl From<IShellView> for IUnknown
§fn from(value: IShellView) -> Self
fn from(value: IShellView) -> 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<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 Interface for IShellView
impl Interface for IShellView
§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 IShellView
impl PartialEq for IShellView
impl Eq for IShellView
impl StructuralPartialEq for IShellView
Auto Trait Implementations§
impl Freeze for IShellView
impl RefUnwindSafe for IShellView
impl !Send for IShellView
impl !Sync for IShellView
impl Unpin for IShellView
impl UnwindSafe for IShellView
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