oleaut32: Add a VT_INT_PTR case for VARIANT_UserSize

Nikolay Sivov bunglehead at gmail.com
Tue Mar 2 10:16:16 CST 2010


On 3/2/2010 19:01, Alexandre Julliard wrote:
> 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.
>    
Unfortunately I don't have a 64bit to cross-build a test on it. Should 
it just be 4? or there's something more complicated?




More information about the wine-devel mailing list