http://bugs.winehq.org/show_bug.cgi?id=8095
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |damjan.jov@gmail.com
--- Comment #12 from Damjan Jovanovic damjan.jov@gmail.com 2008-08-22 13:34:53 --- ---snip--- VarTokenizeFormatString() needs to be modified to receive information of expected token types too. ---snip---
Unfortunately VarTokenizeFormatString() is a public Windows API and cannot be modified - unless you go to great lengths to sneak in the variant undercover, eg. using thread locals - and even then it would only work when Wine calls it, when it's called by Windows applications directly it wouldn't work.
We have to rely on just the format string to determine the type.