mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
widl: Fix context handle "cannot be null" detection.
The "cannot be null" attibute is applied to a parameter if and only if it is in-only.
This commit is contained in:
parent
526cb8c375
commit
06ed169bc5
@ -2064,13 +2064,13 @@ static size_t write_contexthandle_tfs(FILE *file, const type_t *type,
|
||||
flags |= 0x08 /* strict */;
|
||||
|
||||
if (is_ptr(type))
|
||||
{
|
||||
flags |= 0x80;
|
||||
if (type->type != RPC_FC_RP)
|
||||
if (is_attr(var->attrs, ATTR_IN))
|
||||
{
|
||||
flags |= 0x40;
|
||||
if (!is_attr(var->attrs, ATTR_OUT))
|
||||
flags |= 0x01;
|
||||
}
|
||||
if (is_attr(var->attrs, ATTR_IN))
|
||||
flags |= 0x40;
|
||||
if (is_attr(var->attrs, ATTR_OUT))
|
||||
flags |= 0x20;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user