inkobj: Add stubs for InkCollector _get_hWnd and _put_hWnd
John Klehm
xixsimplicityxix at gmail.com
Fri Aug 24 03:24:34 CDT 2007
More stubs to fill out ye old vtbl and stop EventSink.exe from crashing.
-John Klehm
-------------- next part --------------
From 6f5595c1a92ffc743d24ba3a1136dbd0de04f1f9 Mon Sep 17 00:00:00 2001
From: John Klehm <xixsimplicityxix at gmail.com>
Date: Fri, 24 Aug 2007 02:34:18 -0500
Subject: inkobj: Add stubs for InkCollector _get_hWnd and _put_hWnd
---
dlls/inkobj/inkcollector.c | 16 ++++++++++++++++
include/msinkaut.idl | 3 +++
2 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/dlls/inkobj/inkcollector.c b/dlls/inkobj/inkcollector.c
index a454935..f47c07d 100644
--- a/dlls/inkobj/inkcollector.c
+++ b/dlls/inkobj/inkcollector.c
@@ -101,6 +101,20 @@ static HRESULT WINAPI InkCollector_Invoke(
return S_OK;
}
+static HRESULT WINAPI InkCollector_get_hWnd(
+ IInkCollector* This, HWND* CurrentWindow)
+{
+ FIXME("stub!\n");
+ return S_OK;
+}
+
+static HRESULT WINAPI InkCollector_put_hWnd(
+ IInkCollector* This, HWND CurrentWindow)
+{
+ FIXME("stub!\n");
+ return S_OK;
+}
+
static const IInkCollectorVtbl InkCollectorVtbl =
{
InkCollector_QueryInterface,
@@ -110,6 +124,8 @@ static const IInkCollectorVtbl InkCollectorVtbl =
InkCollector_GetTypeInfo,
InkCollector_GetIDsOfNames,
InkCollector_Invoke,
+ InkCollector_get_hWnd,
+ InkCollector_put_hWnd
};
HRESULT InkCollector_Create(IUnknown* pUnkOuter, REFIID riid, void** ppvObject)
diff --git a/include/msinkaut.idl b/include/msinkaut.idl
index d2f53eb..323f2a6 100644
--- a/include/msinkaut.idl
+++ b/include/msinkaut.idl
@@ -35,6 +35,9 @@ library MSINKAUTLib
oleautomation
]
interface IInkCollector : IDispatch {
+ [id(0x00000002), propget] HRESULT hWnd(
+ [out, retval] HWND* CurrentWindow);
+ [id(0x00000002), propput] HRESULT hWnd([in] HWND CurrentWindow);
};
[
--
1.5.1.6
More information about the wine-patches
mailing list