Nikolay Sivov : msxml3: Add type id placeholder for index 0 to make lookup code actually work.

Alexandre Julliard julliard at winehq.org
Thu Nov 3 13:10:14 CDT 2011


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Wed Nov  2 23:13:24 2011 +0300

msxml3: Add type id placeholder for index 0 to make lookup code actually work.

---

 dlls/msxml3/dispex.c        |    1 +
 dlls/msxml3/msxml_private.h |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/msxml3/dispex.c b/dlls/msxml3/dispex.c
index 436c277..67ce77c 100644
--- a/dlls/msxml3/dispex.c
+++ b/dlls/msxml3/dispex.c
@@ -78,6 +78,7 @@ static ITypeLib *typelib;
 static ITypeInfo *typeinfos[LAST_tid];
 
 static REFIID tid_ids[] = {
+    &IID_NULL,
     &IID_IXMLDOMAttribute,
     &IID_IXMLDOMCDATASection,
     &IID_IXMLDOMComment,
diff --git a/dlls/msxml3/msxml_private.h b/dlls/msxml3/msxml_private.h
index 8b84aca..698655e 100644
--- a/dlls/msxml3/msxml_private.h
+++ b/dlls/msxml3/msxml_private.h
@@ -38,6 +38,7 @@ typedef enum {
 
 /* typelibs */
 typedef enum tid_t {
+    NULL_tid,
     IXMLDOMAttribute_tid,
     IXMLDOMCDATASection_tid,
     IXMLDOMComment_tid,




More information about the wine-cvs mailing list