oleaut32: Add a VT_INT_PTR case for VARIANT_UserSize

Alexandre Julliard julliard at winehq.org
Tue Mar 2 10:01:11 CST 2010


Nikolay Sivov <nsivov at codeweavers.com> writes:

> @@ -239,6 +239,8 @@ static unsigned int get_type_size(ULONG *pFlags, VARTYPE vt)
>      case VT_DISPATCH:
>      case VT_RECORD:
>          return 0;
> +    case VT_INT_PTR:
> +        return sizeof(INT_PTR);

This won't do the right thing on 64-bit.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list