2008/8/7 f.dorin@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.
On Sun, Aug 10, 2008 at 06:57:12PM +0100, Rob Shearman wrote:
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.
Check wine-patches/devel for Oct/Nov, 2007. I never got the exception handling stuff past Alexandre, but he recently committed his own version for try/except. I don't remember if we need try/finally as well, which was always the harder part, but it's certainly possibly widl could handle generating some more proxy code for Wine DLLs now.
Thanks for the patches, Dan