ReactOS  0.4.14-dev-342-gdc047f9
basesrv.h File Reference
#include <stdio.h>
#include <windef.h>
#include <winbase.h>
#include <dbt.h>
#include <ndk/rtlfuncs.h>
#include <ndk/obfuncs.h>
#include <ndk/psfuncs.h>
#include <ndk/exfuncs.h>
#include <ndk/umfuncs.h>
#include <ndk/cmfuncs.h>
#include <ndk/sefuncs.h>
#include <pseh/pseh2.h>
#include <csr/csrsrv.h>
#include <win/basemsg.h>
#include <win/base.h>
Include dependency graph for basesrv.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _BASESRV_KERNEL_IMPORTS
 

Macros

#define WIN32_NO_STATUS
 
#define _INC_WINDOWS
 
#define COM_NO_WINDOWS_H
 
#define NTOS_MODE_USER
 
#define SM_REG_KEY   L"\\Registry\\Machine\\System\\CurrentControlSet\\Control\\Session Manager"
 

Typedefs

typedef struct _BASESRV_KERNEL_IMPORTS BASESRV_KERNEL_IMPORTS
 
typedef struct _BASESRV_KERNEL_IMPORTSPBASESRV_KERNEL_IMPORTS
 
typedef NTSTATUS(WINAPIPOPEN_DATA_FILE) (HANDLE hFile, PWCHAR FileName)
 
typedef BOOL(WINAPIPGET_CP_FILE_NAME_FROM_REGISTRY) (UINT CodePage, LPWSTR FileName, ULONG FileNameSize)
 
typedef BOOL(WINAPIPGET_NLS_SECTION_NAME) (UINT CodePage, UINT Base, ULONG Unknown, LPWSTR BaseName, LPWSTR Result, ULONG ResultSize)
 
typedef BOOL(WINAPIPVALIDATE_LOCALE) (IN ULONG LocaleId)
 
typedef NTSTATUS(WINAPIPCREATE_NLS_SECURTY_DESCRIPTOR) (IN PVOID Buffer, IN ULONG BufferSize, IN ULONG AceType)
 

Variables

HANDLE BaseSrvHeap
 
HANDLE BaseSrvSharedHeap
 
PBASE_STATIC_SERVER_DATA BaseStaticServerData
 
ULONG SessionId
 
ULONG ProtectionMode
 
RTL_CRITICAL_SECTION BaseSrvDDDBSMCritSec
 

Macro Definition Documentation

◆ _INC_WINDOWS

#define _INC_WINDOWS

Definition at line 15 of file basesrv.h.

◆ COM_NO_WINDOWS_H

#define COM_NO_WINDOWS_H

Definition at line 16 of file basesrv.h.

◆ NTOS_MODE_USER

#define NTOS_MODE_USER

Definition at line 20 of file basesrv.h.

◆ SM_REG_KEY

#define SM_REG_KEY   L"\\Registry\\Machine\\System\\CurrentControlSet\\Control\\Session Manager"

Definition at line 73 of file basesrv.h.

◆ WIN32_NO_STATUS

#define WIN32_NO_STATUS

Definition at line 14 of file basesrv.h.

Typedef Documentation

◆ BASESRV_KERNEL_IMPORTS

◆ PBASESRV_KERNEL_IMPORTS

◆ PCREATE_NLS_SECURTY_DESCRIPTOR

typedef NTSTATUS(WINAPI * PCREATE_NLS_SECURTY_DESCRIPTOR) (IN PVOID Buffer, IN ULONG BufferSize, IN ULONG AceType)

Definition at line 61 of file basesrv.h.

◆ PGET_CP_FILE_NAME_FROM_REGISTRY

typedef BOOL(WINAPI * PGET_CP_FILE_NAME_FROM_REGISTRY) (UINT CodePage, LPWSTR FileName, ULONG FileNameSize)

Definition at line 49 of file basesrv.h.

◆ PGET_NLS_SECTION_NAME

typedef BOOL(WINAPI * PGET_NLS_SECTION_NAME) (UINT CodePage, UINT Base, ULONG Unknown, LPWSTR BaseName, LPWSTR Result, ULONG ResultSize)

Definition at line 53 of file basesrv.h.

◆ POPEN_DATA_FILE

typedef NTSTATUS(WINAPI * POPEN_DATA_FILE) (HANDLE hFile, PWCHAR FileName)

Definition at line 46 of file basesrv.h.

◆ PVALIDATE_LOCALE

typedef BOOL(WINAPI * PVALIDATE_LOCALE) (IN ULONG LocaleId)

Definition at line 60 of file basesrv.h.

Variable Documentation

◆ BaseSrvDDDBSMCritSec

RTL_CRITICAL_SECTION BaseSrvDDDBSMCritSec

Definition at line 27 of file dosdev.c.

Referenced by AddBSMRequest(), BaseInitializeStaticServerData(), and BaseSrvBSMThread().

◆ BaseSrvHeap

◆ BaseSrvSharedHeap

HANDLE BaseSrvSharedHeap

Definition at line 30 of file init.c.

Referenced by BaseInitializeStaticServerData(), and BaseSrvInitializeIniFileMappings().

◆ BaseStaticServerData

◆ ProtectionMode

ULONG ProtectionMode

Definition at line 34 of file init.c.

Referenced by CreateBaseAcls(), CSR_API(), and GetDosDevicesProtection().

◆ SessionId