ole32: Add proxies and stubs for ReadAt and WriteAt.
This commit is contained in:
parent
5abb393eb7
commit
069d57502d
|
@ -2492,8 +2492,15 @@ HRESULT CALLBACK ILockBytes_ReadAt_Proxy(
|
||||||
ULONG cb,
|
ULONG cb,
|
||||||
ULONG *pcbRead)
|
ULONG *pcbRead)
|
||||||
{
|
{
|
||||||
FIXME(":stub\n");
|
ULONG read;
|
||||||
return E_NOTIMPL;
|
HRESULT hr;
|
||||||
|
|
||||||
|
TRACE("(%p)->(%s, %p, %d, %p)\n", This, wine_dbgstr_longlong(ulOffset.QuadPart), pv, cb, pcbRead);
|
||||||
|
|
||||||
|
hr = ILockBytes_RemoteReadAt_Proxy(This, ulOffset, pv, cb, &read);
|
||||||
|
if(pcbRead) *pcbRead = read;
|
||||||
|
|
||||||
|
return hr;
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT __RPC_STUB ILockBytes_ReadAt_Stub(
|
HRESULT __RPC_STUB ILockBytes_ReadAt_Stub(
|
||||||
|
@ -2503,8 +2510,8 @@ HRESULT __RPC_STUB ILockBytes_ReadAt_Stub(
|
||||||
ULONG cb,
|
ULONG cb,
|
||||||
ULONG *pcbRead)
|
ULONG *pcbRead)
|
||||||
{
|
{
|
||||||
FIXME(":stub\n");
|
TRACE("(%p)->(%s, %p, %d, %p)\n", This, wine_dbgstr_longlong(ulOffset.QuadPart), pv, cb, pcbRead);
|
||||||
return E_NOTIMPL;
|
return ILockBytes_ReadAt(This, ulOffset, pv, cb, pcbRead);
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT CALLBACK ILockBytes_WriteAt_Proxy(
|
HRESULT CALLBACK ILockBytes_WriteAt_Proxy(
|
||||||
|
@ -2514,8 +2521,15 @@ HRESULT CALLBACK ILockBytes_WriteAt_Proxy(
|
||||||
ULONG cb,
|
ULONG cb,
|
||||||
ULONG *pcbWritten)
|
ULONG *pcbWritten)
|
||||||
{
|
{
|
||||||
FIXME(":stub\n");
|
ULONG written;
|
||||||
return E_NOTIMPL;
|
HRESULT hr;
|
||||||
|
|
||||||
|
TRACE("(%p)->(%s, %p, %d, %p)\n", This, wine_dbgstr_longlong(ulOffset.QuadPart), pv, cb, pcbWritten);
|
||||||
|
|
||||||
|
hr = ILockBytes_RemoteWriteAt_Proxy(This, ulOffset, pv, cb, &written);
|
||||||
|
if(pcbWritten) *pcbWritten = written;
|
||||||
|
|
||||||
|
return hr;
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT __RPC_STUB ILockBytes_WriteAt_Stub(
|
HRESULT __RPC_STUB ILockBytes_WriteAt_Stub(
|
||||||
|
@ -2525,8 +2539,8 @@ HRESULT __RPC_STUB ILockBytes_WriteAt_Stub(
|
||||||
ULONG cb,
|
ULONG cb,
|
||||||
ULONG *pcbWritten)
|
ULONG *pcbWritten)
|
||||||
{
|
{
|
||||||
FIXME(":stub\n");
|
TRACE("(%p)->(%s, %p, %d, %p)\n", This, wine_dbgstr_longlong(ulOffset.QuadPart), pv, cb, pcbWritten);
|
||||||
return E_NOTIMPL;
|
return ILockBytes_WriteAt(This, ulOffset, pv, cb, pcbWritten);
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT CALLBACK IFillLockBytes_FillAppend_Proxy(
|
HRESULT CALLBACK IFillLockBytes_FillAppend_Proxy(
|
||||||
|
|
Loading…
Reference in New Issue