inkobj: Partial implementation of InkCollector_GetTypeInfoCount

John Klehm xixsimplicityxix at gmail.com
Fri Aug 24 03:23:10 CDT 2007


There is a right way to just say no for GetTypeInfoCount and this is it.

-John Klehm
-------------- next part --------------
From c60a17d847c8dc58f8a480ac23318511121d7812 Mon Sep 17 00:00:00 2001
From: John Klehm <xixsimplicityxix at gmail.com>
Date: Fri, 24 Aug 2007 02:24:23 -0500
Subject: inkobj: Partial implementation of InkCollector_GetTypeInfoCount

---
 dlls/inkobj/inkcollector.c |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/dlls/inkobj/inkcollector.c b/dlls/inkobj/inkcollector.c
index 26d35c4..a454935 100644
--- a/dlls/inkobj/inkcollector.c
+++ b/dlls/inkobj/inkcollector.c
@@ -65,7 +65,15 @@ static ULONG WINAPI InkCollector_Release(
 static HRESULT WINAPI InkCollector_GetTypeInfoCount(
     IInkCollector* This, UINT* pctinfo)
 {
-    FIXME("stub!\n");
+    FIXME("partial stub!\n");
+
+    if (pctinfo)
+    {
+        /* 0 if you DONT provide an interface description
+         * 1 if you DO provide an interface description */
+        *pctinfo = 0; 
+    }
+
     return S_OK;
 }
 
-- 
1.5.1.6



More information about the wine-patches mailing list