v4! After meticulous editting and careful reviewing, I managed to trim the fat out of some patches, improved readability, fixed bugs and code style, and dealt with compiler warnings, making it easy for YOU to review! (I hope.)
It's still a bit long though, with 7 patches. Sorry about that.
This is the ultimate version of this patchset and I will NOT be issuing any later revisions (also so I don't look like a spammer.)
(What I'm trying to say is: please review my patches?)
Signed-off-by: João Diogo Craveiro Ferreira devilj@outlook.pt
João Diogo Craveiro Ferreira (7): kernel32: Move Get/SetUserGeoID() to after the geoinfo struct. kernel32: Handle GEOCLASS_REGION in Get/SetUserGeoID. kernel32: Implement SetUserGeoName(). kernel32: Implement GetUserDefaultGeoName(). kernel32: Make GetUserGeoID() pretend we set a GeoID even if we didn't. kernel32: Autoinitialize geographic values when launching any program. kernel32/tests: Test GetUserGeoID(), GetUserDefaultGeoName().
dlls/kernel32/kernel32.spec | 2 + dlls/kernel32/kernel_main.c | 3 + dlls/kernel32/kernel_private.h | 1 + dlls/kernel32/locale.c | 575 +++++++++++++++++++++++++++------ dlls/kernel32/tests/locale.c | 109 +++++++ include/winnls.h | 2 + 6 files changed, 585 insertions(+), 107 deletions(-)