Trait windows::Win32::UI::Shell::IShellDispatch2_Impl

pub trait IShellDispatch2_Impl: Sized + IShellDispatch_Impl {
    // Required methods
    fn IsRestricted(&self, group: &BSTR, restriction: &BSTR) -> Result<i32>;
    fn ShellExecute(
        &self,
        file: &BSTR,
        vargs: &VARIANT,
        vdir: &VARIANT,
        voperation: &VARIANT,
        vshow: &VARIANT,
    ) -> Result<()>;
    fn FindPrinter(
        &self,
        name: &BSTR,
        location: &BSTR,
        model: &BSTR,
    ) -> Result<()>;
    fn GetSystemInformation(&self, name: &BSTR) -> Result<VARIANT>;
    fn ServiceStart(
        &self,
        servicename: &BSTR,
        persistent: &VARIANT,
    ) -> Result<VARIANT>;
    fn ServiceStop(
        &self,
        servicename: &BSTR,
        persistent: &VARIANT,
    ) -> Result<VARIANT>;
    fn IsServiceRunning(&self, servicename: &BSTR) -> Result<VARIANT>;
    fn CanStartStopService(&self, servicename: &BSTR) -> Result<VARIANT>;
    fn ShowBrowserBar(
        &self,
        bstrclsid: &BSTR,
        bshow: &VARIANT,
    ) -> Result<VARIANT>;
}

Required Methods§

fn IsRestricted(&self, group: &BSTR, restriction: &BSTR) -> Result<i32>

fn ShellExecute( &self, file: &BSTR, vargs: &VARIANT, vdir: &VARIANT, voperation: &VARIANT, vshow: &VARIANT, ) -> Result<()>

fn FindPrinter(&self, name: &BSTR, location: &BSTR, model: &BSTR) -> Result<()>

fn GetSystemInformation(&self, name: &BSTR) -> Result<VARIANT>

fn ServiceStart( &self, servicename: &BSTR, persistent: &VARIANT, ) -> Result<VARIANT>

fn ServiceStop( &self, servicename: &BSTR, persistent: &VARIANT, ) -> Result<VARIANT>

fn IsServiceRunning(&self, servicename: &BSTR) -> Result<VARIANT>

fn CanStartStopService(&self, servicename: &BSTR) -> Result<VARIANT>

fn ShowBrowserBar(&self, bstrclsid: &BSTR, bshow: &VARIANT) -> Result<VARIANT>

Object Safety§

This trait is not object safe.

Implementors§