From 55a9afa14c3c5399623b37a3754547a2b54cade7 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Fri, 26 Dec 2014 14:06:23 +0000 Subject: [PATCH] [WINLOGON][USER32] SetLogonNotifyWindow has only one parameter. Spotted by Giannis Adamopoulos. CORE-8174 svn path=/trunk/; revision=65838 --- reactos/base/system/winlogon/sas.c | 2 +- reactos/include/reactos/undocuser.h | 2 +- reactos/win32ss/user/user32/misc/logon.c | 2 +- reactos/win32ss/user/user32/user32.spec | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/reactos/base/system/winlogon/sas.c b/reactos/base/system/winlogon/sas.c index 4baa56cfa7b..fff8db152e7 100644 --- a/reactos/base/system/winlogon/sas.c +++ b/reactos/base/system/winlogon/sas.c @@ -1348,7 +1348,7 @@ InitializeSAS( } /* Register SAS window to receive SAS notifications */ - if (!SetLogonNotifyWindow(Session->SASWindow, Session->InteractiveWindowStation)) + if (!SetLogonNotifyWindow(Session->SASWindow)) { ERR("WL: Failed to register SAS window\n"); goto cleanup; diff --git a/reactos/include/reactos/undocuser.h b/reactos/include/reactos/undocuser.h index 2103f79a749..c69afc5e189 100644 --- a/reactos/include/reactos/undocuser.h +++ b/reactos/include/reactos/undocuser.h @@ -124,7 +124,7 @@ extern "C" { #define SBRG_BOTTOMLEFTBTN 5 /* the bottom or left button */ BOOL WINAPI UpdatePerUserSystemParameters(DWORD dwReserved, BOOL bEnable); -BOOL WINAPI SetLogonNotifyWindow(HWND Wnd, HWINSTA WinSta); +BOOL WINAPI SetLogonNotifyWindow(HWND Wnd); BOOL WINAPI KillSystemTimer(HWND,UINT_PTR); UINT_PTR WINAPI SetSystemTimer(HWND,UINT_PTR,UINT,TIMERPROC); DWORD_PTR WINAPI SetSysColorsTemp(const COLORREF *, const HBRUSH *, DWORD_PTR); diff --git a/reactos/win32ss/user/user32/misc/logon.c b/reactos/win32ss/user/user32/misc/logon.c index 7a9ab61b705..13005aa63d2 100644 --- a/reactos/win32ss/user/user32/misc/logon.c +++ b/reactos/win32ss/user/user32/misc/logon.c @@ -78,7 +78,7 @@ RegisterLogonProcess(DWORD dwProcessId, */ BOOL WINAPI -SetLogonNotifyWindow(HWND Wnd, HWINSTA WinSta) +SetLogonNotifyWindow(HWND Wnd) { return NtUserSetLogonNotifyWindow(Wnd); } diff --git a/reactos/win32ss/user/user32/user32.spec b/reactos/win32ss/user/user32/user32.spec index c021d69d394..5b58121f510 100644 --- a/reactos/win32ss/user/user32/user32.spec +++ b/reactos/win32ss/user/user32/user32.spec @@ -609,7 +609,7 @@ @ stdcall SetKeyboardState(ptr) NtUserSetKeyboardState @ stdcall SetLastErrorEx(long long) @ stdcall SetLayeredWindowAttributes(ptr long long long) NtUserSetLayeredWindowAttributes -@ stdcall SetLogonNotifyWindow(long long) ; Direct call NtUserSetLogonNotifyWindow +@ stdcall SetLogonNotifyWindow(long) ; Direct call NtUserSetLogonNotifyWindow @ stdcall SetMenu(long long) @ stdcall SetMenuContextHelpId(long long) NtUserSetMenuContextHelpId @ stdcall SetMenuDefaultItem(long long long) NtUserSetMenuDefaultItem