pub struct IShellFolderViewDual2(/* private fields */);
Implementations§
Source§impl IShellFolderViewDual2
impl IShellFolderViewDual2
pub unsafe fn GetTypeInfoCount(&self) -> Result<u32>
pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> Result<ITypeInfo>
pub unsafe fn GetIDsOfNames( &self, riid: *const Guid, rgsznames: *mut PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32, ) -> Result<()>
pub unsafe fn Invoke( &self, dispidmember: i32, riid: *const Guid, lcid: u32, wflags: u16, pdispparams: *mut DISPPARAMS, pvarresult: *mut VARIANT, pexcepinfo: *mut EXCEPINFO, puargerr: *mut u32, ) -> Result<()>
pub unsafe fn get_Application(&self) -> Result<IDispatch>
pub unsafe fn get_Parent(&self) -> Result<IDispatch>
pub unsafe fn get_Folder(&self) -> Result<Folder>
pub unsafe fn SelectedItems(&self) -> Result<FolderItems>
pub unsafe fn get_FocusedItem(&self) -> Result<FolderItem>
pub unsafe fn SelectItem(&self, pvfi: *mut VARIANT, dwflags: i32) -> Result<()>
pub unsafe fn PopupItemMenu<'a>( &self, pfi: impl IntoParam<'a, FolderItem>, vx: impl IntoParam<'a, VARIANT>, vy: impl IntoParam<'a, VARIANT>, ) -> Result<BSTR>
pub unsafe fn get_Script(&self) -> Result<IDispatch>
pub unsafe fn get_ViewOptions(&self) -> Result<i32>
pub unsafe fn get_CurrentViewMode(&self) -> Result<u32>
pub unsafe fn put_CurrentViewMode(&self, viewmode: u32) -> Result<()>
pub unsafe fn SelectItemRelative(&self, irelative: i32) -> Result<()>
Trait Implementations§
Source§impl Clone for IShellFolderViewDual2
impl Clone for IShellFolderViewDual2
Source§fn clone(&self) -> IShellFolderViewDual2
fn clone(&self) -> IShellFolderViewDual2
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 moreSource§impl Debug for IShellFolderViewDual2
impl Debug for IShellFolderViewDual2
Source§impl From<&IShellFolderViewDual2> for IDispatch
impl From<&IShellFolderViewDual2> for IDispatch
Source§fn from(value: &IShellFolderViewDual2) -> Self
fn from(value: &IShellFolderViewDual2) -> Self
Converts to this type from the input type.
Source§impl From<&IShellFolderViewDual2> for IShellFolderViewDual
impl From<&IShellFolderViewDual2> for IShellFolderViewDual
Source§fn from(value: &IShellFolderViewDual2) -> Self
fn from(value: &IShellFolderViewDual2) -> Self
Converts to this type from the input type.
Source§impl From<&IShellFolderViewDual2> for IUnknown
impl From<&IShellFolderViewDual2> for IUnknown
Source§fn from(value: &IShellFolderViewDual2) -> Self
fn from(value: &IShellFolderViewDual2) -> Self
Converts to this type from the input type.
Source§impl From<&IShellFolderViewDual3> for IShellFolderViewDual2
impl From<&IShellFolderViewDual3> for IShellFolderViewDual2
Source§fn from(value: &IShellFolderViewDual3) -> Self
fn from(value: &IShellFolderViewDual3) -> Self
Converts to this type from the input type.
Source§impl From<IShellFolderViewDual2> for IDispatch
impl From<IShellFolderViewDual2> for IDispatch
Source§fn from(value: IShellFolderViewDual2) -> Self
fn from(value: IShellFolderViewDual2) -> Self
Converts to this type from the input type.
Source§impl From<IShellFolderViewDual2> for IShellFolderViewDual
impl From<IShellFolderViewDual2> for IShellFolderViewDual
Source§fn from(value: IShellFolderViewDual2) -> Self
fn from(value: IShellFolderViewDual2) -> Self
Converts to this type from the input type.
Source§impl From<IShellFolderViewDual2> for IUnknown
impl From<IShellFolderViewDual2> for IUnknown
Source§fn from(value: IShellFolderViewDual2) -> Self
fn from(value: IShellFolderViewDual2) -> Self
Converts to this type from the input type.
Source§impl From<IShellFolderViewDual3> for IShellFolderViewDual2
impl From<IShellFolderViewDual3> for IShellFolderViewDual2
Source§fn from(value: IShellFolderViewDual3) -> Self
fn from(value: IShellFolderViewDual3) -> Self
Converts to this type from the input type.
Source§impl Interface for IShellFolderViewDual2
impl Interface for IShellFolderViewDual2
const IID: Guid
type Vtable = IShellFolderViewDual2_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for IShellFolderViewDual2
impl PartialEq for IShellFolderViewDual2
impl Eq for IShellFolderViewDual2
impl StructuralPartialEq for IShellFolderViewDual2
Auto Trait Implementations§
impl Freeze for IShellFolderViewDual2
impl RefUnwindSafe for IShellFolderViewDual2
impl !Send for IShellFolderViewDual2
impl !Sync for IShellFolderViewDual2
impl Unpin for IShellFolderViewDual2
impl UnwindSafe for IShellFolderViewDual2
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
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