Mohamad Al-Jaf mohamadaljaf@gmail.com wrote:
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51850 Signed-off-by: Mohamad Al-Jaf mohamadaljaf@gmail.com
v3: - Swap operands for arm and aarch64 (Credit: Jinoh Kang) - Use void * instead of int for CurrentIP - Add useful test (Credit: Giovanni Mascellani) - Remove unnecessary #include <stdint.h>
Note: In the test I had to remove WINAPI from the declaration because it would result in an 'undefined reference' error only in the 32-bit build of Wine. The 64-bit build compiled without any problems.
I don't understand why this happens.
Taking into account that wdscore is completely undocumented, and even such a trivial API as CurrentIP() took so much effort to implement, and still has no real confirmation what should it do (the test doesn't verify that returned value belongs to the dll address range), it probably means that there is no any point to keep spending more time on this.