mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-24 12:03:28 +01:00
Windows: Make the Format wizard work again when launched from VeraCrypt menu.
This commit is contained in:
parent
7d52dda67c
commit
d1c1aa369c
@ -7830,6 +7830,7 @@ void ExtractCommandLine (HWND hwndDlg, char *lpszCommandLine)
|
|||||||
{
|
{
|
||||||
OptionHistory,
|
OptionHistory,
|
||||||
OptionNoIsoCheck,
|
OptionNoIsoCheck,
|
||||||
|
OptionQuit,
|
||||||
OptionTokenLib,
|
OptionTokenLib,
|
||||||
CommandResumeSysEncLogOn,
|
CommandResumeSysEncLogOn,
|
||||||
CommandResumeSysEnc,
|
CommandResumeSysEnc,
|
||||||
@ -7847,7 +7848,7 @@ void ExtractCommandLine (HWND hwndDlg, char *lpszCommandLine)
|
|||||||
{ OptionHistory, "/history", "/h", FALSE },
|
{ OptionHistory, "/history", "/h", FALSE },
|
||||||
{ OptionNoIsoCheck, "/noisocheck", "/n", FALSE },
|
{ OptionNoIsoCheck, "/noisocheck", "/n", FALSE },
|
||||||
{ OptionTokenLib, "/tokenlib", NULL, FALSE },
|
{ OptionTokenLib, "/tokenlib", NULL, FALSE },
|
||||||
|
{ OptionQuit, "/quit", "/q", FALSE },
|
||||||
{ CommandResumeSysEncLogOn, "/acsysenc", "/a", TRUE },
|
{ CommandResumeSysEncLogOn, "/acsysenc", "/a", TRUE },
|
||||||
{ CommandResumeSysEnc, "/csysenc", "/c", TRUE },
|
{ CommandResumeSysEnc, "/csysenc", "/c", TRUE },
|
||||||
{ CommandDecryptSysEnc, "/dsysenc", "/d", TRUE },
|
{ CommandDecryptSysEnc, "/dsysenc", "/d", TRUE },
|
||||||
@ -8029,6 +8030,14 @@ void ExtractCommandLine (HWND hwndDlg, char *lpszCommandLine)
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case OptionQuit:
|
||||||
|
{
|
||||||
|
// Used to indicate non-install elevation
|
||||||
|
char szTmp[32];
|
||||||
|
GetArgumentValue (lpszCommandLineArgs, &i, nNoCommandLineArgs, szTmp, sizeof (szTmp));
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
DialogBoxParamW (hInst, MAKEINTRESOURCEW (IDD_COMMANDHELP_DLG), hwndDlg, (DLGPROC)
|
DialogBoxParamW (hInst, MAKEINTRESOURCEW (IDD_COMMANDHELP_DLG), hwndDlg, (DLGPROC)
|
||||||
CommandHelpDlgProc, (LPARAM) &as);
|
CommandHelpDlgProc, (LPARAM) &as);
|
||||||
|
Loading…
Reference in New Issue
Block a user