actxprxy: Add proxies for docobj.idl.
authorAlexandre Julliard <julliard@winehq.org>
Fri, 11 Sep 2009 10:33:13 +0000 (12:33 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 11 Sep 2009 10:33:13 +0000 (12:33 +0200)
.gitignore
dlls/actxprxy/Makefile.in
dlls/actxprxy/actxprxy_docobj.idl [new file with mode: 0644]
dlls/actxprxy/usrmarshal.c

index 8234ac73c8b7e2b517a2cc546cf28a7091675717..b0018dada34d5592732a847b4e3ac2ee25aec25e 100644 (file)
@@ -25,6 +25,8 @@ dlls/actxprxy/actxprxy_activscp.h
 dlls/actxprxy/actxprxy_activscp_p.c
 dlls/actxprxy/actxprxy_comcat.h
 dlls/actxprxy/actxprxy_comcat_p.c
+dlls/actxprxy/actxprxy_docobj.h
+dlls/actxprxy/actxprxy_docobj_p.c
 dlls/actxprxy/actxprxy_servprov.h
 dlls/actxprxy/actxprxy_servprov_p.c
 dlls/advapi32/svcctl.h
index 4f2d7c351af73b4c937b9e01f743b146cae6019f..6aab94f0b6033cc0ed9a03a751ef5762cbb8a5ee 100644 (file)
@@ -14,6 +14,7 @@ C_SRCS = \
 IDL_P_SRCS = \
        actxprxy_activscp.idl \
        actxprxy_comcat.idl \
+       actxprxy_docobj.idl \
        actxprxy_servprov.idl
 
 @MAKE_DLL_RULES@
diff --git a/dlls/actxprxy/actxprxy_docobj.idl b/dlls/actxprxy/actxprxy_docobj.idl
new file mode 100644 (file)
index 0000000..711c385
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+ * Copyright 2009 Alexandre Julliard
+ *
+ * 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
+ */
+
+/* just a wrapper for docobj.idl */
+
+#include "docobj.idl"
index 4f888b75046ecb11c750116ceb92a753f7cd994a..f2aacf85a3012911263b2c48c85d3814148aa991 100644 (file)
@@ -33,6 +33,7 @@
 #include "objbase.h"
 #include "servprov.h"
 #include "comcat.h"
+#include "docobj.h"
 
 #include "wine/debug.h"
 
@@ -115,3 +116,55 @@ HRESULT __RPC_STUB ICatInformation_IsClassOfCategories_Stub(
     return ICatInformation_IsClassOfCategories( This, rclsid, cImplemented, rgcatidImpl,
                                                 cRequired, rgcatidReq );
 }
+
+HRESULT CALLBACK IPrint_Print_Proxy(
+    IPrint *This,
+    DWORD grfFlags,
+    DVTARGETDEVICE **pptd,
+    PAGESET **ppPageSet,
+    STGMEDIUM *pstgmOptions,
+    IContinueCallback *pcallback,
+    LONG nFirstPage,
+    LONG *pcPagesPrinted,
+    LONG *pnLastPage )
+{
+    TRACE("(%p)\n", This);
+    return IPrint_RemotePrint_Proxy( This, grfFlags, pptd, ppPageSet, (RemSTGMEDIUM *)pstgmOptions,
+                                     pcallback, nFirstPage, pcPagesPrinted, pnLastPage );
+}
+
+HRESULT __RPC_STUB IPrint_Print_Stub(
+    IPrint *This,
+    DWORD grfFlags,
+    DVTARGETDEVICE **pptd,
+    PAGESET **ppPageSet,
+    RemSTGMEDIUM *pstgmOptions,
+    IContinueCallback *pcallback,
+    LONG nFirstPage,
+    LONG *pcPagesPrinted,
+    LONG *pnLastPage )
+{
+    TRACE("(%p)\n", This);
+    return IPrint_Print( This, grfFlags, pptd, ppPageSet, (STGMEDIUM *)pstgmOptions,
+                         pcallback, nFirstPage, pcPagesPrinted, pnLastPage );
+}
+
+HRESULT CALLBACK IEnumOleDocumentViews_Next_Proxy(
+    IEnumOleDocumentViews *This,
+    ULONG cViews,
+    IOleDocumentView **rgpView,
+    ULONG *pcFetched )
+{
+    TRACE("(%p)\n", This);
+    return IEnumOleDocumentViews_RemoteNext_Proxy( This, cViews, rgpView, pcFetched );
+}
+
+HRESULT __RPC_STUB IEnumOleDocumentViews_Next_Stub(
+    IEnumOleDocumentViews *This,
+    ULONG cViews,
+    IOleDocumentView **rgpView,
+    ULONG *pcFetched )
+{
+    TRACE("(%p)\n", This);
+    return IEnumOleDocumentViews_Next( This, cViews, rgpView, pcFetched );
+}