On 08/20/13 16:57, Andrew Eikum wrote:
@@ -10530,8 +10541,28 @@ static HRESULT WINAPI ICreateTypeInfo2_fnSetTypeDescAlias(ICreateTypeInfo2 *ifac
- This->cbSizeInstance = VARIANT_DataSize(This->tdescAlias->vt, This->pTypeLib->ptr_size);
- if(!This->cbSizeInstance){
FIXME("Wrong size for variant type! 0x%x\n", This->tdescAlias->vt);
This->cbSizeInstance = 4;
- }
- This->cbAlignment = 4;
The This->cbAlignment should be also depending on alias type (e.g. it's 1 for VT_I1).