http://bugs.winehq.org/show_bug.cgi?id=22020
--- Comment #7 from Paul Vriens Paul.Vriens.Wine@gmail.com 2010-03-13 12:39:04 --- What I meant is that SysStringLen makes use of length calculation by using the DWORD in front of the real string (BSTR).
This only works if the string was allocated with SysAlloc* and SysReAlloc*.
The string that is passed around is not allocated with any of these functions from the looks of it (and we get a huge size of: srclen=0x22a9aa)