Piotr Caban : oleaut32: Name names hash table segment in MSFT_SegDir struct .
Alexandre Julliard
julliard at winehq.org
Mon Jul 29 14:01:18 CDT 2013
Module: wine
Branch: master
Commit: f9e73f97a90ce68af04b23fcee8ce44ee846d30d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f9e73f97a90ce68af04b23fcee8ce44ee846d30d
Author: Piotr Caban <piotr at codeweavers.com>
Date: Sun Jul 28 10:05:25 2013 +0200
oleaut32: Name names hash table segment in MSFT_SegDir struct.
---
dlls/oleaut32/typelib.c | 4 ++--
dlls/oleaut32/typelib.h | 4 ++--
tools/widl/typelib_struct.h | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index d2423a2..f566196 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -9775,8 +9775,8 @@ static HRESULT WINAPI ICreateTypeLib2_fnSaveAllChanges(ICreateTypeLib2 *iface)
TRACE("impfiles at: 0x%x\n", running_offset);
tmp_fill_segdir_seg(&file.segdir.pImpFiles, &file.impfile_seg, &running_offset);
- TRACE("res07 at: 0x%x\n", running_offset);
- tmp_fill_segdir_seg(&file.segdir.res07, &file.namehash_seg, &running_offset);
+ TRACE("namehashtab at: 0x%x\n", running_offset);
+ tmp_fill_segdir_seg(&file.segdir.pNameHashTab, &file.namehash_seg, &running_offset);
TRACE("nametab at: 0x%x\n", running_offset);
tmp_fill_segdir_seg(&file.segdir.pNametab, &file.name_seg, &running_offset);
diff --git a/dlls/oleaut32/typelib.h b/dlls/oleaut32/typelib.h
index 7277b58..f21acd5 100644
--- a/dlls/oleaut32/typelib.h
+++ b/dlls/oleaut32/typelib.h
@@ -104,8 +104,8 @@ typedef struct tagMSFT_SegDir {
/* hash table w offsets to guid????? */
/*6*/MSFT_pSeg pGuidTab; /* all guids are stored here together with */
/* offset in some table???? */
-/*7*/MSFT_pSeg res07; /* always created, always same size (0x200) */
- /* purpose largely unknown */
+/*7*/MSFT_pSeg pNameHashTab; /* always created, always same size (0x200) */
+ /* hash table with offsets to names */
/*8*/MSFT_pSeg pNametab; /* name tables */
/*9*/MSFT_pSeg pStringtab; /* string table */
/*A*/MSFT_pSeg pTypdescTab; /* table with type descriptors */
diff --git a/tools/widl/typelib_struct.h b/tools/widl/typelib_struct.h
index 79b86b9..8a005d3 100644
--- a/tools/widl/typelib_struct.h
+++ b/tools/widl/typelib_struct.h
@@ -101,8 +101,8 @@ typedef struct tagMSFT_SegDir {
/* hash table w offsets to guid????? */
/*6*/MSFT_pSeg pGuidTab; /* all guids are stored here together with */
/* offset in some table???? */
-/*7*/MSFT_pSeg res07; /* always created, always same size (0x200) */
- /* purpose largely unknown */
+/*7*/MSFT_pSeg pNameHashTab; /* always created, always same size (0x200) */
+ /* hash table with offsets to names */
/*8*/MSFT_pSeg pNametab; /* name tables */
/*9*/MSFT_pSeg pStringtab; /* string table */
/*A*/MSFT_pSeg pTypdescTab; /* table with type descriptors */
More information about the wine-cvs
mailing list