[SETUPLIB][USETUP] Convert MUI_LANGUAGE GeoID values to numbers.

This commit is contained in:
Hermès Bélusca-Maïto 2024-02-09 22:33:30 +01:00
parent c26a2e89eb
commit 88891d2ce7
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
5 changed files with 165 additions and 155 deletions

View file

@ -25,6 +25,8 @@ typedef struct
KLID LayoutID; // Layout ID (like 0x00000409)
} MUI_LAYOUTS;
typedef ULONG GEOID; // See winnls.h
typedef struct
{
PCWSTR LanguageID;
@ -32,7 +34,7 @@ typedef struct
UINT OEMCPage;
UINT MACCPage;
PCWSTR LanguageDescriptor;
PCWSTR GeoID;
GEOID GeoID;
const MUI_SUBFONT* MuiSubFonts;
const MUI_LAYOUTS* MuiLayouts;
} MUI_LANGUAGE;
@ -50,7 +52,7 @@ UINT
MUIGetOEMCodePage(
IN PCWSTR LanguageId);
PCWSTR
GEOID
MUIGetGeoID(
IN PCWSTR LanguageId);