mirror of
https://github.com/reactos/reactos.git
synced 2025-01-13 01:22:03 +00:00
Revert incorrect fix committed in r34077 by cfinck, and replace it by a better one.
svn path=/trunk/; revision=34788
This commit is contained in:
parent
7cf8ccf54f
commit
d62f18210a
2 changed files with 3 additions and 9 deletions
|
@ -51,11 +51,7 @@ StatusMessageWindowProc(
|
|||
if (msg->pTitle)
|
||||
SetWindowTextW(hwndDlg, msg->pTitle);
|
||||
SetDlgItemTextW(hwndDlg, IDC_STATUSLABEL, msg->pMessage);
|
||||
if (!msg->Context->SignaledStatusWindowCreated)
|
||||
{
|
||||
msg->Context->SignaledStatusWindowCreated = TRUE;
|
||||
SetEvent(msg->StartupEvent);
|
||||
}
|
||||
SetEvent(msg->StartupEvent);
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
@ -140,7 +136,7 @@ GUIDisplayStatusMessage(
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
if(pTitle)
|
||||
if (pTitle)
|
||||
SetWindowTextW(pgContext->hStatusWindow, pTitle);
|
||||
|
||||
SetDlgItemTextW(pgContext->hStatusWindow, IDC_STATUSLABEL, pMessage);
|
||||
|
@ -155,8 +151,7 @@ GUIRemoveStatusMessage(
|
|||
if (pgContext->hStatusWindow)
|
||||
{
|
||||
EndDialog(pgContext->hStatusWindow, 0);
|
||||
pgContext->hStatusWindow = 0;
|
||||
pgContext->SignaledStatusWindowCreated = FALSE;
|
||||
pgContext->hStatusWindow = NULL;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
|
|
|
@ -18,7 +18,6 @@ typedef struct
|
|||
PWLX_DISPATCH_VERSION_1_3 pWlxFuncs;
|
||||
HANDLE hDllInstance;
|
||||
HWND hStatusWindow;
|
||||
BOOL SignaledStatusWindowCreated;
|
||||
DWORD AutoLogonState;
|
||||
|
||||
/* Informations to be filled during logon */
|
||||
|
|
Loading…
Reference in a new issue