Trait windows::Win32::System::Com::ITypeInfo_Impl
pub trait ITypeInfo_Impl: Sized {
Show 19 methods
// Required methods
fn GetTypeAttr(&self) -> Result<*mut TYPEATTR>;
fn GetTypeComp(&self) -> Result<ITypeComp>;
fn GetFuncDesc(&self, index: u32) -> Result<*mut FUNCDESC>;
fn GetVarDesc(&self, index: u32) -> Result<*mut VARDESC>;
fn GetNames(
&self,
memid: i32,
rgbstrnames: *mut BSTR,
cmaxnames: u32,
pcnames: *mut u32,
) -> Result<()>;
fn GetRefTypeOfImplType(&self, index: u32) -> Result<u32>;
fn GetImplTypeFlags(&self, index: u32) -> Result<IMPLTYPEFLAGS>;
fn GetIDsOfNames(
&self,
rgsznames: *const PCWSTR,
cnames: u32,
pmemid: *mut i32,
) -> Result<()>;
fn Invoke(
&self,
pvinstance: *const c_void,
memid: i32,
wflags: DISPATCH_FLAGS,
pdispparams: *mut DISPPARAMS,
pvarresult: *mut VARIANT,
pexcepinfo: *mut EXCEPINFO,
puargerr: *mut u32,
) -> Result<()>;
fn GetDocumentation(
&self,
memid: i32,
pbstrname: *mut BSTR,
pbstrdocstring: *mut BSTR,
pdwhelpcontext: *mut u32,
pbstrhelpfile: *mut BSTR,
) -> Result<()>;
fn GetDllEntry(
&self,
memid: i32,
invkind: INVOKEKIND,
pbstrdllname: *mut BSTR,
pbstrname: *mut BSTR,
pwordinal: *mut u16,
) -> Result<()>;
fn GetRefTypeInfo(&self, hreftype: u32) -> Result<ITypeInfo>;
fn AddressOfMember(
&self,
memid: i32,
invkind: INVOKEKIND,
ppv: *mut *mut c_void,
) -> Result<()>;
fn CreateInstance(
&self,
punkouter: Option<&IUnknown>,
riid: *const GUID,
ppvobj: *mut *mut c_void,
) -> Result<()>;
fn GetMops(&self, memid: i32) -> Result<BSTR>;
fn GetContainingTypeLib(
&self,
pptlib: *mut Option<ITypeLib>,
pindex: *mut u32,
) -> Result<()>;
fn ReleaseTypeAttr(&self, ptypeattr: *const TYPEATTR);
fn ReleaseFuncDesc(&self, pfuncdesc: *const FUNCDESC);
fn ReleaseVarDesc(&self, pvardesc: *const VARDESC);
}
Required Methods§
fn GetTypeAttr(&self) -> Result<*mut TYPEATTR>
fn GetTypeComp(&self) -> Result<ITypeComp>
fn GetFuncDesc(&self, index: u32) -> Result<*mut FUNCDESC>
fn GetVarDesc(&self, index: u32) -> Result<*mut VARDESC>
fn GetNames( &self, memid: i32, rgbstrnames: *mut BSTR, cmaxnames: u32, pcnames: *mut u32, ) -> Result<()>
fn GetRefTypeOfImplType(&self, index: u32) -> Result<u32>
fn GetImplTypeFlags(&self, index: u32) -> Result<IMPLTYPEFLAGS>
fn GetIDsOfNames( &self, rgsznames: *const PCWSTR, cnames: u32, pmemid: *mut i32, ) -> Result<()>
fn Invoke( &self, pvinstance: *const c_void, memid: i32, wflags: DISPATCH_FLAGS, pdispparams: *mut DISPPARAMS, pvarresult: *mut VARIANT, pexcepinfo: *mut EXCEPINFO, puargerr: *mut u32, ) -> Result<()>
fn GetDocumentation( &self, memid: i32, pbstrname: *mut BSTR, pbstrdocstring: *mut BSTR, pdwhelpcontext: *mut u32, pbstrhelpfile: *mut BSTR, ) -> Result<()>
fn GetDllEntry( &self, memid: i32, invkind: INVOKEKIND, pbstrdllname: *mut BSTR, pbstrname: *mut BSTR, pwordinal: *mut u16, ) -> Result<()>
fn GetRefTypeInfo(&self, hreftype: u32) -> Result<ITypeInfo>
fn AddressOfMember( &self, memid: i32, invkind: INVOKEKIND, ppv: *mut *mut c_void, ) -> Result<()>
fn CreateInstance( &self, punkouter: Option<&IUnknown>, riid: *const GUID, ppvobj: *mut *mut c_void, ) -> Result<()>
fn GetMops(&self, memid: i32) -> Result<BSTR>
fn GetContainingTypeLib( &self, pptlib: *mut Option<ITypeLib>, pindex: *mut u32, ) -> Result<()>
fn ReleaseTypeAttr(&self, ptypeattr: *const TYPEATTR)
fn ReleaseFuncDesc(&self, pfuncdesc: *const FUNCDESC)
fn ReleaseVarDesc(&self, pvardesc: *const VARDESC)
Object Safety§
This trait is not object safe.