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
9b471fbd
Commit
9b471fbd
authored
Apr 06, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Fix the free threaded marshaller data for 64-bit pointers.
parent
afac75ef
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
ftmarshal.c
dlls/ole32/ftmarshal.c
+9
-0
No files found.
dlls/ole32/ftmarshal.c
View file @
9b471fbd
...
...
@@ -204,8 +204,11 @@ FTMarshalImpl_MarshalInterface (LPMARSHAL iface, IStream * pStm, REFIID riid, vo
hres
=
IStream_Write
(
pStm
,
&
object
,
sizeof
(
object
),
NULL
);
if
(
hres
!=
S_OK
)
return
STG_E_MEDIUMFULL
;
if
(
sizeof
(
object
)
==
sizeof
(
DWORD
))
{
hres
=
IStream_Write
(
pStm
,
&
constant
,
sizeof
(
constant
),
NULL
);
if
(
hres
!=
S_OK
)
return
STG_E_MEDIUMFULL
;
}
hres
=
IStream_Write
(
pStm
,
&
unknown_guid
,
sizeof
(
unknown_guid
),
NULL
);
if
(
hres
!=
S_OK
)
return
STG_E_MEDIUMFULL
;
...
...
@@ -237,10 +240,13 @@ FTMarshalImpl_UnmarshalInterface (LPMARSHAL iface, IStream * pStm, REFIID riid,
hres
=
IStream_Read
(
pStm
,
&
object
,
sizeof
(
object
),
NULL
);
if
(
hres
!=
S_OK
)
return
STG_E_READFAULT
;
if
(
sizeof
(
object
)
==
sizeof
(
DWORD
))
{
hres
=
IStream_Read
(
pStm
,
&
constant
,
sizeof
(
constant
),
NULL
);
if
(
hres
!=
S_OK
)
return
STG_E_READFAULT
;
if
(
constant
!=
0
)
FIXME
(
"constant is 0x%x instead of 0
\n
"
,
constant
);
}
hres
=
IStream_Read
(
pStm
,
&
unknown_guid
,
sizeof
(
unknown_guid
),
NULL
);
if
(
hres
!=
S_OK
)
return
STG_E_READFAULT
;
...
...
@@ -267,10 +273,13 @@ static HRESULT WINAPI FTMarshalImpl_ReleaseMarshalData (LPMARSHAL iface, IStream
hres
=
IStream_Read
(
pStm
,
&
object
,
sizeof
(
object
),
NULL
);
if
(
hres
!=
S_OK
)
return
STG_E_READFAULT
;
if
(
sizeof
(
object
)
==
sizeof
(
DWORD
))
{
hres
=
IStream_Read
(
pStm
,
&
constant
,
sizeof
(
constant
),
NULL
);
if
(
hres
!=
S_OK
)
return
STG_E_READFAULT
;
if
(
constant
!=
0
)
FIXME
(
"constant is 0x%x instead of 0
\n
"
,
constant
);
}
hres
=
IStream_Read
(
pStm
,
&
unknown_guid
,
sizeof
(
unknown_guid
),
NULL
);
if
(
hres
!=
S_OK
)
return
STG_E_READFAULT
;
...
...
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