Trait windows::Win32::System::Com::IDispatch_Impl

pub trait IDispatch_Impl: Sized {
    // Required methods
    fn GetTypeInfoCount(&self) -> Result<u32>;
    fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> Result<ITypeInfo>;
    fn GetIDsOfNames(
        &self,
        riid: *const GUID,
        rgsznames: *const PCWSTR,
        cnames: u32,
        lcid: u32,
        rgdispid: *mut i32,
    ) -> Result<()>;
    fn Invoke(
        &self,
        dispidmember: i32,
        riid: *const GUID,
        lcid: u32,
        wflags: DISPATCH_FLAGS,
        pdispparams: *const DISPPARAMS,
        pvarresult: *mut VARIANT,
        pexcepinfo: *mut EXCEPINFO,
        puargerr: *mut u32,
    ) -> Result<()>;
}

Required Methods§

fn GetTypeInfoCount(&self) -> Result<u32>

fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> Result<ITypeInfo>

fn GetIDsOfNames( &self, riid: *const GUID, rgsznames: *const PCWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32, ) -> Result<()>

fn Invoke( &self, dispidmember: i32, riid: *const GUID, lcid: u32, wflags: DISPATCH_FLAGS, pdispparams: *const DISPPARAMS, pvarresult: *mut VARIANT, pexcepinfo: *mut EXCEPINFO, puargerr: *mut u32, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§