xref: /reactos/win32ss/user/winsrv/usersrv/api.h (revision 1734f297)
1 /*
2  * COPYRIGHT:       See COPYING in the top level directory
3  * PROJECT:         ReactOS User API Server DLL
4  * FILE:            win32ss/user/winsrv/usersrv/api.h
5  * PURPOSE:         Public server APIs definitions
6  * PROGRAMMERS:     Hermes Belusca-Maito (hermes.belusca@sfr.fr)
7  */
8 
9 #pragma once
10 
11 /* init.c */
12 BOOL NTAPI _UserSoundSentry(VOID);
13 CSR_API(SrvCreateSystemThreads);
14 CSR_API(SrvActivateDebugger);
15 CSR_API(SrvGetThreadConsoleDesktop);
16 CSR_API(SrvDeviceEvent);
17 
18 /* harderror.c */
19 VOID
20 NTAPI
21 UserServerHardError(IN PCSR_THREAD ThreadData,
22                     IN PHARDERROR_MSG Message);
23 
24 /* register.c */
25 CSR_API(SrvRegisterServicesProcess);
26 CSR_API(SrvRegisterLogonProcess);
27 
28 /* shutdown.c */
29 ULONG
30 NTAPI
31 UserClientShutdown(IN PCSR_PROCESS CsrProcess,
32                    IN ULONG Flags,
33                    IN BOOLEAN FirstPhase);
34 
35 CSR_API(SrvExitWindowsEx);
36 CSR_API(SrvEndTask);
37 CSR_API(SrvLogon);
38 CSR_API(SrvRecordShutdownReason);
39