mirror of
https://github.com/reactos/wine.git
synced 2025-02-27 00:08:18 +00:00
oleaut32: Store typeinfo hreftype while saving typelib.
This commit is contained in:
parent
f9e73f97a9
commit
00d132ee15
@ -9409,10 +9409,14 @@ static DWORD WMSFT_compile_typeinfo(ITypeInfoImpl *info, INT16 index, WMSFT_TLBF
|
||||
else
|
||||
base->posguid = -1;
|
||||
base->flags = info->wTypeFlags;
|
||||
if(info->Name)
|
||||
if(info->Name) {
|
||||
base->NameOffset = info->Name->offset;
|
||||
else
|
||||
|
||||
((unsigned char*)file->name_seg.data)[info->Name->offset+9] = 0x38;
|
||||
*(HREFTYPE*)((unsigned char*)file->name_seg.data+info->Name->offset) = info->hreftype;
|
||||
}else {
|
||||
base->NameOffset = -1;
|
||||
}
|
||||
base->version = (info->wMinorVerNum << 16) | info->wMajorVerNum;
|
||||
if(info->DocString)
|
||||
base->docstringoffs = info->DocString->offset;
|
||||
|
Loading…
x
Reference in New Issue
Block a user