oleaut32: fix the SafeArrayGetVartype tests on Vista and use that behaviour. [try 3] [resend]
Reece Dunn
msclrhd at googlemail.com
Tue Jul 22 02:48:14 CDT 2008
This fixesChangeLog:
1 - fixed the tests for Vista.
2 - made the old behaviour broken(), and fixed SafeArrayGetVartype to
use the correct behaviour.
3 - fixed whitespace (use spaces instead of tabs).
This fixes the oleaut32/safearray tests for Vista
(http://test.winehq.org/data/b3f4091b47e70681a9909bfccd19dee95657fabd/vista_APetacciaVistaNXSet/oleaut32:safearray.html),
as it looks like Vista is returning the correct vartype for a
safearray of VT_DISPATCH objects.
This includes Rob Shearman's suggestion of marking the old behaviour
as broken() as it is clearly a bug, and also updated the
SafeArrayGetVartype implementation to return the correct value in this
case.
The tests pass on Vista and on Wine.
Was there anything wrong with this patch?
- Reece
More information about the wine-patches
mailing list