From 90bd57fe40e66fc829ecb01482d32d604b0df19c Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Wed, 25 Nov 2015 01:41:37 +0100 Subject: Windows: Full UNICODE rewrite and implement support for UNICODE passwords. --- src/Common/Keyfiles.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Common/Keyfiles.h') diff --git a/src/Common/Keyfiles.h b/src/Common/Keyfiles.h index 8400ebc3..dcdfdde8 100644 --- a/src/Common/Keyfiles.h +++ b/src/Common/Keyfiles.h @@ -24,13 +24,13 @@ extern "C" { typedef struct KeyFileStruct { - char FileName[MAX_PATH + 1]; + wchar_t FileName[MAX_PATH + 1]; struct KeyFileStruct *Next; } KeyFile; typedef struct { - char VolumeFileName[MAX_PATH + 1]; + wchar_t VolumeFileName[MAX_PATH + 1]; BOOL EnableKeyFiles; KeyFile *FirstKeyFile; } KeyFilesDlgParam; @@ -39,7 +39,7 @@ KeyFile *KeyFileAdd (KeyFile *firstKeyFile, KeyFile *keyFile); void KeyFileRemoveAll (KeyFile **firstKeyFile); KeyFile *KeyFileClone (KeyFile *keyFile); KeyFile *KeyFileCloneAll (KeyFile *firstKeyFile); -BOOL KeyFilesApply (HWND hwndDlg, Password *password, KeyFile *firstKeyFilem, const char* volumeFileName); +BOOL KeyFilesApply (HWND hwndDlg, Password *password, KeyFile *firstKeyFilem, const wchar_t* volumeFileName); BOOL CALLBACK KeyFilesDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); BOOL KeyfilesPopupMenu (HWND hwndDlg, POINT popupPosition, KeyFilesDlgParam *dialogParam); -- cgit v1.2.3