3 #define WIN32_NO_STATUS
16 #define DECIMAL_RADIX 10
19 #define MAX_FMT_SIZE 30
20 #define MAX_STR_SIZE 128
21 #define MAX_SAMPLES_STR_SIZE 70
23 #define MAX_NUMBERDSYMBOL 3
24 #define MAX_NUMBERSDIGITGRSYM 3
25 #define MAX_NUMBERSNSIGNSYM 4
26 #define MAX_NUMBERSLSEP 3
28 #define MAX_CURRENCYSYMBOL 5
29 #define MAX_CURRENCYDECSEP 3
30 #define MAX_CURRENCYGRPSEP 3
32 #define MAX_TIMEFORMAT 80
33 #define MAX_TIMESEPARATOR 3
34 #define MAX_TIMEAMSYMBOL 12
35 #define MAX_TIMEPMSYMBOL 12
37 #define MAX_SHRTDATEFMT 80
38 #define MAX_SHRTDATESEP 3
39 #define MAX_LONGDATEFMT 80
40 #define MAX_YEAR_EDIT 4
42 typedef struct _APPLET
47 APPLET_PROC AppletProc
;
50 typedef struct _GLOBALDATA
53 } GLOBALDATA
, *PGLOBALDATA
;
55 extern HINSTANCE hApplet
;
56 extern DWORD IsUnattendedSetupEnabled
;
57 extern DWORD UnattendLCID
;
63 LanguagesPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
67 AdvancedPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
69 SetNonUnicodeLang(HWND hwnd
, LCID lcid
);
73 CurrencyPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
77 DatePageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
81 GeneralPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
85 InpLocalePageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
89 NumbersPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
93 TimePageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
97 IsSortPageNeeded(LCID lcid
);
100 SortPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
104 InsSpacesFmt(LPCTSTR szSourceStr
, LPCTSTR szFmtStr
);
107 ReplaceSubStr(LPCTSTR szSourceStr
, LPCTSTR szStrToReplace
, LPCTSTR szTempl
);
111 SetupApplet(HWND hwndDlg
, LCID lcid
);
114 VOID
AddNewKbLayoutsByLcid(LCID Lcid
);