VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Mount
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-01-20 09:02:17 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-01-20 12:42:04 +0100
commit1efb78266631d4c3aa0cd28e32485a9f2016f9de (patch)
treee6c5bda4e202e4858e2f27db8413356e9ccd875f /src/Mount
parent38f3fc816ac1a9f894bc01a6cf9d9b97c2a2e21a (diff)
downloadVeraCrypt-1efb78266631d4c3aa0cd28e32485a9f2016f9de.tar.gz
VeraCrypt-1efb78266631d4c3aa0cd28e32485a9f2016f9de.zip
Windows: Add first version of VeraCryptExpander who is based on extcv. Minor modification to Mount.c to avoid link errors when building VeraCryptExpander.
Diffstat (limited to 'src/Mount')
-rw-r--r--src/Mount/Mount.c7
1 files changed, 4 insertions, 3 deletions
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)