[CONSRV]
[reactos.git] / include / reactos / subsys / win / base.h
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS Client/Server Runtime SubSystem
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
14 typedef VOID (CALLBACK * BASE_PROCESS_CREATE_NOTIFY_ROUTINE)(PVOID);
15
16 NTSTATUS WINAPI BaseSetProcessCreateNotify(BASE_PROCESS_CREATE_NOTIFY_ROUTINE);
17 // CSR_SERVER_DLL_INIT(ServerDllInitialization);
18
19 typedef struct _NLS_USER_INFO
20 {
21 WCHAR iCountry[80];
22 WCHAR sCountry[80];
23 WCHAR sList[80];
24 WCHAR iMeasure[80];
25 WCHAR iPaperSize[80];
26 WCHAR sDecimal[80];
27 WCHAR sThousand[80];
28 WCHAR sGrouping[80];
29 WCHAR iDigits[80];
30 WCHAR iLZero[80];
31 WCHAR iNegNumber[80];
32 WCHAR sNativeDigits[80];
33 WCHAR iDigitSubstitution[80];
34 WCHAR sCurrency[80];
35 WCHAR sMonDecSep[80];
36 WCHAR sMonThouSep[80];
37 WCHAR sMonGrouping[80];
38 WCHAR iCurrDigits[80];
39 WCHAR iCurrency[80];
40 WCHAR iNegCurr[80];
41 WCHAR sPosSign[80];
42 WCHAR sNegSign[80];
43 WCHAR sTimeFormat[80];
44 WCHAR s1159[80];
45 WCHAR s2359[80];
46 WCHAR sShortDate[80];
47 WCHAR sYearMonth[80];
48 WCHAR sLongDate[80];
49 WCHAR iCalType[80];
50 WCHAR iFirstDay[80];
51 WCHAR iFirstWeek[80];
52 WCHAR sLocale[80];
53 WCHAR sLocaleName[85];
54 LCID UserLocaleId;
55 LUID InteractiveUserLuid;
56 CHAR InteractiveUserSid[68]; // SECURITY_MAX_SID_SIZE to make ROS happy
57 ULONG ulCacheUpdateCount;
58 } NLS_USER_INFO, *PNLS_USER_INFO;
59
60
61 typedef struct _BASE_STATIC_SERVER_DATA
62 {
63 UNICODE_STRING WindowsDirectory;
64 UNICODE_STRING WindowsSystemDirectory;
65 UNICODE_STRING NamedObjectDirectory;
66 USHORT WindowsMajorVersion;
67 USHORT WindowsMinorVersion;
68 USHORT BuildNumber;
69 USHORT CSDNumber;
70 USHORT RCNumber;
71 WCHAR CSDVersion[128];
72 SYSTEM_BASIC_INFORMATION SysInfo;
73 SYSTEM_TIMEOFDAY_INFORMATION TimeOfDay;
74 PVOID IniFileMapping;
75 NLS_USER_INFO NlsUserInfo;
76 BOOLEAN DefaultSeparateVDM;
77 BOOLEAN IsWowTaskReady;
78 UNICODE_STRING WindowsSys32x86Directory;
79 BOOLEAN fTermsrvAppInstallMode;
80 TIME_ZONE_INFORMATION tziTermsrvClientTimeZone;
81 KSYSTEM_TIME ktTermsrvClientBias;
82 ULONG TermsrvClientTimeZoneId;
83 BOOLEAN LUIDDeviceMapsEnabled;
84 ULONG TermsrvClientTimeZoneChangeNum;
85 } BASE_STATIC_SERVER_DATA, *PBASE_STATIC_SERVER_DATA;
86
87 #endif // _BASE_H
88
89 /* EOF */