e6a91b6a29c240a47192a001b8b18ab8f0490d6f
[reactos.git] / win32ss / user / winsrv / winsrv.h
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 #pragma once
13
14 /* PSDK/NDK Headers */
15 #include <stdarg.h>
16 #include <stdlib.h>
17 #define WIN32_NO_STATUS
18 #define _INC_WINDOWS
19 #define COM_NO_WINDOWS_H
20 #include <windef.h>
21 #include <winbase.h>
22 #include <wingdi.h>
23 #include <winreg.h>
24 #include <winuser.h>
25 #define NTOS_MODE_USER
26 #include <ndk/iofuncs.h>
27 #include <ndk/kefuncs.h>
28 #include <ndk/mmfuncs.h>
29 #include <ndk/obfuncs.h>
30 #include <ndk/psfuncs.h>
31 #include <ndk/rtlfuncs.h>
32
33 /* Public Win32K Headers */
34 #include <ntuser.h>
35
36 /* PSEH for SEH Support */
37 #include <pseh/pseh2.h>
38
39 /* External Winlogon Header */
40 #include <winlogon.h>
41
42 /* CSRSS Header */
43 #include <csr/csrsrv.h>
44
45 /* USER Headers */
46 #include <win/winmsg.h>
47
48 /* Public Win32 Headers */
49 #include <commctrl.h>
50
51 #include "resource.h"
52
53
54 extern HINSTANCE UserServerDllInstance;
55 extern HANDLE UserServerHeap;
56
57 extern ULONG_PTR LogonProcessId;
58
59 /* init.c */
60 BOOL WINAPI _UserSoundSentry(VOID);
61
62 /* harderror.c */
63 VOID WINAPI UserServerHardError(IN PCSR_THREAD ThreadData,
64 IN PHARDERROR_MSG Message);
65
66 /* register.c */
67 CSR_API(SrvRegisterServicesProcess);
68 CSR_API(SrvRegisterLogonProcess);
69
70 /* shutdown.c */
71 CSR_API(SrvExitWindowsEx);
72
73 #endif // __WINSRV_H__
74
75 /* EOF */