ole32 [5/7]: Add a WIDL-generated proxy file for oleidl.idl.
Dan Hipschman
dsh at linux.ucla.edu
Wed Nov 28 19:23:34 CST 2007
---
dlls/ole32/Makefile.in | 1 +
dlls/ole32/ole32_oleidl.idl | 20 +++++
dlls/ole32/oleproxy.c | 2 +
dlls/ole32/usrmarshal.c | 179 +++++++++++++++++++++++++++++++++++++++++++
4 files changed, 202 insertions(+), 0 deletions(-)
create mode 100644 dlls/ole32/ole32_oleidl.idl
diff --git a/dlls/ole32/Makefile.in b/dlls/ole32/Makefile.in
index c087538..6b5cc77 100644
--- a/dlls/ole32/Makefile.in
+++ b/dlls/ole32/Makefile.in
@@ -70,6 +70,7 @@ IDL_C_SRCS = \
IDL_P_SRCS = \
dcom.idl \
ole32_objidl.idl \
+ ole32_oleidl.idl \
ole32_unknwn.idl
@MAKE_DLL_RULES@
diff --git a/dlls/ole32/ole32_oleidl.idl b/dlls/ole32/ole32_oleidl.idl
new file mode 100644
index 0000000..b9315b3
--- /dev/null
+++ b/dlls/ole32/ole32_oleidl.idl
@@ -0,0 +1,20 @@
+/*
+ * Copyright 2007 Google (Dan Hipschman)
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+cpp_quote("#include <winuser.h>")
+#include "oleidl.idl"
diff --git a/dlls/ole32/oleproxy.c b/dlls/ole32/oleproxy.c
index 9c23ae0..a269820 100644
--- a/dlls/ole32/oleproxy.c
+++ b/dlls/ole32/oleproxy.c
@@ -48,11 +48,13 @@ CSTDSTUBBUFFERRELEASE(&PSFactoryBuffer)
extern const ExtendedProxyFileInfo dcom_ProxyFileInfo;
extern const ExtendedProxyFileInfo ole32_objidl_ProxyFileInfo;
+extern const ExtendedProxyFileInfo ole32_oleidl_ProxyFileInfo;
extern const ExtendedProxyFileInfo ole32_unknwn_ProxyFileInfo;
static const ProxyFileInfo *OLE32_ProxyFileList[] = {
&dcom_ProxyFileInfo,
&ole32_objidl_ProxyFileInfo,
+ &ole32_oleidl_ProxyFileInfo,
&ole32_unknwn_ProxyFileInfo,
NULL
};
diff --git a/dlls/ole32/usrmarshal.c b/dlls/ole32/usrmarshal.c
index ed6ec47..b8487c3 100644
--- a/dlls/ole32/usrmarshal.c
+++ b/dlls/ole32/usrmarshal.c
@@ -2577,3 +2577,182 @@ HRESULT __RPC_STUB IDataObject_SetData_Stub(
FIXME(":stub\n");
return E_NOTIMPL;
}
+
+/* call_as/local stubs for oleidl.idl */
+
+HRESULT CALLBACK IOleInPlaceActiveObject_TranslateAccelerator_Proxy(
+ IOleInPlaceActiveObject* This,
+ LPMSG lpmsg)
+{
+ FIXME(":stub\n");
+ return E_NOTIMPL;
+}
+
+HRESULT __RPC_STUB IOleInPlaceActiveObject_TranslateAccelerator_Stub(
+ IOleInPlaceActiveObject* This)
+{
+ FIXME(":stub\n");
+ return E_NOTIMPL;
+}
+
+HRESULT CALLBACK IOleInPlaceActiveObject_ResizeBorder_Proxy(
+ IOleInPlaceActiveObject* This,
+ LPCRECT prcBorder,
+ IOleInPlaceUIWindow *pUIWindow,
+ BOOL fFrameWindow)
+{
+ FIXME(":stub\n");
+ return E_NOTIMPL;
+}
+
+HRESULT __RPC_STUB IOleInPlaceActiveObject_ResizeBorder_Stub(
+ IOleInPlaceActiveObject* This,
+ LPCRECT prcBorder,
+ REFIID riid,
+ IOleInPlaceUIWindow *pUIWindow,
+ BOOL fFrameWindow)
+{
+ FIXME(":stub\n");
+ return E_NOTIMPL;
+}
+
+HRESULT CALLBACK IOleCache2_UpdateCache_Proxy(
+ IOleCache2* This,
+ LPDATAOBJECT pDataObject,
+ DWORD grfUpdf,
+ LPVOID pReserved)
+{
+ FIXME(":stub\n");
+ return E_NOTIMPL;
+}
+
+HRESULT __RPC_STUB IOleCache2_UpdateCache_Stub(
+ IOleCache2* This,
+ LPDATAOBJECT pDataObject,
+ DWORD grfUpdf,
+ LONG_PTR pReserved)
+{
+ FIXME(":stub\n");
+ return E_NOTIMPL;
+}
+
+HRESULT CALLBACK IEnumOLEVERB_Next_Proxy(
+ IEnumOLEVERB* This,
+ ULONG celt,
+ LPOLEVERB rgelt,
+ ULONG *pceltFetched)
+{
+ FIXME(":stub\n");
+ return E_NOTIMPL;
+}
+
+HRESULT __RPC_STUB IEnumOLEVERB_Next_Stub(
+ IEnumOLEVERB* This,
+ ULONG celt,
+ LPOLEVERB rgelt,
+ ULONG *pceltFetched)
+{
+ FIXME(":stub\n");
+ return E_NOTIMPL;
+}
+
+HRESULT CALLBACK IViewObject_Draw_Proxy(
+ IViewObject* This,
+ DWORD dwDrawAspect,
+ LONG lindex,
+ void *pvAspect,
+ DVTARGETDEVICE *ptd,
+ HDC hdcTargetDev,
+ HDC hdcDraw,
+ LPCRECTL lprcBounds,
+ LPCRECTL lprcWBounds,
+ BOOL (STDMETHODCALLTYPE *pfnContinue)(ULONG_PTR dwContinue),
+ ULONG_PTR dwContinue)
+{
+ FIXME(":stub\n");
+ return E_NOTIMPL;
+}
+
+HRESULT __RPC_STUB IViewObject_Draw_Stub(
+ IViewObject* This,
+ DWORD dwDrawAspect,
+ LONG lindex,
+ ULONG_PTR pvAspect,
+ DVTARGETDEVICE *ptd,
+ ULONG_PTR hdcTargetDev,
+ ULONG_PTR hdcDraw,
+ LPCRECTL lprcBounds,
+ LPCRECTL lprcWBounds,
+ IContinue *pContinue)
+{
+ FIXME(":stub\n");
+ return E_NOTIMPL;
+}
+
+HRESULT CALLBACK IViewObject_GetColorSet_Proxy(
+ IViewObject* This,
+ DWORD dwDrawAspect,
+ LONG lindex,
+ void *pvAspect,
+ DVTARGETDEVICE *ptd,
+ HDC hicTargetDev,
+ LOGPALETTE **ppColorSet)
+{
+ FIXME(":stub\n");
+ return E_NOTIMPL;
+}
+
+HRESULT __RPC_STUB IViewObject_GetColorSet_Stub(
+ IViewObject* This,
+ DWORD dwDrawAspect,
+ LONG lindex,
+ ULONG_PTR pvAspect,
+ DVTARGETDEVICE *ptd,
+ ULONG_PTR hicTargetDev,
+ LOGPALETTE **ppColorSet)
+{
+ FIXME(":stub\n");
+ return E_NOTIMPL;
+}
+
+HRESULT CALLBACK IViewObject_Freeze_Proxy(
+ IViewObject* This,
+ DWORD dwDrawAspect,
+ LONG lindex,
+ void *pvAspect,
+ DWORD *pdwFreeze)
+{
+ FIXME(":stub\n");
+ return E_NOTIMPL;
+}
+
+HRESULT __RPC_STUB IViewObject_Freeze_Stub(
+ IViewObject* This,
+ DWORD dwDrawAspect,
+ LONG lindex,
+ ULONG_PTR pvAspect,
+ DWORD *pdwFreeze)
+{
+ FIXME(":stub\n");
+ return E_NOTIMPL;
+}
+
+HRESULT CALLBACK IViewObject_GetAdvise_Proxy(
+ IViewObject* This,
+ DWORD *pAspects,
+ DWORD *pAdvf,
+ IAdviseSink **ppAdvSink)
+{
+ FIXME(":stub\n");
+ return E_NOTIMPL;
+}
+
+HRESULT __RPC_STUB IViewObject_GetAdvise_Stub(
+ IViewObject* This,
+ DWORD *pAspects,
+ DWORD *pAdvf,
+ IAdviseSink **ppAdvSink)
+{
+ FIXME(":stub\n");
+ return E_NOTIMPL;
+}
More information about the wine-patches
mailing list