Commit f6ff452f authored by Vincent Béron's avatar Vincent Béron Committed by Alexandre Julliard

Support ATTR_READONLY for interface properties.

parent a477def6
...@@ -1442,6 +1442,9 @@ static HRESULT add_var_desc(msft_typeinfo_t *typeinfo, UINT index, var_t* var) ...@@ -1442,6 +1442,9 @@ static HRESULT add_var_desc(msft_typeinfo_t *typeinfo, UINT index, var_t* var)
case ATTR_ID: case ATTR_ID:
id = expr->u.lval; id = expr->u.lval;
break; break;
case ATTR_READONLY:
varflags |= 0x01; /* VARFLAG_FREADONLY */
break;
default: default:
warning("AddVarDesc: unhandled attr type %d\n", attr->type); warning("AddVarDesc: unhandled attr type %d\n", attr->type);
break; break;
......
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