Trait ICreateTypeInfo_Impl
pub trait ICreateTypeInfo_Impl: IUnknownImpl {
Show 23 methods
// Required methods
fn SetGuid(&self, guid: *const GUID) -> Result<()>;
fn SetTypeFlags(&self, utypeflags: u32) -> Result<()>;
fn SetDocString(&self, pstrdoc: &PCWSTR) -> Result<()>;
fn SetHelpContext(&self, dwhelpcontext: u32) -> Result<()>;
fn SetVersion(&self, wmajorvernum: u16, wminorvernum: u16) -> Result<()>;
fn AddRefTypeInfo(
&self,
ptinfo: Ref<'_, ITypeInfo>,
phreftype: *const u32,
) -> Result<()>;
fn AddFuncDesc(&self, index: u32, pfuncdesc: *const FUNCDESC) -> Result<()>;
fn AddImplType(&self, index: u32, hreftype: u32) -> Result<()>;
fn SetImplTypeFlags(
&self,
index: u32,
impltypeflags: IMPLTYPEFLAGS,
) -> Result<()>;
fn SetAlignment(&self, cbalignment: u16) -> Result<()>;
fn SetSchema(&self, pstrschema: &PCWSTR) -> Result<()>;
fn AddVarDesc(&self, index: u32, pvardesc: *const VARDESC) -> Result<()>;
fn SetFuncAndParamNames(
&self,
index: u32,
rgsznames: *const PCWSTR,
cnames: u32,
) -> Result<()>;
fn SetVarName(&self, index: u32, szname: &PCWSTR) -> Result<()>;
fn SetTypeDescAlias(&self, ptdescalias: *const TYPEDESC) -> Result<()>;
fn DefineFuncAsDllEntry(
&self,
index: u32,
szdllname: &PCWSTR,
szprocname: &PCWSTR,
) -> Result<()>;
fn SetFuncDocString(&self, index: u32, szdocstring: &PCWSTR) -> Result<()>;
fn SetVarDocString(&self, index: u32, szdocstring: &PCWSTR) -> Result<()>;
fn SetFuncHelpContext(&self, index: u32, dwhelpcontext: u32) -> Result<()>;
fn SetVarHelpContext(&self, index: u32, dwhelpcontext: u32) -> Result<()>;
fn SetMops(&self, index: u32, bstrmops: &BSTR) -> Result<()>;
fn SetTypeIdldesc(&self, pidldesc: *const IDLDESC) -> Result<()>;
fn LayOut(&self) -> Result<()>;
}
Required Methods§
fn SetGuid(&self, guid: *const GUID) -> Result<()>
fn SetTypeFlags(&self, utypeflags: u32) -> Result<()>
fn SetDocString(&self, pstrdoc: &PCWSTR) -> Result<()>
fn SetHelpContext(&self, dwhelpcontext: u32) -> Result<()>
fn SetVersion(&self, wmajorvernum: u16, wminorvernum: u16) -> Result<()>
fn AddRefTypeInfo( &self, ptinfo: Ref<'_, ITypeInfo>, phreftype: *const u32, ) -> Result<()>
fn AddFuncDesc(&self, index: u32, pfuncdesc: *const FUNCDESC) -> Result<()>
fn AddImplType(&self, index: u32, hreftype: u32) -> Result<()>
fn SetImplTypeFlags( &self, index: u32, impltypeflags: IMPLTYPEFLAGS, ) -> Result<()>
fn SetAlignment(&self, cbalignment: u16) -> Result<()>
fn SetSchema(&self, pstrschema: &PCWSTR) -> Result<()>
fn AddVarDesc(&self, index: u32, pvardesc: *const VARDESC) -> Result<()>
fn SetFuncAndParamNames( &self, index: u32, rgsznames: *const PCWSTR, cnames: u32, ) -> Result<()>
fn SetVarName(&self, index: u32, szname: &PCWSTR) -> Result<()>
fn SetTypeDescAlias(&self, ptdescalias: *const TYPEDESC) -> Result<()>
fn DefineFuncAsDllEntry( &self, index: u32, szdllname: &PCWSTR, szprocname: &PCWSTR, ) -> Result<()>
fn SetFuncDocString(&self, index: u32, szdocstring: &PCWSTR) -> Result<()>
fn SetVarDocString(&self, index: u32, szdocstring: &PCWSTR) -> Result<()>
fn SetFuncHelpContext(&self, index: u32, dwhelpcontext: u32) -> Result<()>
fn SetVarHelpContext(&self, index: u32, dwhelpcontext: u32) -> Result<()>
fn SetMops(&self, index: u32, bstrmops: &BSTR) -> Result<()>
fn SetTypeIdldesc(&self, pidldesc: *const IDLDESC) -> Result<()>
fn LayOut(&self) -> Result<()>
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.