widl: Fix HANDLE_PARAM_IS_RETURN flag handling.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9ede653d0d
commit
7841a75743
|
@ -3514,8 +3514,7 @@ static unsigned int write_contexthandle_tfs(FILE *file,
|
||||||
|
|
||||||
print_file(file, 2, "0x%02x,\t/* FC_BIND_CONTEXT */\n", FC_BIND_CONTEXT);
|
print_file(file, 2, "0x%02x,\t/* FC_BIND_CONTEXT */\n", FC_BIND_CONTEXT);
|
||||||
print_file(file, 2, "0x%x,\t/* Context flags: ", flags);
|
print_file(file, 2, "0x%x,\t/* Context flags: ", flags);
|
||||||
/* return and can't be null values overlap */
|
if (flags & NDR_CONTEXT_HANDLE_CANNOT_BE_NULL)
|
||||||
if (((flags & 0x21) != 0x21) && (flags & NDR_CONTEXT_HANDLE_CANNOT_BE_NULL))
|
|
||||||
print_file(file, 0, "can't be null, ");
|
print_file(file, 0, "can't be null, ");
|
||||||
if (flags & NDR_CONTEXT_HANDLE_SERIALIZE)
|
if (flags & NDR_CONTEXT_HANDLE_SERIALIZE)
|
||||||
print_file(file, 0, "serialize, ");
|
print_file(file, 0, "serialize, ");
|
||||||
|
@ -3523,10 +3522,10 @@ static unsigned int write_contexthandle_tfs(FILE *file,
|
||||||
print_file(file, 0, "no serialize, ");
|
print_file(file, 0, "no serialize, ");
|
||||||
if (flags & NDR_STRICT_CONTEXT_HANDLE)
|
if (flags & NDR_STRICT_CONTEXT_HANDLE)
|
||||||
print_file(file, 0, "strict, ");
|
print_file(file, 0, "strict, ");
|
||||||
if ((flags & 0x21) == 0x20)
|
if (flags & 0x10)
|
||||||
print_file(file, 0, "out, ");
|
|
||||||
if ((flags & 0x21) == 0x21)
|
|
||||||
print_file(file, 0, "return, ");
|
print_file(file, 0, "return, ");
|
||||||
|
if (flags & 0x20)
|
||||||
|
print_file(file, 0, "out, ");
|
||||||
if (flags & 0x40)
|
if (flags & 0x40)
|
||||||
print_file(file, 0, "in, ");
|
print_file(file, 0, "in, ");
|
||||||
if (flags & 0x80)
|
if (flags & 0x80)
|
||||||
|
|
Loading…
Reference in New Issue