oleaut: Initialise more fields in CreateDispTypeInfo.
Don't leave some of the fields of the TLBFuncDesc structure uninitialised in CreateDispTypeInfo.
This commit is contained in:
parent
878af6661e
commit
0b2c0d8365
|
@ -6385,6 +6385,12 @@ HRESULT WINAPI CreateDispTypeInfo(
|
||||||
(*ppFuncDesc)->funcdesc.lprgelemdescParam[param].tdesc.vt = md->ppdata[param].vt;
|
(*ppFuncDesc)->funcdesc.lprgelemdescParam[param].tdesc.vt = md->ppdata[param].vt;
|
||||||
(*ppFuncDesc)->pParamDesc[param].Name = SysAllocString(md->ppdata[param].szName);
|
(*ppFuncDesc)->pParamDesc[param].Name = SysAllocString(md->ppdata[param].szName);
|
||||||
}
|
}
|
||||||
|
(*ppFuncDesc)->helpcontext = 0;
|
||||||
|
(*ppFuncDesc)->HelpStringContext = 0;
|
||||||
|
(*ppFuncDesc)->HelpString = NULL;
|
||||||
|
(*ppFuncDesc)->Entry = NULL;
|
||||||
|
(*ppFuncDesc)->ctCustData = 0;
|
||||||
|
(*ppFuncDesc)->pCustData = NULL;
|
||||||
ppFuncDesc = &(*ppFuncDesc)->next;
|
ppFuncDesc = &(*ppFuncDesc)->next;
|
||||||
}
|
}
|
||||||
*pptinfo = (ITypeInfo*)pTIImpl;
|
*pptinfo = (ITypeInfo*)pTIImpl;
|
||||||
|
|
Loading…
Reference in New Issue