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
e95d5a8e
Commit
e95d5a8e
authored
Jun 03, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Add support for generating new-style interpreted stubs for clients.
parent
b724138b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
client.c
tools/widl/client.c
+5
-3
No files found.
tools/widl/client.c
View file @
e95d5a8e
...
...
@@ -107,8 +107,10 @@ static void write_function_stub( const type_t *iface, const var_t *func,
fprintf
(
client
,
"{
\n
"
);
indent
++
;
if
(
has_ret
)
print_client
(
"%s"
,
"CLIENT_CALL_RETURN _RetVal;
\n\n
"
);
print_client
(
"%sNdrClientCall( &%s_StubDesc, &__MIDL_ProcFormatString.Format[%u], "
,
has_ret
?
"_RetVal = "
:
""
,
iface
->
name
,
proc_offset
);
print_client
(
"%s%s( &%s_StubDesc, &__MIDL_ProcFormatString.Format[%u], "
,
has_ret
?
"_RetVal = "
:
""
,
stub_mode
==
MODE_Oif
?
"NdrClientCall2"
:
"NdrClientCall"
,
iface
->
name
,
proc_offset
);
if
(
args
)
fprintf
(
client
,
"(unsigned char *)&%s );
\n
"
,
LIST_ENTRY
(
list_head
(
args
),
const
var_t
,
entry
)
->
name
);
...
...
@@ -383,7 +385,7 @@ static void write_stubdescriptor(type_t *iface, int expr_eval_routines)
print_client
(
"0,
\n
"
);
print_client
(
"__MIDL_TypeFormatString.Format,
\n
"
);
print_client
(
"1, /* -error bounds_check flag */
\n
"
);
print_client
(
"0x
10001, /* Ndr library version */
\n
"
);
print_client
(
"0x
%x, /* Ndr library version */
\n
"
,
stub_mode
==
MODE_Oif
?
0x50002
:
0x10001
);
print_client
(
"0,
\n
"
);
print_client
(
"0x50100a4, /* MIDL Version 5.1.164 */
\n
"
);
print_client
(
"0,
\n
"
);
...
...
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