[6/11] ole32 : basic inprocess handler implentation
Rob Shearman
robertshearman at gmail.com
Sun Aug 10 12:57:12 CDT 2008
2008/8/7 <f.dorin at free.fr>:
> diff --git a/dlls/ole32/proxystub_obj.c b/dlls/ole32/proxystub_obj.c
> new file mode 100644
> index 0000000..c229ad2
> --- /dev/null
> +++ b/dlls/ole32/proxystub_obj.c
> ...
> +HRESULT __RPC_STUB IStorage_OpenStream_Stub(
> + IStorage* This,
> + LPCOLESTR pwcsName,
> + unsigned long cbReserved1,
> + byte *reserved1,
> + DWORD grfMode,
> + DWORD reserved2,
> + IStream **ppstm)
> +{
> + TRACE("(%p)->(%s, %d, %p, %x, %x, %p)\n", This, debugstr_w(pwcsName), (int)cbReserved1, reserved1, grfMode, reserved2, ppstm);
> + return IStorage_OpenStream(This, pwcsName, reserved1, grfMode, reserved2, ppstm);
> +}
These should go into usrmarshal.c. However, Dan Hipschman as already
done some work in this area so you might want to search for his
patches on generating proxy/stub code for oleidl.idl and objidl.idl so
that you don't do any more work than you have to.
--
Rob Shearman
More information about the wine-devel
mailing list