From b3646b323763441359cb953ebd78ef22f9ce428e Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Wed, 6 May 2015 20:38:30 +0200 Subject: Windows: Solve detection issue when resuming encryption. Add separate logic for manual selection of device and display error message in case of failure. --- src/Common/Dlgcode.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/Common/Dlgcode.h') diff --git a/src/Common/Dlgcode.h b/src/Common/Dlgcode.h index 96d5e865..1c792e7c 100644 --- a/src/Common/Dlgcode.h +++ b/src/Common/Dlgcode.h @@ -514,6 +514,12 @@ struct HostDevice std::vector Partitions; }; +struct RawDevicesDlgParam +{ + std::vector devices; + char *pszFileName; +}; + BOOL BrowseFilesInDir (HWND hwndDlg, char *stringId, char *initialDir, char *lpszFileName, BOOL keepHistory, BOOL saveMode, wchar_t *browseFilter, const wchar_t *initialFileName = NULL, const wchar_t *defaultExtension = NULL); std::wstring SingleStringToWide (const std::string &singleString); std::wstring Utf8StringToWide (const std::string &utf8String); -- cgit v1.2.3