Piotr Caban : oleaut32: Name guids hash table segment in MSFT_SegDir struct .

Alexandre Julliard julliard at winehq.org
Wed Jul 31 15:31:34 CDT 2013


Module: wine
Branch: master
Commit: e35a05b9a4d2fb385841216ab39b55f32a71dc30
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e35a05b9a4d2fb385841216ab39b55f32a71dc30

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Wed Jul 31 18:10:46 2013 +0200

oleaut32: Name guids hash table segment in MSFT_SegDir struct.

---

 dlls/oleaut32/typelib.c     |    2 +-
 dlls/oleaut32/typelib.h     |    4 ++--
 tools/widl/typelib_struct.h |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index 4c2e98f..39d692a 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -9781,7 +9781,7 @@ static HRESULT WINAPI ICreateTypeLib2_fnSaveAllChanges(ICreateTypeLib2 *iface)
     tmp_fill_segdir_seg(&file.segdir.pTypeInfoTab, &file.typeinfo_seg, &running_offset);
 
     TRACE("guidhashtab at: 0x%x\n", running_offset);
-    tmp_fill_segdir_seg(&file.segdir.pLibtab, &file.guidhash_seg, &running_offset);
+    tmp_fill_segdir_seg(&file.segdir.pGuidHashTab, &file.guidhash_seg, &running_offset);
 
     TRACE("guidtab at: 0x%x\n", running_offset);
     tmp_fill_segdir_seg(&file.segdir.pGuidTab, &file.guid_seg, &running_offset);
diff --git a/dlls/oleaut32/typelib.h b/dlls/oleaut32/typelib.h
index f21acd5..8f274ba 100644
--- a/dlls/oleaut32/typelib.h
+++ b/dlls/oleaut32/typelib.h
@@ -100,8 +100,8 @@ typedef struct tagMSFT_SegDir {
 /*2*/MSFT_pSeg pImpInfo;     /* table with info for imported types */
 /*3*/MSFT_pSeg pImpFiles;    /* import libraries */
 /*4*/MSFT_pSeg pRefTab;      /* References table */
-/*5*/MSFT_pSeg pLibtab;      /* always exists, always same size (0x80) */
-                             /* hash table w offsets to guid????? */
+/*5*/MSFT_pSeg pGuidHashTab; /* always exists, always same size (0x80) */
+                             /* hash table with offsets to guid */
 /*6*/MSFT_pSeg pGuidTab;     /* all guids are stored here together with  */
                              /* offset in some table???? */
 /*7*/MSFT_pSeg pNameHashTab; /* always created, always same size (0x200) */
diff --git a/tools/widl/typelib_struct.h b/tools/widl/typelib_struct.h
index 8a005d3..42faac8 100644
--- a/tools/widl/typelib_struct.h
+++ b/tools/widl/typelib_struct.h
@@ -97,8 +97,8 @@ typedef struct tagMSFT_SegDir {
 /*2*/MSFT_pSeg pImpInfo;     /* table with info for imported types */
 /*3*/MSFT_pSeg pImpFiles;    /* import libraries */
 /*4*/MSFT_pSeg pRefTab;      /* References table */
-/*5*/MSFT_pSeg pLibtab;      /* always exists, always same size (0x80) */
-                             /* hash table w offsets to guid????? */
+/*5*/MSFT_pSeg pGuidHashTab; /* always exists, always same size (0x80) */
+                             /* hash table with offsets to guid */
 /*6*/MSFT_pSeg pGuidTab;     /* all guids are stored here together with  */
                              /* offset in some table???? */
 /*7*/MSFT_pSeg pNameHashTab; /* always created, always same size (0x200) */




More information about the wine-cvs mailing list