http://bugs.winehq.org/show_bug.cgi?id=29168
--- Comment #72 from Dorek Biglari dbiglari@gmail.com 2012-01-03 00:54:32 CST ---
Unless you mean the game shouldn't be using it since it's told it's on XP. The game may be dynamically loading it, seeing it as available and attempts to use it (rather than hardcoding based on Windows version).
I misread your comment previously, and I think you are correct, it does dynamically load it *not* based on the OS. Even though my wine is set to Windows XP, it does call GetThreadPreferredUILanguages:
003d:Call KERNEL32.GetProcAddress(7ed30000,189ed558 "GetThreadPreferredUILanguages") ret=188d50bb 003d:Call KERNEL32.GetThreadPreferredUILanguages(00000034,0a2bdff8,0a2be068,0a2be000) ret=188d510c 003d:fixme:thread:GetThreadPreferredUILanguages 52, 0xa2bdff8, 0xa2be068 0xa2be000 003d:Ret KERNEL32.GetThreadPreferredUILanguages() retval=00000001 ret=188d510c
It calls it a second time further below as well.