Re: [PATCH 4/6] oleaut32: TKIND_ALIAS improvements
Aug. 17, 2013
1:13 p.m.
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.
4604
Age (days ago)
4604
Last active (days ago)
0 comments
1 participants
participants (1)
-
Piotr Caban