mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-09-18 18:01:14 +00:00
1. When click install button, if the USB stick already installed with Ventoy, then popup a dialog to require a YES text input to confirm.
2. Prevent DLL search order hijacking
This commit is contained in:
@@ -201,6 +201,7 @@ typedef enum PROGRESS_POINT
|
||||
extern PHY_DRIVE_INFO *g_PhyDriveList;
|
||||
extern DWORD g_PhyDriveCount;
|
||||
extern int g_ForceOperation;
|
||||
extern int g_NoNeedInputYes;
|
||||
extern HWND g_ProgressBarHwnd;
|
||||
extern HFONT g_language_normal_font;
|
||||
extern HFONT g_language_bold_font;
|
||||
@@ -246,6 +247,9 @@ int INIT unxz(unsigned char *in, int in_size,
|
||||
unsigned char *out, int *in_used,
|
||||
void(*error)(char *x));
|
||||
void disk_io_set_param(HANDLE Handle, UINT64 SectorCount);
|
||||
|
||||
extern BOOL g_InputYes;
|
||||
INT_PTR CALLBACK YesDialogProc(HWND hWnd, UINT Message, WPARAM wParam, LPARAM lParam);
|
||||
INT_PTR CALLBACK PartDialogProc(HWND hWnd, UINT Message, WPARAM wParam, LPARAM lParam);
|
||||
int GetReservedSpaceInMB(void);
|
||||
int IsPartNeed4KBAlign(void);
|
||||
|
Reference in New Issue
Block a user