From ecc55398492b6a1ea47638572be56d4514cf9276 Mon Sep 17 00:00:00 2001 From: Giannis Adamopoulos Date: Sun, 15 Mar 2015 16:50:55 +0000 Subject: [PATCH] [HEADERS] - Remove winlogon.h and move its contents in undocuser.h svn path=/trunk/; revision=66728 --- reactos/base/system/winlogon/sas.c | 1 - reactos/include/reactos/undocuser.h | 13 ++++++++ reactos/include/reactos/winlogon.h | 30 ------------------- reactos/win32ss/user/ntuser/shutdown.c | 1 - .../win32ss/user/winsrv/usersrv/shutdown.c | 1 - 5 files changed, 13 insertions(+), 33 deletions(-) delete mode 100644 reactos/include/reactos/winlogon.h diff --git a/reactos/base/system/winlogon/sas.c b/reactos/base/system/winlogon/sas.c index 33b54342c25..38a0f72accb 100644 --- a/reactos/base/system/winlogon/sas.c +++ b/reactos/base/system/winlogon/sas.c @@ -19,7 +19,6 @@ #include #include #include -#include /* GLOBALS ******************************************************************/ diff --git a/reactos/include/reactos/undocuser.h b/reactos/include/reactos/undocuser.h index 810ea47b6fb..a747ccca741 100644 --- a/reactos/include/reactos/undocuser.h +++ b/reactos/include/reactos/undocuser.h @@ -109,6 +109,19 @@ extern "C" { #define LN_START_SCREENSAVE 0xA #define LN_LOGOFF_CANCELED 0xB +// +// Undocumented flags for ExitWindowsEx +// +#define EWX_SHUTDOWN_CANCELED 0x0080 +#define EWX_CALLER_SYSTEM 0x0100 +#define EWX_CALLER_WINLOGON 0x0200 +#define EWX_CALLER_WINLOGON_LOGOFF 0x1000 // WARNING!! Broken flag. +// All the range 0x0400 to 0x1000 is reserved for Winlogon. +// Flag 0x2000 appears to be a flag set when we call InitiateSystemShutdown* APIs (Winlogon shutdown APIs). +// 0x4000 is also reserved. +#define EWX_NOTIFY 0x8000 +#define EWX_NONOTIFY 0x10000 + // From WinCE 6.0 Imm.h SDK // Returns for ImmProcessHotKey #define IPHK_HOTKEY 0x0001 diff --git a/reactos/include/reactos/winlogon.h b/reactos/include/reactos/winlogon.h deleted file mode 100644 index 3dde0fd3954..00000000000 --- a/reactos/include/reactos/winlogon.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * COPYRIGHT: See COPYING in the top level directory - * PROJECT: ReactOS kernel - * FILE: include/reactos/winlogon.h - * PURPOSE: Private interface between Win32 and Winlogon - * PROGRAMMER: Ge van Geldorp (gvg@reactos.com) - */ - -#ifndef REACTOS_WINLOGON_H_INCLUDED -#define REACTOS_WINLOGON_H_INCLUDED - -#define EWX_SHUTDOWN_CANCELED 0x0080 - -#define EWX_CALLER_SYSTEM 0x0100 -#define EWX_CALLER_WINLOGON 0x0200 - -#define EWX_CALLER_WINLOGON_LOGOFF 0x1000 // WARNING!! Broken flag. - -// All the range 0x0400 to 0x1000 is reserved for Winlogon. - -// Flag 0x2000 appears to be a flag set when we call InitiateSystemShutdown* APIs (Winlogon shutdown APIs). - -// 0x4000 is also reserved. - -#define EWX_NOTIFY 0x8000 -#define EWX_NONOTIFY 0x10000 - -#endif /* REACTOS_WINLOGON_H_INCLUDED */ - -/* EOF */ diff --git a/reactos/win32ss/user/ntuser/shutdown.c b/reactos/win32ss/user/ntuser/shutdown.c index 98dc2e2a3d4..61b70d59081 100644 --- a/reactos/win32ss/user/ntuser/shutdown.c +++ b/reactos/win32ss/user/ntuser/shutdown.c @@ -7,7 +7,6 @@ */ #include -#include DBG_DEFAULT_CHANNEL(UserShutdown); diff --git a/reactos/win32ss/user/winsrv/usersrv/shutdown.c b/reactos/win32ss/user/winsrv/usersrv/shutdown.c index 8e20ab4f00a..0c7e6617357 100644 --- a/reactos/win32ss/user/winsrv/usersrv/shutdown.c +++ b/reactos/win32ss/user/winsrv/usersrv/shutdown.c @@ -10,7 +10,6 @@ #include "usersrv.h" -#include #include #include "resource.h"