inkobj: Add stubs for InkCollector _get_hWnd and _put_hWnd
John Klehm
xixsimplicityxix at gmail.com
Sat Aug 25 01:07:04 CDT 2007
Same as before.
-John Klehm
-------------- next part --------------
From c5fd973b4f644d65796edd9d227cc52229f9e477 Mon Sep 17 00:00:00 2001
From: John Klehm <xixsimplicityxix at gmail.com>
Date: Sat, 25 Aug 2007 00:35:36 -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 25a9170..e1458e2 100644
--- a/dlls/inkobj/inkcollector.c
+++ b/dlls/inkobj/inkcollector.c
@@ -111,6 +111,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,
@@ -120,6 +134,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 7612e9b..c1596bb 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