1 /* 2 * COPYRIGHT: See COPYING in the top level directory 3 * PROJECT: ReactOS User API Server DLL 4 * FILE: win32ss/user/winsrv/winsrv.h 5 * PURPOSE: Main header - Definitions 6 * PROGRAMMERS: Hermes Belusca-Maito (hermes.belusca@sfr.fr) 7 */ 8 9 #ifndef __WINSRV_H__ 10 #define __WINSRV_H__ 11 12 #include <stdarg.h> 13 14 /* PSDK/NDK Headers */ 15 16 #define WIN32_NO_STATUS 17 #define _INC_WINDOWS 18 #define COM_NO_WINDOWS_H 19 20 #include <windef.h> 21 #include <winbase.h> 22 #include <wingdi.h> 23 #include <winreg.h> 24 #include <winuser.h> 25 #include <imm.h> 26 #include <immdev.h> 27 #include <imm32_undoc.h> 28 29 /* Undocumented user definitions */ 30 #include <undocuser.h> 31 32 #define NTOS_MODE_USER 33 #include <ndk/cmfuncs.h> 34 #include <ndk/exfuncs.h> 35 #include <ndk/obfuncs.h> 36 #include <ndk/psfuncs.h> 37 #include <ndk/rtlfuncs.h> 38 39 /* PSEH for SEH Support */ 40 #include <pseh/pseh2.h> 41 42 /* Public Win32K Headers */ 43 #include <ntuser.h> 44 45 /* CSRSS Header */ 46 #include <csr/csrsrv.h> 47 48 typedef struct tagSHUTDOWN_SETTINGS 49 { 50 BOOL AutoEndTasks; 51 ULONG HungAppTimeout; 52 ULONG WaitToKillAppTimeout; 53 ULONG WaitToKillServiceTimeout; 54 ULONG ProcessTerminateTimeout; 55 } SHUTDOWN_SETTINGS, *PSHUTDOWN_SETTINGS; 56 57 extern SHUTDOWN_SETTINGS ShutdownSettings; 58 59 VOID FASTCALL 60 GetTimeouts(IN PSHUTDOWN_SETTINGS ShutdownSettings); 61 62 #endif /* __WINSRV_H__ */ 63