widl: Added displaybind attribute handling.

oldstable
Jacek Caban 2007-07-29 21:23:53 +02:00 committed by Alexandre Julliard
parent 1ad39a38e5
commit 8fd9716985
1 changed files with 3 additions and 0 deletions

View File

@ -1311,6 +1311,9 @@ static HRESULT add_func_desc(msft_typeinfo_t* typeinfo, const func_t *func, int
if (func->def->attrs) LIST_FOR_EACH_ENTRY( attr, func->def->attrs, const attr_t, entry ) {
expr_t *expr = attr->u.pval;
switch(attr->type) {
case ATTR_DISPLAYBIND:
funcflags |= 0x10; /* FUNCFLAG_DISPLAYBIND */
break;
case ATTR_ENTRY_ORDINAL:
extra_attr = max(extra_attr, 3);
entry = expr->cval;