Something went wrong. Try again.
Reactos
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374#pragma once
typedef struct{ PCWSTR FontName; PCWSTR SubFontName;} MUI_SUBFONT;
typedef USHORT LANGID;typedef ULONG KLID;
/* * See http://archives.miloush.net/michkap/archive/2006/10/14/825404.html * and the intl.inf LCID map: * * ; List of locales. * ; <LCID> = <Description>,<OEMCP>,<Language Group>,<langID:HKL pair>,<langID:HKL pair>,... * * Each MUI_LANGUAGE entry corresponds to one such locale description. * Each MUI_LAYOUTS entry corresponds to a <langID:HKL pair>. */typedef struct{ LANGID LangID; // Language ID (like 0x0409) KLID LayoutID; // Layout ID (like 0x00000409)} MUI_LAYOUTS;
typedef ULONG GEOID; // See winnls.h
typedef struct{ PCWSTR LanguageID; UINT ACPage; UINT OEMCPage; UINT MACCPage; PCWSTR LanguageDescriptor; GEOID GeoID; const MUI_SUBFONT* MuiSubFonts; const MUI_LAYOUTS* MuiLayouts;} MUI_LANGUAGE;
BOOLEANIsLanguageAvailable( IN PCWSTR LanguageId);
KLIDMUIDefaultKeyboardLayout( IN PCWSTR LanguageId);
UINTMUIGetOEMCodePage( IN PCWSTR LanguageId);
GEOIDMUIGetGeoID( IN PCWSTR LanguageId);
const MUI_LAYOUTS*MUIGetLayoutsList( IN PCWSTR LanguageId);
BOOLEANAddKbLayoutsToRegistry( _In_ const MUI_LAYOUTS* MuiLayouts);
BOOLEANAddKeyboardLayouts( IN PCWSTR LanguageId);
BOOLEANAddCodePage( IN PCWSTR LanguageId);