mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
strip whitespace from end of lines
svn path=/trunk/; revision=15171
This commit is contained in:
parent
c31bbf06e5
commit
baa31fc9e5
2 changed files with 11 additions and 11 deletions
|
@ -82,11 +82,11 @@ RunVMWInstall(VOID)
|
||||||
{
|
{
|
||||||
PROCESS_INFORMATION ProcInfo;
|
PROCESS_INFORMATION ProcInfo;
|
||||||
STARTUPINFO si;
|
STARTUPINFO si;
|
||||||
|
|
||||||
ZeroMemory(&si, sizeof(STARTUPINFO));
|
ZeroMemory(&si, sizeof(STARTUPINFO));
|
||||||
si.cb = sizeof(STARTUPINFO);
|
si.cb = sizeof(STARTUPINFO);
|
||||||
|
|
||||||
if(CreateProcess(NULL, _T("vmwinst.exe"), NULL, NULL, TRUE, NORMAL_PRIORITY_CLASS,
|
if(CreateProcess(NULL, _T("vmwinst.exe"), NULL, NULL, TRUE, NORMAL_PRIORITY_CLASS,
|
||||||
NULL, NULL, &si, &ProcInfo))
|
NULL, NULL, &si, &ProcInfo))
|
||||||
{
|
{
|
||||||
WaitForSingleObject(ProcInfo.hProcess, INFINITE);
|
WaitForSingleObject(ProcInfo.hProcess, INFINITE);
|
||||||
|
@ -237,7 +237,7 @@ RestartDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
case WM_INITDIALOG:
|
case WM_INITDIALOG:
|
||||||
SendDlgItemMessage(hWnd, IDC_RESTART_PROGRESS, PBM_SETRANGE, 0,
|
SendDlgItemMessage(hWnd, IDC_RESTART_PROGRESS, PBM_SETRANGE, 0,
|
||||||
MAKELPARAM(0, 300));
|
MAKELPARAM(0, 300));
|
||||||
SetTimer(hWnd, 0, 50, NULL);
|
SetTimer(hWnd, 0, 50, NULL);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
|
|
|
@ -108,7 +108,7 @@ GplDlgProc(HWND hwndDlg,
|
||||||
PVOID GplTextLocked;
|
PVOID GplTextLocked;
|
||||||
PCHAR GplText;
|
PCHAR GplText;
|
||||||
DWORD Size;
|
DWORD Size;
|
||||||
|
|
||||||
|
|
||||||
switch (uMsg)
|
switch (uMsg)
|
||||||
{
|
{
|
||||||
|
@ -1128,11 +1128,11 @@ SetSystemLocalTime(HWND hwnd, PSETUPDATA SetupData)
|
||||||
DWORD PrevSize;
|
DWORD PrevSize;
|
||||||
TOKEN_PRIVILEGES priv, previouspriv;
|
TOKEN_PRIVILEGES priv, previouspriv;
|
||||||
BOOL Ret = FALSE;
|
BOOL Ret = FALSE;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* enable the SeSystemtimePrivilege privilege
|
* enable the SeSystemtimePrivilege privilege
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if(OpenProcessToken(GetCurrentProcess(),
|
if(OpenProcessToken(GetCurrentProcess(),
|
||||||
TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY,
|
TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY,
|
||||||
&hToken))
|
&hToken))
|
||||||
|
@ -1156,7 +1156,7 @@ SetSystemLocalTime(HWND hwnd, PSETUPDATA SetupData)
|
||||||
* we successfully enabled it, we're permitted to change the system time
|
* we successfully enabled it, we're permitted to change the system time
|
||||||
*/
|
*/
|
||||||
Ret = SetLocalTime(&SetupData->SystemTime);
|
Ret = SetLocalTime(&SetupData->SystemTime);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* for the sake of security, restore the previous status again
|
* for the sake of security, restore the previous status again
|
||||||
*/
|
*/
|
||||||
|
@ -1173,7 +1173,7 @@ SetSystemLocalTime(HWND hwnd, PSETUPDATA SetupData)
|
||||||
}
|
}
|
||||||
CloseHandle(hToken);
|
CloseHandle(hToken);
|
||||||
}
|
}
|
||||||
|
|
||||||
return Ret;
|
return Ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1302,7 +1302,7 @@ ProcessPageDlgProc(HWND hwndDlg,
|
||||||
PropSheet_SetWizButtons(GetParent(hwndDlg), 0);
|
PropSheet_SetWizButtons(GetParent(hwndDlg), 0);
|
||||||
|
|
||||||
SendDlgItemMessage(hwndDlg, IDC_PROCESSPROGRESS, PBM_SETRANGE, 0,
|
SendDlgItemMessage(hwndDlg, IDC_PROCESSPROGRESS, PBM_SETRANGE, 0,
|
||||||
MAKELPARAM(0, 300));
|
MAKELPARAM(0, 300));
|
||||||
SetTimer(hwndDlg, 0, 50, NULL);
|
SetTimer(hwndDlg, 0, 50, NULL);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -1448,7 +1448,7 @@ InstallWizard(VOID)
|
||||||
ahpsp[5] = CreatePropertySheetPage(&psp);
|
ahpsp[5] = CreatePropertySheetPage(&psp);
|
||||||
|
|
||||||
|
|
||||||
/* Create the Process page
|
/* Create the Process page
|
||||||
psp.dwFlags = PSP_DEFAULT | PSP_USEHEADERTITLE | PSP_USEHEADERSUBTITLE;
|
psp.dwFlags = PSP_DEFAULT | PSP_USEHEADERTITLE | PSP_USEHEADERSUBTITLE;
|
||||||
psp.pszHeaderTitle = MAKEINTRESOURCE(IDS_PROCESSTITLE);
|
psp.pszHeaderTitle = MAKEINTRESOURCE(IDS_PROCESSTITLE);
|
||||||
psp.pszHeaderSubTitle = MAKEINTRESOURCE(IDS_PROCESSSUBTITLE);
|
psp.pszHeaderSubTitle = MAKEINTRESOURCE(IDS_PROCESSSUBTITLE);
|
||||||
|
|
Loading…
Reference in a new issue