On 08/16/13 21:40, Andrew Eikum wrote:
@@ -8502,7 +8502,7 @@ static HRESULT WINAPI
ICreateTypeLib2_fnCreateTypeInfo(ICreateTypeLib2 *iface,
info->cbSizeInstance = 2;
break;
case TKIND_ALIAS:
- info->cbSizeInstance = -0x75;
+ info->cbSizeInstance = 4;
break;
default:
FIXME("unrecognized typekind %d\n", info->typekind);
cbSizeInstance and cbAligment value depends on alias type. As long as
alias type is not set cbSizeInstance stores some strange values (-0x75
is matching what one of native versions of dll stores there).
Both of these values should be set in SetTypeDescAlias function.