http://bugs.winehq.org/show_bug.cgi?id=22020
--- Comment #20 from Paul Vriens Paul.Vriens.Wine@gmail.com 2010-03-14 07:51:32 --- Some tests:
Normal WCHAR : succeeds on XP r = IXMLDOMDocument_loadXML( doc, szComplete1, &b );
Invalid BSTR pointer : crashes on XP r = IXMLDOMDocument_loadXML( doc, 0x1, &b );
Invalid BSTR (Nikolay, is this what you meant?): fails on XP
WCHAR newstring[1024]; lstrcpyW(newstring + 2, szComplete1); *(DWORD*)newstring = 0xffff; r = IXMLDOMDocument_loadXML( doc, newstring, &b );