Commit 2b78ac03 authored by John K. Hohm's avatar John K. Hohm Committed by Alexandre Julliard

Implemented SizeOfVariantData cases for VT_DISPATCH, VT_UNKNOWN, VT_CY.

parent bbea612b
......@@ -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;
......
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