[PATCH 2/2] include: Add Proxy stubs for IUnknown

Huw Davies huw at codeweavers.com
Mon Jul 10 04:02:12 CDT 2017


On Mon, Jul 10, 2017 at 04:43:49AM +0000, Alistair Leslie-Hughes wrote:
> Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
> ---
>  include/unknwn.idl | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/include/unknwn.idl b/include/unknwn.idl
> index 78a2d9d..7856a7f 100644
> --- a/include/unknwn.idl
> +++ b/include/unknwn.idl
> @@ -46,6 +46,16 @@ interface IUnknown
>    ULONG Release();
>  }
>  
> +cpp_quote("HRESULT STDMETHODCALLTYPE IUnknown_QueryInterface_Proxy(IUnknown* This, REFIID riid, void **ppvObject);")
> +cpp_quote("void __RPC_STUB IUnknown_QueryInterface_Stub(IRpcStubBuffer* This, IRpcChannelBuffer* pRpcChannelBuffer,")
> +cpp_quote("     PRPC_MESSAGE pRpcMessage, DWORD* pdwStubPhase);")
> +cpp_quote("ULONG STDMETHODCALLTYPE IUnknown_AddRef_Proxy(IUnknown* This);")
> +cpp_quote("void __RPC_STUB IUnknown_AddRef_Stub(IRpcStubBuffer* This, IRpcChannelBuffer* pRpcChannelBuffer,")
> +cpp_quote("     PRPC_MESSAGE pRpcMessage, DWORD* pdwStubPhase);")
> +cpp_quote("ULONG STDMETHODCALLTYPE IUnknown_Release_Proxy(IUnknown* This);")
> +cpp_quote("void __RPC_STUB IUnknown_Release_Stub(IRpcStubBuffer* This, IRpcChannelBuffer* pRpcChannelBuffer,")
> +cpp_quote("     PRPC_MESSAGE pRpcMessage, DWORD* pdwStubPhase);")

What do you need these for?

Huw.



More information about the wine-devel mailing list