Implemented SizeOfVariantData cases for VT_DISPATCH, VT_UNKNOWN, VT_CY.

This commit is contained in:
John K. Hohm 2002-06-21 20:13:18 +00:00 committed by Alexandre Julliard
parent bbea612b30
commit 2b78ac039f
1 changed files with 5 additions and 3 deletions

View File

@ -639,12 +639,14 @@ static int SizeOfVariantData( VARIANT* parg )
size = sizeof(VARIANT_BOOL);
break;
case( VT_BSTR ):
case( VT_DISPATCH ):
case( VT_UNKNOWN ):
size = sizeof(void*);
break;
case( VT_CY ):
case( VT_DISPATCH ):
case( VT_UNKNOWN ):
case( VT_DECIMAL ):
size = sizeof(CY);
break;
case( VT_DECIMAL ): /* hmm, tricky, DECIMAL is only VT_BYREF */
default:
FIXME("Add size information for type vt=%d\n", V_VT(parg) & VT_TYPEMASK );
break;