mirror of
https://github.com/reactos/reactos.git
synced 2024-10-20 16:06:27 +00:00
c708f46621
Fix CsrCaptureTimeout (verified against Windows Server 2003). [KERNEL32-CSRSRV-BASESRV-CONSRV-WINSRV] Clean the code: remove unuseful comments and dprints, reorganize a little bit few source files. svn path=/branches/ros-csrss/; revision=58453
76 lines
1.5 KiB
C
76 lines
1.5 KiB
C
/*
|
|
* 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__
|
|
|
|
#pragma once
|
|
|
|
/* PSDK/NDK Headers */
|
|
#include <stdarg.h>
|
|
#include <stdlib.h>
|
|
#define WIN32_NO_STATUS
|
|
#define _INC_WINDOWS
|
|
#define COM_NO_WINDOWS_H
|
|
#include <windef.h>
|
|
#include <winbase.h>
|
|
#include <wingdi.h>
|
|
#include <winreg.h>
|
|
#include <winuser.h>
|
|
#define NTOS_MODE_USER
|
|
#include <ndk/iofuncs.h>
|
|
#include <ndk/kefuncs.h>
|
|
#include <ndk/mmfuncs.h>
|
|
#include <ndk/obfuncs.h>
|
|
#include <ndk/psfuncs.h>
|
|
#include <ndk/rtlfuncs.h>
|
|
|
|
/* PSEH for SEH Support */
|
|
#include <pseh/pseh2.h>
|
|
|
|
/* External Winlogon Header */
|
|
#include <winlogon.h>
|
|
|
|
/* CSRSS Header */
|
|
#include <csr/csrsrv.h>
|
|
|
|
/* USER Headers */
|
|
#include <win/winmsg.h>
|
|
|
|
/* Public Win32 Headers */
|
|
#include <commctrl.h>
|
|
|
|
#include "resource.h"
|
|
|
|
|
|
extern HINSTANCE UserServerDllInstance;
|
|
extern HANDLE UserServerHeap;
|
|
|
|
extern HWND LogonNotifyWindow;
|
|
extern ULONG_PTR LogonProcessId;
|
|
|
|
/* init.c */
|
|
BOOL WINAPI _UserSoundSentry(VOID);
|
|
|
|
/* harderror.c */
|
|
VOID WINAPI UserServerHardError(IN PCSR_THREAD ThreadData,
|
|
IN PHARDERROR_MSG Message);
|
|
|
|
/* register.c */
|
|
CSR_API(SrvRegisterServicesProcess);
|
|
CSR_API(SrvRegisterLogonProcess);
|
|
/// HACK: ReactOS-specific
|
|
CSR_API(RosSetLogonNotifyWindow);
|
|
|
|
/* shutdown.c */
|
|
CSR_API(SrvExitWindowsEx);
|
|
|
|
#endif // __WINSRV_H__
|
|
|
|
/* EOF */
|