[PATCH 2/4] oleaut32: Implement ICreateTypeInfo::SetTypeDescAlias
Piotr Caban
piotr.caban at gmail.com
Tue Aug 20 10:34:15 CDT 2013
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).
More information about the wine-devel
mailing list