>From d31a56a7432d669d26d66759a3ca31e213061bf4 Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <nsivov@codeweavers.com>
Date: Wed, 2 Nov 2011 23:13:24 +0300
Subject: [PATCH 4/4] 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,
-- 
1.5.6.5

