windows::Win32::System::Wmi

Trait IWbemLocator_Impl

pub trait IWbemLocator_Impl: IUnknownImpl {
    // Required method
    fn ConnectServer(
        &self,
        strnetworkresource: &BSTR,
        struser: &BSTR,
        strpassword: &BSTR,
        strlocale: &BSTR,
        lsecurityflags: i32,
        strauthority: &BSTR,
        pctx: Ref<'_, IWbemContext>,
    ) -> Result<IWbemServices>;
}

Required Methods§

fn ConnectServer( &self, strnetworkresource: &BSTR, struser: &BSTR, strpassword: &BSTR, strlocale: &BSTR, lsecurityflags: i32, strauthority: &BSTR, pctx: Ref<'_, IWbemContext>, ) -> Result<IWbemServices>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§