pub struct IShellDispatch4(/* private fields */);
Implementations§
Source§impl IShellDispatch4
impl IShellDispatch4
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<()>
pub unsafe fn IsRestricted<'a>( &self, group: impl IntoParam<'a, BSTR>, restriction: impl IntoParam<'a, BSTR>, ) -> Result<i32>
pub unsafe fn ShellExecute<'a>( &self, file: impl IntoParam<'a, BSTR>, vargs: impl IntoParam<'a, VARIANT>, vdir: impl IntoParam<'a, VARIANT>, voperation: impl IntoParam<'a, VARIANT>, vshow: impl IntoParam<'a, VARIANT>, ) -> Result<()>
pub unsafe fn FindPrinter<'a>( &self, name: impl IntoParam<'a, BSTR>, location: impl IntoParam<'a, BSTR>, model: impl IntoParam<'a, BSTR>, ) -> Result<()>
pub unsafe fn GetSystemInformation<'a>( &self, name: impl IntoParam<'a, BSTR>, ) -> Result<VARIANT>
pub unsafe fn ServiceStart<'a>( &self, servicename: impl IntoParam<'a, BSTR>, persistent: impl IntoParam<'a, VARIANT>, ) -> Result<VARIANT>
pub unsafe fn ServiceStop<'a>( &self, servicename: impl IntoParam<'a, BSTR>, persistent: impl IntoParam<'a, VARIANT>, ) -> Result<VARIANT>
pub unsafe fn IsServiceRunning<'a>( &self, servicename: impl IntoParam<'a, BSTR>, ) -> Result<VARIANT>
pub unsafe fn CanStartStopService<'a>( &self, servicename: impl IntoParam<'a, BSTR>, ) -> Result<VARIANT>
pub unsafe fn ShowBrowserBar<'a>( &self, bstrclsid: impl IntoParam<'a, BSTR>, bshow: impl IntoParam<'a, VARIANT>, ) -> Result<VARIANT>
pub unsafe fn AddToRecent<'a>( &self, varfile: impl IntoParam<'a, VARIANT>, bstrcategory: impl IntoParam<'a, BSTR>, ) -> Result<()>
pub unsafe fn WindowsSecurity(&self) -> Result<()>
pub unsafe fn ToggleDesktop(&self) -> Result<()>
pub unsafe fn ExplorerPolicy<'a>( &self, bstrpolicyname: impl IntoParam<'a, BSTR>, ) -> Result<VARIANT>
pub unsafe fn GetSetting(&self, lsetting: i32) -> Result<i16>
Trait Implementations§
Source§impl Clone for IShellDispatch4
impl Clone for IShellDispatch4
Source§fn clone(&self) -> IShellDispatch4
fn clone(&self) -> IShellDispatch4
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 IShellDispatch4
impl Debug for IShellDispatch4
Source§impl From<&IShellDispatch4> for IDispatch
impl From<&IShellDispatch4> for IDispatch
Source§fn from(value: &IShellDispatch4) -> Self
fn from(value: &IShellDispatch4) -> 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<&IShellDispatch4> for IShellDispatch2
impl From<&IShellDispatch4> for IShellDispatch2
Source§fn from(value: &IShellDispatch4) -> Self
fn from(value: &IShellDispatch4) -> Self
Converts to this type from the input type.
Source§impl From<&IShellDispatch4> for IShellDispatch3
impl From<&IShellDispatch4> for IShellDispatch3
Source§fn from(value: &IShellDispatch4) -> Self
fn from(value: &IShellDispatch4) -> Self
Converts to this type from the input type.
Source§impl From<&IShellDispatch4> for IUnknown
impl From<&IShellDispatch4> for IUnknown
Source§fn from(value: &IShellDispatch4) -> Self
fn from(value: &IShellDispatch4) -> Self
Converts to this type from the input type.
Source§impl From<&IShellDispatch5> for IShellDispatch4
impl From<&IShellDispatch5> for IShellDispatch4
Source§fn from(value: &IShellDispatch5) -> Self
fn from(value: &IShellDispatch5) -> Self
Converts to this type from the input type.
Source§impl From<&IShellDispatch6> for IShellDispatch4
impl From<&IShellDispatch6> for IShellDispatch4
Source§fn from(value: &IShellDispatch6) -> Self
fn from(value: &IShellDispatch6) -> Self
Converts to this type from the input type.
Source§impl From<IShellDispatch4> for IDispatch
impl From<IShellDispatch4> for IDispatch
Source§fn from(value: IShellDispatch4) -> Self
fn from(value: IShellDispatch4) -> 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<IShellDispatch4> for IShellDispatch2
impl From<IShellDispatch4> for IShellDispatch2
Source§fn from(value: IShellDispatch4) -> Self
fn from(value: IShellDispatch4) -> Self
Converts to this type from the input type.
Source§impl From<IShellDispatch4> for IShellDispatch3
impl From<IShellDispatch4> for IShellDispatch3
Source§fn from(value: IShellDispatch4) -> Self
fn from(value: IShellDispatch4) -> Self
Converts to this type from the input type.
Source§impl From<IShellDispatch4> for IUnknown
impl From<IShellDispatch4> for IUnknown
Source§fn from(value: IShellDispatch4) -> Self
fn from(value: IShellDispatch4) -> Self
Converts to this type from the input type.
Source§impl From<IShellDispatch5> for IShellDispatch4
impl From<IShellDispatch5> for IShellDispatch4
Source§fn from(value: IShellDispatch5) -> Self
fn from(value: IShellDispatch5) -> Self
Converts to this type from the input type.
Source§impl From<IShellDispatch6> for IShellDispatch4
impl From<IShellDispatch6> for IShellDispatch4
Source§fn from(value: IShellDispatch6) -> Self
fn from(value: IShellDispatch6) -> Self
Converts to this type from the input type.
Source§impl Interface for IShellDispatch4
impl Interface for IShellDispatch4
const IID: Guid
type Vtable = IShellDispatch4_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 IShellDispatch4
impl PartialEq for IShellDispatch4
impl Eq for IShellDispatch4
impl StructuralPartialEq for IShellDispatch4
Auto Trait Implementations§
impl Freeze for IShellDispatch4
impl RefUnwindSafe for IShellDispatch4
impl !Send for IShellDispatch4
impl !Sync for IShellDispatch4
impl Unpin for IShellDispatch4
impl UnwindSafe for IShellDispatch4
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