mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-12 11:28:26 -06:00
PlatformInfo read. (via ReadEfiConfig)
It is displayed in System settings
This commit is contained in:
@@ -10916,6 +10916,17 @@ static BOOL CALLBACK BootLoaderPreferencesDlgProc (HWND hwndDlg, UINT msg, WPARA
|
||||
return 1;
|
||||
}
|
||||
|
||||
byte platforminfo[10*1024];
|
||||
platforminfo[0] = 0;
|
||||
DWORD cbread;
|
||||
try
|
||||
{
|
||||
BootEncObj->ReadEfiConfig(L"\\EFI\\VeraCrypt\\PlatformInfo", platforminfo, 10*1024 - 1, &cbread);
|
||||
platforminfo[cbread - 1] = 0;
|
||||
}
|
||||
catch (Exception &e) { }
|
||||
SetDlgItemTextA (hwndDlg, IDC_PLATFORMINFO, (char*)platforminfo);
|
||||
|
||||
try
|
||||
{
|
||||
LocalizeDialog (hwndDlg, "IDD_SYSENC_SETTINGS");
|
||||
|
||||
Reference in New Issue
Block a user