oleaut32: fix the SafeArrayGetVartype tests on Vista and use that behaviour. [try 3]

Reece Dunn msclrhd at googlemail.com
Sun Jul 20 06:07:08 CDT 2008

 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
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

The tests pass on Vista and on Wine.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-oleaut32-fix-the-SafeArrayGetVartype-tests-on-Vista.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080720/363c394f/attachment-0001.txt 

More information about the wine-patches mailing list