ReactOS 0.4.16-dev-287-g2d3f3a1
base.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: include/reactos/subsys/win/base.h
5 * PURPOSE: Public definitions for Base API Clients
6 * PROGRAMMERS: Hermes Belusca-Maito (hermes.belusca@sfr.fr)
7 */
8
9#ifndef _BASE_H
10#define _BASE_H
11
12#pragma once
13
14typedef
17 HANDLE NewProcessId,
18 HANDLE ParentThreadId,
19 ULONG dwUnknown,
20 ULONG CreateFlags);
21
22VOID
25
26#define NLS_SIZEOF_ACE_AND_SIDS(n) \
27 (FIELD_OFFSET(ACCESS_ALLOWED_ACE, SidStart) + \
28 FIELD_OFFSET(SID, SubAuthority) + (n)*RTL_FIELD_SIZE(SID, SubAuthority))
29
30/* Minimal size for the security descriptors of the "\NLS\NlsSection*" sections */
31#define NLS_SECTION_SECURITY_DESCRIPTOR_SIZE \
32 (sizeof(SECURITY_DESCRIPTOR) + sizeof(ACL) + NLS_SIZEOF_ACE_AND_SIDS(1))
33
34typedef struct _NLS_USER_INFO
35{
79C_ASSERT(sizeof(NLS_USER_INFO) == 0x1870);
80
82{
86
88{
94
96{
102
104{
110
111typedef struct _INIFILE_MAPPING
112{
118
120{
144
145#if defined(_M_IX86)
146C_ASSERT(sizeof(BASE_STATIC_SERVER_DATA) == 0x1AC8);
147#endif
148
149#endif // _BASE_H
150
151/* EOF */
unsigned char BOOLEAN
struct _INIFILE_MAPPING_APPNAME INIFILE_MAPPING_APPNAME
struct _INIFILE_MAPPING_FILENAME * PINIFILE_MAPPING_FILENAME
struct _INIFILE_MAPPING INIFILE_MAPPING
struct _INIFILE_MAPPING_VARNAME INIFILE_MAPPING_VARNAME
VOID NTAPI BaseSetProcessCreateNotify(IN BASE_PROCESS_CREATE_NOTIFY_ROUTINE ProcessCreateNotifyProc)
Definition: proc.c:321
BOOL(NTAPI * BASE_PROCESS_CREATE_NOTIFY_ROUTINE)(HANDLE NewProcessId, HANDLE ParentThreadId, ULONG dwUnknown, ULONG CreateFlags)
Definition: base.h:16
struct _INIFILE_MAPPING_APPNAME * PINIFILE_MAPPING_APPNAME
struct _INIFILE_MAPPING_TARGET INIFILE_MAPPING_TARGET
struct _NLS_USER_INFO * PNLS_USER_INFO
struct _INIFILE_MAPPING_FILENAME INIFILE_MAPPING_FILENAME
struct _BASE_STATIC_SERVER_DATA BASE_STATIC_SERVER_DATA
struct _INIFILE_MAPPING_TARGET * PINIFILE_MAPPING_TARGET
struct _BASE_STATIC_SERVER_DATA * PBASE_STATIC_SERVER_DATA
struct _INIFILE_MAPPING_VARNAME * PINIFILE_MAPPING_VARNAME
struct _INIFILE_MAPPING * PINIFILE_MAPPING
struct _NLS_USER_INFO NLS_USER_INFO
#define C_ASSERT(e)
Definition: intsafe.h:73
#define BOOL
Definition: nt_native.h:43
unsigned short USHORT
Definition: pedump.c:61
DWORD LCID
Definition: nls.h:13
BOOLEAN LUIDDeviceMapsEnabled
Definition: base.h:141
NLS_USER_INFO NlsUserInfo
Definition: base.h:133
TIME_ZONE_INFORMATION tziTermsrvClientTimeZone
Definition: base.h:138
ULONG TermsrvClientTimeZoneChangeNum
Definition: base.h:142
UNICODE_STRING NamedObjectDirectory
Definition: base.h:123
BOOLEAN IsWowTaskReady
Definition: base.h:135
USHORT WindowsMinorVersion
Definition: base.h:125
KSYSTEM_TIME ktTermsrvClientBias
Definition: base.h:139
UNICODE_STRING WindowsDirectory
Definition: base.h:121
ULONG TermsrvClientTimeZoneId
Definition: base.h:140
SYSTEM_TIMEOFDAY_INFORMATION TimeOfDay
Definition: base.h:131
BOOLEAN DefaultSeparateVDM
Definition: base.h:134
UNICODE_STRING WindowsSys32x86Directory
Definition: base.h:136
SYSTEM_BASIC_INFORMATION SysInfo
Definition: base.h:130
USHORT WindowsMajorVersion
Definition: base.h:124
UNICODE_STRING WindowsSystemDirectory
Definition: base.h:122
WCHAR CSDVersion[128]
Definition: base.h:129
BOOLEAN fTermsrvAppInstallMode
Definition: base.h:137
PINIFILE_MAPPING_VARNAME VariableNames
Definition: base.h:99
UNICODE_STRING Name
Definition: base.h:98
PINIFILE_MAPPING_VARNAME DefaultVarNameMapping
Definition: base.h:100
struct _INIFILE_MAPPING_APPNAME * Next
Definition: base.h:97
PINIFILE_MAPPING_APPNAME DefaultAppNameMapping
Definition: base.h:108
PINIFILE_MAPPING_APPNAME ApplicationNames
Definition: base.h:107
struct _INIFILE_MAPPING_FILENAME * Next
Definition: base.h:105
UNICODE_STRING Name
Definition: base.h:106
struct _INIFILE_MAPPING_TARGET * Next
Definition: base.h:83
UNICODE_STRING RegistryPath
Definition: base.h:84
UNICODE_STRING Name
Definition: base.h:90
PINIFILE_MAPPING_TARGET MappingTarget
Definition: base.h:92
struct _INIFILE_MAPPING_VARNAME * Next
Definition: base.h:89
PINIFILE_MAPPING_FILENAME DefaultFileNameMapping
Definition: base.h:114
PINIFILE_MAPPING_FILENAME WinIniFileMapping
Definition: base.h:115
PINIFILE_MAPPING_FILENAME FileNames
Definition: base.h:113
ULONG Reserved
Definition: base.h:116
WCHAR iFirstWeekOfYear[80]
Definition: base.h:73
WCHAR sDate[80]
Definition: base.h:67
WCHAR sCountry[80]
Definition: base.h:38
WCHAR sMonThouSep[80]
Definition: base.h:52
WCHAR NumShape[80]
Definition: base.h:49
WCHAR Locale[80]
Definition: base.h:74
LCID UserLocaleId
Definition: base.h:75
WCHAR iCurrDigits[80]
Definition: base.h:54
WCHAR sList[80]
Definition: base.h:39
WCHAR sNegativeSign[80]
Definition: base.h:58
WCHAR iPaperSize[80]
Definition: base.h:41
WCHAR sShortDate[80]
Definition: base.h:66
WCHAR iCurrency[80]
Definition: base.h:55
WCHAR sLongDate[80]
Definition: base.h:70
WCHAR iFirstDayOfWeek[80]
Definition: base.h:72
WCHAR iNegNumber[80]
Definition: base.h:47
WCHAR sGrouping[80]
Definition: base.h:44
WCHAR iDate[80]
Definition: base.h:68
WCHAR sTime[80]
Definition: base.h:60
ULONG ulCacheUpdateCount
Definition: base.h:77
WCHAR sPositiveSign[80]
Definition: base.h:57
WCHAR iTime[80]
Definition: base.h:61
WCHAR iTimePrefix[80]
Definition: base.h:63
WCHAR s1159[80]
Definition: base.h:64
WCHAR iLZero[80]
Definition: base.h:46
WCHAR iMeasure[80]
Definition: base.h:40
WCHAR iNegCurr[80]
Definition: base.h:56
WCHAR sLanguage[80]
Definition: base.h:36
WCHAR sMonDecSep[80]
Definition: base.h:51
WCHAR iCalType[80]
Definition: base.h:71
LUID InteractiveUserLuid
Definition: base.h:76
WCHAR iCountry[80]
Definition: base.h:37
WCHAR sYearMonth[80]
Definition: base.h:69
WCHAR s2359[80]
Definition: base.h:65
WCHAR sCurrency[80]
Definition: base.h:50
WCHAR sMonGrouping[80]
Definition: base.h:53
WCHAR sTimeFormat[80]
Definition: base.h:59
WCHAR iDigits[80]
Definition: base.h:45
WCHAR iTLZero[80]
Definition: base.h:62
WCHAR sNativeDigits[80]
Definition: base.h:48
WCHAR sThousand[80]
Definition: base.h:43
WCHAR sDecimal[80]
Definition: base.h:42
#define NTAPI
Definition: typedefs.h:36
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
__wchar_t WCHAR
Definition: xmlstorage.h:180