quartz: Only allocate 1 buffer in transform filter.
[wine/wine64.git] / dlls / actxprxy / usrmarshal.c
blob9d5318fcec572d05872f71f68e08fab66ea0ed17
1 /*
2 * Miscellaneous Marshaling Routines
4 * Copyright 2006 Robert Shearman (for CodeWeavers)
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include <stdarg.h>
22 #include <string.h>
24 #define COBJMACROS
25 #define NONAMELESSUNION
26 #define NONAMELESSSTRUCT
28 #include "windef.h"
29 #include "winbase.h"
30 #include "wingdi.h"
31 #include "winuser.h"
32 #include "winerror.h"
33 #include "objbase.h"
34 #include "servprov.h"
36 #include "wine/debug.h"
38 WINE_DEFAULT_DEBUG_CHANNEL(actxprxy);
40 HRESULT CALLBACK IServiceProvider_QueryService_Proxy(
41 IServiceProvider* This,
42 REFGUID guidService,
43 REFIID riid,
44 void** ppvObject)
46 TRACE("(%p, %s, %s, %p)\n", This, debugstr_guid(guidService),
47 debugstr_guid(riid), ppvObject);
49 return IServiceProvider_RemoteQueryService_Proxy(This, guidService, riid,
50 (IUnknown **)ppvObject);
53 HRESULT __RPC_STUB IServiceProvider_QueryService_Stub(
54 IServiceProvider* This,
55 REFGUID guidService,
56 REFIID riid,
57 IUnknown** ppvObject)
59 TRACE("(%p, %s, %s, %p)\n", This, debugstr_guid(guidService),
60 debugstr_guid(riid), ppvObject);
62 return IServiceProvider_QueryService(This, guidService, riid,
63 (void **)ppvObject);