Struct windows::Win32::UI::Shell::IShellView2
pub struct IShellView2(/* private fields */);
Implementations§
§impl IShellView2
impl IShellView2
pub unsafe fn GetWindow(&self) -> Result<HWND>
pub unsafe fn ContextSensitiveHelp<P0>(&self, fentermode: P0) -> Result<()>where
P0: IntoParam<BOOL>,
pub unsafe fn TranslateAccelerator(&self, pmsg: *const MSG) -> HRESULT
pub unsafe fn EnableModeless<P0>(&self, fenable: P0) -> Result<()>where
P0: IntoParam<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: IntoParam<IShellView>,
P1: IntoParam<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: IntoParam<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,
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<()>
Trait Implementations§
§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 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.
§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§impl PartialEq for IShellView2
impl PartialEq for IShellView2
§fn eq(&self, other: &IShellView2) -> bool
fn eq(&self, other: &IShellView2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IShellView2
impl StructuralPartialEq for IShellView2
Auto Trait Implementations§
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