widl: Write out code for initialising out-only client context handles.
This commit is contained in:
parent
6994071269
commit
5af6012fba
|
@ -2724,6 +2724,8 @@ static void write_remoting_arg(FILE *file, int indent, const func_t *func,
|
||||||
{
|
{
|
||||||
if (pass == PASS_OUT)
|
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, "NdrClientContextUnmarshall(\n");
|
||||||
print_file(file, indent + 1, "&_StubMsg,\n");
|
print_file(file, indent + 1, "&_StubMsg,\n");
|
||||||
print_file(file, indent + 1, "(NDR_CCONTEXT *)%s,\n", var->name);
|
print_file(file, indent + 1, "(NDR_CCONTEXT *)%s,\n", var->name);
|
||||||
|
|
Loading…
Reference in New Issue