widl: Support encoding the DECIMAL type in typelibs.

This commit is contained in:
Alexandre Julliard 2010-12-09 00:05:28 +01:00
parent 8c78994866
commit cb246ca7a7
1 changed files with 6 additions and 0 deletions

View File

@ -849,6 +849,12 @@ static int encode_type(
*alignment = 8;
break;
case VT_DECIMAL:
*encoded_type = default_type;
*width = 16;
*alignment = 8;
break;
case VT_VOID:
*encoded_type = 0x80000000 | (VT_EMPTY << 16) | vt;
*width = 0;