Commit 3b31e753 authored by Mohamad Al-Jaf's avatar Mohamad Al-Jaf Committed by Alexandre Julliard

widl: Add support for WinRT HANDLE parameter type.

Needed by windows.ui.composition.interop.idl.
parent 738b6c00
......@@ -2481,8 +2481,12 @@ static void check_field_common(const type_t *container_type,
break;
}
case TGT_POINTER:
type = type_pointer_get_ref_type(type);
more_to_do = TRUE;
if (type_get_type(type_pointer_get_ref_type(type)) != TYPE_VOID ||
!type->name || strcmp(type->name, "HANDLE"))
{
type = type_pointer_get_ref_type(type);
more_to_do = TRUE;
}
break;
case TGT_ARRAY:
type = type_array_get_element_type(type);
......
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