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