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, ...@@ -2481,8 +2481,12 @@ static void check_field_common(const type_t *container_type,
break; break;
} }
case TGT_POINTER: case TGT_POINTER:
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); type = type_pointer_get_ref_type(type);
more_to_do = TRUE; more_to_do = TRUE;
}
break; break;
case TGT_ARRAY: case TGT_ARRAY:
type = type_array_get_element_type(type); 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