1 #define WIN32_NO_STATUS
17 #define DECIMAL_RADIX 10
20 #define MAX_FMT_SIZE 30
21 #define MAX_STR_SIZE 128
22 #define MAX_SAMPLES_STR_SIZE 70
24 #define MAX_NUMBERDSYMBOL 3
25 #define MAX_NUMBERSDIGITGRSYM 3
26 #define MAX_NUMBERSNSIGNSYM 4
27 #define MAX_NUMBERSLSEP 3
29 #define MAX_CURRENCYSYMBOL 5
30 #define MAX_CURRENCYDECSEP 3
31 #define MAX_CURRENCYGRPSEP 3
33 #define MAX_TIMEFORMAT 80
34 #define MAX_TIMESEPARATOR 3
35 #define MAX_TIMEAMSYMBOL 12
36 #define MAX_TIMEPMSYMBOL 12
38 #define MAX_SHRTDATEFMT 80
39 #define MAX_SHRTDATESEP 3
40 #define MAX_LONGDATEFMT 80
41 #define MAX_YEAR_EDIT 4
43 typedef struct _APPLET
48 APPLET_PROC AppletProc
;
51 typedef struct _GLOBALDATA
54 } GLOBALDATA
, *PGLOBALDATA
;
56 extern HINSTANCE hApplet
;
57 extern DWORD IsUnattendedSetupEnabled
;
58 extern DWORD UnattendLCID
;
64 LanguagesPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
68 AdvancedPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
70 SetNonUnicodeLang(HWND hwnd
, LCID lcid
);
74 CurrencyPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
78 DatePageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
82 GeneralPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
86 InpLocalePageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
90 NumbersPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
94 TimePageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
98 IsSortPageNeeded(LCID lcid
);
101 SortPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
105 InsSpacesFmt(LPCTSTR szSourceStr
, LPCTSTR szFmtStr
);
108 ReplaceSubStr(LPCTSTR szSourceStr
, LPCTSTR szStrToReplace
, LPCTSTR szTempl
);
112 SetupApplet(HWND hwndDlg
, LCID lcid
);
115 VOID
AddNewKbLayoutsByLcid(LCID Lcid
);