Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
5b63cc22
Commit
5b63cc22
authored
May 06, 2002
by
Marcus Meissner
Committed by
Alexandre Julliard
May 06, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BSTRs can be NULL, handle them seperately.
parent
ca30e48f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
tmarshal.c
dlls/oleaut32/tmarshal.c
+10
-3
No files found.
dlls/oleaut32/tmarshal.c
View file @
5b63cc22
...
...
@@ -369,10 +369,17 @@ marshall_param(
case
VT_NULL
:
return
S_OK
;
case
VT_BSTR
:
{
/* DWORD size, string data */
DWORD
*
bstr
=
((
DWORD
*
)(
*
arg
))
-
1
;
if
(
relaydeb
)
MESSAGE
(
"%s"
,
debugstr_w
((
LPWSTR
)(
bstr
+
1
)));
return
xbuf_add
(
buf
,(
LPBYTE
)
bstr
,
bstr
[
0
]
+
4
);
if
(
*
arg
)
{
DWORD
*
bstr
=
((
DWORD
*
)(
*
arg
))
-
1
;
if
(
relaydeb
)
MESSAGE
(
"%s"
,
debugstr_w
((
LPWSTR
)(
bstr
+
1
)));
return
xbuf_add
(
buf
,(
LPBYTE
)
bstr
,
bstr
[
0
]
+
4
);
}
else
{
DWORD
xnull
=
0
;
return
xbuf_add
(
buf
,(
LPBYTE
)
&
xnull
,
sizeof
(
xnull
));
}
}
case
VT_BOOL
:
case
VT_I4
:
...
...
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