oleaut32: fix SafeArrayGetVartype test on Vista and use that behaviour. [try 2]

Reece Dunn msclrhd at googlemail.com
Sun Jul 20 03:19:09 CDT 2008

  1 - fixed the tests for Vista.
  2 - made the old behaviour broken(), and fixed SafeArrayGetVartype
to use the correct behaviour.

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.

- Reece
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0005-oleaut32-fix-SafeArrayGetVartype-test-on-Vista-and.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080720/ab660869/attachment-0001.txt 

More information about the wine-patches mailing list