ReactOS 0.4.15-dev-7924-g5949c20
basesrv.h
Go to the documentation of this file.
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS Base API Server DLL
4 * FILE: subsystems/win/basesrv/basesrv.h
5 * PURPOSE: Main header - Definitions
6 * PROGRAMMERS: Hermes Belusca-Maito (hermes.belusca@sfr.fr)
7 */
8
9#ifndef __BASESRV_H__
10#define __BASESRV_H__
11
12/* PSDK/NDK Headers */
13#include <stdio.h>
14#define WIN32_NO_STATUS
15#define _INC_WINDOWS
16#define COM_NO_WINDOWS_H
17#include <windef.h>
18#include <winbase.h>
19#include <dbt.h>
20#define NTOS_MODE_USER
21#include <ndk/rtlfuncs.h>
22#include <ndk/obfuncs.h>
23#include <ndk/psfuncs.h>
24#include <ndk/exfuncs.h>
25#include <ndk/umfuncs.h>
26#include <ndk/cmfuncs.h>
27#include <ndk/sefuncs.h>
28
29/* PSEH for SEH Support */
30#include <pseh/pseh2.h>
31
32/* CSRSS Header */
33#include <csr/csrsrv.h>
34
35/* BASE Headers */
36#include <win/basemsg.h>
37#include <win/base.h>
38
40{
44
45/* FIXME: BASENLS.H */
48
51 ULONG FileNameSize);
52
54 UINT Base,
56 LPWSTR BaseName,
58 ULONG ResultSize);
59
61
62/* Globals */
63extern HANDLE BaseSrvHeap;
66extern ULONG SessionId;
69
70#define SM_REG_KEY \
71 L"\\Registry\\Machine\\System\\CurrentControlSet\\Control\\Session Manager"
72
73#endif /* __BASESRV_H__ */
HANDLE BaseSrvSharedHeap
Definition: init.c:30
ULONG ProtectionMode
Definition: init.c:34
ULONG SessionId
Definition: dllmain.c:28
BOOL(WINAPI * PGET_NLS_SECTION_NAME)(UINT CodePage, UINT Base, ULONG Unknown, LPWSTR BaseName, LPWSTR Result, ULONG ResultSize)
Definition: basesrv.h:53
HANDLE BaseSrvHeap
Definition: init.c:29
RTL_CRITICAL_SECTION BaseSrvDDDBSMCritSec
Definition: dosdev.c:27
BOOL(WINAPI * PVALIDATE_LOCALE)(IN ULONG LocaleId)
Definition: basesrv.h:60
BOOL(WINAPI * PGET_CP_FILE_NAME_FROM_REGISTRY)(UINT CodePage, LPWSTR FileName, ULONG FileNameSize)
Definition: basesrv.h:49
struct _BASESRV_KERNEL_IMPORTS * PBASESRV_KERNEL_IMPORTS
PBASE_STATIC_SERVER_DATA BaseStaticServerData
Definition: dllmain.c:19
struct _BASESRV_KERNEL_IMPORTS BASESRV_KERNEL_IMPORTS
NTSTATUS(WINAPI * POPEN_DATA_FILE)(HANDLE hFile, PWCHAR FileName)
Definition: basesrv.h:46
#define NTSTATUS
Definition: precomp.h:21
struct _FileName FileName
Definition: fatprocs.h:896
@ Unknown
Definition: i8042prt.h:114
_In_ HANDLE hFile
Definition: mswsock.h:90
unsigned int UINT
Definition: ndis.h:50
_In_opt_ ULONG Base
Definition: rtlfuncs.h:2439
#define BOOL
Definition: nt_native.h:43
PVOID * FunctionPointer
Definition: basesrv.h:42
#define IN
Definition: typedefs.h:39
uint16_t * PWCHAR
Definition: typedefs.h:56
uint32_t ULONG
Definition: typedefs.h:59
char * PCHAR
Definition: typedefs.h:51
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PCUNICODE_STRING _In_ PCUNICODE_STRING _In_ LCID LocaleId
Definition: wdfpdo.h:437
#define WINAPI
Definition: msvc.h:6
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
Definition: wsk.h:409
WCHAR * LPWSTR
Definition: xmlstorage.h:184