Author: akhaldi
Date: Fri Dec 26 14:06:23 2014
New Revision: 65838
URL:
http://svn.reactos.org/svn/reactos?rev=65838&view=rev
Log:
[WINLOGON][USER32] SetLogonNotifyWindow has only one parameter. Spotted by Giannis
Adamopoulos. CORE-8174
Modified:
trunk/reactos/base/system/winlogon/sas.c
trunk/reactos/include/reactos/undocuser.h
trunk/reactos/win32ss/user/user32/misc/logon.c
trunk/reactos/win32ss/user/user32/user32.spec
Modified: trunk/reactos/base/system/winlogon/sas.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/winlogon/sas.c…
==============================================================================
--- trunk/reactos/base/system/winlogon/sas.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/winlogon/sas.c [iso-8859-1] Fri Dec 26 14:06:23 2014
@@ -1348,7 +1348,7 @@
}
/* 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;
Modified: trunk/reactos/include/reactos/undocuser.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/undocuser.…
==============================================================================
--- trunk/reactos/include/reactos/undocuser.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/undocuser.h [iso-8859-1] Fri Dec 26 14:06:23 2014
@@ -124,7 +124,7 @@
#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);
Modified: trunk/reactos/win32ss/user/user32/misc/logon.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/misc/l…
==============================================================================
--- trunk/reactos/win32ss/user/user32/misc/logon.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/misc/logon.c [iso-8859-1] Fri Dec 26 14:06:23 2014
@@ -78,7 +78,7 @@
*/
BOOL
WINAPI
-SetLogonNotifyWindow(HWND Wnd, HWINSTA WinSta)
+SetLogonNotifyWindow(HWND Wnd)
{
return NtUserSetLogonNotifyWindow(Wnd);
}
Modified: trunk/reactos/win32ss/user/user32/user32.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/user32…
==============================================================================
--- trunk/reactos/win32ss/user/user32/user32.spec [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/user32.spec [iso-8859-1] Fri Dec 26 14:06:23 2014
@@ -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