Commit 835cb958 authored by longpanda's avatar longpanda
Browse files

optimize for muli-language ini format

parent ce9c679a
No preview for this file type
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -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;
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment