VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Format
diff options
context:
space:
mode:
authorkavsrf <kavsrf@gmail.com>2017-02-09 00:28:02 +0300
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-06-05 17:45:45 +0200
commit46cd09ef50bb63fa2b30b9c4f9fd284e130a46d4 (patch)
tree152e3767b8ae81a2dd6dc7e5e81e1411e02ce7e3 /src/Format
parenta075d45a99d31340c0de57262cd18eb717c3722a (diff)
downloadVeraCrypt-46cd09ef50bb63fa2b30b9c4f9fd284e130a46d4.tar.gz
VeraCrypt-46cd09ef50bb63fa2b30b9c4f9fd284e130a46d4.zip
PlatformInfo read. (via ReadEfiConfig)
It is displayed in System settings
Diffstat (limited to 'src/Format')
-rw-r--r--src/Format/FormatCom.cpp4
-rw-r--r--src/Format/FormatCom.idl2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Format/FormatCom.cpp b/src/Format/FormatCom.cpp
index 2aa5cea9..44d93991 100644
--- a/src/Format/FormatCom.cpp
+++ b/src/Format/FormatCom.cpp
@@ -167,9 +167,9 @@ public:
return BaseCom::GetEfiBootDeviceNumber (pSdn);
}
- virtual DWORD STDMETHODCALLTYPE ReadEfiConfig (BSTR* pContent, DWORD *pcbRead)
+ virtual DWORD STDMETHODCALLTYPE ReadEfiConfig (BSTR filename, BSTR* pContent, DWORD *pcbRead)
{
- return BaseCom::ReadEfiConfig (pContent, pcbRead);
+ return BaseCom::ReadEfiConfig (filename, pContent, pcbRead);
}
virtual DWORD STDMETHODCALLTYPE WriteEfiBootSectorUserConfig (DWORD userConfig, BSTR customUserMessage, int pim, int hashAlg)
diff --git a/src/Format/FormatCom.idl b/src/Format/FormatCom.idl
index 1eb09b43..e682803e 100644
--- a/src/Format/FormatCom.idl
+++ b/src/Format/FormatCom.idl
@@ -46,7 +46,7 @@ library TrueCryptFormatCom
DWORD BackupEfiSystemLoader ();
DWORD RestoreEfiSystemLoader ();
DWORD GetEfiBootDeviceNumber (BSTR* pSdn);
- DWORD ReadEfiConfig (BSTR* pContent, DWORD *pcbRead);
+ DWORD ReadEfiConfig (BSTR filename, BSTR* pContent, DWORD *pcbRead);
DWORD WriteEfiBootSectorUserConfig (DWORD userConfig, BSTR customUserMessage, int pim, int hashAlg);
};