pub struct IShellDispatch(/* private fields */);
Implementations§
Source§impl IShellDispatch
impl IShellDispatch
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 NameSpace<'a>( &self, vdir: impl IntoParam<'a, VARIANT>, ) -> Result<Folder>
pub unsafe fn BrowseForFolder<'a>( &self, hwnd: i32, title: impl IntoParam<'a, BSTR>, options: i32, rootfolder: impl IntoParam<'a, VARIANT>, ) -> Result<Folder>
pub unsafe fn Windows(&self) -> Result<IDispatch>
pub unsafe fn Open<'a>(&self, vdir: impl IntoParam<'a, VARIANT>) -> Result<()>
pub unsafe fn Explore<'a>( &self, vdir: impl IntoParam<'a, VARIANT>, ) -> Result<()>
pub unsafe fn MinimizeAll(&self) -> Result<()>
pub unsafe fn UndoMinimizeALL(&self) -> Result<()>
pub unsafe fn FileRun(&self) -> Result<()>
pub unsafe fn CascadeWindows(&self) -> Result<()>
pub unsafe fn TileVertically(&self) -> Result<()>
pub unsafe fn TileHorizontally(&self) -> Result<()>
pub unsafe fn ShutdownWindows(&self) -> Result<()>
pub unsafe fn Suspend(&self) -> Result<()>
pub unsafe fn EjectPC(&self) -> Result<()>
pub unsafe fn SetTime(&self) -> Result<()>
pub unsafe fn TrayProperties(&self) -> Result<()>
pub unsafe fn Help(&self) -> Result<()>
pub unsafe fn FindFiles(&self) -> Result<()>
pub unsafe fn FindComputer(&self) -> Result<()>
pub unsafe fn RefreshMenu(&self) -> Result<()>
pub unsafe fn ControlPanelItem<'a>( &self, bstrdir: impl IntoParam<'a, BSTR>, ) -> Result<()>
Trait Implementations§
Source§impl Clone for IShellDispatch
impl Clone for IShellDispatch
Source§fn clone(&self) -> IShellDispatch
fn clone(&self) -> IShellDispatch
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 IShellDispatch
impl Debug for IShellDispatch
Source§impl From<&IShellDispatch> for IDispatch
impl From<&IShellDispatch> for IDispatch
Source§fn from(value: &IShellDispatch) -> Self
fn from(value: &IShellDispatch) -> Self
Converts to this type from the input type.
Source§impl From<&IShellDispatch> for IUnknown
impl From<&IShellDispatch> for IUnknown
Source§fn from(value: &IShellDispatch) -> Self
fn from(value: &IShellDispatch) -> Self
Converts to this type from the input type.
Source§impl From<&IShellDispatch2> for IShellDispatch
impl From<&IShellDispatch2> for IShellDispatch
Source§fn from(value: &IShellDispatch2) -> Self
fn from(value: &IShellDispatch2) -> Self
Converts to this type from the input type.
Source§impl From<&IShellDispatch3> for IShellDispatch
impl From<&IShellDispatch3> for IShellDispatch
Source§fn from(value: &IShellDispatch3) -> Self
fn from(value: &IShellDispatch3) -> Self
Converts to this type from the input type.
Source§impl From<&IShellDispatch4> for IShellDispatch
impl From<&IShellDispatch4> for IShellDispatch
Source§fn from(value: &IShellDispatch4) -> Self
fn from(value: &IShellDispatch4) -> Self
Converts to this type from the input type.
Source§impl From<&IShellDispatch5> for IShellDispatch
impl From<&IShellDispatch5> for IShellDispatch
Source§fn from(value: &IShellDispatch5) -> Self
fn from(value: &IShellDispatch5) -> Self
Converts to this type from the input type.
Source§impl From<&IShellDispatch6> for IShellDispatch
impl From<&IShellDispatch6> for IShellDispatch
Source§fn from(value: &IShellDispatch6) -> Self
fn from(value: &IShellDispatch6) -> Self
Converts to this type from the input type.
Source§impl From<IShellDispatch> for IDispatch
impl From<IShellDispatch> for IDispatch
Source§fn from(value: IShellDispatch) -> Self
fn from(value: IShellDispatch) -> Self
Converts to this type from the input type.
Source§impl From<IShellDispatch> for IUnknown
impl From<IShellDispatch> for IUnknown
Source§fn from(value: IShellDispatch) -> Self
fn from(value: IShellDispatch) -> Self
Converts to this type from the input type.
Source§impl From<IShellDispatch2> for IShellDispatch
impl From<IShellDispatch2> for IShellDispatch
Source§fn from(value: IShellDispatch2) -> Self
fn from(value: IShellDispatch2) -> Self
Converts to this type from the input type.
Source§impl From<IShellDispatch3> for IShellDispatch
impl From<IShellDispatch3> for IShellDispatch
Source§fn from(value: IShellDispatch3) -> Self
fn from(value: IShellDispatch3) -> Self
Converts to this type from the input type.
Source§impl From<IShellDispatch4> for IShellDispatch
impl From<IShellDispatch4> for IShellDispatch
Source§fn from(value: IShellDispatch4) -> Self
fn from(value: IShellDispatch4) -> Self
Converts to this type from the input type.
Source§impl From<IShellDispatch5> for IShellDispatch
impl From<IShellDispatch5> for IShellDispatch
Source§fn from(value: IShellDispatch5) -> Self
fn from(value: IShellDispatch5) -> Self
Converts to this type from the input type.
Source§impl From<IShellDispatch6> for IShellDispatch
impl From<IShellDispatch6> for IShellDispatch
Source§fn from(value: IShellDispatch6) -> Self
fn from(value: IShellDispatch6) -> Self
Converts to this type from the input type.
Source§impl Interface for IShellDispatch
impl Interface for IShellDispatch
const IID: Guid
type Vtable = IShellDispatch_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 IShellDispatch
impl PartialEq for IShellDispatch
impl Eq for IShellDispatch
impl StructuralPartialEq for IShellDispatch
Auto Trait Implementations§
impl Freeze for IShellDispatch
impl RefUnwindSafe for IShellDispatch
impl !Send for IShellDispatch
impl !Sync for IShellDispatch
impl Unpin for IShellDispatch
impl UnwindSafe for IShellDispatch
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