2014-11-23 15:50:49 +00:00
|
|
|
/*
|
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS User API Server DLL
|
|
|
|
* FILE: win32ss/user/winsrv/winsrv.h
|
|
|
|
* PURPOSE: Main header - Definitions
|
|
|
|
* PROGRAMMERS: Hermes Belusca-Maito (hermes.belusca@sfr.fr)
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WINSRV_H__
|
|
|
|
#define __WINSRV_H__
|
|
|
|
|
|
|
|
#include <stdarg.h>
|
|
|
|
|
|
|
|
/* PSDK/NDK Headers */
|
|
|
|
|
|
|
|
#define WIN32_NO_STATUS
|
|
|
|
#define _INC_WINDOWS
|
|
|
|
#define COM_NO_WINDOWS_H
|
|
|
|
|
|
|
|
#include <windef.h>
|
|
|
|
#include <winbase.h>
|
|
|
|
#include <wingdi.h>
|
2015-02-15 22:57:40 +00:00
|
|
|
#include <winreg.h>
|
2014-11-23 15:50:49 +00:00
|
|
|
#include <winuser.h>
|
2014-12-27 06:59:29 +00:00
|
|
|
#include <imm.h>
|
2014-12-17 00:33:40 +00:00
|
|
|
|
2014-11-23 15:50:49 +00:00
|
|
|
/* Undocumented user definitions */
|
|
|
|
#include <undocuser.h>
|
|
|
|
|
|
|
|
#define NTOS_MODE_USER
|
|
|
|
#include <ndk/cmfuncs.h>
|
2014-12-17 00:33:40 +00:00
|
|
|
#include <ndk/exfuncs.h>
|
2014-11-23 15:50:49 +00:00
|
|
|
#include <ndk/obfuncs.h>
|
|
|
|
#include <ndk/psfuncs.h>
|
|
|
|
#include <ndk/rtlfuncs.h>
|
|
|
|
|
|
|
|
/* PSEH for SEH Support */
|
|
|
|
#include <pseh/pseh2.h>
|
|
|
|
|
2014-12-17 22:22:05 +00:00
|
|
|
/* Public Win32K Headers */
|
|
|
|
#include <ntuser.h>
|
|
|
|
|
2014-11-23 15:50:49 +00:00
|
|
|
/* CSRSS Header */
|
|
|
|
#include <csr/csrsrv.h>
|
|
|
|
|
2015-02-15 22:57:40 +00:00
|
|
|
typedef struct tagSHUTDOWN_SETTINGS
|
|
|
|
{
|
|
|
|
BOOL AutoEndTasks;
|
|
|
|
ULONG HungAppTimeout;
|
|
|
|
ULONG WaitToKillAppTimeout;
|
|
|
|
ULONG WaitToKillServiceTimeout;
|
|
|
|
ULONG ProcessTerminateTimeout;
|
|
|
|
} SHUTDOWN_SETTINGS, *PSHUTDOWN_SETTINGS;
|
|
|
|
|
|
|
|
extern SHUTDOWN_SETTINGS ShutdownSettings;
|
|
|
|
|
|
|
|
VOID FASTCALL
|
|
|
|
GetTimeouts(IN PSHUTDOWN_SETTINGS ShutdownSettings);
|
|
|
|
|
2014-11-23 15:50:49 +00:00
|
|
|
#endif /* __WINSRV_H__ */
|