Commit 5af6012f authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

widl: Write out code for initialising out-only client context handles.

parent 69940712
......@@ -2724,6 +2724,8 @@ static void write_remoting_arg(FILE *file, int indent, const func_t *func,
{
if (pass == PASS_OUT)
{
if (!in_attr)
print_file(file, indent, "*%s = 0;\n", var->name);
print_file(file, indent, "NdrClientContextUnmarshall(\n");
print_file(file, indent + 1, "&_StubMsg,\n");
print_file(file, indent + 1, "(NDR_CCONTEXT *)%s,\n", var->name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment