[WINLOGON][USER32] SetLogonNotifyWindow has only one parameter. Spotted by Giannis Adamopoulos. CORE-8174

svn path=/trunk/; revision=65838
This commit is contained in:
Amine Khaldi 2014-12-26 14:06:23 +00:00
parent 9b71ae1269
commit 55a9afa14c
4 changed files with 4 additions and 4 deletions

View file

@ -1348,7 +1348,7 @@ InitializeSAS(
} }
/* Register SAS window to receive SAS notifications */ /* 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"); ERR("WL: Failed to register SAS window\n");
goto cleanup; goto cleanup;

View file

@ -124,7 +124,7 @@ extern "C" {
#define SBRG_BOTTOMLEFTBTN 5 /* the bottom or left button */ #define SBRG_BOTTOMLEFTBTN 5 /* the bottom or left button */
BOOL WINAPI UpdatePerUserSystemParameters(DWORD dwReserved, BOOL bEnable); 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); BOOL WINAPI KillSystemTimer(HWND,UINT_PTR);
UINT_PTR WINAPI SetSystemTimer(HWND,UINT_PTR,UINT,TIMERPROC); UINT_PTR WINAPI SetSystemTimer(HWND,UINT_PTR,UINT,TIMERPROC);
DWORD_PTR WINAPI SetSysColorsTemp(const COLORREF *, const HBRUSH *, DWORD_PTR); DWORD_PTR WINAPI SetSysColorsTemp(const COLORREF *, const HBRUSH *, DWORD_PTR);

View file

@ -78,7 +78,7 @@ RegisterLogonProcess(DWORD dwProcessId,
*/ */
BOOL BOOL
WINAPI WINAPI
SetLogonNotifyWindow(HWND Wnd, HWINSTA WinSta) SetLogonNotifyWindow(HWND Wnd)
{ {
return NtUserSetLogonNotifyWindow(Wnd); return NtUserSetLogonNotifyWindow(Wnd);
} }

View file

@ -609,7 +609,7 @@
@ stdcall SetKeyboardState(ptr) NtUserSetKeyboardState @ stdcall SetKeyboardState(ptr) NtUserSetKeyboardState
@ stdcall SetLastErrorEx(long long) @ stdcall SetLastErrorEx(long long)
@ stdcall SetLayeredWindowAttributes(ptr long long long) NtUserSetLayeredWindowAttributes @ 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 SetMenu(long long)
@ stdcall SetMenuContextHelpId(long long) NtUserSetMenuContextHelpId @ stdcall SetMenuContextHelpId(long long) NtUserSetMenuContextHelpId
@ stdcall SetMenuDefaultItem(long long long) NtUserSetMenuDefaultItem @ stdcall SetMenuDefaultItem(long long long) NtUserSetMenuDefaultItem