Commit 5abb393e authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

ole32: Add proxies and stubs for OpenStream and EnumElements.

parent aa13c7c5
...@@ -2437,8 +2437,10 @@ HRESULT CALLBACK IStorage_OpenStream_Proxy( ...@@ -2437,8 +2437,10 @@ HRESULT CALLBACK IStorage_OpenStream_Proxy(
DWORD reserved2, DWORD reserved2,
IStream **ppstm) IStream **ppstm)
{ {
FIXME(":stub\n"); TRACE("(%p)->(%s, %p, %08x, %d %p)\n", This, debugstr_w(pwcsName), reserved1, grfMode, reserved2, ppstm);
return E_NOTIMPL; if(reserved1) WARN("reserved1 %p\n", reserved1);
return IStorage_RemoteOpenStream_Proxy(This, pwcsName, 0, NULL, grfMode, reserved2, ppstm);
} }
HRESULT __RPC_STUB IStorage_OpenStream_Stub( HRESULT __RPC_STUB IStorage_OpenStream_Stub(
...@@ -2450,8 +2452,10 @@ HRESULT __RPC_STUB IStorage_OpenStream_Stub( ...@@ -2450,8 +2452,10 @@ HRESULT __RPC_STUB IStorage_OpenStream_Stub(
DWORD reserved2, DWORD reserved2,
IStream **ppstm) IStream **ppstm)
{ {
FIXME(":stub\n"); TRACE("(%p)->(%s, %d, %p, %08x, %d %p)\n", This, debugstr_w(pwcsName), cbReserved1, reserved1, grfMode, reserved2, ppstm);
return E_NOTIMPL; if(cbReserved1 || reserved1) WARN("cbReserved1 %d reserved1 %p\n", cbReserved1, reserved1);
return IStorage_OpenStream(This, pwcsName, NULL, grfMode, reserved2, ppstm);
} }
HRESULT CALLBACK IStorage_EnumElements_Proxy( HRESULT CALLBACK IStorage_EnumElements_Proxy(
...@@ -2461,8 +2465,10 @@ HRESULT CALLBACK IStorage_EnumElements_Proxy( ...@@ -2461,8 +2465,10 @@ HRESULT CALLBACK IStorage_EnumElements_Proxy(
DWORD reserved3, DWORD reserved3,
IEnumSTATSTG **ppenum) IEnumSTATSTG **ppenum)
{ {
FIXME(":stub\n"); TRACE("(%p)->(%d, %p, %d, %p)\n", This, reserved1, reserved2, reserved3, ppenum);
return E_NOTIMPL; if(reserved2) WARN("reserved2 %p\n", reserved2);
return IStorage_RemoteEnumElements_Proxy(This, reserved1, 0, NULL, reserved3, ppenum);
} }
HRESULT __RPC_STUB IStorage_EnumElements_Stub( HRESULT __RPC_STUB IStorage_EnumElements_Stub(
...@@ -2473,8 +2479,10 @@ HRESULT __RPC_STUB IStorage_EnumElements_Stub( ...@@ -2473,8 +2479,10 @@ HRESULT __RPC_STUB IStorage_EnumElements_Stub(
DWORD reserved3, DWORD reserved3,
IEnumSTATSTG **ppenum) IEnumSTATSTG **ppenum)
{ {
FIXME(":stub\n"); TRACE("(%p)->(%d, %d, %p, %d, %p)\n", This, reserved1, cbReserved2, reserved2, reserved3, ppenum);
return E_NOTIMPL; if(cbReserved2 || reserved2) WARN("cbReserved2 %d reserved2 %p\n", cbReserved2, reserved2);
return IStorage_EnumElements(This, reserved1, NULL, reserved3, ppenum);
} }
HRESULT CALLBACK ILockBytes_ReadAt_Proxy( HRESULT CALLBACK ILockBytes_ReadAt_Proxy(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment