Always declare SetLogonNotifyWindow

svn path=/trunk/; revision=29776
This commit is contained in:
Hervé Poussineau 2007-10-22 12:19:43 +00:00
parent 1f2fce4fea
commit f9cef2a895

View file

@ -26,9 +26,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(winlogon);
#define HK_CTRL_ALT_DEL 0 #define HK_CTRL_ALT_DEL 0
#define HK_CTRL_SHIFT_ESC 1 #define HK_CTRL_SHIFT_ESC 1
#ifdef __USE_W32API extern BOOL WINAPI SetLogonNotifyWindow(HWND Wnd, HWINSTA WinSta);
extern BOOL STDCALL SetLogonNotifyWindow(HWND Wnd, HWINSTA WinSta);
#endif
/* FUNCTIONS ****************************************************************/ /* FUNCTIONS ****************************************************************/
@ -322,7 +320,7 @@ CreateLogoffSecurityAttributes(
OUT PSECURITY_ATTRIBUTES* ppsa) OUT PSECURITY_ATTRIBUTES* ppsa)
{ {
#if 1 #if 1
DPRINT1("CreateLogoffSecurityAttributes needs implementation!\n"); ERR("CreateLogoffSecurityAttributes needs implementation!\n");
*ppsa = 0; *ppsa = 0;
return STATUS_UNSUCCESSFUL; return STATUS_UNSUCCESSFUL;
#else #else
@ -453,11 +451,11 @@ HandleLogoff(
Status = CreateLogoffSecurityAttributes(&psa); Status = CreateLogoffSecurityAttributes(&psa);
if (!NT_SUCCESS(Status)) if (!NT_SUCCESS(Status))
{ {
DPRINT("Failed to create a required security descriptor. Error 0x%08x\n", Status); WARN("Failed to create a required security descriptor. Status 0x%08x\n", Status);
#if 1 #if 1
DPRINT("Attempting to continue without it.\n"); WARN("Attempting to continue without it.\n");
#else #else
DPRINT("Aborting logoff\n"); ERR("Aborting logoff\n");
HeapFree(GetProcessHeap(), 0, LSData); HeapFree(GetProcessHeap(), 0, LSData);
return Status; return Status;
#endif #endif