http://bugs.winehq.org/show_bug.cgi?id=28423
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #8 from Bruno Jesus 00cpxxx@gmail.com 2011-09-19 12:10:53 CDT --- Can you provide the source code for the original .exe you posted? Your example code does not work for me, even fixing the ptr. Return value is always zero. Tested in Visual C++ 6.
Does the game work with the patch I attached previously?
lpszDescription may be null and in such cases it's not filled. If uBufLen is zero the returned value is the required size for lpszDescription.
The caller must pass a valid pointer to the function, ImmGetDescription should not allocate memory as far as I can see and even if it did there is no way to return it to the user judging by it's parameters.