Robert Shearman : oleaut: Document some more members of SLTG_TypeInfoTail.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Jul 6 06:08:42 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 283049b8fce7fe744a62f0106b8369a6149ae61e
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=283049b8fce7fe744a62f0106b8369a6149ae61e

Author: Robert Shearman <rob at codeweavers.com>
Date:   Mon Jul  3 13:53:44 2006 +0100

oleaut: Document some more members of SLTG_TypeInfoTail.

---

 dlls/oleaut32/typelib.c |    6 ------
 dlls/oleaut32/typelib.h |   30 +++++++++++++++---------------
 2 files changed, 15 insertions(+), 21 deletions(-)

diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index 71dec16..425435c 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -3379,12 +3379,6 @@ static ITypeLib2* ITypeLib2_Constructor_
 
 #define X(x) TRACE_(typelib)("tt "#x": %x\n",pTITail->res##x);
 	  X(06);
-	  X(08);
-	  X(0a);
-	  X(0c);
-	  X(0e);
-	  X(10);
-	  X(12);
 	  X(16);
 	  X(18);
 	  X(1a);
diff --git a/dlls/oleaut32/typelib.h b/dlls/oleaut32/typelib.h
index 2ab2ebc..7598630 100644
--- a/dlls/oleaut32/typelib.h
+++ b/dlls/oleaut32/typelib.h
@@ -428,28 +428,28 @@ typedef struct {
 /*00*/  WORD cFuncs;
 /*02*/  WORD cVars;
 /*04*/  WORD cImplTypes;
-/*06*/  WORD res06;
-/*08*/  WORD res08;
-/*0a*/  WORD res0a;
-/*0c*/  WORD res0c;
-/*0e*/  WORD res0e;
-/*10*/  WORD res10;
-/*12*/  WORD res12;
+/*06*/  WORD res06; /* always 0000 */
+/*08*/  WORD funcs_off; /* offset to functions (starting from the member header) */
+/*0a*/  WORD vars_off; /* offset to vars (starting from the member header) */
+/*0c*/  WORD impls_off; /* offset to implemented types (starting from the member header) */
+/*0e*/  WORD funcs_bytes; /* bytes used by function data */
+/*10*/  WORD vars_bytes; /* bytes used by var data */
+/*12*/  WORD impls_bytes; /* bytes used by implemented type data */
 /*14*/  WORD tdescalias_vt; /* for TKIND_ALIAS */
-/*16*/  WORD res16;
-/*18*/  WORD res18;
-/*1a*/  WORD res1a;
+/*16*/  WORD res16; /* always ffff */
+/*18*/  WORD res18; /* always 0000 */
+/*1a*/  WORD res1a; /* always 0000 */
 /*1c*/  WORD res1c;
-/*1e*/  WORD res1e;
+/*1e*/  WORD res1e; /* always 0000 */
 /*20*/  WORD cbSizeInstance;
 /*22*/  WORD cbAlignment;
 /*24*/  WORD res24;
 /*26*/  WORD res26;
 /*28*/  WORD cbSizeVft;
-/*2a*/  WORD res2a;
-/*2c*/  WORD res2c;
-/*2e*/  WORD res2e;
-/*30*/  WORD res30;
+/*2a*/  WORD res2a; /* always ffff */
+/*2c*/  WORD res2c; /* always ffff */
+/*2e*/  WORD res2e; /* always ffff */
+/*30*/  WORD res30; /* always ffff */
 /*32*/  WORD res32;
 /*34*/  WORD res34;
 } SLTG_TypeInfoTail;




More information about the wine-cvs mailing list