windows::Win32::System::Ole

Trait IDispatchEx_Impl

pub trait IDispatchEx_Impl: IDispatch_Impl {
    // Required methods
    fn GetDispID(&self, bstrname: &BSTR, grfdex: u32) -> Result<i32>;
    fn InvokeEx(
        &self,
        id: i32,
        lcid: u32,
        wflags: u16,
        pdp: *const DISPPARAMS,
        pvarres: *mut VARIANT,
        pei: *mut EXCEPINFO,
        pspcaller: Ref<'_, IServiceProvider>,
    ) -> Result<()>;
    fn DeleteMemberByName(&self, bstrname: &BSTR, grfdex: u32) -> Result<()>;
    fn DeleteMemberByDispID(&self, id: i32) -> Result<()>;
    fn GetMemberProperties(
        &self,
        id: i32,
        grfdexfetch: u32,
    ) -> Result<FDEX_PROP_FLAGS>;
    fn GetMemberName(&self, id: i32) -> Result<BSTR>;
    fn GetNextDispID(&self, grfdex: u32, id: i32) -> Result<i32>;
    fn GetNameSpaceParent(&self) -> Result<IUnknown>;
}

Required Methods§

fn GetDispID(&self, bstrname: &BSTR, grfdex: u32) -> Result<i32>

fn InvokeEx( &self, id: i32, lcid: u32, wflags: u16, pdp: *const DISPPARAMS, pvarres: *mut VARIANT, pei: *mut EXCEPINFO, pspcaller: Ref<'_, IServiceProvider>, ) -> Result<()>

fn DeleteMemberByName(&self, bstrname: &BSTR, grfdex: u32) -> Result<()>

fn DeleteMemberByDispID(&self, id: i32) -> Result<()>

fn GetMemberProperties( &self, id: i32, grfdexfetch: u32, ) -> Result<FDEX_PROP_FLAGS>

fn GetMemberName(&self, id: i32) -> Result<BSTR>

fn GetNextDispID(&self, grfdex: u32, id: i32) -> Result<i32>

fn GetNameSpaceParent(&self) -> Result<IUnknown>

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§