mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-19 09:25:12 -04:00
[ntfs] add bootable NTFS support
* NTFS boot records in ms-sys * also added debug duplication to PrintMessage * also fixed controls staying enabled during formatting
This commit is contained in:
parent
bb0c0ecb1c
commit
d1e4ba278b
17 changed files with 534 additions and 47 deletions
|
@ -137,7 +137,7 @@ static void CALLBACK PrintStatusTimeout(HWND hwnd, UINT uMsg, UINT_PTR idEvent,
|
|||
KillTimer(hMainDialog, TID_MESSAGE);
|
||||
}
|
||||
|
||||
void PrintStatus(unsigned int duration, const char *format, ...)
|
||||
void PrintStatus(unsigned int duration, BOOL debug, const char *format, ...)
|
||||
{
|
||||
char *p = szStatusMessage;
|
||||
va_list args;
|
||||
|
@ -154,6 +154,9 @@ void PrintStatus(unsigned int duration, const char *format, ...)
|
|||
|
||||
*p = '\0';
|
||||
|
||||
if (debug)
|
||||
uprintf("%s\n", szStatusMessage);
|
||||
|
||||
if ((duration) || (!bStatusTimerArmed)) {
|
||||
SetDlgItemTextU(hMainDialog, IDC_STATUS, szStatusMessage);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue