mirror of https://github.com/ventoy/Ventoy.git
optimize for muli-language ini format
This commit is contained in:
parent
ce9c679ab3
commit
835cb958ed
Binary file not shown.
Binary file not shown.
|
@ -64,11 +64,11 @@ extern BOOL g_SecureBoot;
|
|||
#define VENTOY_CFG_INI TEXT(".\\Ventoy2Disk.ini")
|
||||
#define VENTOY_MAX_LANGUAGE 200
|
||||
|
||||
#define GET_INI_STRING(Key, Buf) GetPrivateProfileString(Language, Key, TEXT("#"), Buf, sizeof(Buf), VENTOY_LANGUAGE_INI)
|
||||
#define GET_INI_STRING(Section, Key, Buf) GetPrivateProfileString(Section, Key, TEXT("#"), Buf, sizeof(Buf), VENTOY_LANGUAGE_INI)
|
||||
|
||||
typedef struct VENTOY_LANGUAGE
|
||||
{
|
||||
WCHAR Name[64];
|
||||
WCHAR Name[128];
|
||||
WCHAR FontFamily[64];
|
||||
int FontSize;
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue