http://bugs.winehq.org/show_bug.cgi?id=28423
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com 2011-09-18 00:53:33 CDT --- (In reply to comment #1)
int main() { unsigned int prueba; fstream resultado; WCHAR* testptr; resultado.open("result.txt",ios::out); prueba = ImmGetDescriptionW(NULL,testptr,255); resultado << "Address: " << testptr << endl; resultado << "Character length: " << prueba << endl; resultado.close(); }
testptr is uninitialized so results are unreliable. Please add a test like ImmGetDescriptionW/A(NULL, NULL, 1) to imm32/tests.