5 #define DECIMAL_RADIX 10
8 #define MAX_FMT_SIZE 30
9 #define MAX_STR_SIZE 128
10 #define MAX_SAMPLES_STR_SIZE 70
12 #define MAX_NUMBERDSYMBOL 3
13 #define MAX_NUMBERSDIGITGRSYM 3
14 #define MAX_NUMBERSNSIGNSYM 4
15 #define MAX_NUMBERSLSEP 3
17 #define MAX_CURRENCYSYMBOL 5
18 #define MAX_CURRENCYDECSEP 3
19 #define MAX_CURRENCYGRPSEP 3
21 #define MAX_TIMEFORMAT 80
22 #define MAX_TIMESEPARATOR 3
23 #define MAX_TIMEAMSYMBOL 12
24 #define MAX_TIMEPMSYMBOL 12
26 #define MAX_SHRTDATEFMT 80
27 #define MAX_SHRTDATESEP 3
28 #define MAX_LONGDATEFMT 80
29 #define MAX_YEAR_EDIT 4
31 typedef struct _APPLET
36 APPLET_PROC AppletProc
;
39 typedef struct _GLOBALDATA
42 } GLOBALDATA
, *PGLOBALDATA
;
44 extern HINSTANCE hApplet
;
45 extern DWORD IsUnattendedSetupEnabled
;
46 extern DWORD UnattendLCID
;
52 LanguagesPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
56 AdvancedPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
58 SetNonUnicodeLang(HWND hwnd
, LCID lcid
);
62 CurrencyPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
66 DatePageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
70 GeneralPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
74 InpLocalePageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
78 NumbersPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
82 TimePageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
86 IsSortPageNeeded(LCID lcid
);
89 SortPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
93 InsSpacesFmt(LPCTSTR szSourceStr
, LPCTSTR szFmtStr
);
96 ReplaceSubStr(LPCTSTR szSourceStr
, LPCTSTR szStrToReplace
, LPCTSTR szTempl
);
100 SetupApplet(HWND hwndDlg
, LCID lcid
);
103 VOID
AddNewKbLayoutsByLcid(LCID Lcid
);