mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 10:23:22 +00:00
[MSGINA]
GUIDisplaySASNotice: Use the WlxDialogBoyParam function to create the SAS notice dialog. svn path=/trunk/; revision=61581
This commit is contained in:
parent
6956547bc2
commit
95c15b34d7
|
@ -184,23 +184,15 @@ static VOID
|
||||||
GUIDisplaySASNotice(
|
GUIDisplaySASNotice(
|
||||||
IN OUT PGINA_CONTEXT pgContext)
|
IN OUT PGINA_CONTEXT pgContext)
|
||||||
{
|
{
|
||||||
INT result;
|
|
||||||
|
|
||||||
TRACE("GUIDisplaySASNotice()\n");
|
TRACE("GUIDisplaySASNotice()\n");
|
||||||
|
|
||||||
/* Display the notice window */
|
/* Display the notice window */
|
||||||
result = DialogBoxParam(
|
pgContext->pWlxFuncs->WlxDialogBoxParam(pgContext->hWlx,
|
||||||
pgContext->hDllInstance,
|
pgContext->hDllInstance,
|
||||||
MAKEINTRESOURCE(IDD_NOTICE_DLG),
|
MAKEINTRESOURCEW(IDD_NOTICE_DLG),
|
||||||
GetDesktopWindow(),
|
GetDesktopWindow(),
|
||||||
EmptyWindowProc,
|
EmptyWindowProc,
|
||||||
(LPARAM)NULL);
|
(LPARAM)NULL);
|
||||||
if (result == -1)
|
|
||||||
{
|
|
||||||
/* Failed to display the window. Do as if the user
|
|
||||||
* already has pressed CTRL+ALT+DELETE */
|
|
||||||
pgContext->pWlxFuncs->WlxSasNotify(pgContext->hWlx, WLX_SAS_TYPE_CTRL_ALT_DEL);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Get the text contained in a textbox. Allocates memory in pText
|
/* Get the text contained in a textbox. Allocates memory in pText
|
||||||
|
|
Loading…
Reference in a new issue