inkobj: Add stubs for InkCollector _get_Enabled and _put_Enabled

John Klehm xixsimplicityxix at gmail.com
Sat Aug 25 01:07:48 CDT 2007


Same as before.

-John Klehm
-------------- next part --------------
From b0bdeeea04233014fbca8d7b8a71e31dffc995ac Mon Sep 17 00:00:00 2001
From: John Klehm <xixsimplicityxix at gmail.com>
Date: Sat, 25 Aug 2007 00:40:33 -0500
Subject: inkobj: Add stubs for InkCollector _get_Enabled and _put_Enabled

---
 dlls/inkobj/inkcollector.c |   18 +++++++++++++++++-
 include/msinkaut.idl       |    4 ++++
 2 files changed, 21 insertions(+), 1 deletions(-)

diff --git a/dlls/inkobj/inkcollector.c b/dlls/inkobj/inkcollector.c
index e1458e2..6de4e54 100644
--- a/dlls/inkobj/inkcollector.c
+++ b/dlls/inkobj/inkcollector.c
@@ -125,6 +125,20 @@ static HRESULT WINAPI InkCollector_put_hWnd(
     return S_OK;
 }
 
+static HRESULT WINAPI InkCollector_get_Enabled(
+    IInkCollector* This, VARIANT_BOOL* Collecting)
+{
+    FIXME("stub!\n");
+    return S_OK;
+}
+
+static HRESULT WINAPI InkCollector_put_Enabled(
+    IInkCollector* This, VARIANT_BOOL Collecting)
+{
+    FIXME("stub!\n");
+    return S_OK;
+}
+
 static const IInkCollectorVtbl InkCollectorVtbl =
 {
     InkCollector_QueryInterface,
@@ -135,7 +149,9 @@ static const IInkCollectorVtbl InkCollectorVtbl =
     InkCollector_GetIDsOfNames,
     InkCollector_Invoke,
     InkCollector_get_hWnd,
-    InkCollector_put_hWnd
+    InkCollector_put_hWnd,
+    InkCollector_get_Enabled,
+    InkCollector_put_Enabled
 };
 
 HRESULT InkCollector_Create(IUnknown* pUnkOuter, REFIID riid, void** ppvObject)
diff --git a/include/msinkaut.idl b/include/msinkaut.idl
index c1596bb..79f1b6f 100644
--- a/include/msinkaut.idl
+++ b/include/msinkaut.idl
@@ -38,6 +38,10 @@ library MSINKAUTLib
         [id(0x00000002), propget]    HRESULT hWnd(
             [out, retval] HWND* CurrentWindow);
         [id(0x00000002), propput]    HRESULT hWnd([in] HWND CurrentWindow);
+        [id(0x00000001), propget]    HRESULT Enabled(
+            [out, retval] VARIANT_BOOL* Collecting);
+        [id(0x00000001), propput]    HRESULT Enabled(
+            [in] VARIANT_BOOL Collecting); 
     };
 
     [
-- 
1.5.1.6



More information about the wine-patches mailing list