inkobj: Add InkCollector interface and coclass to the registration list

John Klehm xixsimplicityxix at gmail.com
Sat Aug 25 00:55:31 CDT 2007


Fills out the previously blank regsvr.c

-John Klehm
-------------- next part --------------
From 22afedbc2c29b7931a65883b37b80c93272c005d Mon Sep 17 00:00:00 2001
From: John Klehm <xixsimplicityxix at gmail.com>
Date: Fri, 24 Aug 2007 22:35:56 -0500
Subject: inkobj: Add InkCollector interface and coclass to the registration lists

---
 dlls/inkobj/regsvr.c |   26 +++++++++++++++++++++++++-
 1 files changed, 25 insertions(+), 1 deletions(-)

diff --git a/dlls/inkobj/regsvr.c b/dlls/inkobj/regsvr.c
index 9fe7382..5f5b8c6 100644
--- a/dlls/inkobj/regsvr.c
+++ b/dlls/inkobj/regsvr.c
@@ -26,13 +26,13 @@
 #include <winreg.h>
 #include <winuser.h>
 #include <objbase.h>
+#include <initguid.h>
 #include <ole2.h>
 
 #include <msinkaut.h>
 
 #include <wine/debug.h>
 
-#include <initguid.h>
 
 WINE_DEFAULT_DEBUG_CHANNEL(inkobj);
 
@@ -452,9 +452,25 @@ error_close_progid_key:
 }
 
 /***********************************************************************
+ *      internal uuids
+ */
+DEFINE_OLEGUID( CLSID_PSOAInterface, 0x00020424, 0x0000, 0x0000 );
+
+/***********************************************************************
  *		coclass list
  */
 static struct regsvr_coclass const coclass_list[] = {
+    {
+    &CLSID_InkCollector,     /* clsid */
+    "InkCollector Class",   /* name */
+    NULL,                   /* InprocHandler32 */
+    NULL,                   /* InprocServer */
+    "inkobj.dll",           /* InprocServer32 */
+    "Both",                 /* InprocServer32 ThreadingModel */
+    "msinkaut.InkCollector.1", /* ProgID */
+    "msinkaut.InkCollector",   /* VersionIndependentProgId */
+    NULL                    /* ProgID extra */
+    },
     { NULL }			/* list terminator */
 };
 
@@ -462,6 +478,14 @@ static struct regsvr_coclass const coclass_list[] = {
  *		interface list
  */
 static struct regsvr_interface const interface_list[] = {
+    {
+    &IID_IInkCollector,     /* iid */
+    "IInkCollector",        /* name */
+    NULL,                   /* base iid */
+    -1,                     /* num methods */
+    &CLSID_PSOAInterface,   /* ProxyStubClsid */
+    &CLSID_PSOAInterface    /* ProxyStubClsid32 */
+    },
     { NULL }			/* list terminator */
 };
 
-- 
1.5.1.6



More information about the wine-patches mailing list