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
b02b9496
Commit
b02b9496
authored
Jan 08, 2008
by
Rob Shearman
Committed by
Alexandre Julliard
Jan 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Fix some uses of SEEK_SET when STREAM_SEEK_SET should have been used instead.
parent
5be085de
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
oleproxy.c
dlls/ole32/oleproxy.c
+1
-1
rpc.c
dlls/ole32/rpc.c
+2
-2
No files found.
dlls/ole32/oleproxy.c
View file @
b02b9496
...
...
@@ -206,7 +206,7 @@ getbuffer:
if
(
hres
)
return
hres
;
seekto
.
u
.
LowPart
=
0
;
seekto
.
u
.
HighPart
=
0
;
hres
=
IStream_Seek
(
pStm
,
seekto
,
SEEK_SET
,
&
newpos
);
hres
=
IStream_Seek
(
pStm
,
seekto
,
S
TREAM_S
EEK_SET
,
&
newpos
);
if
(
hres
)
{
FIXME
(
"IStream_Seek failed, %x
\n
"
,
hres
);
return
hres
;
...
...
dlls/ole32/rpc.c
View file @
b02b9496
...
...
@@ -1823,7 +1823,7 @@ HRESULT RPC_GetLocalClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
hres
=
IStream_Write
(
pStm
,
marshalbuffer
,
bufferlen
,
&
res
);
if
(
hres
)
goto
out
;
seekto
.
u
.
LowPart
=
0
;
seekto
.
u
.
HighPart
=
0
;
hres
=
IStream_Seek
(
pStm
,
seekto
,
SEEK_SET
,
&
newpos
);
hres
=
IStream_Seek
(
pStm
,
seekto
,
S
TREAM_S
EEK_SET
,
&
newpos
);
TRACE
(
"unmarshalling classfactory
\n
"
);
hres
=
CoUnmarshalInterface
(
pStm
,
&
IID_IClassFactory
,
ppv
);
...
...
@@ -1907,7 +1907,7 @@ static DWORD WINAPI local_server_thread(LPVOID param)
seekto
.
u
.
LowPart
=
0
;
seekto
.
u
.
HighPart
=
0
;
hres
=
IStream_Seek
(
pStm
,
seekto
,
SEEK_SET
,
&
newpos
);
hres
=
IStream_Seek
(
pStm
,
seekto
,
S
TREAM_S
EEK_SET
,
&
newpos
);
if
(
hres
)
{
FIXME
(
"IStream_Seek failed, %x
\n
"
,
hres
);
CloseHandle
(
hPipe
);
...
...
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