mirror of
https://github.com/reactos/reactos.git
synced 2024-10-15 21:56:40 +00:00
bd4d83d88f
- Remove the now unneeded CSR messaging support. - CsrInit() goes away also and the usage of the CsrProcess is replaced by that of gpepCSRSS. [WINSRV] - Use a DLL instance for loading resources, instead of calling GetModuleHandle. [KERNEL32/NTDLL] - Remove unneeded variables. svn path=/branches/ros-csrss/; revision=57665
82 lines
1.6 KiB
C
82 lines
1.6 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 */
|
|
#define WIN32_NO_STATUS
|
|
#include <windows.h>
|
|
#define NTOS_MODE_USER
|
|
#include <ndk/ntndk.h>
|
|
|
|
// #include <stdio.h>
|
|
|
|
/* External Winlogon Header */
|
|
#include <winlogon.h>
|
|
|
|
/* CSRSS Header */
|
|
#include <csr/csrsrv.h>
|
|
|
|
/* USER Headers */
|
|
#include <win/winmsg.h>
|
|
// #include <win/base.h>
|
|
// #include <win/windows.h>
|
|
|
|
/* Public Win32 Headers */
|
|
#include <commctrl.h>
|
|
|
|
#include "resource.h"
|
|
|
|
|
|
extern HINSTANCE UserSrvDllInstance;
|
|
extern HANDLE UserSrvHeap;
|
|
// extern HANDLE BaseSrvSharedHeap;
|
|
// extern PBASE_STATIC_SERVER_DATA BaseStaticServerData;
|
|
|
|
/* init.c */
|
|
BOOL WINAPI _UserSoundSentry(VOID);
|
|
|
|
/* harderror.c */
|
|
VOID
|
|
WINAPI
|
|
Win32CsrHardError(IN PCSR_THREAD ThreadData,
|
|
IN PHARDERROR_MSG Message);
|
|
|
|
|
|
/* shutdown.c */
|
|
CSR_API(SrvExitWindowsEx);
|
|
CSR_API(CsrSetLogonNotifyWindow);
|
|
CSR_API(SrvRegisterLogonProcess);
|
|
// CSR_API(CsrRegisterSystemClasses);
|
|
|
|
CSR_API(SrvRegisterServicesProcess);
|
|
|
|
|
|
/*****************************
|
|
|
|
/\*
|
|
typedef VOID (WINAPI *CSR_CLEANUP_OBJECT_PROC)(Object_t *Object);
|
|
|
|
typedef struct tagCSRSS_OBJECT_DEFINITION
|
|
{
|
|
LONG Type;
|
|
CSR_CLEANUP_OBJECT_PROC CsrCleanupObjectProc;
|
|
} CSRSS_OBJECT_DEFINITION, *PCSRSS_OBJECT_DEFINITION;
|
|
*\/
|
|
|
|
|
|
|
|
*****************************/
|
|
|
|
#endif // __WINSRV_H__
|
|
|
|
/* EOF */
|