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
6e7dcde2
Commit
6e7dcde2
authored
Dec 25, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Dec 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Add support for generating code for out-only context handles by calling…
widl: Add support for generating code for out-only context handles by calling NdrContextHandleInitialize.
parent
e24f664b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
typegen.c
tools/widl/typegen.c
+8
-1
No files found.
tools/widl/typegen.c
View file @
6e7dcde2
...
...
@@ -3160,7 +3160,14 @@ void assign_stub_out_args( FILE *file, int indent, const func_t *func )
print_file
(
file
,
indent
,
""
);
write_name
(
file
,
var
);
if
(
var
->
type
->
size_is
)
if
(
is_context_handle
(
var
->
type
))
{
fprintf
(
file
,
" = NdrContextHandleInitialize(
\n
"
);
print_file
(
file
,
indent
+
1
,
"&_StubMsg,
\n
"
);
print_file
(
file
,
indent
+
1
,
"(PFORMAT_STRING)&__MIDL_TypeFormatString.Format[%d]);
\n
"
,
var
->
type
->
typestring_offset
);
}
else
if
(
var
->
type
->
size_is
)
{
unsigned
int
size
,
align
=
0
;
type_t
*
type
=
var
->
type
;
...
...
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