Module: wine Branch: master Commit: 8fd971698531aadca65a802ccee225e8192d2c47 URL: http://source.winehq.org/git/wine.git/?a=commit;h=8fd971698531aadca65a802cce...
Author: Jacek Caban jacek@codeweavers.com Date: Sun Jul 29 21:23:53 2007 +0200
widl: Added displaybind attribute handling.
---
tools/widl/write_msft.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/tools/widl/write_msft.c b/tools/widl/write_msft.c index c32a5fb..c50378e 100644 --- a/tools/widl/write_msft.c +++ b/tools/widl/write_msft.c @@ -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;