2012-10-25 20:40:41 +00:00
|
|
|
/*
|
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS User API Server DLL
|
2013-07-13 04:54:49 +00:00
|
|
|
* FILE: win32ss/user/winsrv/usersrv/usersrv.h
|
2012-10-25 20:40:41 +00:00
|
|
|
* PURPOSE: Main header - Definitions
|
|
|
|
* PROGRAMMERS: Hermes Belusca-Maito (hermes.belusca@sfr.fr)
|
|
|
|
*/
|
|
|
|
|
2013-07-13 04:54:49 +00:00
|
|
|
#ifndef __USERSRV_H__
|
|
|
|
#define __USERSRV_H__
|
2012-10-25 21:37:52 +00:00
|
|
|
|
2014-12-17 00:33:40 +00:00
|
|
|
/* Main header */
|
|
|
|
#include "../winsrv.h"
|
|
|
|
|
2005-08-12 12:22:02 +00:00
|
|
|
/* PSDK/NDK Headers */
|
2013-01-28 22:45:53 +00:00
|
|
|
#include <stdarg.h>
|
2014-02-05 16:27:14 +00:00
|
|
|
|
2012-10-25 21:37:52 +00:00
|
|
|
#define WIN32_NO_STATUS
|
2013-01-28 22:45:53 +00:00
|
|
|
#define _INC_WINDOWS
|
|
|
|
#define COM_NO_WINDOWS_H
|
2014-02-05 16:27:14 +00:00
|
|
|
|
2014-12-17 00:33:40 +00:00
|
|
|
// #define NTOS_MODE_USER
|
2012-10-25 21:37:52 +00:00
|
|
|
|
2014-12-17 23:03:36 +00:00
|
|
|
/* BASE Header */
|
|
|
|
#include <win/base.h>
|
|
|
|
|
2012-10-25 21:37:52 +00:00
|
|
|
/* USER Headers */
|
|
|
|
#include <win/winmsg.h>
|
|
|
|
|
2013-04-07 23:39:39 +00:00
|
|
|
/* Globals */
|
2013-03-09 21:08:23 +00:00
|
|
|
extern HINSTANCE UserServerDllInstance;
|
|
|
|
extern HANDLE UserServerHeap;
|
2014-11-28 21:08:57 +00:00
|
|
|
extern ULONG_PTR ServicesProcessId;
|
2013-03-09 21:08:23 +00:00
|
|
|
extern ULONG_PTR LogonProcessId;
|
2012-10-25 22:14:46 +00:00
|
|
|
|
2018-03-04 16:38:06 +00:00
|
|
|
BOOL CALLBACK
|
|
|
|
FindTopLevelWnd(
|
|
|
|
IN HWND hWnd,
|
|
|
|
IN LPARAM lParam);
|
|
|
|
|
|
|
|
VOID
|
|
|
|
UserInitHardErrorsCache(VOID);
|
|
|
|
|
2014-02-05 16:27:14 +00:00
|
|
|
#endif /* __USERSRV_H__ */
|