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
d2e2e851
Commit
d2e2e851
authored
Jul 19, 2005
by
Robert Shearman
Committed by
Alexandre Julliard
Jul 19, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Marshal and unmarshal TKIND_ENUM and TKIND_ALIAS.
parent
97be0be7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
tmarshal.c
dlls/oleaut32/tmarshal.c
+17
-0
No files found.
dlls/oleaut32/tmarshal.c
View file @
d2e2e851
...
...
@@ -705,6 +705,14 @@ serialize_param(
if
(
debugout
)
TRACE_
(
olerelay
)(
"}"
);
break
;
}
case
TKIND_ALIAS
:
return
serialize_param
(
tinfo2
,
writeit
,
debugout
,
dealloc
,
&
tattr
->
tdescAlias
,
arg
,
buf
);
case
TKIND_ENUM
:
hres
=
S_OK
;
if
(
debugout
)
TRACE_
(
olerelay
)(
"%lx"
,
*
arg
);
if
(
writeit
)
hres
=
xbuf_add
(
buf
,(
LPBYTE
)
arg
,
sizeof
(
DWORD
));
return
hres
;
default:
FIXME
(
"Unhandled typekind %d
\n
"
,
tattr
->
typekind
);
hres
=
E_FAIL
;
...
...
@@ -1276,6 +1284,15 @@ deserialize_param(
if
(
debugout
)
TRACE_
(
olerelay
)(
"}"
);
break
;
}
case
TKIND_ALIAS
:
return
deserialize_param
(
tinfo2
,
readit
,
debugout
,
alloc
,
&
tattr
->
tdescAlias
,
arg
,
buf
);
case
TKIND_ENUM
:
if
(
readit
)
{
hres
=
xbuf_get
(
buf
,(
LPBYTE
)
arg
,
sizeof
(
DWORD
));
if
(
hres
)
ERR
(
"Failed to read enum (4 byte)
\n
"
);
}
if
(
debugout
)
TRACE_
(
olerelay
)(
"%lx"
,
*
arg
);
return
hres
;
default:
ERR
(
"Unhandled typekind %d
\n
"
,
tattr
->
typekind
);
hres
=
E_FAIL
;
...
...
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