From 1efb78266631d4c3aa0cd28e32485a9f2016f9de Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Tue, 20 Jan 2015 09:02:17 +0100 Subject: Windows: Add first version of VeraCryptExpander who is based on extcv. Minor modification to Mount.c to avoid link errors when building VeraCryptExpander. --- src/Mount/Mount.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/Mount/Mount.c') diff --git a/src/Mount/Mount.c b/src/Mount/Mount.c index f9692c13..7d8e0847 100644 --- a/src/Mount/Mount.c +++ b/src/Mount/Mount.c @@ -4696,7 +4696,7 @@ static void ResumeInterruptedNonSysInplaceEncProcess (void) LaunchVolCreationWizard (MainDlg, "/zinplace"); } -static BOOL SelectContainer (HWND hwndDlg) +BOOL SelectContainer (HWND hwndDlg) { if (BrowseFiles (hwndDlg, "OPEN_VOL_TITLE", szFileName, bHistory, FALSE, NULL) == FALSE) return FALSE; @@ -4707,7 +4707,7 @@ static BOOL SelectContainer (HWND hwndDlg) return TRUE; } -static BOOL SelectPartition (HWND hwndDlg) +BOOL SelectPartition (HWND hwndDlg) { int nResult = DialogBoxParamW (hInst, MAKEINTRESOURCEW (IDD_RAWDEVICES_DLG), hwndDlg, (DLGPROC) RawDevicesDlgProc, (LPARAM) & szFileName[0]); @@ -7335,7 +7335,7 @@ static BOOL StartSystemFavoritesService () return result; } - +#ifndef VCEXPANDER int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, char *lpszCommandLine, int nCmdShow) { int argc; @@ -7392,6 +7392,7 @@ int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, char *lpszComm /* Terminate */ return 0; } +#endif BOOL TaskBarIconAdd (HWND hwnd) -- cgit v1.2.3