14 #define DECIMAL_RADIX 10
17 #define MAX_FMT_SIZE 30
18 #define MAX_STR_SIZE 128
19 #define MAX_SAMPLES_STR_SIZE 70
21 #define MAX_NUMBERDSYMBOL 3
22 #define MAX_NUMBERSDIGITGRSYM 3
23 #define MAX_NUMBERSNSIGNSYM 4
24 #define MAX_NUMBERSLSEP 3
26 #define MAX_CURRENCYSYMBOL 5
27 #define MAX_CURRENCYDECSEP 3
28 #define MAX_CURRENCYGRPSEP 3
30 #define MAX_TIMEFORMAT 80
31 #define MAX_TIMESEPARATOR 3
32 #define MAX_TIMEAMSYMBOL 12
33 #define MAX_TIMEPMSYMBOL 12
35 #define MAX_SHRTDATEFMT 80
36 #define MAX_SHRTDATESEP 3
37 #define MAX_LONGDATEFMT 80
38 #define MAX_YEAR_EDIT 4
40 typedef struct _APPLET
45 APPLET_PROC AppletProc
;
48 typedef struct _GLOBALDATA
51 } GLOBALDATA
, *PGLOBALDATA
;
53 extern HINSTANCE hApplet
;
54 extern DWORD IsUnattendedSetupEnabled
;
55 extern DWORD UnattendLCID
;
61 LanguagesPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
65 AdvancedPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
67 SetNonUnicodeLang(HWND hwnd
, LCID lcid
);
71 CurrencyPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
75 DatePageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
79 GeneralPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
83 InpLocalePageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
87 NumbersPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
91 TimePageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
95 IsSortPageNeeded(LCID lcid
);
98 SortPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
102 InsSpacesFmt(LPCTSTR szSourceStr
, LPCTSTR szFmtStr
);
105 ReplaceSubStr(LPCTSTR szSourceStr
, LPCTSTR szStrToReplace
, LPCTSTR szTempl
);
109 SetupApplet(HWND hwndDlg
, LCID lcid
);
112 VOID
AddNewKbLayoutsByLcid(LCID Lcid
);