pub struct IShellDispatch6(/* private fields */);
Implementations§
Source§impl IShellDispatch6
impl IShellDispatch6
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>
pub unsafe fn WindowSwitcher(&self) -> Result<()>
pub unsafe fn SearchCommand(&self) -> Result<()>
Trait Implementations§
Source§impl Clone for IShellDispatch6
impl Clone for IShellDispatch6
Source§fn clone(&self) -> IShellDispatch6
fn clone(&self) -> IShellDispatch6
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 IShellDispatch6
impl Debug for IShellDispatch6
Source§impl From<&IShellDispatch6> for IDispatch
impl From<&IShellDispatch6> for IDispatch
Source§fn from(value: &IShellDispatch6) -> Self
fn from(value: &IShellDispatch6) -> 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<&IShellDispatch6> for IShellDispatch2
impl From<&IShellDispatch6> for IShellDispatch2
Source§fn from(value: &IShellDispatch6) -> Self
fn from(value: &IShellDispatch6) -> Self
Converts to this type from the input type.
Source§impl From<&IShellDispatch6> for IShellDispatch3
impl From<&IShellDispatch6> for IShellDispatch3
Source§fn from(value: &IShellDispatch6) -> Self
fn from(value: &IShellDispatch6) -> 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<&IShellDispatch6> for IShellDispatch5
impl From<&IShellDispatch6> for IShellDispatch5
Source§fn from(value: &IShellDispatch6) -> Self
fn from(value: &IShellDispatch6) -> Self
Converts to this type from the input type.
Source§impl From<&IShellDispatch6> for IUnknown
impl From<&IShellDispatch6> for IUnknown
Source§fn from(value: &IShellDispatch6) -> Self
fn from(value: &IShellDispatch6) -> Self
Converts to this type from the input type.
Source§impl From<IShellDispatch6> for IDispatch
impl From<IShellDispatch6> for IDispatch
Source§fn from(value: IShellDispatch6) -> Self
fn from(value: IShellDispatch6) -> 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<IShellDispatch6> for IShellDispatch2
impl From<IShellDispatch6> for IShellDispatch2
Source§fn from(value: IShellDispatch6) -> Self
fn from(value: IShellDispatch6) -> Self
Converts to this type from the input type.
Source§impl From<IShellDispatch6> for IShellDispatch3
impl From<IShellDispatch6> for IShellDispatch3
Source§fn from(value: IShellDispatch6) -> Self
fn from(value: IShellDispatch6) -> 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<IShellDispatch6> for IShellDispatch5
impl From<IShellDispatch6> for IShellDispatch5
Source§fn from(value: IShellDispatch6) -> Self
fn from(value: IShellDispatch6) -> Self
Converts to this type from the input type.
Source§impl From<IShellDispatch6> for IUnknown
impl From<IShellDispatch6> for IUnknown
Source§fn from(value: IShellDispatch6) -> Self
fn from(value: IShellDispatch6) -> Self
Converts to this type from the input type.
Source§impl Interface for IShellDispatch6
impl Interface for IShellDispatch6
const IID: Guid
type Vtable = IShellDispatch6_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 IShellDispatch6
impl PartialEq for IShellDispatch6
impl Eq for IShellDispatch6
impl StructuralPartialEq for IShellDispatch6
Auto Trait Implementations§
impl Freeze for IShellDispatch6
impl RefUnwindSafe for IShellDispatch6
impl !Send for IShellDispatch6
impl !Sync for IShellDispatch6
impl Unpin for IShellDispatch6
impl UnwindSafe for IShellDispatch6
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