Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
069d5750
Commit
069d5750
authored
May 15, 2009
by
Huw Davies
Committed by
Alexandre Julliard
May 18, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Add proxies and stubs for ReadAt and WriteAt.
parent
5abb393e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
8 deletions
+22
-8
usrmarshal.c
dlls/ole32/usrmarshal.c
+22
-8
No files found.
dlls/ole32/usrmarshal.c
View file @
069d5750
...
...
@@ -2492,8 +2492,15 @@ HRESULT CALLBACK ILockBytes_ReadAt_Proxy(
ULONG
cb
,
ULONG
*
pcbRead
)
{
FIXME
(
":stub
\n
"
);
return
E_NOTIMPL
;
ULONG
read
;
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
(
...
...
@@ -2503,8 +2510,8 @@ HRESULT __RPC_STUB ILockBytes_ReadAt_Stub(
ULONG
cb
,
ULONG
*
pcbRead
)
{
FIXME
(
":stub
\n
"
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%s, %p, %d, %p)
\n
"
,
This
,
wine_dbgstr_longlong
(
ulOffset
.
QuadPart
),
pv
,
cb
,
pcbRead
);
return
ILockBytes_ReadAt
(
This
,
ulOffset
,
pv
,
cb
,
pcbRead
)
;
}
HRESULT
CALLBACK
ILockBytes_WriteAt_Proxy
(
...
...
@@ -2514,8 +2521,15 @@ HRESULT CALLBACK ILockBytes_WriteAt_Proxy(
ULONG
cb
,
ULONG
*
pcbWritten
)
{
FIXME
(
":stub
\n
"
);
return
E_NOTIMPL
;
ULONG
written
;
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
(
...
...
@@ -2525,8 +2539,8 @@ HRESULT __RPC_STUB ILockBytes_WriteAt_Stub(
ULONG
cb
,
ULONG
*
pcbWritten
)
{
FIXME
(
":stub
\n
"
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%s, %p, %d, %p)
\n
"
,
This
,
wine_dbgstr_longlong
(
ulOffset
.
QuadPart
),
pv
,
cb
,
pcbWritten
);
return
ILockBytes_WriteAt
(
This
,
ulOffset
,
pv
,
cb
,
pcbWritten
)
;
}
HRESULT
CALLBACK
IFillLockBytes_FillAppend_Proxy
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment